From cfc1fc4aceae1132f0969213f1e6ab4bc74a3bdf Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 2 Dec 2023 00:02:13 +0000 Subject: [PATCH 1/2] feat: add data quality score to DataQualityResult PiperOrigin-RevId: 587100465 Source-Link: https://github.com/googleapis/googleapis/commit/2aa3b1d5a90d05e0606d11787de475b0df068d49 Source-Link: https://github.com/googleapis/googleapis-gen/commit/86f694fec6b48cacd62d534a1a073bcda3b4644f Copy-Tag: eyJwIjoiamF2YS1kYXRhcGxleC8uT3dsQm90LnlhbWwiLCJoIjoiODZmNjk0ZmVjNmI0OGNhY2Q2MmQ1MzRhMWEwNzNiY2RhM2I0NjQ0ZiJ9 --- .../dataplex/v1/DataScanServiceGrpc.java | 1196 --- .../dataplex/v1/DataTaxonomyServiceGrpc.java | 2081 ---- .../dataplex/v1/DataplexServiceGrpc.java | 3985 -------- .../dataplex/v1/MetadataServiceGrpc.java | 1291 --- .../cloud/dataplex/v1/AnalyzeProto.java | 345 - .../v1/CancelJobRequestOrBuilder.java | 56 - .../cloud/dataplex/v1/ContentProto.java | 234 - .../cloud/dataplex/v1/DataProfileProto.java | 316 - .../DataQualityDimensionResultOrBuilder.java | 79 - .../cloud/dataplex/v1/DataQualityProto.java | 388 - .../cloud/dataplex/v1/DataScansProto.java | 465 - .../cloud/dataplex/v1/DataTaxonomyProto.java | 651 -- .../v1/DeleteAssetRequestOrBuilder.java | 56 - .../v1/DeleteContentRequestOrBuilder.java | 56 - .../v1/DeleteDataScanRequestOrBuilder.java | 60 - .../v1/DeleteEnvironmentRequestOrBuilder.java | 56 - .../v1/DeleteLakeRequestOrBuilder.java | 56 - .../v1/DeleteTaskRequestOrBuilder.java | 56 - .../v1/DeleteZoneRequestOrBuilder.java | 56 - .../dataplex/v1/GetAssetRequestOrBuilder.java | 56 - .../v1/GetContentRequestOrBuilder.java | 85 - ...tDataAttributeBindingRequestOrBuilder.java | 56 - .../v1/GetDataAttributeRequestOrBuilder.java | 56 - .../v1/GetDataTaxonomyRequestOrBuilder.java | 56 - .../v1/GetEntityRequestOrBuilder.java | 87 - .../v1/GetEnvironmentRequestOrBuilder.java | 56 - .../dataplex/v1/GetJobRequestOrBuilder.java | 56 - .../dataplex/v1/GetLakeRequestOrBuilder.java | 56 - .../dataplex/v1/GetTaskRequestOrBuilder.java | 56 - .../dataplex/v1/GetZoneRequestOrBuilder.java | 56 - .../google/cloud/dataplex/v1/LogsProto.java | 566 -- .../cloud/dataplex/v1/MetadataProto.java | 552 - .../cloud/dataplex/v1/ProcessingProto.java | 147 - .../cloud/dataplex/v1/ResourcesProto.java | 690 -- .../cloud/dataplex/v1/SecurityProto.java | 88 - .../cloud/dataplex/v1/ServiceProto.java | 945 -- .../dataplex/v1/StorageAccessOrBuilder.java | 56 - .../google/cloud/dataplex/v1/TasksProto.java | 393 - .../dataplex/v1/ContentServiceClient.java | 0 .../dataplex/v1/ContentServiceSettings.java | 1 + .../dataplex/v1/DataScanServiceClient.java | 0 .../dataplex/v1/DataScanServiceSettings.java | 1 + .../v1/DataTaxonomyServiceClient.java | 0 .../v1/DataTaxonomyServiceSettings.java | 1 + .../dataplex/v1/DataplexServiceClient.java | 0 .../dataplex/v1/DataplexServiceSettings.java | 1 + .../dataplex/v1/MetadataServiceClient.java | 0 .../dataplex/v1/MetadataServiceSettings.java | 1 + .../cloud/dataplex/v1/gapic_metadata.json | 0 .../cloud/dataplex/v1/package-info.java | 0 .../dataplex/v1/stub/ContentServiceStub.java | 0 .../v1/stub/ContentServiceStubSettings.java | 0 .../dataplex/v1/stub/DataScanServiceStub.java | 0 .../v1/stub/DataScanServiceStubSettings.java | 0 .../v1/stub/DataTaxonomyServiceStub.java | 0 .../stub/DataTaxonomyServiceStubSettings.java | 0 .../dataplex/v1/stub/DataplexServiceStub.java | 0 .../v1/stub/DataplexServiceStubSettings.java | 0 .../GrpcContentServiceCallableFactory.java | 0 .../v1/stub/GrpcContentServiceStub.java | 1 + .../GrpcDataScanServiceCallableFactory.java | 0 .../v1/stub/GrpcDataScanServiceStub.java | 1 + ...rpcDataTaxonomyServiceCallableFactory.java | 0 .../v1/stub/GrpcDataTaxonomyServiceStub.java | 1 + .../GrpcDataplexServiceCallableFactory.java | 0 .../v1/stub/GrpcDataplexServiceStub.java | 1 + .../GrpcMetadataServiceCallableFactory.java | 0 .../v1/stub/GrpcMetadataServiceStub.java | 1 + ...HttpJsonContentServiceCallableFactory.java | 0 .../v1/stub/HttpJsonContentServiceStub.java | 0 ...ttpJsonDataScanServiceCallableFactory.java | 0 .../v1/stub/HttpJsonDataScanServiceStub.java | 1 + ...sonDataTaxonomyServiceCallableFactory.java | 0 .../stub/HttpJsonDataTaxonomyServiceStub.java | 1 + ...ttpJsonDataplexServiceCallableFactory.java | 0 .../v1/stub/HttpJsonDataplexServiceStub.java | 1 + ...ttpJsonMetadataServiceCallableFactory.java | 0 .../v1/stub/HttpJsonMetadataServiceStub.java | 0 .../dataplex/v1/stub/MetadataServiceStub.java | 0 .../v1/stub/MetadataServiceStubSettings.java | 0 .../reflect-config.json | 18 + .../v1/ContentServiceClientHttpJsonTest.java | 0 .../dataplex/v1/ContentServiceClientTest.java | 0 .../v1/DataScanServiceClientHttpJsonTest.java | 0 .../v1/DataScanServiceClientTest.java | 0 ...DataTaxonomyServiceClientHttpJsonTest.java | 0 .../v1/DataTaxonomyServiceClientTest.java | 0 .../v1/DataplexServiceClientHttpJsonTest.java | 0 .../v1/DataplexServiceClientTest.java | 0 .../v1/MetadataServiceClientHttpJsonTest.java | 0 .../v1/MetadataServiceClientTest.java | 0 .../cloud/dataplex/v1/MockContentService.java | 0 .../dataplex/v1/MockContentServiceImpl.java | 0 .../dataplex/v1/MockDataScanService.java | 0 .../dataplex/v1/MockDataScanServiceImpl.java | 0 .../dataplex/v1/MockDataTaxonomyService.java | 0 .../v1/MockDataTaxonomyServiceImpl.java | 0 .../dataplex/v1/MockDataplexService.java | 0 .../dataplex/v1/MockDataplexServiceImpl.java | 0 .../cloud/dataplex/v1/MockIAMPolicy.java | 0 .../cloud/dataplex/v1/MockIAMPolicyImpl.java | 0 .../cloud/dataplex/v1/MockLocations.java | 0 .../cloud/dataplex/v1/MockLocationsImpl.java | 0 .../dataplex/v1/MockMetadataService.java | 0 .../dataplex/v1/MockMetadataServiceImpl.java | 0 .../cloud/dataplex/v1/ContentServiceGrpc.java | 823 +- .../dataplex/v1/DataScanServiceGrpc.java | 937 ++ .../dataplex/v1/DataTaxonomyServiceGrpc.java | 1545 +++ .../dataplex/v1/DataplexServiceGrpc.java | 3115 ++++++ .../dataplex/v1/MetadataServiceGrpc.java | 1017 ++ .../com/google/cloud/dataplex/v1/Action.java | 5179 ++++------ .../cloud/dataplex/v1/ActionOrBuilder.java | 236 +- .../cloud/dataplex/v1/AnalyzeProto.java | 289 + .../com/google/cloud/dataplex/v1/Asset.java | 6943 +++++-------- .../google/cloud/dataplex/v1/AssetName.java | 0 .../cloud/dataplex/v1/AssetOrBuilder.java | 238 +- .../google/cloud/dataplex/v1/AssetStatus.java | 392 +- .../dataplex/v1/AssetStatusOrBuilder.java | 32 +- .../cloud/dataplex/v1/CancelJobRequest.java | 340 +- .../v1/CancelJobRequestOrBuilder.java | 31 + .../com/google/cloud/dataplex/v1/Content.java | 2205 ++-- .../google/cloud/dataplex/v1/ContentName.java | 0 .../cloud/dataplex/v1/ContentOrBuilder.java | 154 +- .../cloud/dataplex/v1/ContentProto.java | 214 + .../cloud/dataplex/v1/CreateAssetRequest.java | 568 +- .../v1/CreateAssetRequestOrBuilder.java | 64 +- .../dataplex/v1/CreateContentRequest.java | 515 +- .../v1/CreateContentRequestOrBuilder.java | 55 +- .../v1/CreateDataAttributeBindingRequest.java | 642 +- ...eDataAttributeBindingRequestOrBuilder.java | 67 +- .../v1/CreateDataAttributeRequest.java | 599 +- .../CreateDataAttributeRequestOrBuilder.java | 67 +- .../dataplex/v1/CreateDataScanRequest.java | 598 +- .../v1/CreateDataScanRequestOrBuilder.java | 67 +- .../v1/CreateDataTaxonomyRequest.java | 599 +- .../CreateDataTaxonomyRequestOrBuilder.java | 67 +- .../dataplex/v1/CreateEntityRequest.java | 500 +- .../v1/CreateEntityRequestOrBuilder.java | 55 +- .../dataplex/v1/CreateEnvironmentRequest.java | 599 +- .../v1/CreateEnvironmentRequestOrBuilder.java | 67 +- .../cloud/dataplex/v1/CreateLakeRequest.java | 556 +- .../v1/CreateLakeRequestOrBuilder.java | 55 +- .../dataplex/v1/CreatePartitionRequest.java | 526 +- .../v1/CreatePartitionRequestOrBuilder.java | 58 +- .../cloud/dataplex/v1/CreateTaskRequest.java | 556 +- .../v1/CreateTaskRequestOrBuilder.java | 55 +- .../cloud/dataplex/v1/CreateZoneRequest.java | 556 +- .../v1/CreateZoneRequestOrBuilder.java | 55 +- .../cloud/dataplex/v1/DataAccessSpec.java | 348 +- .../dataplex/v1/DataAccessSpecOrBuilder.java | 36 +- .../cloud/dataplex/v1/DataAttribute.java | 1573 ++- .../dataplex/v1/DataAttributeBinding.java | 2226 ++-- .../dataplex/v1/DataAttributeBindingName.java | 0 .../v1/DataAttributeBindingOrBuilder.java | 234 +- .../cloud/dataplex/v1/DataAttributeName.java | 0 .../dataplex/v1/DataAttributeOrBuilder.java | 195 +- .../cloud/dataplex/v1/DataProfileProto.java | 262 + .../cloud/dataplex/v1/DataProfileResult.java | 6882 +++++-------- .../v1/DataProfileResultOrBuilder.java | 60 +- .../cloud/dataplex/v1/DataProfileSpec.java | 2074 ++-- .../dataplex/v1/DataProfileSpecOrBuilder.java | 93 +- .../dataplex/v1/DataQualityColumnResult.java | 720 ++ .../v1/DataQualityColumnResultOrBuilder.java | 56 + .../dataplex/v1/DataQualityDimension.java | 319 +- .../v1/DataQualityDimensionOrBuilder.java | 27 +- .../v1/DataQualityDimensionResult.java | 569 +- .../DataQualityDimensionResultOrBuilder.java | 73 + .../cloud/dataplex/v1/DataQualityProto.java | 351 + .../cloud/dataplex/v1/DataQualityResult.java | 2781 ++--- .../v1/DataQualityResultOrBuilder.java | 162 +- .../cloud/dataplex/v1/DataQualityRule.java | 5146 ++++------ .../dataplex/v1/DataQualityRuleOrBuilder.java | 208 +- .../dataplex/v1/DataQualityRuleResult.java | 591 +- .../v1/DataQualityRuleResultOrBuilder.java | 50 +- .../v1/DataQualityScanRuleResult.java | 1227 +-- .../DataQualityScanRuleResultOrBuilder.java | 99 +- .../cloud/dataplex/v1/DataQualitySpec.java | 1635 ++- .../dataplex/v1/DataQualitySpecOrBuilder.java | 91 +- .../google/cloud/dataplex/v1/DataScan.java | 3167 ++---- .../cloud/dataplex/v1/DataScanEvent.java | 5481 ++++------ .../dataplex/v1/DataScanEventOrBuilder.java | 187 +- .../google/cloud/dataplex/v1/DataScanJob.java | 1585 +-- .../cloud/dataplex/v1/DataScanJobName.java | 0 .../dataplex/v1/DataScanJobOrBuilder.java | 187 +- .../cloud/dataplex/v1/DataScanName.java | 0 .../cloud/dataplex/v1/DataScanOrBuilder.java | 257 +- .../cloud/dataplex/v1/DataScanType.java | 82 +- .../cloud/dataplex/v1/DataScansProto.java | 406 + .../google/cloud/dataplex/v1/DataSource.java | 499 +- .../dataplex/v1/DataSourceOrBuilder.java | 54 +- .../cloud/dataplex/v1/DataTaxonomy.java | 1209 +-- .../cloud/dataplex/v1/DataTaxonomyName.java | 0 .../dataplex/v1/DataTaxonomyOrBuilder.java | 141 +- .../cloud/dataplex/v1/DataTaxonomyProto.java | 577 ++ .../cloud/dataplex/v1/DeleteAssetRequest.java | 343 +- .../v1/DeleteAssetRequestOrBuilder.java | 31 + .../dataplex/v1/DeleteContentRequest.java | 347 +- .../v1/DeleteContentRequestOrBuilder.java | 31 + .../v1/DeleteDataAttributeBindingRequest.java | 445 +- ...eDataAttributeBindingRequestOrBuilder.java | 44 +- .../v1/DeleteDataAttributeRequest.java | 422 +- .../DeleteDataAttributeRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteDataScanRequest.java | 347 +- .../v1/DeleteDataScanRequestOrBuilder.java | 35 + .../v1/DeleteDataTaxonomyRequest.java | 422 +- .../DeleteDataTaxonomyRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteEntityRequest.java | 419 +- .../v1/DeleteEntityRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteEnvironmentRequest.java | 350 +- .../v1/DeleteEnvironmentRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/DeleteLakeRequest.java | 340 +- .../v1/DeleteLakeRequestOrBuilder.java | 31 + .../dataplex/v1/DeletePartitionRequest.java | 460 +- .../v1/DeletePartitionRequestOrBuilder.java | 56 +- .../cloud/dataplex/v1/DeleteTaskRequest.java | 340 +- .../v1/DeleteTaskRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/DeleteZoneRequest.java | 340 +- .../v1/DeleteZoneRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/DiscoveryEvent.java | 3095 +++--- .../dataplex/v1/DiscoveryEventOrBuilder.java | 101 +- .../com/google/cloud/dataplex/v1/Entity.java | 3121 ++---- .../google/cloud/dataplex/v1/EntityName.java | 0 .../cloud/dataplex/v1/EntityOrBuilder.java | 271 +- .../google/cloud/dataplex/v1/Environment.java | 5132 ++++------ .../cloud/dataplex/v1/EnvironmentName.java | 0 .../dataplex/v1/EnvironmentOrBuilder.java | 221 +- .../cloud/dataplex/v1/GetAssetRequest.java | 340 +- .../dataplex/v1/GetAssetRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GetContentRequest.java | 498 +- .../v1/GetContentRequestOrBuilder.java | 50 + .../v1/GetDataAttributeBindingRequest.java | 353 +- ...tDataAttributeBindingRequestOrBuilder.java | 31 + .../dataplex/v1/GetDataAttributeRequest.java | 347 +- .../v1/GetDataAttributeRequestOrBuilder.java | 31 + .../dataplex/v1/GetDataScanJobRequest.java | 512 +- .../v1/GetDataScanJobRequestOrBuilder.java | 49 +- .../cloud/dataplex/v1/GetDataScanRequest.java | 501 +- .../v1/GetDataScanRequestOrBuilder.java | 49 +- .../dataplex/v1/GetDataTaxonomyRequest.java | 347 +- .../v1/GetDataTaxonomyRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GetEntityRequest.java | 505 +- .../v1/GetEntityRequestOrBuilder.java | 52 + .../dataplex/v1/GetEnvironmentRequest.java | 347 +- .../v1/GetEnvironmentRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GetJobRequest.java | 340 +- .../dataplex/v1/GetJobRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GetLakeRequest.java | 340 +- .../dataplex/v1/GetLakeRequestOrBuilder.java | 31 + .../dataplex/v1/GetPartitionRequest.java | 347 +- .../v1/GetPartitionRequestOrBuilder.java | 35 +- .../cloud/dataplex/v1/GetTaskRequest.java | 340 +- .../dataplex/v1/GetTaskRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GetZoneRequest.java | 340 +- .../dataplex/v1/GetZoneRequestOrBuilder.java | 31 + .../cloud/dataplex/v1/GovernanceEvent.java | 1090 +- .../dataplex/v1/GovernanceEventOrBuilder.java | 41 +- .../com/google/cloud/dataplex/v1/Job.java | 1692 ++- .../google/cloud/dataplex/v1/JobEvent.java | 1135 +-- .../cloud/dataplex/v1/JobEventOrBuilder.java | 88 +- .../com/google/cloud/dataplex/v1/JobName.java | 0 .../cloud/dataplex/v1/JobOrBuilder.java | 206 +- .../com/google/cloud/dataplex/v1/Lake.java | 2617 ++--- .../google/cloud/dataplex/v1/LakeName.java | 0 .../cloud/dataplex/v1/LakeOrBuilder.java | 207 +- .../dataplex/v1/ListActionsResponse.java | 479 +- .../v1/ListActionsResponseOrBuilder.java | 46 +- .../dataplex/v1/ListAssetActionsRequest.java | 450 +- .../v1/ListAssetActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListAssetsRequest.java | 589 +- .../v1/ListAssetsRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListAssetsResponse.java | 475 +- .../v1/ListAssetsResponseOrBuilder.java | 46 +- .../cloud/dataplex/v1/ListContentRequest.java | 520 +- .../v1/ListContentRequestOrBuilder.java | 56 +- .../dataplex/v1/ListContentResponse.java | 479 +- .../v1/ListContentResponseOrBuilder.java | 46 +- .../v1/ListDataAttributeBindingsRequest.java | 612 +- ...DataAttributeBindingsRequestOrBuilder.java | 65 +- .../v1/ListDataAttributeBindingsResponse.java | 698 +- ...ataAttributeBindingsResponseOrBuilder.java | 75 +- .../v1/ListDataAttributesRequest.java | 599 +- .../ListDataAttributesRequestOrBuilder.java | 65 +- .../v1/ListDataAttributesResponse.java | 586 +- .../ListDataAttributesResponseOrBuilder.java | 63 +- .../dataplex/v1/ListDataScanJobsRequest.java | 524 +- .../v1/ListDataScanJobsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListDataScanJobsResponse.java | 483 +- .../v1/ListDataScanJobsResponseOrBuilder.java | 45 +- .../dataplex/v1/ListDataScansRequest.java | 596 +- .../v1/ListDataScansRequestOrBuilder.java | 65 +- .../dataplex/v1/ListDataScansResponse.java | 587 +- .../v1/ListDataScansResponseOrBuilder.java | 63 +- .../v1/ListDataTaxonomiesRequest.java | 599 +- .../ListDataTaxonomiesRequestOrBuilder.java | 65 +- .../v1/ListDataTaxonomiesResponse.java | 586 +- .../ListDataTaxonomiesResponseOrBuilder.java | 63 +- .../dataplex/v1/ListEntitiesRequest.java | 680 +- .../v1/ListEntitiesRequestOrBuilder.java | 70 +- .../dataplex/v1/ListEntitiesResponse.java | 479 +- .../v1/ListEntitiesResponseOrBuilder.java | 46 +- .../dataplex/v1/ListEnvironmentsRequest.java | 596 +- .../v1/ListEnvironmentsRequestOrBuilder.java | 65 +- .../dataplex/v1/ListEnvironmentsResponse.java | 483 +- .../v1/ListEnvironmentsResponseOrBuilder.java | 45 +- .../cloud/dataplex/v1/ListJobsRequest.java | 443 +- .../dataplex/v1/ListJobsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListJobsResponse.java | 474 +- .../v1/ListJobsResponseOrBuilder.java | 46 +- .../dataplex/v1/ListLakeActionsRequest.java | 450 +- .../v1/ListLakeActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListLakesRequest.java | 589 +- .../v1/ListLakesRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListLakesResponse.java | 586 +- .../v1/ListLakesResponseOrBuilder.java | 64 +- .../dataplex/v1/ListPartitionsRequest.java | 524 +- .../v1/ListPartitionsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListPartitionsResponse.java | 480 +- .../v1/ListPartitionsResponseOrBuilder.java | 45 +- .../dataplex/v1/ListSessionsRequest.java | 524 +- .../v1/ListSessionsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListSessionsResponse.java | 479 +- .../v1/ListSessionsResponseOrBuilder.java | 45 +- .../cloud/dataplex/v1/ListTasksRequest.java | 589 +- .../v1/ListTasksRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListTasksResponse.java | 586 +- .../v1/ListTasksResponseOrBuilder.java | 64 +- .../dataplex/v1/ListZoneActionsRequest.java | 450 +- .../v1/ListZoneActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListZonesRequest.java | 589 +- .../v1/ListZonesRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListZonesResponse.java | 475 +- .../v1/ListZonesResponseOrBuilder.java | 46 +- .../cloud/dataplex/v1/LocationName.java | 0 .../google/cloud/dataplex/v1/LogsProto.java | 465 + .../cloud/dataplex/v1/MetadataProto.java | 496 + .../cloud/dataplex/v1/OperationMetadata.java | 817 +- .../v1/OperationMetadataOrBuilder.java | 91 +- .../google/cloud/dataplex/v1/Partition.java | 706 +- .../cloud/dataplex/v1/PartitionName.java | 0 .../cloud/dataplex/v1/PartitionOrBuilder.java | 107 +- .../cloud/dataplex/v1/ProcessingProto.java | 129 + .../cloud/dataplex/v1/ResourceAccessSpec.java | 569 +- .../v1/ResourceAccessSpecOrBuilder.java | 72 +- .../cloud/dataplex/v1/ResourcesProto.java | 582 ++ .../cloud/dataplex/v1/RunDataScanRequest.java | 343 +- .../v1/RunDataScanRequestOrBuilder.java | 35 +- .../dataplex/v1/RunDataScanResponse.java | 333 +- .../v1/RunDataScanResponseOrBuilder.java | 26 +- .../cloud/dataplex/v1/RunTaskRequest.java | 820 +- .../dataplex/v1/RunTaskRequestOrBuilder.java | 95 +- .../cloud/dataplex/v1/RunTaskResponse.java | 330 +- .../dataplex/v1/RunTaskResponseOrBuilder.java | 26 +- .../google/cloud/dataplex/v1/ScannedData.java | 867 +- .../dataplex/v1/ScannedDataOrBuilder.java | 26 +- .../com/google/cloud/dataplex/v1/Schema.java | 2421 ++--- .../cloud/dataplex/v1/SchemaOrBuilder.java | 108 +- .../cloud/dataplex/v1/SecurityProto.java | 72 + .../cloud/dataplex/v1/ServiceProto.java | 880 ++ .../com/google/cloud/dataplex/v1/Session.java | 610 +- .../cloud/dataplex/v1/SessionEvent.java | 1602 ++- .../dataplex/v1/SessionEventOrBuilder.java | 73 +- .../cloud/dataplex/v1/SessionOrBuilder.java | 73 +- .../com/google/cloud/dataplex/v1/State.java | 96 +- .../cloud/dataplex/v1/StorageAccess.java | 398 +- .../dataplex/v1/StorageAccessOrBuilder.java | 30 + .../cloud/dataplex/v1/StorageFormat.java | 2305 ++--- .../dataplex/v1/StorageFormatOrBuilder.java | 115 +- .../cloud/dataplex/v1/StorageSystem.java | 82 +- .../com/google/cloud/dataplex/v1/Task.java | 9025 ++++++----------- .../google/cloud/dataplex/v1/TaskName.java | 0 .../cloud/dataplex/v1/TaskOrBuilder.java | 214 +- .../google/cloud/dataplex/v1/TasksProto.java | 322 + .../com/google/cloud/dataplex/v1/Trigger.java | 993 +- .../cloud/dataplex/v1/TriggerOrBuilder.java | 34 +- .../cloud/dataplex/v1/UpdateAssetRequest.java | 524 +- .../v1/UpdateAssetRequestOrBuilder.java | 55 +- .../dataplex/v1/UpdateContentRequest.java | 543 +- .../v1/UpdateContentRequestOrBuilder.java | 55 +- .../v1/UpdateDataAttributeBindingRequest.java | 598 +- ...eDataAttributeBindingRequestOrBuilder.java | 58 +- .../v1/UpdateDataAttributeRequest.java | 555 +- .../UpdateDataAttributeRequestOrBuilder.java | 58 +- .../dataplex/v1/UpdateDataScanRequest.java | 554 +- .../v1/UpdateDataScanRequestOrBuilder.java | 58 +- .../v1/UpdateDataTaxonomyRequest.java | 555 +- .../UpdateDataTaxonomyRequestOrBuilder.java | 58 +- .../dataplex/v1/UpdateEntityRequest.java | 403 +- .../v1/UpdateEntityRequestOrBuilder.java | 38 +- .../dataplex/v1/UpdateEnvironmentRequest.java | 555 +- .../v1/UpdateEnvironmentRequestOrBuilder.java | 58 +- .../cloud/dataplex/v1/UpdateLakeRequest.java | 512 +- .../v1/UpdateLakeRequestOrBuilder.java | 46 +- .../cloud/dataplex/v1/UpdateTaskRequest.java | 512 +- .../v1/UpdateTaskRequestOrBuilder.java | 46 +- .../cloud/dataplex/v1/UpdateZoneRequest.java | 512 +- .../v1/UpdateZoneRequestOrBuilder.java | 46 +- .../com/google/cloud/dataplex/v1/Zone.java | 4050 +++----- .../google/cloud/dataplex/v1/ZoneName.java | 0 .../cloud/dataplex/v1/ZoneOrBuilder.java | 212 +- .../google/cloud/dataplex/v1/analyze.proto | 0 .../google/cloud/dataplex/v1/content.proto | 0 .../cloud/dataplex/v1/data_profile.proto | 0 .../cloud/dataplex/v1/data_quality.proto | 33 + .../cloud/dataplex/v1/data_taxonomy.proto | 0 .../google/cloud/dataplex/v1/datascans.proto | 0 .../proto/google/cloud/dataplex/v1/logs.proto | 0 .../google/cloud/dataplex/v1/metadata.proto | 0 .../google/cloud/dataplex/v1/processing.proto | 0 .../google/cloud/dataplex/v1/resources.proto | 0 .../google/cloud/dataplex/v1/security.proto | 0 .../google/cloud/dataplex/v1/service.proto | 0 .../google/cloud/dataplex/v1/tasks.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcontent/AsyncCreateContent.java | 0 .../createcontent/SyncCreateContent.java | 0 .../SyncCreateContentLakenameContent.java | 0 .../SyncCreateContentStringContent.java | 0 .../deletecontent/AsyncDeleteContent.java | 0 .../deletecontent/SyncDeleteContent.java | 0 .../SyncDeleteContentContentname.java | 0 .../SyncDeleteContentString.java | 0 .../getcontent/AsyncGetContent.java | 0 .../getcontent/SyncGetContent.java | 0 .../getcontent/SyncGetContentContentname.java | 0 .../getcontent/SyncGetContentString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../listcontent/AsyncListContent.java | 0 .../listcontent/AsyncListContentPaged.java | 0 .../listcontent/SyncListContent.java | 0 .../listcontent/SyncListContentLakename.java | 0 .../listcontent/SyncListContentString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatecontent/AsyncUpdateContent.java | 0 .../updatecontent/SyncUpdateContent.java | 0 .../SyncUpdateContentContentFieldmask.java | 0 .../createcontent/SyncCreateContent.java | 0 .../canceljob/AsyncCancelJob.java | 0 .../canceljob/SyncCancelJob.java | 0 .../canceljob/SyncCancelJobJobname.java | 0 .../canceljob/SyncCancelJobString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createasset/AsyncCreateAsset.java | 0 .../createasset/AsyncCreateAssetLRO.java | 0 .../createasset/SyncCreateAsset.java | 0 .../SyncCreateAssetStringAssetString.java | 0 .../SyncCreateAssetZonenameAssetString.java | 0 .../AsyncCreateEnvironment.java | 0 .../AsyncCreateEnvironmentLRO.java | 0 .../SyncCreateEnvironment.java | 0 ...eEnvironmentLakenameEnvironmentString.java | 0 ...ateEnvironmentStringEnvironmentString.java | 0 .../createlake/AsyncCreateLake.java | 0 .../createlake/AsyncCreateLakeLRO.java | 0 .../createlake/SyncCreateLake.java | 0 .../SyncCreateLakeLocationnameLakeString.java | 0 .../SyncCreateLakeStringLakeString.java | 0 .../createtask/AsyncCreateTask.java | 0 .../createtask/AsyncCreateTaskLRO.java | 0 .../createtask/SyncCreateTask.java | 0 .../SyncCreateTaskLakenameTaskString.java | 0 .../SyncCreateTaskStringTaskString.java | 0 .../createzone/AsyncCreateZone.java | 0 .../createzone/AsyncCreateZoneLRO.java | 0 .../createzone/SyncCreateZone.java | 0 .../SyncCreateZoneLakenameZoneString.java | 0 .../SyncCreateZoneStringZoneString.java | 0 .../deleteasset/AsyncDeleteAsset.java | 0 .../deleteasset/AsyncDeleteAssetLRO.java | 0 .../deleteasset/SyncDeleteAsset.java | 0 .../deleteasset/SyncDeleteAssetAssetname.java | 0 .../deleteasset/SyncDeleteAssetString.java | 0 .../AsyncDeleteEnvironment.java | 0 .../AsyncDeleteEnvironmentLRO.java | 0 .../SyncDeleteEnvironment.java | 0 .../SyncDeleteEnvironmentEnvironmentname.java | 0 .../SyncDeleteEnvironmentString.java | 0 .../deletelake/AsyncDeleteLake.java | 0 .../deletelake/AsyncDeleteLakeLRO.java | 0 .../deletelake/SyncDeleteLake.java | 0 .../deletelake/SyncDeleteLakeLakename.java | 0 .../deletelake/SyncDeleteLakeString.java | 0 .../deletetask/AsyncDeleteTask.java | 0 .../deletetask/AsyncDeleteTaskLRO.java | 0 .../deletetask/SyncDeleteTask.java | 0 .../deletetask/SyncDeleteTaskString.java | 0 .../deletetask/SyncDeleteTaskTaskname.java | 0 .../deletezone/AsyncDeleteZone.java | 0 .../deletezone/AsyncDeleteZoneLRO.java | 0 .../deletezone/SyncDeleteZone.java | 0 .../deletezone/SyncDeleteZoneString.java | 0 .../deletezone/SyncDeleteZoneZonename.java | 0 .../getasset/AsyncGetAsset.java | 0 .../getasset/SyncGetAsset.java | 0 .../getasset/SyncGetAssetAssetname.java | 0 .../getasset/SyncGetAssetString.java | 0 .../getenvironment/AsyncGetEnvironment.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncGetEnvironmentEnvironmentname.java | 0 .../SyncGetEnvironmentString.java | 0 .../dataplexservice/getjob/AsyncGetJob.java | 0 .../v1/dataplexservice/getjob/SyncGetJob.java | 0 .../getjob/SyncGetJobJobname.java | 0 .../getjob/SyncGetJobString.java | 0 .../dataplexservice/getlake/AsyncGetLake.java | 0 .../dataplexservice/getlake/SyncGetLake.java | 0 .../getlake/SyncGetLakeLakename.java | 0 .../getlake/SyncGetLakeString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../dataplexservice/gettask/AsyncGetTask.java | 0 .../dataplexservice/gettask/SyncGetTask.java | 0 .../gettask/SyncGetTaskString.java | 0 .../gettask/SyncGetTaskTaskname.java | 0 .../dataplexservice/getzone/AsyncGetZone.java | 0 .../dataplexservice/getzone/SyncGetZone.java | 0 .../getzone/SyncGetZoneString.java | 0 .../getzone/SyncGetZoneZonename.java | 0 .../AsyncListAssetActions.java | 0 .../AsyncListAssetActionsPaged.java | 0 .../SyncListAssetActions.java | 0 .../SyncListAssetActionsAssetname.java | 0 .../SyncListAssetActionsString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listassets/SyncListAssetsZonename.java | 0 .../AsyncListEnvironments.java | 0 .../AsyncListEnvironmentsPaged.java | 0 .../SyncListEnvironments.java | 0 .../SyncListEnvironmentsLakename.java | 0 .../SyncListEnvironmentsString.java | 0 .../listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsString.java | 0 .../listjobs/SyncListJobsTaskname.java | 0 .../listlakeactions/AsyncListLakeActions.java | 0 .../AsyncListLakeActionsPaged.java | 0 .../listlakeactions/SyncListLakeActions.java | 0 .../SyncListLakeActionsLakename.java | 0 .../SyncListLakeActionsString.java | 0 .../listlakes/AsyncListLakes.java | 0 .../listlakes/AsyncListLakesPaged.java | 0 .../listlakes/SyncListLakes.java | 0 .../listlakes/SyncListLakesLocationname.java | 0 .../listlakes/SyncListLakesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listsessions/AsyncListSessions.java | 0 .../listsessions/AsyncListSessionsPaged.java | 0 .../listsessions/SyncListSessions.java | 0 .../SyncListSessionsEnvironmentname.java | 0 .../listsessions/SyncListSessionsString.java | 0 .../listtasks/AsyncListTasks.java | 0 .../listtasks/AsyncListTasksPaged.java | 0 .../listtasks/SyncListTasks.java | 0 .../listtasks/SyncListTasksLakename.java | 0 .../listtasks/SyncListTasksString.java | 0 .../listzoneactions/AsyncListZoneActions.java | 0 .../AsyncListZoneActionsPaged.java | 0 .../listzoneactions/SyncListZoneActions.java | 0 .../SyncListZoneActionsString.java | 0 .../SyncListZoneActionsZonename.java | 0 .../listzones/AsyncListZones.java | 0 .../listzones/AsyncListZonesPaged.java | 0 .../listzones/SyncListZones.java | 0 .../listzones/SyncListZonesLakename.java | 0 .../listzones/SyncListZonesString.java | 0 .../dataplexservice/runtask/AsyncRunTask.java | 0 .../dataplexservice/runtask/SyncRunTask.java | 0 .../runtask/SyncRunTaskString.java | 0 .../runtask/SyncRunTaskTaskname.java | 0 .../updateasset/AsyncUpdateAsset.java | 0 .../updateasset/AsyncUpdateAssetLRO.java | 0 .../updateasset/SyncUpdateAsset.java | 0 .../SyncUpdateAssetAssetFieldmask.java | 0 .../AsyncUpdateEnvironment.java | 0 .../AsyncUpdateEnvironmentLRO.java | 0 .../SyncUpdateEnvironment.java | 0 ...UpdateEnvironmentEnvironmentFieldmask.java | 0 .../updatelake/AsyncUpdateLake.java | 0 .../updatelake/AsyncUpdateLakeLRO.java | 0 .../updatelake/SyncUpdateLake.java | 0 .../SyncUpdateLakeLakeFieldmask.java | 0 .../updatetask/AsyncUpdateTask.java | 0 .../updatetask/AsyncUpdateTaskLRO.java | 0 .../updatetask/SyncUpdateTask.java | 0 .../SyncUpdateTaskTaskFieldmask.java | 0 .../updatezone/AsyncUpdateZone.java | 0 .../updatezone/AsyncUpdateZoneLRO.java | 0 .../updatezone/SyncUpdateZone.java | 0 .../SyncUpdateZoneZoneFieldmask.java | 0 .../getlake/SyncGetLake.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createdatascan/AsyncCreateDataScan.java | 0 .../AsyncCreateDataScanLRO.java | 0 .../createdatascan/SyncCreateDataScan.java | 0 ...ateDataScanLocationnameDatascanString.java | 0 ...yncCreateDataScanStringDatascanString.java | 0 .../deletedatascan/AsyncDeleteDataScan.java | 0 .../AsyncDeleteDataScanLRO.java | 0 .../deletedatascan/SyncDeleteDataScan.java | 0 .../SyncDeleteDataScanDatascanname.java | 0 .../SyncDeleteDataScanString.java | 0 .../getdatascan/AsyncGetDataScan.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../SyncGetDataScanDatascanname.java | 0 .../getdatascan/SyncGetDataScanString.java | 0 .../getdatascanjob/AsyncGetDataScanJob.java | 0 .../getdatascanjob/SyncGetDataScanJob.java | 0 .../SyncGetDataScanJobDatascanjobname.java | 0 .../SyncGetDataScanJobString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListDataScanJobs.java | 0 .../AsyncListDataScanJobsPaged.java | 0 .../SyncListDataScanJobs.java | 0 .../SyncListDataScanJobsDatascanname.java | 0 .../SyncListDataScanJobsString.java | 0 .../listdatascans/AsyncListDataScans.java | 0 .../AsyncListDataScansPaged.java | 0 .../listdatascans/SyncListDataScans.java | 0 .../SyncListDataScansLocationname.java | 0 .../SyncListDataScansString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../rundatascan/AsyncRunDataScan.java | 0 .../rundatascan/SyncRunDataScan.java | 0 .../SyncRunDataScanDatascanname.java | 0 .../rundatascan/SyncRunDataScanString.java | 0 .../updatedatascan/AsyncUpdateDataScan.java | 0 .../AsyncUpdateDataScanLRO.java | 0 .../updatedatascan/SyncUpdateDataScan.java | 0 .../SyncUpdateDataScanDatascanFieldmask.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateDataAttribute.java | 0 .../AsyncCreateDataAttributeLRO.java | 0 .../SyncCreateDataAttribute.java | 0 ...teDatataxonomynameDataattributeString.java | 0 ...ataAttributeStringDataattributeString.java | 0 .../AsyncCreateDataAttributeBinding.java | 0 .../AsyncCreateDataAttributeBindingLRO.java | 0 .../SyncCreateDataAttributeBinding.java | 0 ...ocationnameDataattributebindingString.java | 0 ...ndingStringDataattributebindingString.java | 0 .../AsyncCreateDataTaxonomy.java | 0 .../AsyncCreateDataTaxonomyLRO.java | 0 .../SyncCreateDataTaxonomy.java | 0 ...axonomyLocationnameDatataxonomyString.java | 0 ...eDataTaxonomyStringDatataxonomyString.java | 0 .../AsyncDeleteDataAttribute.java | 0 .../AsyncDeleteDataAttributeLRO.java | 0 .../SyncDeleteDataAttribute.java | 0 ...cDeleteDataAttributeDataattributename.java | 0 .../SyncDeleteDataAttributeString.java | 0 .../AsyncDeleteDataAttributeBinding.java | 0 .../AsyncDeleteDataAttributeBindingLRO.java | 0 .../SyncDeleteDataAttributeBinding.java | 0 ...ributeBindingDataattributebindingname.java | 0 .../SyncDeleteDataAttributeBindingString.java | 0 .../AsyncDeleteDataTaxonomy.java | 0 .../AsyncDeleteDataTaxonomyLRO.java | 0 .../SyncDeleteDataTaxonomy.java | 0 ...yncDeleteDataTaxonomyDatataxonomyname.java | 0 .../SyncDeleteDataTaxonomyString.java | 0 .../AsyncGetDataAttribute.java | 0 .../SyncGetDataAttribute.java | 0 ...SyncGetDataAttributeDataattributename.java | 0 .../SyncGetDataAttributeString.java | 0 .../AsyncGetDataAttributeBinding.java | 0 .../SyncGetDataAttributeBinding.java | 0 ...ributeBindingDataattributebindingname.java | 0 .../SyncGetDataAttributeBindingString.java | 0 .../getdatataxonomy/AsyncGetDataTaxonomy.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../SyncGetDataTaxonomyDatataxonomyname.java | 0 .../SyncGetDataTaxonomyString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListDataAttributeBindings.java | 0 .../AsyncListDataAttributeBindingsPaged.java | 0 .../SyncListDataAttributeBindings.java | 0 ...ListDataAttributeBindingsLocationname.java | 0 .../SyncListDataAttributeBindingsString.java | 0 .../AsyncListDataAttributes.java | 0 .../AsyncListDataAttributesPaged.java | 0 .../SyncListDataAttributes.java | 0 ...yncListDataAttributesDatataxonomyname.java | 0 .../SyncListDataAttributesString.java | 0 .../AsyncListDataTaxonomies.java | 0 .../AsyncListDataTaxonomiesPaged.java | 0 .../SyncListDataTaxonomies.java | 0 .../SyncListDataTaxonomiesLocationname.java | 0 .../SyncListDataTaxonomiesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncUpdateDataAttribute.java | 0 .../AsyncUpdateDataAttributeLRO.java | 0 .../SyncUpdateDataAttribute.java | 0 ...teDataAttributeDataattributeFieldmask.java | 0 .../AsyncUpdateDataAttributeBinding.java | 0 .../AsyncUpdateDataAttributeBindingLRO.java | 0 .../SyncUpdateDataAttributeBinding.java | 0 ...eBindingDataattributebindingFieldmask.java | 0 .../AsyncUpdateDataTaxonomy.java | 0 .../AsyncUpdateDataTaxonomyLRO.java | 0 .../SyncUpdateDataTaxonomy.java | 0 ...dateDataTaxonomyDatataxonomyFieldmask.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentity/AsyncCreateEntity.java | 0 .../createentity/SyncCreateEntity.java | 0 .../SyncCreateEntityStringEntity.java | 0 .../SyncCreateEntityZonenameEntity.java | 0 .../createpartition/AsyncCreatePartition.java | 0 .../createpartition/SyncCreatePartition.java | 0 ...yncCreatePartitionEntitynamePartition.java | 0 .../SyncCreatePartitionStringPartition.java | 0 .../deleteentity/AsyncDeleteEntity.java | 0 .../deleteentity/SyncDeleteEntity.java | 0 .../SyncDeleteEntityEntityname.java | 0 .../deleteentity/SyncDeleteEntityString.java | 0 .../deletepartition/AsyncDeletePartition.java | 0 .../deletepartition/SyncDeletePartition.java | 0 .../SyncDeletePartitionPartitionname.java | 0 .../SyncDeletePartitionString.java | 0 .../getentity/AsyncGetEntity.java | 0 .../getentity/SyncGetEntity.java | 0 .../getentity/SyncGetEntityEntityname.java | 0 .../getentity/SyncGetEntityString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getpartition/AsyncGetPartition.java | 0 .../getpartition/SyncGetPartition.java | 0 .../SyncGetPartitionPartitionname.java | 0 .../getpartition/SyncGetPartitionString.java | 0 .../listentities/AsyncListEntities.java | 0 .../listentities/AsyncListEntitiesPaged.java | 0 .../listentities/SyncListEntities.java | 0 .../listentities/SyncListEntitiesString.java | 0 .../SyncListEntitiesZonename.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listpartitions/AsyncListPartitions.java | 0 .../AsyncListPartitionsPaged.java | 0 .../listpartitions/SyncListPartitions.java | 0 .../SyncListPartitionsEntityname.java | 0 .../SyncListPartitionsString.java | 0 .../updateentity/AsyncUpdateEntity.java | 0 .../updateentity/SyncUpdateEntity.java | 0 .../createentity/SyncCreateEntity.java | 0 .../createcontent/SyncCreateContent.java | 0 .../getlake/SyncGetLake.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../createentity/SyncCreateEntity.java | 0 783 files changed, 67237 insertions(+), 108897 deletions(-) delete mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java delete mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java delete mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java delete mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java delete mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json (99%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java (50%) create mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java create mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java create mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java create mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java (78%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequest.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java (57%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java (61%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java (61%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java (62%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java (60%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java (62%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java (51%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java (64%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java (53%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java (55%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java (59%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java (74%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java (77%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java (78%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java (59%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java (77%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java (66%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java (59%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java (57%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java (55%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java (55%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java (56%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java (82%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java (51%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java (50%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java (64%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java (53%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java (62%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java (73%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java (80%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java (73%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java (76%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java (62%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java (74%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java (77%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java (73%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java (72%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java (100%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadata.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java (75%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java (58%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java (74%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java (78%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java (51%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java (80%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java (55%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java (73%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java (79%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java (63%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java (63%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java (62%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java (71%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java (65%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java (61%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java (60%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java (67%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java (58%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java (64%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java (59%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java (68%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java (70%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java (69%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java (66%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto (91%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {java-dataplex => owl-bot-staging/java-dataplex/v1}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java (100%) diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java deleted file mode 100644 index d08f895a7eab..000000000000 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java +++ /dev/null @@ -1,1196 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * DataScanService manages DataScan resources which can be configured to run
- * various types of data scanning workload and generate enriched metadata (e.g.
- * Data Profile, Data Quality) for the data source.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/datascans.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataScanServiceGrpc { - - private DataScanServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataScanService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> - getCreateDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataScan", - requestType = com.google.cloud.dataplex.v1.CreateDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> - getCreateDataScanMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> - getCreateDataScanMethod; - if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { - DataScanServiceGrpc.getCreateDataScanMethod = - getCreateDataScanMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataScanRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("CreateDataScan")) - .build(); - } - } - } - return getCreateDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> - getUpdateDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataScan", - requestType = com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> - getUpdateDataScanMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> - getUpdateDataScanMethod; - if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { - DataScanServiceGrpc.getUpdateDataScanMethod = - getUpdateDataScanMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataScanRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("UpdateDataScan")) - .build(); - } - } - } - return getUpdateDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> - getDeleteDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataScan", - requestType = com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> - getDeleteDataScanMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> - getDeleteDataScanMethod; - if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { - DataScanServiceGrpc.getDeleteDataScanMethod = - getDeleteDataScanMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataScanRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("DeleteDataScan")) - .build(); - } - } - } - return getDeleteDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> - getGetDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataScan", - requestType = com.google.cloud.dataplex.v1.GetDataScanRequest.class, - responseType = com.google.cloud.dataplex.v1.DataScan.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> - getGetDataScanMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> - getGetDataScanMethod; - if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { - DataScanServiceGrpc.getGetDataScanMethod = - getGetDataScanMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataScan.getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("GetDataScan")) - .build(); - } - } - } - return getGetDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScansRequest, - com.google.cloud.dataplex.v1.ListDataScansResponse> - getListDataScansMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataScans", - requestType = com.google.cloud.dataplex.v1.ListDataScansRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataScansResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScansRequest, - com.google.cloud.dataplex.v1.ListDataScansResponse> - getListDataScansMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScansRequest, - com.google.cloud.dataplex.v1.ListDataScansResponse> - getListDataScansMethod; - if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { - DataScanServiceGrpc.getListDataScansMethod = - getListDataScansMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScans")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScansRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScansResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("ListDataScans")) - .build(); - } - } - } - return getListDataScansMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunDataScanRequest, - com.google.cloud.dataplex.v1.RunDataScanResponse> - getRunDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunDataScan", - requestType = com.google.cloud.dataplex.v1.RunDataScanRequest.class, - responseType = com.google.cloud.dataplex.v1.RunDataScanResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunDataScanRequest, - com.google.cloud.dataplex.v1.RunDataScanResponse> - getRunDataScanMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunDataScanRequest, - com.google.cloud.dataplex.v1.RunDataScanResponse> - getRunDataScanMethod; - if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { - DataScanServiceGrpc.getRunDataScanMethod = - getRunDataScanMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunDataScanResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("RunDataScan")) - .build(); - } - } - } - return getRunDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanJobRequest, - com.google.cloud.dataplex.v1.DataScanJob> - getGetDataScanJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataScanJob", - requestType = com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, - responseType = com.google.cloud.dataplex.v1.DataScanJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanJobRequest, - com.google.cloud.dataplex.v1.DataScanJob> - getGetDataScanJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataScanJobRequest, - com.google.cloud.dataplex.v1.DataScanJob> - getGetDataScanJobMethod; - if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { - DataScanServiceGrpc.getGetDataScanJobMethod = - getGetDataScanJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScanJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataScanJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("GetDataScanJob")) - .build(); - } - } - } - return getGetDataScanJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScanJobsRequest, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse> - getListDataScanJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataScanJobs", - requestType = com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScanJobsRequest, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse> - getListDataScanJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataScanJobsRequest, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse> - getListDataScanJobsMethod; - if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { - DataScanServiceGrpc.getListDataScanJobsMethod = - getListDataScanJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScanJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataScanServiceMethodDescriptorSupplier("ListDataScanJobs")) - .build(); - } - } - } - return getListDataScanJobsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataScanServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceStub(channel, callOptions); - } - }; - return DataScanServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataScanServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceBlockingStub(channel, callOptions); - } - }; - return DataScanServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataScanServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceFutureStub(channel, callOptions); - } - }; - return DataScanServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a DataScan resource.
-     * 
- */ - default void createDataScan( - com.google.cloud.dataplex.v1.CreateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataScanMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataScan resource.
-     * 
- */ - default void updateDataScan( - com.google.cloud.dataplex.v1.UpdateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataScanMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DataScan resource.
-     * 
- */ - default void deleteDataScan( - com.google.cloud.dataplex.v1.DeleteDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataScanMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a DataScan resource.
-     * 
- */ - default void getDataScan( - com.google.cloud.dataplex.v1.GetDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataScanMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataScans.
-     * 
- */ - default void listDataScans( - com.google.cloud.dataplex.v1.ListDataScansRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataScansMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - default void runDataScan( - com.google.cloud.dataplex.v1.RunDataScanRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunDataScanMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a DataScanJob resource.
-     * 
- */ - default void getDataScanJob( - com.google.cloud.dataplex.v1.GetDataScanJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataScanJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - default void listDataScanJobs( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataScanJobsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataScanService. - * - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public abstract static class DataScanServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataScanServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataScanService. - * - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataScanServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a DataScan resource.
-     * 
- */ - public void createDataScan( - com.google.cloud.dataplex.v1.CreateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataScan resource.
-     * 
- */ - public void updateDataScan( - com.google.cloud.dataplex.v1.UpdateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DataScan resource.
-     * 
- */ - public void deleteDataScan( - com.google.cloud.dataplex.v1.DeleteDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a DataScan resource.
-     * 
- */ - public void getDataScan( - com.google.cloud.dataplex.v1.GetDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataScanMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataScans.
-     * 
- */ - public void listDataScans( - com.google.cloud.dataplex.v1.ListDataScansRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataScansMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public void runDataScan( - com.google.cloud.dataplex.v1.RunDataScanRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunDataScanMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public void getDataScanJob( - com.google.cloud.dataplex.v1.GetDataScanJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public void listDataScanJobs( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataScanService. - * - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataScanServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation createDataScan( - com.google.cloud.dataplex.v1.CreateDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataScanMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataScan( - com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataScanMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation deleteDataScan( - com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataScanMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a DataScan resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataScan getDataScan( - com.google.cloud.dataplex.v1.GetDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataScanMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataScans.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans( - com.google.cloud.dataplex.v1.ListDataScansRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataScansMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan( - com.google.cloud.dataplex.v1.RunDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunDataScanMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob( - com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataScanJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataScanJobsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataScanService. - * - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataScanServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataScans.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListDataScansResponse> - listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataScansMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.RunDataScanResponse> - runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.DataScanJob> - getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListDataScanJobsResponse> - listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_DATA_SCAN = 0; - private static final int METHODID_UPDATE_DATA_SCAN = 1; - private static final int METHODID_DELETE_DATA_SCAN = 2; - private static final int METHODID_GET_DATA_SCAN = 3; - private static final int METHODID_LIST_DATA_SCANS = 4; - private static final int METHODID_RUN_DATA_SCAN = 5; - private static final int METHODID_GET_DATA_SCAN_JOB = 6; - private static final int METHODID_LIST_DATA_SCAN_JOBS = 7; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_DATA_SCAN: - serviceImpl.createDataScan( - (com.google.cloud.dataplex.v1.CreateDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_SCAN: - serviceImpl.updateDataScan( - (com.google.cloud.dataplex.v1.UpdateDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_SCAN: - serviceImpl.deleteDataScan( - (com.google.cloud.dataplex.v1.DeleteDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SCAN: - serviceImpl.getDataScan( - (com.google.cloud.dataplex.v1.GetDataScanRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_SCANS: - serviceImpl.listDataScans( - (com.google.cloud.dataplex.v1.ListDataScansRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_DATA_SCAN: - serviceImpl.runDataScan( - (com.google.cloud.dataplex.v1.RunDataScanRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_SCAN_JOB: - serviceImpl.getDataScanJob( - (com.google.cloud.dataplex.v1.GetDataScanJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_SCAN_JOBS: - serviceImpl.listDataScanJobs( - (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataScanRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_SCAN))) - .addMethod( - getUpdateDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataScanRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_SCAN))) - .addMethod( - getDeleteDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataScanRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_SCAN))) - .addMethod( - getGetDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataScanRequest, - com.google.cloud.dataplex.v1.DataScan>(service, METHODID_GET_DATA_SCAN))) - .addMethod( - getListDataScansMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataScansRequest, - com.google.cloud.dataplex.v1.ListDataScansResponse>( - service, METHODID_LIST_DATA_SCANS))) - .addMethod( - getRunDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.RunDataScanRequest, - com.google.cloud.dataplex.v1.RunDataScanResponse>( - service, METHODID_RUN_DATA_SCAN))) - .addMethod( - getGetDataScanJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataScanJobRequest, - com.google.cloud.dataplex.v1.DataScanJob>(service, METHODID_GET_DATA_SCAN_JOB))) - .addMethod( - getListDataScanJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataScanJobsRequest, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse>( - service, METHODID_LIST_DATA_SCAN_JOBS))) - .build(); - } - - private abstract static class DataScanServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataScanServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataScanService"); - } - } - - private static final class DataScanServiceFileDescriptorSupplier - extends DataScanServiceBaseDescriptorSupplier { - DataScanServiceFileDescriptorSupplier() {} - } - - private static final class DataScanServiceMethodDescriptorSupplier - extends DataScanServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataScanServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataScanServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataScanServiceFileDescriptorSupplier()) - .addMethod(getCreateDataScanMethod()) - .addMethod(getUpdateDataScanMethod()) - .addMethod(getDeleteDataScanMethod()) - .addMethod(getGetDataScanMethod()) - .addMethod(getListDataScansMethod()) - .addMethod(getRunDataScanMethod()) - .addMethod(getGetDataScanJobMethod()) - .addMethod(getListDataScanJobsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java deleted file mode 100644 index d8dcf875404d..000000000000 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java +++ /dev/null @@ -1,2081 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * DataTaxonomyService enables attribute-based governance. The resources
- * currently offered include DataTaxonomy and DataAttribute.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/data_taxonomy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTaxonomyServiceGrpc { - - private DataTaxonomyServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.dataplex.v1.DataTaxonomyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, com.google.longrunning.Operation> - getCreateDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, com.google.longrunning.Operation> - getCreateDataTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, - com.google.longrunning.Operation> - getCreateDataTaxonomyMethod; - if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) - == null) { - DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod = - getCreateDataTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataTaxonomy")) - .build(); - } - } - } - return getCreateDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, com.google.longrunning.Operation> - getUpdateDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, com.google.longrunning.Operation> - getUpdateDataTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, - com.google.longrunning.Operation> - getUpdateDataTaxonomyMethod; - if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) - == null) { - DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod = - getUpdateDataTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataTaxonomy")) - .build(); - } - } - } - return getUpdateDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, com.google.longrunning.Operation> - getDeleteDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, com.google.longrunning.Operation> - getDeleteDataTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, - com.google.longrunning.Operation> - getDeleteDataTaxonomyMethod; - if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) - == null) { - DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod = - getDeleteDataTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataTaxonomy")) - .build(); - } - } - } - return getDeleteDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> - getListDataTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataTaxonomies", - requestType = com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> - getListDataTaxonomiesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> - getListDataTaxonomiesMethod; - if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) - == null) { - DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod = - getListDataTaxonomiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("ListDataTaxonomies")) - .build(); - } - } - } - return getListDataTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, - com.google.cloud.dataplex.v1.DataTaxonomy> - getGetDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, - responseType = com.google.cloud.dataplex.v1.DataTaxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, - com.google.cloud.dataplex.v1.DataTaxonomy> - getGetDataTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, - com.google.cloud.dataplex.v1.DataTaxonomy> - getGetDataTaxonomyMethod; - if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { - DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod = - getGetDataTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("GetDataTaxonomy")) - .build(); - } - } - } - return getGetDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getCreateDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getCreateDataAttributeBindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getCreateDataAttributeBindingMethod; - if ((getCreateDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) - == null) { - DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod = - getCreateDataAttributeBindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier( - "CreateDataAttributeBinding")) - .build(); - } - } - } - return getCreateDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getUpdateDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getUpdateDataAttributeBindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, - com.google.longrunning.Operation> - getUpdateDataAttributeBindingMethod; - if ((getUpdateDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) - == null) { - DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod = - getUpdateDataAttributeBindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier( - "UpdateDataAttributeBinding")) - .build(); - } - } - } - return getUpdateDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, - com.google.longrunning.Operation> - getDeleteDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, - com.google.longrunning.Operation> - getDeleteDataAttributeBindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, - com.google.longrunning.Operation> - getDeleteDataAttributeBindingMethod; - if ((getDeleteDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) - == null) { - DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod = - getDeleteDataAttributeBindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier( - "DeleteDataAttributeBinding")) - .build(); - } - } - } - return getDeleteDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> - getListDataAttributeBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataAttributeBindings", - requestType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> - getListDataAttributeBindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> - getListDataAttributeBindingsMethod; - if ((getListDataAttributeBindingsMethod = - DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataAttributeBindingsMethod = - DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) - == null) { - DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod = - getListDataAttributeBindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListDataAttributeBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier( - "ListDataAttributeBindings")) - .build(); - } - } - } - return getListDataAttributeBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, - com.google.cloud.dataplex.v1.DataAttributeBinding> - getGetDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, - responseType = com.google.cloud.dataplex.v1.DataAttributeBinding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, - com.google.cloud.dataplex.v1.DataAttributeBinding> - getGetDataAttributeBindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, - com.google.cloud.dataplex.v1.DataAttributeBinding> - getGetDataAttributeBindingMethod; - if ((getGetDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataAttributeBindingMethod = - DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) - == null) { - DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod = - getGetDataAttributeBindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataAttributeBinding - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier( - "GetDataAttributeBinding")) - .build(); - } - } - } - return getGetDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeRequest, com.google.longrunning.Operation> - getCreateDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataAttribute", - requestType = com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeRequest, com.google.longrunning.Operation> - getCreateDataAttributeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateDataAttributeRequest, - com.google.longrunning.Operation> - getCreateDataAttributeMethod; - if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) - == null) { - DataTaxonomyServiceGrpc.getCreateDataAttributeMethod = - getCreateDataAttributeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttribute")) - .build(); - } - } - } - return getCreateDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, com.google.longrunning.Operation> - getUpdateDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttribute", - requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, com.google.longrunning.Operation> - getUpdateDataAttributeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, - com.google.longrunning.Operation> - getUpdateDataAttributeMethod; - if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) - == null) { - DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod = - getUpdateDataAttributeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttribute")) - .build(); - } - } - } - return getUpdateDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, com.google.longrunning.Operation> - getDeleteDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttribute", - requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, com.google.longrunning.Operation> - getDeleteDataAttributeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, - com.google.longrunning.Operation> - getDeleteDataAttributeMethod; - if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) - == null) { - DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod = - getDeleteDataAttributeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttribute")) - .build(); - } - } - } - return getDeleteDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributesRequest, - com.google.cloud.dataplex.v1.ListDataAttributesResponse> - getListDataAttributesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataAttributes", - requestType = com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributesRequest, - com.google.cloud.dataplex.v1.ListDataAttributesResponse> - getListDataAttributesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListDataAttributesRequest, - com.google.cloud.dataplex.v1.ListDataAttributesResponse> - getListDataAttributesMethod; - if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) - == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) - == null) { - DataTaxonomyServiceGrpc.getListDataAttributesMethod = - getListDataAttributesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributes")) - .build(); - } - } - } - return getListDataAttributesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeRequest, - com.google.cloud.dataplex.v1.DataAttribute> - getGetDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataAttribute", - requestType = com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, - responseType = com.google.cloud.dataplex.v1.DataAttribute.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeRequest, - com.google.cloud.dataplex.v1.DataAttribute> - getGetDataAttributeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetDataAttributeRequest, - com.google.cloud.dataplex.v1.DataAttribute> - getGetDataAttributeMethod; - if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) - == null) { - DataTaxonomyServiceGrpc.getGetDataAttributeMethod = - getGetDataAttributeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataAttributeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance())) - .setSchemaDescriptor( - new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttribute")) - .build(); - } - } - } - return getGetDataAttributeMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataTaxonomyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceStub(channel, callOptions); - } - }; - return DataTaxonomyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTaxonomyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceBlockingStub(channel, callOptions); - } - }; - return DataTaxonomyServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataTaxonomyServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceFutureStub(channel, callOptions); - } - }; - return DataTaxonomyServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - default void createDataTaxonomy( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - default void updateDataTaxonomy( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - default void deleteDataTaxonomy( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - default void listDataTaxonomies( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataTaxonomiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - default void getDataTaxonomy( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - default void createDataAttributeBinding( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataAttributeBindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - default void updateDataAttributeBinding( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataAttributeBindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - default void deleteDataAttributeBinding( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataAttributeBindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - default void listDataAttributeBindings( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataAttributeBindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - default void getDataAttributeBinding( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataAttributeBindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Create a DataAttribute resource.
-     * 
- */ - default void createDataAttribute( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataAttributeMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataAttribute resource.
-     * 
- */ - default void updateDataAttribute( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataAttributeMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - default void deleteDataAttribute( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataAttributeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - default void listDataAttributes( - com.google.cloud.dataplex.v1.ListDataAttributesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataAttributesMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - default void getDataAttribute( - com.google.cloud.dataplex.v1.GetDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataAttributeMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTaxonomyService. - * - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public abstract static class DataTaxonomyServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataTaxonomyServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTaxonomyService. - * - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTaxonomyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public void createDataTaxonomy( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public void updateDataTaxonomy( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public void deleteDataTaxonomy( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public void listDataTaxonomies( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public void getDataTaxonomy( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public void createDataAttributeBinding( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public void updateDataAttributeBinding( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public void deleteDataAttributeBinding( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public void listDataAttributeBindings( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public void getDataAttributeBinding( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create a DataAttribute resource.
-     * 
- */ - public void createDataAttribute( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public void updateDataAttribute( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public void deleteDataAttribute( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public void listDataAttributes( - com.google.cloud.dataplex.v1.ListDataAttributesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public void getDataAttribute( - com.google.cloud.dataplex.v1.GetDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTaxonomyService. - * - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTaxonomyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public com.google.longrunning.Operation createDataTaxonomy( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataTaxonomy( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteDataTaxonomy( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse listDataTaxonomies( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataTaxonomiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public com.google.longrunning.Operation createDataAttributeBinding( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataAttributeBinding( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteDataAttributeBinding( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse listDataAttributeBindings( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataAttributeBindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create a DataAttribute resource.
-     * 
- */ - public com.google.longrunning.Operation createDataAttribute( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataAttributeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataAttribute( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataAttributeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public com.google.longrunning.Operation deleteDataAttribute( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataAttributeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataAttributesResponse listDataAttributes( - com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataAttributesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute( - com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataAttributeMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTaxonomyService. - * - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTaxonomyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> - listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.DataTaxonomy> - getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDataAttributeBinding( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDataAttributeBinding( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataAttributeBinding( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> - listDataAttributeBindings( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.DataAttributeBinding> - getDataAttributeBinding( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create a DataAttribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListDataAttributesResponse> - listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.DataAttribute> - getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_DATA_TAXONOMY = 0; - private static final int METHODID_UPDATE_DATA_TAXONOMY = 1; - private static final int METHODID_DELETE_DATA_TAXONOMY = 2; - private static final int METHODID_LIST_DATA_TAXONOMIES = 3; - private static final int METHODID_GET_DATA_TAXONOMY = 4; - private static final int METHODID_CREATE_DATA_ATTRIBUTE_BINDING = 5; - private static final int METHODID_UPDATE_DATA_ATTRIBUTE_BINDING = 6; - private static final int METHODID_DELETE_DATA_ATTRIBUTE_BINDING = 7; - private static final int METHODID_LIST_DATA_ATTRIBUTE_BINDINGS = 8; - private static final int METHODID_GET_DATA_ATTRIBUTE_BINDING = 9; - private static final int METHODID_CREATE_DATA_ATTRIBUTE = 10; - private static final int METHODID_UPDATE_DATA_ATTRIBUTE = 11; - private static final int METHODID_DELETE_DATA_ATTRIBUTE = 12; - private static final int METHODID_LIST_DATA_ATTRIBUTES = 13; - private static final int METHODID_GET_DATA_ATTRIBUTE = 14; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_DATA_TAXONOMY: - serviceImpl.createDataTaxonomy( - (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_TAXONOMY: - serviceImpl.updateDataTaxonomy( - (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_TAXONOMY: - serviceImpl.deleteDataTaxonomy( - (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_TAXONOMIES: - serviceImpl.listDataTaxonomies( - (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_TAXONOMY: - serviceImpl.getDataTaxonomy( - (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_DATA_ATTRIBUTE_BINDING: - serviceImpl.createDataAttributeBinding( - (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_ATTRIBUTE_BINDING: - serviceImpl.updateDataAttributeBinding( - (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_ATTRIBUTE_BINDING: - serviceImpl.deleteDataAttributeBinding( - (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_ATTRIBUTE_BINDINGS: - serviceImpl.listDataAttributeBindings( - (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>) - responseObserver); - break; - case METHODID_GET_DATA_ATTRIBUTE_BINDING: - serviceImpl.getDataAttributeBinding( - (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_DATA_ATTRIBUTE: - serviceImpl.createDataAttribute( - (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_ATTRIBUTE: - serviceImpl.updateDataAttribute( - (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_ATTRIBUTE: - serviceImpl.deleteDataAttribute( - (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_ATTRIBUTES: - serviceImpl.listDataAttributes( - (com.google.cloud.dataplex.v1.ListDataAttributesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_ATTRIBUTE: - serviceImpl.getDataAttribute( - (com.google.cloud.dataplex.v1.GetDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_TAXONOMY))) - .addMethod( - getUpdateDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_TAXONOMY))) - .addMethod( - getDeleteDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_TAXONOMY))) - .addMethod( - getListDataTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse>( - service, METHODID_LIST_DATA_TAXONOMIES))) - .addMethod( - getGetDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, - com.google.cloud.dataplex.v1.DataTaxonomy>( - service, METHODID_GET_DATA_TAXONOMY))) - .addMethod( - getCreateDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getUpdateDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getDeleteDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getListDataAttributeBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>( - service, METHODID_LIST_DATA_ATTRIBUTE_BINDINGS))) - .addMethod( - getGetDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, - com.google.cloud.dataplex.v1.DataAttributeBinding>( - service, METHODID_GET_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getCreateDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataAttributeRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_ATTRIBUTE))) - .addMethod( - getUpdateDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_ATTRIBUTE))) - .addMethod( - getDeleteDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_ATTRIBUTE))) - .addMethod( - getListDataAttributesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataAttributesRequest, - com.google.cloud.dataplex.v1.ListDataAttributesResponse>( - service, METHODID_LIST_DATA_ATTRIBUTES))) - .addMethod( - getGetDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataAttributeRequest, - com.google.cloud.dataplex.v1.DataAttribute>( - service, METHODID_GET_DATA_ATTRIBUTE))) - .build(); - } - - private abstract static class DataTaxonomyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTaxonomyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTaxonomyService"); - } - } - - private static final class DataTaxonomyServiceFileDescriptorSupplier - extends DataTaxonomyServiceBaseDescriptorSupplier { - DataTaxonomyServiceFileDescriptorSupplier() {} - } - - private static final class DataTaxonomyServiceMethodDescriptorSupplier - extends DataTaxonomyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTaxonomyServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTaxonomyServiceFileDescriptorSupplier()) - .addMethod(getCreateDataTaxonomyMethod()) - .addMethod(getUpdateDataTaxonomyMethod()) - .addMethod(getDeleteDataTaxonomyMethod()) - .addMethod(getListDataTaxonomiesMethod()) - .addMethod(getGetDataTaxonomyMethod()) - .addMethod(getCreateDataAttributeBindingMethod()) - .addMethod(getUpdateDataAttributeBindingMethod()) - .addMethod(getDeleteDataAttributeBindingMethod()) - .addMethod(getListDataAttributeBindingsMethod()) - .addMethod(getGetDataAttributeBindingMethod()) - .addMethod(getCreateDataAttributeMethod()) - .addMethod(getUpdateDataAttributeMethod()) - .addMethod(getDeleteDataAttributeMethod()) - .addMethod(getListDataAttributesMethod()) - .addMethod(getGetDataAttributeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java deleted file mode 100644 index ecf50b2e8aa4..000000000000 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java +++ /dev/null @@ -1,3985 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Dataplex service provides data lakes as a service. The primary resources
- * offered by this service are Lakes, Zones and Assets which collectively allow
- * a data administrator to organize, manage, secure and catalog data across
- * their organization located across cloud projects in a variety of storage
- * systems including Cloud Storage and BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataplexServiceGrpc { - - private DataplexServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataplexService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> - getCreateLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateLake", - requestType = com.google.cloud.dataplex.v1.CreateLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> - getCreateLakeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> - getCreateLakeMethod; - if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { - DataplexServiceGrpc.getCreateLakeMethod = - getCreateLakeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateLakeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("CreateLake")) - .build(); - } - } - } - return getCreateLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> - getUpdateLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateLake", - requestType = com.google.cloud.dataplex.v1.UpdateLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> - getUpdateLakeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> - getUpdateLakeMethod; - if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { - DataplexServiceGrpc.getUpdateLakeMethod = - getUpdateLakeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateLakeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("UpdateLake")) - .build(); - } - } - } - return getUpdateLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> - getDeleteLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteLake", - requestType = com.google.cloud.dataplex.v1.DeleteLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> - getDeleteLakeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> - getDeleteLakeMethod; - if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { - DataplexServiceGrpc.getDeleteLakeMethod = - getDeleteLakeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteLakeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("DeleteLake")) - .build(); - } - } - } - return getDeleteLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakesRequest, - com.google.cloud.dataplex.v1.ListLakesResponse> - getListLakesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLakes", - requestType = com.google.cloud.dataplex.v1.ListLakesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListLakesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakesRequest, - com.google.cloud.dataplex.v1.ListLakesResponse> - getListLakesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakesRequest, - com.google.cloud.dataplex.v1.ListLakesResponse> - getListLakesMethod; - if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { - DataplexServiceGrpc.getListLakesMethod = - getListLakesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakes")) - .build(); - } - } - } - return getListLakesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> - getGetLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetLake", - requestType = com.google.cloud.dataplex.v1.GetLakeRequest.class, - responseType = com.google.cloud.dataplex.v1.Lake.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> - getGetLakeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> - getGetLakeMethod; - if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { - DataplexServiceGrpc.getGetLakeMethod = - getGetLakeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetLakeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Lake.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetLake")) - .build(); - } - } - } - return getGetLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakeActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListLakeActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLakeActions", - requestType = com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakeActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListLakeActionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListLakeActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListLakeActionsMethod; - if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { - DataplexServiceGrpc.getListLakeActionsMethod = - getListLakeActionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakeActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakeActionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListLakeActions")) - .build(); - } - } - } - return getListLakeActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> - getCreateZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateZone", - requestType = com.google.cloud.dataplex.v1.CreateZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> - getCreateZoneMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> - getCreateZoneMethod; - if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { - DataplexServiceGrpc.getCreateZoneMethod = - getCreateZoneMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateZoneRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("CreateZone")) - .build(); - } - } - } - return getCreateZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> - getUpdateZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateZone", - requestType = com.google.cloud.dataplex.v1.UpdateZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> - getUpdateZoneMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> - getUpdateZoneMethod; - if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { - DataplexServiceGrpc.getUpdateZoneMethod = - getUpdateZoneMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateZoneRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("UpdateZone")) - .build(); - } - } - } - return getUpdateZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> - getDeleteZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteZone", - requestType = com.google.cloud.dataplex.v1.DeleteZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> - getDeleteZoneMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> - getDeleteZoneMethod; - if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { - DataplexServiceGrpc.getDeleteZoneMethod = - getDeleteZoneMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteZoneRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("DeleteZone")) - .build(); - } - } - } - return getDeleteZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZonesRequest, - com.google.cloud.dataplex.v1.ListZonesResponse> - getListZonesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListZones", - requestType = com.google.cloud.dataplex.v1.ListZonesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListZonesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZonesRequest, - com.google.cloud.dataplex.v1.ListZonesResponse> - getListZonesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZonesRequest, - com.google.cloud.dataplex.v1.ListZonesResponse> - getListZonesMethod; - if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { - DataplexServiceGrpc.getListZonesMethod = - getListZonesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZonesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZonesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZones")) - .build(); - } - } - } - return getListZonesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> - getGetZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetZone", - requestType = com.google.cloud.dataplex.v1.GetZoneRequest.class, - responseType = com.google.cloud.dataplex.v1.Zone.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> - getGetZoneMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> - getGetZoneMethod; - if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { - DataplexServiceGrpc.getGetZoneMethod = - getGetZoneMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetZoneRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Zone.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetZone")) - .build(); - } - } - } - return getGetZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZoneActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListZoneActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListZoneActions", - requestType = com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZoneActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListZoneActionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListZoneActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListZoneActionsMethod; - if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { - DataplexServiceGrpc.getListZoneActionsMethod = - getListZoneActionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZoneActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZoneActionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListZoneActions")) - .build(); - } - } - } - return getListZoneActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> - getCreateAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAsset", - requestType = com.google.cloud.dataplex.v1.CreateAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> - getCreateAssetMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> - getCreateAssetMethod; - if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { - DataplexServiceGrpc.getCreateAssetMethod = - getCreateAssetMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("CreateAsset")) - .build(); - } - } - } - return getCreateAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> - getUpdateAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAsset", - requestType = com.google.cloud.dataplex.v1.UpdateAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> - getUpdateAssetMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> - getUpdateAssetMethod; - if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { - DataplexServiceGrpc.getUpdateAssetMethod = - getUpdateAssetMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("UpdateAsset")) - .build(); - } - } - } - return getUpdateAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> - getDeleteAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAsset", - requestType = com.google.cloud.dataplex.v1.DeleteAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> - getDeleteAssetMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> - getDeleteAssetMethod; - if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { - DataplexServiceGrpc.getDeleteAssetMethod = - getDeleteAssetMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("DeleteAsset")) - .build(); - } - } - } - return getDeleteAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetsRequest, - com.google.cloud.dataplex.v1.ListAssetsResponse> - getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.dataplex.v1.ListAssetsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetsRequest, - com.google.cloud.dataplex.v1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetsRequest, - com.google.cloud.dataplex.v1.ListAssetsResponse> - getListAssetsMethod; - if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { - DataplexServiceGrpc.getListAssetsMethod = - getListAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> - getGetAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAsset", - requestType = com.google.cloud.dataplex.v1.GetAssetRequest.class, - responseType = com.google.cloud.dataplex.v1.Asset.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> - getGetAssetMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> - getGetAssetMethod; - if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { - DataplexServiceGrpc.getGetAssetMethod = - getGetAssetMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetAssetRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Asset.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetAsset")) - .build(); - } - } - } - return getGetAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListAssetActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssetActions", - requestType = com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListAssetActionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListAssetActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse> - getListAssetActionsMethod; - if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { - DataplexServiceGrpc.getListAssetActionsMethod = - getListAssetActionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssetActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetActionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListAssetActions")) - .build(); - } - } - } - return getListAssetActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> - getCreateTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTask", - requestType = com.google.cloud.dataplex.v1.CreateTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> - getCreateTaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> - getCreateTaskMethod; - if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { - DataplexServiceGrpc.getCreateTaskMethod = - getCreateTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("CreateTask")) - .build(); - } - } - } - return getCreateTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> - getUpdateTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTask", - requestType = com.google.cloud.dataplex.v1.UpdateTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> - getUpdateTaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> - getUpdateTaskMethod; - if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { - DataplexServiceGrpc.getUpdateTaskMethod = - getUpdateTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("UpdateTask")) - .build(); - } - } - } - return getUpdateTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> - getDeleteTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTask", - requestType = com.google.cloud.dataplex.v1.DeleteTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> - getDeleteTaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> - getDeleteTaskMethod; - if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { - DataplexServiceGrpc.getDeleteTaskMethod = - getDeleteTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("DeleteTask")) - .build(); - } - } - } - return getDeleteTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListTasksRequest, - com.google.cloud.dataplex.v1.ListTasksResponse> - getListTasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTasks", - requestType = com.google.cloud.dataplex.v1.ListTasksRequest.class, - responseType = com.google.cloud.dataplex.v1.ListTasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListTasksRequest, - com.google.cloud.dataplex.v1.ListTasksResponse> - getListTasksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListTasksRequest, - com.google.cloud.dataplex.v1.ListTasksResponse> - getListTasksMethod; - if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { - DataplexServiceGrpc.getListTasksMethod = - getListTasksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListTasksRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListTasksResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListTasks")) - .build(); - } - } - } - return getListTasksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> - getGetTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTask", - requestType = com.google.cloud.dataplex.v1.GetTaskRequest.class, - responseType = com.google.cloud.dataplex.v1.Task.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> - getGetTaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> - getGetTaskMethod; - if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { - DataplexServiceGrpc.getGetTaskMethod = - getGetTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Task.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetTask")) - .build(); - } - } - } - return getGetTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListJobsRequest, - com.google.cloud.dataplex.v1.ListJobsResponse> - getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.dataplex.v1.ListJobsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListJobsRequest, - com.google.cloud.dataplex.v1.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListJobsRequest, - com.google.cloud.dataplex.v1.ListJobsResponse> - getListJobsMethod; - if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { - DataplexServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunTaskRequest, com.google.cloud.dataplex.v1.RunTaskResponse> - getRunTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunTask", - requestType = com.google.cloud.dataplex.v1.RunTaskRequest.class, - responseType = com.google.cloud.dataplex.v1.RunTaskResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunTaskRequest, com.google.cloud.dataplex.v1.RunTaskResponse> - getRunTaskMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.RunTaskRequest, - com.google.cloud.dataplex.v1.RunTaskResponse> - getRunTaskMethod; - if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { - DataplexServiceGrpc.getRunTaskMethod = - getRunTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunTaskResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("RunTask")) - .build(); - } - } - } - return getRunTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> - getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.dataplex.v1.GetJobRequest.class, - responseType = com.google.cloud.dataplex.v1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> - getGetJobMethod; - if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { - DataplexServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Job.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> - getCancelJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelJob", - requestType = com.google.cloud.dataplex.v1.CancelJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> - getCancelJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> - getCancelJobMethod; - if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { - DataplexServiceGrpc.getCancelJobMethod = - getCancelJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CancelJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CancelJob")) - .build(); - } - } - } - return getCancelJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> - getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> - getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> - getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { - DataplexServiceGrpc.getCreateEnvironmentMethod = - getCreateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> - getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { - DataplexServiceGrpc.getUpdateEnvironmentMethod = - getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> - getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { - DataplexServiceGrpc.getDeleteEnvironmentMethod = - getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEnvironmentsRequest, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEnvironmentsRequest, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEnvironmentsRequest, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { - DataplexServiceGrpc.getListEnvironmentsMethod = - getListEnvironmentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEnvironmentRequest, - com.google.cloud.dataplex.v1.Environment> - getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, - responseType = com.google.cloud.dataplex.v1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEnvironmentRequest, - com.google.cloud.dataplex.v1.Environment> - getGetEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEnvironmentRequest, - com.google.cloud.dataplex.v1.Environment> - getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { - DataplexServiceGrpc.getGetEnvironmentMethod = - getGetEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetEnvironmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Environment.getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListSessionsRequest, - com.google.cloud.dataplex.v1.ListSessionsResponse> - getListSessionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSessions", - requestType = com.google.cloud.dataplex.v1.ListSessionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListSessionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListSessionsRequest, - com.google.cloud.dataplex.v1.ListSessionsResponse> - getListSessionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListSessionsRequest, - com.google.cloud.dataplex.v1.ListSessionsResponse> - getListSessionsMethod; - if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { - DataplexServiceGrpc.getListSessionsMethod = - getListSessionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListSessionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListSessionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataplexServiceMethodDescriptorSupplier("ListSessions")) - .build(); - } - } - } - return getListSessionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataplexServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceStub(channel, callOptions); - } - }; - return DataplexServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataplexServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceBlockingStub(channel, callOptions); - } - }; - return DataplexServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataplexServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceFutureStub(channel, callOptions); - } - }; - return DataplexServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a lake resource.
-     * 
- */ - default void createLake( - com.google.cloud.dataplex.v1.CreateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateLakeMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a lake resource.
-     * 
- */ - default void updateLake( - com.google.cloud.dataplex.v1.UpdateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateLakeMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - default void deleteLake( - com.google.cloud.dataplex.v1.DeleteLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLakeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists lake resources in a project and location.
-     * 
- */ - default void listLakes( - com.google.cloud.dataplex.v1.ListLakesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakesMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a lake resource.
-     * 
- */ - default void getLake( - com.google.cloud.dataplex.v1.GetLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLakeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists action resources in a lake.
-     * 
- */ - default void listLakeActions( - com.google.cloud.dataplex.v1.ListLakeActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListLakeActionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a zone resource within a lake.
-     * 
- */ - default void createZone( - com.google.cloud.dataplex.v1.CreateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateZoneMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a zone resource.
-     * 
- */ - default void updateZone( - com.google.cloud.dataplex.v1.UpdateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateZoneMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - default void deleteZone( - com.google.cloud.dataplex.v1.DeleteZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteZoneMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists zone resources in a lake.
-     * 
- */ - default void listZones( - com.google.cloud.dataplex.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a zone resource.
-     * 
- */ - default void getZone( - com.google.cloud.dataplex.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists action resources in a zone.
-     * 
- */ - default void listZoneActions( - com.google.cloud.dataplex.v1.ListZoneActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListZoneActionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an asset resource.
-     * 
- */ - default void createAsset( - com.google.cloud.dataplex.v1.CreateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAssetMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an asset resource.
-     * 
- */ - default void updateAsset( - com.google.cloud.dataplex.v1.UpdateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAssetMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - default void deleteAsset( - com.google.cloud.dataplex.v1.DeleteAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAssetMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists asset resources in a zone.
-     * 
- */ - default void listAssets( - com.google.cloud.dataplex.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves an asset resource.
-     * 
- */ - default void getAsset( - com.google.cloud.dataplex.v1.GetAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAssetMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists action resources in an asset.
-     * 
- */ - default void listAssetActions( - com.google.cloud.dataplex.v1.ListAssetActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAssetActionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a task resource within a lake.
-     * 
- */ - default void createTask( - com.google.cloud.dataplex.v1.CreateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Update the task resource.
-     * 
- */ - default void updateTask( - com.google.cloud.dataplex.v1.UpdateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete the task resource.
-     * 
- */ - default void deleteTask( - com.google.cloud.dataplex.v1.DeleteTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tasks under the given lake.
-     * 
- */ - default void listTasks( - com.google.cloud.dataplex.v1.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); - } - - /** - * - * - *
-     * Get task resource.
-     * 
- */ - default void getTask( - com.google.cloud.dataplex.v1.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Jobs under the given task.
-     * 
- */ - default void listJobs( - com.google.cloud.dataplex.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Run an on demand execution of a Task.
-     * 
- */ - default void runTask( - com.google.cloud.dataplex.v1.RunTaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Get job resource.
-     * 
- */ - default void getJob( - com.google.cloud.dataplex.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - default void cancelJob( - com.google.cloud.dataplex.v1.CancelJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Create an environment resource.
-     * 
- */ - default void createEnvironment( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Update the environment resource.
-     * 
- */ - default void updateEnvironment( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - default void deleteEnvironment( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists environments under the given lake.
-     * 
- */ - default void listEnvironments( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEnvironmentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Get environment resource.
-     * 
- */ - default void getEnvironment( - com.google.cloud.dataplex.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists session resources in an environment.
-     * 
- */ - default void listSessions( - com.google.cloud.dataplex.v1.ListSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSessionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataplexService. - * - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public abstract static class DataplexServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataplexServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataplexService. - * - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataplexServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a lake resource.
-     * 
- */ - public void createLake( - com.google.cloud.dataplex.v1.CreateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a lake resource.
-     * 
- */ - public void updateLake( - com.google.cloud.dataplex.v1.UpdateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public void deleteLake( - com.google.cloud.dataplex.v1.DeleteLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public void listLakes( - com.google.cloud.dataplex.v1.ListLakesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLakesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Retrieves a lake resource.
-     * 
- */ - public void getLake( - com.google.cloud.dataplex.v1.GetLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists action resources in a lake.
-     * 
- */ - public void listLakeActions( - com.google.cloud.dataplex.v1.ListLakeActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public void createZone( - com.google.cloud.dataplex.v1.CreateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a zone resource.
-     * 
- */ - public void updateZone( - com.google.cloud.dataplex.v1.UpdateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public void deleteZone( - com.google.cloud.dataplex.v1.DeleteZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists zone resources in a lake.
-     * 
- */ - public void listZones( - com.google.cloud.dataplex.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Retrieves a zone resource.
-     * 
- */ - public void getZone( - com.google.cloud.dataplex.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists action resources in a zone.
-     * 
- */ - public void listZoneActions( - com.google.cloud.dataplex.v1.ListZoneActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an asset resource.
-     * 
- */ - public void createAsset( - com.google.cloud.dataplex.v1.CreateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAssetMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an asset resource.
-     * 
- */ - public void updateAsset( - com.google.cloud.dataplex.v1.UpdateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public void deleteAsset( - com.google.cloud.dataplex.v1.DeleteAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists asset resources in a zone.
-     * 
- */ - public void listAssets( - com.google.cloud.dataplex.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Retrieves an asset resource.
-     * 
- */ - public void getAsset( - com.google.cloud.dataplex.v1.GetAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAssetMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists action resources in an asset.
-     * 
- */ - public void listAssetActions( - com.google.cloud.dataplex.v1.ListAssetActionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a task resource within a lake.
-     * 
- */ - public void createTask( - com.google.cloud.dataplex.v1.CreateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Update the task resource.
-     * 
- */ - public void updateTask( - com.google.cloud.dataplex.v1.UpdateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Delete the task resource.
-     * 
- */ - public void deleteTask( - com.google.cloud.dataplex.v1.DeleteTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tasks under the given lake.
-     * 
- */ - public void listTasks( - com.google.cloud.dataplex.v1.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Get task resource.
-     * 
- */ - public void getTask( - com.google.cloud.dataplex.v1.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists Jobs under the given task.
-     * 
- */ - public void listJobs( - com.google.cloud.dataplex.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public void runTask( - com.google.cloud.dataplex.v1.RunTaskRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Get job resource.
-     * 
- */ - public void getJob( - com.google.cloud.dataplex.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public void cancelJob( - com.google.cloud.dataplex.v1.CancelJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Create an environment resource.
-     * 
- */ - public void createEnvironment( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update the environment resource.
-     * 
- */ - public void updateEnvironment( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public void deleteEnvironment( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists environments under the given lake.
-     * 
- */ - public void listEnvironments( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get environment resource.
-     * 
- */ - public void getEnvironment( - com.google.cloud.dataplex.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists session resources in an environment.
-     * 
- */ - public void listSessions( - com.google.cloud.dataplex.v1.ListSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataplexService. - * - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataplexServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a lake resource.
-     * 
- */ - public com.google.longrunning.Operation createLake( - com.google.cloud.dataplex.v1.CreateLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateLakeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a lake resource.
-     * 
- */ - public com.google.longrunning.Operation updateLake( - com.google.cloud.dataplex.v1.UpdateLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateLakeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteLake( - com.google.cloud.dataplex.v1.DeleteLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteLakeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListLakesResponse listLakes( - com.google.cloud.dataplex.v1.ListLakesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLakesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a lake resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Lake getLake( - com.google.cloud.dataplex.v1.GetLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetLakeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists action resources in a lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listLakeActions( - com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLakeActionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public com.google.longrunning.Operation createZone( - com.google.cloud.dataplex.v1.CreateZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateZoneMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a zone resource.
-     * 
- */ - public com.google.longrunning.Operation updateZone( - com.google.cloud.dataplex.v1.UpdateZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateZoneMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteZone( - com.google.cloud.dataplex.v1.DeleteZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteZoneMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists zone resources in a lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListZonesResponse listZones( - com.google.cloud.dataplex.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListZonesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a zone resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Zone getZone( - com.google.cloud.dataplex.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetZoneMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists action resources in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listZoneActions( - com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListZoneActionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an asset resource.
-     * 
- */ - public com.google.longrunning.Operation createAsset( - com.google.cloud.dataplex.v1.CreateAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAssetMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an asset resource.
-     * 
- */ - public com.google.longrunning.Operation updateAsset( - com.google.cloud.dataplex.v1.UpdateAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAssetMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public com.google.longrunning.Operation deleteAsset( - com.google.cloud.dataplex.v1.DeleteAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAssetMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists asset resources in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListAssetsResponse listAssets( - com.google.cloud.dataplex.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves an asset resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Asset getAsset( - com.google.cloud.dataplex.v1.GetAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAssetMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists action resources in an asset.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listAssetActions( - com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetActionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a task resource within a lake.
-     * 
- */ - public com.google.longrunning.Operation createTask( - com.google.cloud.dataplex.v1.CreateTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update the task resource.
-     * 
- */ - public com.google.longrunning.Operation updateTask( - com.google.cloud.dataplex.v1.UpdateTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete the task resource.
-     * 
- */ - public com.google.longrunning.Operation deleteTask( - com.google.cloud.dataplex.v1.DeleteTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tasks under the given lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListTasksResponse listTasks( - com.google.cloud.dataplex.v1.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTasksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get task resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Task getTask( - com.google.cloud.dataplex.v1.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Jobs under the given task.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListJobsResponse listJobs( - com.google.cloud.dataplex.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public com.google.cloud.dataplex.v1.RunTaskResponse runTask( - com.google.cloud.dataplex.v1.RunTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get job resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Job getJob( - com.google.cloud.dataplex.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public com.google.protobuf.Empty cancelJob( - com.google.cloud.dataplex.v1.CancelJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create an environment resource.
-     * 
- */ - public com.google.longrunning.Operation createEnvironment( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update the environment resource.
-     * 
- */ - public com.google.longrunning.Operation updateEnvironment( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public com.google.longrunning.Operation deleteEnvironment( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists environments under the given lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListEnvironmentsResponse listEnvironments( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get environment resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Environment getEnvironment( - com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists session resources in an environment.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListSessionsResponse listSessions( - com.google.cloud.dataplex.v1.ListSessionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSessionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataplexService. - * - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataplexServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListLakesResponse> - listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLakesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getLake(com.google.cloud.dataplex.v1.GetLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetLakeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists action resources in a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListActionsResponse> - listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a zone resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists zone resources in a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListZonesResponse> - listZones(com.google.cloud.dataplex.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a zone resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getZone(com.google.cloud.dataplex.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists action resources in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListActionsResponse> - listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists asset resources in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListAssetsResponse> - listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAssetMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists action resources in an asset.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListActionsResponse> - listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a task resource within a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tasks under the given lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListTasksResponse> - listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.dataplex.v1.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Jobs under the given task.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListJobsResponse> - listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.RunTaskResponse> - runTask(com.google.cloud.dataplex.v1.RunTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get job resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.dataplex.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelJob( - com.google.cloud.dataplex.v1.CancelJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create an environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update the environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists environments under the given lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListEnvironmentsResponse> - listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.Environment> - getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists session resources in an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListSessionsResponse> - listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_LAKE = 0; - private static final int METHODID_UPDATE_LAKE = 1; - private static final int METHODID_DELETE_LAKE = 2; - private static final int METHODID_LIST_LAKES = 3; - private static final int METHODID_GET_LAKE = 4; - private static final int METHODID_LIST_LAKE_ACTIONS = 5; - private static final int METHODID_CREATE_ZONE = 6; - private static final int METHODID_UPDATE_ZONE = 7; - private static final int METHODID_DELETE_ZONE = 8; - private static final int METHODID_LIST_ZONES = 9; - private static final int METHODID_GET_ZONE = 10; - private static final int METHODID_LIST_ZONE_ACTIONS = 11; - private static final int METHODID_CREATE_ASSET = 12; - private static final int METHODID_UPDATE_ASSET = 13; - private static final int METHODID_DELETE_ASSET = 14; - private static final int METHODID_LIST_ASSETS = 15; - private static final int METHODID_GET_ASSET = 16; - private static final int METHODID_LIST_ASSET_ACTIONS = 17; - private static final int METHODID_CREATE_TASK = 18; - private static final int METHODID_UPDATE_TASK = 19; - private static final int METHODID_DELETE_TASK = 20; - private static final int METHODID_LIST_TASKS = 21; - private static final int METHODID_GET_TASK = 22; - private static final int METHODID_LIST_JOBS = 23; - private static final int METHODID_RUN_TASK = 24; - private static final int METHODID_GET_JOB = 25; - private static final int METHODID_CANCEL_JOB = 26; - private static final int METHODID_CREATE_ENVIRONMENT = 27; - private static final int METHODID_UPDATE_ENVIRONMENT = 28; - private static final int METHODID_DELETE_ENVIRONMENT = 29; - private static final int METHODID_LIST_ENVIRONMENTS = 30; - private static final int METHODID_GET_ENVIRONMENT = 31; - private static final int METHODID_LIST_SESSIONS = 32; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_LAKE: - serviceImpl.createLake( - (com.google.cloud.dataplex.v1.CreateLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_LAKE: - serviceImpl.updateLake( - (com.google.cloud.dataplex.v1.UpdateLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_LAKE: - serviceImpl.deleteLake( - (com.google.cloud.dataplex.v1.DeleteLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_LAKES: - serviceImpl.listLakes( - (com.google.cloud.dataplex.v1.ListLakesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_LAKE: - serviceImpl.getLake( - (com.google.cloud.dataplex.v1.GetLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_LAKE_ACTIONS: - serviceImpl.listLakeActions( - (com.google.cloud.dataplex.v1.ListLakeActionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_ZONE: - serviceImpl.createZone( - (com.google.cloud.dataplex.v1.CreateZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ZONE: - serviceImpl.updateZone( - (com.google.cloud.dataplex.v1.UpdateZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ZONE: - serviceImpl.deleteZone( - (com.google.cloud.dataplex.v1.DeleteZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ZONES: - serviceImpl.listZones( - (com.google.cloud.dataplex.v1.ListZonesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ZONE: - serviceImpl.getZone( - (com.google.cloud.dataplex.v1.GetZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ZONE_ACTIONS: - serviceImpl.listZoneActions( - (com.google.cloud.dataplex.v1.ListZoneActionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_ASSET: - serviceImpl.createAsset( - (com.google.cloud.dataplex.v1.CreateAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ASSET: - serviceImpl.updateAsset( - (com.google.cloud.dataplex.v1.UpdateAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ASSET: - serviceImpl.deleteAsset( - (com.google.cloud.dataplex.v1.DeleteAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.dataplex.v1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ASSET: - serviceImpl.getAsset( - (com.google.cloud.dataplex.v1.GetAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSET_ACTIONS: - serviceImpl.listAssetActions( - (com.google.cloud.dataplex.v1.ListAssetActionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TASK: - serviceImpl.createTask( - (com.google.cloud.dataplex.v1.CreateTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TASK: - serviceImpl.updateTask( - (com.google.cloud.dataplex.v1.UpdateTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TASK: - serviceImpl.deleteTask( - (com.google.cloud.dataplex.v1.DeleteTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TASKS: - serviceImpl.listTasks( - (com.google.cloud.dataplex.v1.ListTasksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_TASK: - serviceImpl.getTask( - (com.google.cloud.dataplex.v1.GetTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.dataplex.v1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_TASK: - serviceImpl.runTask( - (com.google.cloud.dataplex.v1.RunTaskRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.dataplex.v1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_JOB: - serviceImpl.cancelJob( - (com.google.cloud.dataplex.v1.CancelJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment( - (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment( - (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment( - (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments( - (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment( - (com.google.cloud.dataplex.v1.GetEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_SESSIONS: - serviceImpl.listSessions( - (com.google.cloud.dataplex.v1.ListSessionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateLakeRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_LAKE))) - .addMethod( - getUpdateLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateLakeRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_LAKE))) - .addMethod( - getDeleteLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteLakeRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_LAKE))) - .addMethod( - getListLakesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListLakesRequest, - com.google.cloud.dataplex.v1.ListLakesResponse>(service, METHODID_LIST_LAKES))) - .addMethod( - getGetLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake>( - service, METHODID_GET_LAKE))) - .addMethod( - getListLakeActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListLakeActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_LAKE_ACTIONS))) - .addMethod( - getCreateZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateZoneRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_ZONE))) - .addMethod( - getUpdateZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateZoneRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_ZONE))) - .addMethod( - getDeleteZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteZoneRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_ZONE))) - .addMethod( - getListZonesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListZonesRequest, - com.google.cloud.dataplex.v1.ListZonesResponse>(service, METHODID_LIST_ZONES))) - .addMethod( - getGetZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone>( - service, METHODID_GET_ZONE))) - .addMethod( - getListZoneActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListZoneActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_ZONE_ACTIONS))) - .addMethod( - getCreateAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateAssetRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_ASSET))) - .addMethod( - getUpdateAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateAssetRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_ASSET))) - .addMethod( - getDeleteAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteAssetRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_ASSET))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListAssetsRequest, - com.google.cloud.dataplex.v1.ListAssetsResponse>( - service, METHODID_LIST_ASSETS))) - .addMethod( - getGetAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetAssetRequest, - com.google.cloud.dataplex.v1.Asset>(service, METHODID_GET_ASSET))) - .addMethod( - getListAssetActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListAssetActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_ASSET_ACTIONS))) - .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateTaskRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_TASK))) - .addMethod( - getUpdateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateTaskRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_TASK))) - .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteTaskRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_TASK))) - .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListTasksRequest, - com.google.cloud.dataplex.v1.ListTasksResponse>(service, METHODID_LIST_TASKS))) - .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task>( - service, METHODID_GET_TASK))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListJobsRequest, - com.google.cloud.dataplex.v1.ListJobsResponse>(service, METHODID_LIST_JOBS))) - .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.RunTaskRequest, - com.google.cloud.dataplex.v1.RunTaskResponse>(service, METHODID_RUN_TASK))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job>( - service, METHODID_GET_JOB))) - .addMethod( - getCancelJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty>( - service, METHODID_CANCEL_JOB))) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListEnvironmentsRequest, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse>( - service, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetEnvironmentRequest, - com.google.cloud.dataplex.v1.Environment>(service, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListSessionsRequest, - com.google.cloud.dataplex.v1.ListSessionsResponse>( - service, METHODID_LIST_SESSIONS))) - .build(); - } - - private abstract static class DataplexServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataplexServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataplexService"); - } - } - - private static final class DataplexServiceFileDescriptorSupplier - extends DataplexServiceBaseDescriptorSupplier { - DataplexServiceFileDescriptorSupplier() {} - } - - private static final class DataplexServiceMethodDescriptorSupplier - extends DataplexServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataplexServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataplexServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataplexServiceFileDescriptorSupplier()) - .addMethod(getCreateLakeMethod()) - .addMethod(getUpdateLakeMethod()) - .addMethod(getDeleteLakeMethod()) - .addMethod(getListLakesMethod()) - .addMethod(getGetLakeMethod()) - .addMethod(getListLakeActionsMethod()) - .addMethod(getCreateZoneMethod()) - .addMethod(getUpdateZoneMethod()) - .addMethod(getDeleteZoneMethod()) - .addMethod(getListZonesMethod()) - .addMethod(getGetZoneMethod()) - .addMethod(getListZoneActionsMethod()) - .addMethod(getCreateAssetMethod()) - .addMethod(getUpdateAssetMethod()) - .addMethod(getDeleteAssetMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getGetAssetMethod()) - .addMethod(getListAssetActionsMethod()) - .addMethod(getCreateTaskMethod()) - .addMethod(getUpdateTaskMethod()) - .addMethod(getDeleteTaskMethod()) - .addMethod(getListTasksMethod()) - .addMethod(getGetTaskMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getRunTaskMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCancelJobMethod()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListSessionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java deleted file mode 100644 index e3a5ead326db..000000000000 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java +++ /dev/null @@ -1,1291 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Metadata service manages metadata resources such as tables, filesets and
- * partitions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/metadata.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MetadataServiceGrpc { - - private MetadataServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.MetadataService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getCreateEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntity", - requestType = com.google.cloud.dataplex.v1.CreateEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getCreateEntityMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getCreateEntityMethod; - if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { - MetadataServiceGrpc.getCreateEntityMethod = - getCreateEntityMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateEntityRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("CreateEntity")) - .build(); - } - } - } - return getCreateEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getUpdateEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntity", - requestType = com.google.cloud.dataplex.v1.UpdateEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getUpdateEntityMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> - getUpdateEntityMethod; - if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { - MetadataServiceGrpc.getUpdateEntityMethod = - getUpdateEntityMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateEntityRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("UpdateEntity")) - .build(); - } - } - } - return getUpdateEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> - getDeleteEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntity", - requestType = com.google.cloud.dataplex.v1.DeleteEntityRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> - getDeleteEntityMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> - getDeleteEntityMethod; - if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { - MetadataServiceGrpc.getDeleteEntityMethod = - getDeleteEntityMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteEntityRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("DeleteEntity")) - .build(); - } - } - } - return getDeleteEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> - getGetEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntity", - requestType = com.google.cloud.dataplex.v1.GetEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> - getGetEntityMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> - getGetEntityMethod; - if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { - MetadataServiceGrpc.getGetEntityMethod = - getGetEntityMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetEntityRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetEntity")) - .build(); - } - } - } - return getGetEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEntitiesRequest, - com.google.cloud.dataplex.v1.ListEntitiesResponse> - getListEntitiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntities", - requestType = com.google.cloud.dataplex.v1.ListEntitiesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListEntitiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEntitiesRequest, - com.google.cloud.dataplex.v1.ListEntitiesResponse> - getListEntitiesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListEntitiesRequest, - com.google.cloud.dataplex.v1.ListEntitiesResponse> - getListEntitiesMethod; - if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { - MetadataServiceGrpc.getListEntitiesMethod = - getListEntitiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntities")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEntitiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEntitiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("ListEntities")) - .build(); - } - } - } - return getListEntitiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreatePartitionRequest, - com.google.cloud.dataplex.v1.Partition> - getCreatePartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePartition", - requestType = com.google.cloud.dataplex.v1.CreatePartitionRequest.class, - responseType = com.google.cloud.dataplex.v1.Partition.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreatePartitionRequest, - com.google.cloud.dataplex.v1.Partition> - getCreatePartitionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreatePartitionRequest, - com.google.cloud.dataplex.v1.Partition> - getCreatePartitionMethod; - if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { - MetadataServiceGrpc.getCreatePartitionMethod = - getCreatePartitionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreatePartitionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("CreatePartition")) - .build(); - } - } - } - return getCreatePartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> - getDeletePartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePartition", - requestType = com.google.cloud.dataplex.v1.DeletePartitionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> - getDeletePartitionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> - getDeletePartitionMethod; - if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { - MetadataServiceGrpc.getDeletePartitionMethod = - getDeletePartitionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeletePartitionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("DeletePartition")) - .build(); - } - } - } - return getDeletePartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetPartitionRequest, com.google.cloud.dataplex.v1.Partition> - getGetPartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPartition", - requestType = com.google.cloud.dataplex.v1.GetPartitionRequest.class, - responseType = com.google.cloud.dataplex.v1.Partition.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetPartitionRequest, com.google.cloud.dataplex.v1.Partition> - getGetPartitionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetPartitionRequest, - com.google.cloud.dataplex.v1.Partition> - getGetPartitionMethod; - if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { - MetadataServiceGrpc.getGetPartitionMethod = - getGetPartitionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetPartitionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("GetPartition")) - .build(); - } - } - } - return getGetPartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListPartitionsRequest, - com.google.cloud.dataplex.v1.ListPartitionsResponse> - getListPartitionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPartitions", - requestType = com.google.cloud.dataplex.v1.ListPartitionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListPartitionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListPartitionsRequest, - com.google.cloud.dataplex.v1.ListPartitionsResponse> - getListPartitionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListPartitionsRequest, - com.google.cloud.dataplex.v1.ListPartitionsResponse> - getListPartitionsMethod; - if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { - MetadataServiceGrpc.getListPartitionsMethod = - getListPartitionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPartitions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListPartitionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListPartitionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MetadataServiceMethodDescriptorSupplier("ListPartitions")) - .build(); - } - } - } - return getListPartitionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static MetadataServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceStub(channel, callOptions); - } - }; - return MetadataServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MetadataServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceBlockingStub(channel, callOptions); - } - }; - return MetadataServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static MetadataServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceFutureStub(channel, callOptions); - } - }; - return MetadataServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Create a metadata entity.
-     * 
- */ - default void createEntity( - com.google.cloud.dataplex.v1.CreateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntityMethod(), responseObserver); - } - - /** - * - * - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - default void updateEntity( - com.google.cloud.dataplex.v1.UpdateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntityMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete a metadata entity.
-     * 
- */ - default void deleteEntity( - com.google.cloud.dataplex.v1.DeleteEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntityMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a metadata entity.
-     * 
- */ - default void getEntity( - com.google.cloud.dataplex.v1.GetEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityMethod(), responseObserver); - } - - /** - * - * - *
-     * List metadata entities in a zone.
-     * 
- */ - default void listEntities( - com.google.cloud.dataplex.v1.ListEntitiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntitiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Create a metadata partition.
-     * 
- */ - default void createPartition( - com.google.cloud.dataplex.v1.CreatePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePartitionMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete a metadata partition.
-     * 
- */ - default void deletePartition( - com.google.cloud.dataplex.v1.DeletePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePartitionMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a metadata partition of an entity.
-     * 
- */ - default void getPartition( - com.google.cloud.dataplex.v1.GetPartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPartitionMethod(), responseObserver); - } - - /** - * - * - *
-     * List metadata partitions of an entity.
-     * 
- */ - default void listPartitions( - com.google.cloud.dataplex.v1.ListPartitionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPartitionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service MetadataService. - * - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public abstract static class MetadataServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return MetadataServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service MetadataService. - * - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private MetadataServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a metadata entity.
-     * 
- */ - public void createEntity( - com.google.cloud.dataplex.v1.CreateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntityMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public void updateEntity( - com.google.cloud.dataplex.v1.UpdateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete a metadata entity.
-     * 
- */ - public void deleteEntity( - com.google.cloud.dataplex.v1.DeleteEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a metadata entity.
-     * 
- */ - public void getEntity( - com.google.cloud.dataplex.v1.GetEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntityMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * List metadata entities in a zone.
-     * 
- */ - public void listEntities( - com.google.cloud.dataplex.v1.ListEntitiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntitiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create a metadata partition.
-     * 
- */ - public void createPartition( - com.google.cloud.dataplex.v1.CreatePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete a metadata partition.
-     * 
- */ - public void deletePartition( - com.google.cloud.dataplex.v1.DeletePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public void getPartition( - com.google.cloud.dataplex.v1.GetPartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPartitionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List metadata partitions of an entity.
-     * 
- */ - public void listPartitions( - com.google.cloud.dataplex.v1.ListPartitionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPartitionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service MetadataService. - * - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private MetadataServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a metadata entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity createEntity( - com.google.cloud.dataplex.v1.CreateEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntityMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity updateEntity( - com.google.cloud.dataplex.v1.UpdateEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntityMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete a metadata entity.
-     * 
- */ - public com.google.protobuf.Empty deleteEntity( - com.google.cloud.dataplex.v1.DeleteEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntityMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a metadata entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity getEntity( - com.google.cloud.dataplex.v1.GetEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntityMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List metadata entities in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListEntitiesResponse listEntities( - com.google.cloud.dataplex.v1.ListEntitiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntitiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create a metadata partition.
-     * 
- */ - public com.google.cloud.dataplex.v1.Partition createPartition( - com.google.cloud.dataplex.v1.CreatePartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePartitionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete a metadata partition.
-     * 
- */ - public com.google.protobuf.Empty deletePartition( - com.google.cloud.dataplex.v1.DeletePartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePartitionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Partition getPartition( - com.google.cloud.dataplex.v1.GetPartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPartitionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List metadata partitions of an entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListPartitionsResponse listPartitions( - com.google.cloud.dataplex.v1.ListPartitionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPartitionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service MetadataService. - * - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private MetadataServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntityMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List metadata entities in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListEntitiesResponse> - listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create a metadata partition.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.Partition> - createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete a metadata partition.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.Partition> - getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List metadata partitions of an entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListPartitionsResponse> - listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENTITY = 0; - private static final int METHODID_UPDATE_ENTITY = 1; - private static final int METHODID_DELETE_ENTITY = 2; - private static final int METHODID_GET_ENTITY = 3; - private static final int METHODID_LIST_ENTITIES = 4; - private static final int METHODID_CREATE_PARTITION = 5; - private static final int METHODID_DELETE_PARTITION = 6; - private static final int METHODID_GET_PARTITION = 7; - private static final int METHODID_LIST_PARTITIONS = 8; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENTITY: - serviceImpl.createEntity( - (com.google.cloud.dataplex.v1.CreateEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENTITY: - serviceImpl.updateEntity( - (com.google.cloud.dataplex.v1.UpdateEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENTITY: - serviceImpl.deleteEntity( - (com.google.cloud.dataplex.v1.DeleteEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENTITY: - serviceImpl.getEntity( - (com.google.cloud.dataplex.v1.GetEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENTITIES: - serviceImpl.listEntities( - (com.google.cloud.dataplex.v1.ListEntitiesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_PARTITION: - serviceImpl.createPartition( - (com.google.cloud.dataplex.v1.CreatePartitionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PARTITION: - serviceImpl.deletePartition( - (com.google.cloud.dataplex.v1.DeletePartitionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PARTITION: - serviceImpl.getPartition( - (com.google.cloud.dataplex.v1.GetPartitionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PARTITIONS: - serviceImpl.listPartitions( - (com.google.cloud.dataplex.v1.ListPartitionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateEntityRequest, - com.google.cloud.dataplex.v1.Entity>(service, METHODID_CREATE_ENTITY))) - .addMethod( - getUpdateEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateEntityRequest, - com.google.cloud.dataplex.v1.Entity>(service, METHODID_UPDATE_ENTITY))) - .addMethod( - getDeleteEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_ENTITY))) - .addMethod( - getGetEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetEntityRequest, - com.google.cloud.dataplex.v1.Entity>(service, METHODID_GET_ENTITY))) - .addMethod( - getListEntitiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListEntitiesRequest, - com.google.cloud.dataplex.v1.ListEntitiesResponse>( - service, METHODID_LIST_ENTITIES))) - .addMethod( - getCreatePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreatePartitionRequest, - com.google.cloud.dataplex.v1.Partition>(service, METHODID_CREATE_PARTITION))) - .addMethod( - getDeletePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_PARTITION))) - .addMethod( - getGetPartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetPartitionRequest, - com.google.cloud.dataplex.v1.Partition>(service, METHODID_GET_PARTITION))) - .addMethod( - getListPartitionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListPartitionsRequest, - com.google.cloud.dataplex.v1.ListPartitionsResponse>( - service, METHODID_LIST_PARTITIONS))) - .build(); - } - - private abstract static class MetadataServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MetadataServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MetadataService"); - } - } - - private static final class MetadataServiceFileDescriptorSupplier - extends MetadataServiceBaseDescriptorSupplier { - MetadataServiceFileDescriptorSupplier() {} - } - - private static final class MetadataServiceMethodDescriptorSupplier - extends MetadataServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - MetadataServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MetadataServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MetadataServiceFileDescriptorSupplier()) - .addMethod(getCreateEntityMethod()) - .addMethod(getUpdateEntityMethod()) - .addMethod(getDeleteEntityMethod()) - .addMethod(getGetEntityMethod()) - .addMethod(getListEntitiesMethod()) - .addMethod(getCreatePartitionMethod()) - .addMethod(getDeletePartitionMethod()) - .addMethod(getGetPartitionMethod()) - .addMethod(getListPartitionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java deleted file mode 100644 index 5725000bebd8..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java +++ /dev/null @@ -1,345 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/analyze.proto - -package com.google.cloud.dataplex.v1; - -public final class AnalyzeProto { - private AnalyzeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Session_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/analyze.proto" - + "\022\030google.cloud.dataplex.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032(google/cloud/dataplex/v1/resourc" - + "es.proto\032\036google/protobuf/duration.proto" - + "\032\037google/protobuf/timestamp.proto\"\263\r\n\013En" - + "vironment\022:\n\004name\030\001 \001(\tB,\342A\001\003\372A%\n#datapl" - + "ex.googleapis.com/Environment\022\032\n\014display" - + "_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013" - + "create_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.googl" - + "e.protobuf.TimestampB\004\342A\001\003\022G\n\006labels\030\006 \003" - + "(\01321.google.cloud.dataplex.v1.Environmen" - + "t.LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\t" - + "B\004\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.dat" - + "aplex.v1.StateB\004\342A\001\003\022[\n\023infrastructure_s" - + "pec\030d \001(\01328.google.cloud.dataplex.v1.Env" - + "ironment.InfrastructureSpecB\004\342A\001\002\022M\n\014ses" - + "sion_spec\030e \001(\01321.google.cloud.dataplex." - + "v1.Environment.SessionSpecB\004\342A\001\001\022Q\n\016sess" - + "ion_status\030f \001(\01323.google.cloud.dataplex" - + ".v1.Environment.SessionStatusB\004\342A\001\003\022I\n\te" - + "ndpoints\030\310\001 \001(\0132/.google.cloud.dataplex." - + "v1.Environment.EndpointsB\004\342A\001\003\032\356\004\n\022Infra" - + "structureSpec\022b\n\007compute\0302 \001(\0132I.google." - + "cloud.dataplex.v1.Environment.Infrastruc" - + "tureSpec.ComputeResourcesB\004\342A\001\001H\000\022a\n\010os_" - + "image\030d \001(\0132G.google.cloud.dataplex.v1.E" - + "nvironment.InfrastructureSpec.OsImageRun" - + "timeB\004\342A\001\002H\001\032f\n\020ComputeResources\022\032\n\014disk" - + "_size_gb\030\001 \001(\005B\004\342A\001\001\022\030\n\nnode_count\030\002 \001(\005" - + "B\004\342A\001\001\022\034\n\016max_node_count\030\003 \001(\005B\004\342A\001\001\032\220\002\n" - + "\016OsImageRuntime\022\033\n\rimage_version\030\001 \001(\tB\004" - + "\342A\001\002\022\034\n\016java_libraries\030\002 \003(\tB\004\342A\001\001\022\035\n\017py" - + "thon_packages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030" - + "\004 \003(\0132W.google.cloud.dataplex.v1.Environ" - + "ment.InfrastructureSpec.OsImageRuntime.P" - + "ropertiesEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\013\n\tresou" - + "rcesB\t\n\007runtime\032l\n\013SessionSpec\022:\n\021max_id" - + "le_duration\030\001 \001(\0132\031.google.protobuf.Dura" - + "tionB\004\342A\001\001\022!\n\023enable_fast_startup\030\002 \001(\010B" - + "\004\342A\001\001\032%\n\rSessionStatus\022\024\n\006active\030\001 \001(\010B\004" - + "\342A\001\003\0327\n\tEndpoints\022\027\n\tnotebooks\030\001 \001(\tB\004\342A" - + "\001\003\022\021\n\003sql\030\002 \001(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y\352Av\n#datap" - + "lex.googleapis.com/Environment\022Oprojects" - + "/{project}/locations/{location}/lakes/{l" - + "ake}/environments/{environment}\"\260\007\n\007Cont" - + "ent\0226\n\004name\030\001 \001(\tB(\342A\001\003\372A!\n\037dataplex.goo" - + "gleapis.com/Content\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\022" - + "\n\004path\030\003 \001(\tB\004\342A\001\002\0225\n\013create_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" - + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\022C\n\006labels\030\006 \003(\0132-.google.cloud." - + "dataplex.v1.Content.LabelsEntryB\004\342A\001\001\022\031\n" - + "\013description\030\007 \001(\tB\004\342A\001\001\022\031\n\tdata_text\030\t " - + "\001(\tB\004\342A\001\002H\000\022A\n\nsql_script\030d \001(\0132+.google" - + ".cloud.dataplex.v1.Content.SqlScriptH\001\022>" - + "\n\010notebook\030e \001(\0132*.google.cloud.dataplex" - + ".v1.Content.NotebookH\001\032\222\001\n\tSqlScript\022M\n\006" - + "engine\030\001 \001(\01627.google.cloud.dataplex.v1." - + "Content.SqlScript.QueryEngineB\004\342A\001\002\"6\n\013Q" - + "ueryEngine\022\034\n\030QUERY_ENGINE_UNSPECIFIED\020\000" - + "\022\t\n\005SPARK\020\002\032\224\001\n\010Notebook\022P\n\013kernel_type\030" - + "\001 \001(\01625.google.cloud.dataplex.v1.Content" - + ".Notebook.KernelTypeB\004\342A\001\002\"6\n\nKernelType" - + "\022\033\n\027KERNEL_TYPE_UNSPECIFIED\020\000\022\013\n\007PYTHON3" - + "\020\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001:l\352Ai\n\037dataplex.googleapis.com/" - + "Content\022Fprojects/{project}/locations/{l" - + "ocation}/lakes/{lake}/content/{content}B" - + "\006\n\004dataB\t\n\007content\"\321\002\n\007Session\0226\n\004name\030\001" - + " \001(\tB(\342A\001\003\372A!\n\037dataplex.googleapis.com/S" - + "ession\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\003\0225\n\013create_" - + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\003\0224\n\005state\030\004 \001(\0162\037.google.cloud.datap" - + "lex.v1.StateB\004\342A\001\003:\211\001\352A\205\001\n\037dataplex.goog" - + "leapis.com/Session\022bprojects/{project}/l" - + "ocations/{location}/lakes/{lake}/environ" - + "ments/{environment}/sessions/{session}Bh" - + "\n\034com.google.cloud.dataplex.v1B\014AnalyzeP" - + "rotoP\001Z8cloud.google.com/go/dataplex/api" - + "v1/dataplexpb;dataplexpbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Environment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "State", - "InfrastructureSpec", - "SessionSpec", - "SessionStatus", - "Endpoints", - }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor, - new java.lang.String[] { - "Compute", "OsImage", "Resources", "Runtime", - }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor, - new java.lang.String[] { - "DiskSizeGb", "NodeCount", "MaxNodeCount", - }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor, - new java.lang.String[] { - "ImageVersion", "JavaLibraries", "PythonPackages", "Properties", - }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor, - new java.lang.String[] { - "MaxIdleDuration", "EnableFastStartup", - }); - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor, - new java.lang.String[] { - "Active", - }); - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor, - new java.lang.String[] { - "Notebooks", "Sql", - }); - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Content_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Path", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "DataText", - "SqlScript", - "Notebook", - "Data", - "Content", - }); - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor, - new java.lang.String[] { - "Engine", - }); - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor, - new java.lang.String[] { - "KernelType", - }); - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Session_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Session_descriptor, - new java.lang.String[] { - "Name", "UserId", "CreateTime", "State", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java deleted file mode 100644 index 60c85a2dd386..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface CancelJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CancelJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java deleted file mode 100644 index 74b620ae0c47..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public final class ContentProto { - private ContentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/content.proto" - + "\022\030google.cloud.dataplex.v1\032\034google/api/a" - + "nnotations.proto\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032&google/cloud/data" - + "plex/v1/analyze.proto\032\036google/iam/v1/iam" - + "_policy.proto\032\032google/iam/v1/policy.prot" - + "o\032\033google/protobuf/empty.proto\032 google/p" - + "rotobuf/field_mask.proto\"\244\001\n\024CreateConte" - + "ntRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034data" - + "plex.googleapis.com/Lake\0228\n\007content\030\002 \001(" - + "\0132!.google.cloud.dataplex.v1.ContentB\004\342A" - + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\244\001\n\024Upda" - + "teContentRequest\0225\n\013update_mask\030\001 \001(\0132\032." - + "google.protobuf.FieldMaskB\004\342A\001\002\0228\n\007conte" - + "nt\030\002 \001(\0132!.google.cloud.dataplex.v1.Cont" - + "entB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"N" - + "\n\024DeleteContentRequest\0226\n\004name\030\001 \001(\tB(\342A" - + "\001\002\372A!\n\037dataplex.googleapis.com/Content\"\224" - + "\001\n\022ListContentRequest\0225\n\006parent\030\001 \001(\tB%\342" - + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" - + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" - + "\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"b\n\023ListCon" - + "tentResponse\0222\n\007content\030\001 \003(\0132!.google.c" - + "loud.dataplex.v1.Content\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\332\001\n\021GetContentRequest\0226\n\004name\030" - + "\001 \001(\tB(\342A\001\002\372A!\n\037dataplex.googleapis.com/" - + "Content\022K\n\004view\030\002 \001(\01627.google.cloud.dat" - + "aplex.v1.GetContentRequest.ContentViewB\004" - + "\342A\001\001\"@\n\013ContentView\022\034\n\030CONTENT_VIEW_UNSP" - + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\255\020\n\016Conte" - + "ntService\022\200\002\n\rCreateContent\022..google.clo" - + "ud.dataplex.v1.CreateContentRequest\032!.go" - + "ogle.cloud.dataplex.v1.Content\"\233\001\332A\016pare" - + "nt,content\202\323\344\223\002\203\001\"8/v1/{parent=projects/" - + "*/locations/*/lakes/*}/contentitems:\007con" - + "tentZ>\"3/v1/{parent=projects/*/locations" - + "/*/lakes/*}/content:\007content\022\227\002\n\rUpdateC" - + "ontent\022..google.cloud.dataplex.v1.Update" - + "ContentRequest\032!.google.cloud.dataplex.v" - + "1.Content\"\262\001\332A\023content,update_mask\202\323\344\223\002\225" - + "\0012A/v1/{content.name=projects/*/location" - + "s/*/lakes/*/contentitems/**}:\007contentZG2" - + " - * Output only. The dimension config specified in the DataQualitySpec, as is. - * - * - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the dimension field is set. - */ - boolean hasDimension(); - /** - * - * - *
-   * Output only. The dimension config specified in the DataQualitySpec, as is.
-   * 
- * - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The dimension. - */ - com.google.cloud.dataplex.v1.DataQualityDimension getDimension(); - /** - * - * - *
-   * Output only. The dimension config specified in the DataQualitySpec, as is.
-   * 
- * - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder(); - - /** - * - * - *
-   * Whether the dimension passed or failed.
-   * 
- * - * bool passed = 3; - * - * @return The passed. - */ - boolean getPassed(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java deleted file mode 100644 index 00219dea582a..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java +++ /dev/null @@ -1,388 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_quality.proto - -package com.google.cloud.dataplex.v1; - -public final class DataQualityProto { - private DataQualityProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/dataplex/v1/data_quality." - + "proto\022\030google.cloud.dataplex.v1\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\032)google/cloud/dataplex/v1/pr" - + "ocessing.proto\"\223\003\n\017DataQualitySpec\022>\n\005ru" - + "les\030\001 \003(\0132).google.cloud.dataplex.v1.Dat" - + "aQualityRuleB\004\342A\001\002\022\036\n\020sampling_percent\030\004" - + " \001(\002B\004\342A\001\001\022\030\n\nrow_filter\030\005 \001(\tB\004\342A\001\001\022Z\n\021" - + "post_scan_actions\030\006 \001(\01329.google.cloud.d" - + "ataplex.v1.DataQualitySpec.PostScanActio" - + "nsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017bigquery" - + "_export\030\001 \001(\0132H.google.cloud.dataplex.v1" - + ".DataQualitySpec.PostScanActions.BigQuer" - + "yExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\rresul" - + "ts_table\030\001 \001(\tB\004\342A\001\001\"\353\005\n\021DataQualityResu" - + "lt\022\016\n\006passed\030\005 \001(\010\022H\n\ndimensions\030\002 \003(\01324" - + ".google.cloud.dataplex.v1.DataQualityDim" - + "ensionResult\022>\n\005rules\030\003 \003(\0132/.google.clo" - + "ud.dataplex.v1.DataQualityRuleResult\022\021\n\t" - + "row_count\030\004 \001(\003\022;\n\014scanned_data\030\007 \001(\0132%." - + "google.cloud.dataplex.v1.ScannedData\022i\n\030" - + "post_scan_actions_result\030\010 \001(\0132A.google." - + "cloud.dataplex.v1.DataQualityResult.Post" - + "ScanActionsResultB\004\342A\001\003\032\200\003\n\025PostScanActi" - + "onsResult\022|\n\026bigquery_export_result\030\001 \001(" - + "\0132V.google.cloud.dataplex.v1.DataQuality" - + "Result.PostScanActionsResult.BigQueryExp" - + "ortResultB\004\342A\001\003\032\350\001\n\024BigQueryExportResult" - + "\022q\n\005state\030\001 \001(\0162\\.google.cloud.dataplex." - + "v1.DataQualityResult.PostScanActionsResu" - + "lt.BigQueryExportResult.StateB\004\342A\001\003\022\025\n\007m" - + "essage\030\002 \001(\tB\004\342A\001\003\"F\n\005State\022\025\n\021STATE_UNS" - + "PECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\013\n" - + "\007SKIPPED\020\003\"\323\001\n\025DataQualityRuleResult\0227\n\004" - + "rule\030\001 \001(\0132).google.cloud.dataplex.v1.Da" - + "taQualityRule\022\016\n\006passed\030\007 \001(\010\022\027\n\017evaluat" - + "ed_count\030\t \001(\003\022\024\n\014passed_count\030\010 \001(\003\022\022\n\n" - + "null_count\030\005 \001(\003\022\022\n\npass_ratio\030\006 \001(\001\022\032\n\022" - + "failing_rows_query\030\n \001(\t\"u\n\032DataQualityD" - + "imensionResult\022G\n\tdimension\030\001 \001(\0132..goog" - + "le.cloud.dataplex.v1.DataQualityDimensio" - + "nB\004\342A\001\003\022\016\n\006passed\030\003 \001(\010\"$\n\024DataQualityDi" - + "mension\022\014\n\004name\030\001 \001(\t\"\211\r\n\017DataQualityRul" - + "e\022W\n\021range_expectation\030\001 \001(\0132:.google.cl" - + "oud.dataplex.v1.DataQualityRule.RangeExp" - + "ectationH\000\022\\\n\024non_null_expectation\030\002 \001(\013" - + "2<.google.cloud.dataplex.v1.DataQualityR" - + "ule.NonNullExpectationH\000\022S\n\017set_expectat" - + "ion\030\003 \001(\01328.google.cloud.dataplex.v1.Dat" - + "aQualityRule.SetExpectationH\000\022W\n\021regex_e" - + "xpectation\030\004 \001(\0132:.google.cloud.dataplex" - + ".v1.DataQualityRule.RegexExpectationH\000\022a" - + "\n\026uniqueness_expectation\030d \001(\0132?.google." - + "cloud.dataplex.v1.DataQualityRule.Unique" - + "nessExpectationH\000\022j\n\033statistic_range_exp" - + "ectation\030e \001(\0132C.google.cloud.dataplex.v" - + "1.DataQualityRule.StatisticRangeExpectat" - + "ionH\000\022g\n\031row_condition_expectation\030\310\001 \001(" - + "\0132A.google.cloud.dataplex.v1.DataQuality" - + "Rule.RowConditionExpectationH\000\022k\n\033table_" - + "condition_expectation\030\311\001 \001(\0132C.google.cl" - + "oud.dataplex.v1.DataQualityRule.TableCon" - + "ditionExpectationH\000\022\025\n\006column\030\364\003 \001(\tB\004\342A" - + "\001\001\022\032\n\013ignore_null\030\365\003 \001(\010B\004\342A\001\001\022\030\n\tdimens" - + "ion\030\366\003 \001(\tB\004\342A\001\002\022\030\n\tthreshold\030\367\003 \001(\001B\004\342A" - + "\001\001\022\023\n\004name\030\370\003 \001(\tB\004\342A\001\001\022\032\n\013description\030\371" - + "\003 \001(\tB\004\342A\001\001\032\210\001\n\020RangeExpectation\022\027\n\tmin_" - + "value\030\001 \001(\tB\004\342A\001\001\022\027\n\tmax_value\030\002 \001(\tB\004\342A" - + "\001\001\022 \n\022strict_min_enabled\030\003 \001(\010B\004\342A\001\001\022 \n\022" - + "strict_max_enabled\030\004 \001(\010B\004\342A\001\001\032\024\n\022NonNul" - + "lExpectation\032&\n\016SetExpectation\022\024\n\006values" - + "\030\001 \003(\tB\004\342A\001\001\032\'\n\020RegexExpectation\022\023\n\005rege" - + "x\030\001 \001(\tB\004\342A\001\001\032\027\n\025UniquenessExpectation\032\307" - + "\002\n\031StatisticRangeExpectation\022l\n\tstatisti" - + "c\030\001 \001(\0162S.google.cloud.dataplex.v1.DataQ" - + "ualityRule.StatisticRangeExpectation.Col" - + "umnStatisticB\004\342A\001\001\022\027\n\tmin_value\030\002 \001(\tB\004\342" - + "A\001\001\022\027\n\tmax_value\030\003 \001(\tB\004\342A\001\001\022 \n\022strict_m" - + "in_enabled\030\004 \001(\010B\004\342A\001\001\022 \n\022strict_max_ena" - + "bled\030\005 \001(\010B\004\342A\001\001\"F\n\017ColumnStatistic\022\027\n\023S" - + "TATISTIC_UNDEFINED\020\000\022\010\n\004MEAN\020\001\022\007\n\003MIN\020\002\022" - + "\007\n\003MAX\020\003\0327\n\027RowConditionExpectation\022\034\n\016s" - + "ql_expression\030\001 \001(\tB\004\342A\001\001\0329\n\031TableCondit" - + "ionExpectation\022\034\n\016sql_expression\030\001 \001(\tB\004" - + "\342A\001\001B\013\n\trule_typeB\304\001\n\034com.google.cloud.d" - + "ataplex.v1B\020DataQualityProtoP\001Z8cloud.go" - + "ogle.com/go/dataplex/apiv1/dataplexpb;da" - + "taplexpb\352AU\n\035bigquery.googleapis.com/Tab" - + "le\0224projects/{project}/datasets/{dataset" - + "}/tables/{table}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor, - new java.lang.String[] { - "Rules", "SamplingPercent", "RowFilter", "PostScanActions", - }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor, - new java.lang.String[] { - "BigqueryExport", - }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor, - new java.lang.String[] { - "ResultsTable", - }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor, - new java.lang.String[] { - "Passed", "Dimensions", "Rules", "RowCount", "ScannedData", "PostScanActionsResult", - }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor, - new java.lang.String[] { - "BigqueryExportResult", - }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor, - new java.lang.String[] { - "State", "Message", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor, - new java.lang.String[] { - "Rule", - "Passed", - "EvaluatedCount", - "PassedCount", - "NullCount", - "PassRatio", - "FailingRowsQuery", - }); - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor, - new java.lang.String[] { - "Dimension", "Passed", - }); - internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor, - new java.lang.String[] { - "RangeExpectation", - "NonNullExpectation", - "SetExpectation", - "RegexExpectation", - "UniquenessExpectation", - "StatisticRangeExpectation", - "RowConditionExpectation", - "TableConditionExpectation", - "Column", - "IgnoreNull", - "Dimension", - "Threshold", - "Name", - "Description", - "RuleType", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor, - new java.lang.String[] { - "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor, - new java.lang.String[] { - "Regex", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor, - new java.lang.String[] { - "Statistic", "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor, - new java.lang.String[] { - "SqlExpression", - }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor, - new java.lang.String[] { - "SqlExpression", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resourceDefinition); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java deleted file mode 100644 index 6a2147ff3eb3..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java +++ /dev/null @@ -1,465 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/datascans.proto - -package com.google.cloud.dataplex.v1; - -public final class DataScansProto { - private DataScansProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/dataplex/v1/datascans.pro" - + "to\022\030google.cloud.dataplex.v1\032\034google/api" - + "/annotations.proto\032\027google/api/client.pr" - + "oto\032\037google/api/field_behavior.proto\032\031go" - + "ogle/api/resource.proto\032+google/cloud/da" - + "taplex/v1/data_profile.proto\032+google/clo" - + "ud/dataplex/v1/data_quality.proto\032)googl" - + "e/cloud/dataplex/v1/processing.proto\032(go" - + "ogle/cloud/dataplex/v1/resources.proto\032&" - + "google/cloud/dataplex/v1/service.proto\032#" - + "google/longrunning/operations.proto\032\033goo" - + "gle/protobuf/empty.proto\032 google/protobu" - + "f/field_mask.proto\032\037google/protobuf/time" - + "stamp.proto\"\311\001\n\025CreateDataScanRequest\022:\n" - + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.google" - + "apis.com/Location\022;\n\tdata_scan\030\002 \001(\0132\".g" - + "oogle.cloud.dataplex.v1.DataScanB\004\342A\001\002\022\032" - + "\n\014data_scan_id\030\003 \001(\tB\004\342A\001\002\022\033\n\rvalidate_o" - + "nly\030\004 \001(\010B\004\342A\001\001\"\250\001\n\025UpdateDataScanReques" - + "t\022;\n\tdata_scan\030\001 \001(\0132\".google.cloud.data" - + "plex.v1.DataScanB\004\342A\001\002\0225\n\013update_mask\030\002 " - + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022\033\n" - + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"P\n\025DeleteData" - + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" - + "plex.googleapis.com/DataScan\"\341\001\n\022GetData" - + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" - + "plex.googleapis.com/DataScan\022M\n\004view\030\002 \001" - + "(\01629.google.cloud.dataplex.v1.GetDataSca" - + "nRequest.DataScanViewB\004\342A\001\001\"C\n\014DataScanV" - + "iew\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020\000\022\t\n\005B" - + "ASIC\020\001\022\010\n\004FULL\020\n\"\263\001\n\024ListDataScansReques" - + "t\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.go" - + "ogleapis.com/Location\022\027\n\tpage_size\030\002 \001(\005" - + "B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filt" - + "er\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}" - + "\n\025ListDataScansResponse\0226\n\ndata_scans\030\001 " - + "\003(\0132\".google.cloud.dataplex.v1.DataScan\022" - + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" - + "\003 \003(\t\"M\n\022RunDataScanRequest\0227\n\004name\030\001 \001(" - + "\tB)\342A\001\002\372A\"\n dataplex.googleapis.com/Data" - + "Scan\"I\n\023RunDataScanResponse\0222\n\003job\030\001 \001(\013" - + "2%.google.cloud.dataplex.v1.DataScanJob\"" - + "\364\001\n\025GetDataScanJobRequest\022:\n\004name\030\001 \001(\tB" - + ",\342A\001\002\372A%\n#dataplex.googleapis.com/DataSc" - + "anJob\022S\n\004view\030\002 \001(\0162?.google.cloud.datap" - + "lex.v1.GetDataScanJobRequest.DataScanJob" - + "ViewB\004\342A\001\001\"J\n\017DataScanJobView\022\"\n\036DATA_SC" - + "AN_JOB_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004" - + "FULL\020\n\"\235\001\n\027ListDataScanJobsRequest\0229\n\006pa" - + "rent\030\001 \001(\tB)\342A\001\002\372A\"\n dataplex.googleapis" - + ".com/DataScan\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" - + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" - + "B\004\342A\001\001\"r\n\030ListDataScanJobsResponse\022=\n\016da" - + "ta_scan_jobs\030\001 \003(\0132%.google.cloud.datapl" - + "ex.v1.DataScanJob\022\027\n\017next_page_token\030\002 \001" - + "(\t\"\301\n\n\010DataScan\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003u" - + "id\030\002 \001(\tB\004\342A\001\003\022\031\n\013description\030\003 \001(\tB\004\342A\001" - + "\001\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\001\022D\n\006labels\030" - + "\005 \003(\0132..google.cloud.dataplex.v1.DataSca" - + "n.LabelsEntryB\004\342A\001\001\0224\n\005state\030\006 \001(\0162\037.goo" - + "gle.cloud.dataplex.v1.StateB\004\342A\001\003\0225\n\013cre" - + "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.p" - + "rotobuf.TimestampB\004\342A\001\003\0228\n\004data\030\t \001(\0132$." - + "google.cloud.dataplex.v1.DataSourceB\004\342A\001" - + "\002\022N\n\016execution_spec\030\n \001(\01320.google.cloud" - + ".dataplex.v1.DataScan.ExecutionSpecB\004\342A\001" - + "\001\022R\n\020execution_status\030\013 \001(\01322.google.clo" - + "ud.dataplex.v1.DataScan.ExecutionStatusB" - + "\004\342A\001\003\022:\n\004type\030\014 \001(\0162&.google.cloud.datap" - + "lex.v1.DataScanTypeB\004\342A\001\003\022F\n\021data_qualit" - + "y_spec\030d \001(\0132).google.cloud.dataplex.v1." - + "DataQualitySpecH\000\022F\n\021data_profile_spec\030e" - + " \001(\0132).google.cloud.dataplex.v1.DataProf" - + "ileSpecH\000\022Q\n\023data_quality_result\030\310\001 \001(\0132" - + "+.google.cloud.dataplex.v1.DataQualityRe" - + "sultB\004\342A\001\003H\001\022Q\n\023data_profile_result\030\311\001 \001" - + "(\0132+.google.cloud.dataplex.v1.DataProfil" - + "eResultB\004\342A\001\003H\001\032o\n\rExecutionSpec\0228\n\007trig" - + "ger\030\001 \001(\0132!.google.cloud.dataplex.v1.Tri" - + "ggerB\004\342A\001\001\022\025\n\005field\030d \001(\tB\004\342A\001\005H\000B\r\n\013inc" - + "remental\032\205\001\n\017ExecutionStatus\0229\n\025latest_j" - + "ob_start_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestamp\0227\n\023latest_job_end_time\030\005 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:c\352A`\n da" - + "taplex.googleapis.com/DataScan\022\332" - + "A\006parent\202\323\344\223\002/\022-/v1/{parent=projects/*/l" - + "ocations/*}/dataScans\022\257\001\n\013RunDataScan\022,." - + "google.cloud.dataplex.v1.RunDataScanRequ" - + "est\032-.google.cloud.dataplex.v1.RunDataSc" - + "anResponse\"C\332A\004name\202\323\344\223\0026\"1/v1/{name=pro" - + "jects/*/locations/*/dataScans/*}:run:\001*\022" - + "\255\001\n\016GetDataScanJob\022/.google.cloud.datapl" - + "ex.v1.GetDataScanJobRequest\032%.google.clo" - + "ud.dataplex.v1.DataScanJob\"C\332A\004name\202\323\344\223\002" - + "6\0224/v1/{name=projects/*/locations/*/data" - + "Scans/*/jobs/*}\022\300\001\n\020ListDataScanJobs\0221.g" - + "oogle.cloud.dataplex.v1.ListDataScanJobs" - + "Request\0322.google.cloud.dataplex.v1.ListD" - + "ataScanJobsResponse\"E\332A\006parent\202\323\344\223\0026\0224/v" - + "1/{parent=projects/*/locations/*/dataSca" - + "ns/*}/jobs\032K\312A\027dataplex.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformBj\n\034com.google.cloud.dataplex.v1B" - + "\016DataScansProtoP\001Z8cloud.google.com/go/d" - + "ataplex/apiv1/dataplexpb;dataplexpbb\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(), - com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(), - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor, - new java.lang.String[] { - "Parent", "DataScan", "DataScanId", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor, - new java.lang.String[] { - "DataScan", "UpdateMask", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor, - new java.lang.String[] { - "DataScans", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor, - new java.lang.String[] { - "Job", - }); - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor, - new java.lang.String[] { - "DataScanJobs", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_DataScan_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Description", - "DisplayName", - "Labels", - "State", - "CreateTime", - "UpdateTime", - "Data", - "ExecutionSpec", - "ExecutionStatus", - "Type", - "DataQualitySpec", - "DataProfileSpec", - "DataQualityResult", - "DataProfileResult", - "Spec", - "Result", - }); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor, - new java.lang.String[] { - "Trigger", "Field", "Incremental", - }); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor, - new java.lang.String[] { - "LatestJobStartTime", "LatestJobEndTime", - }); - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "StartTime", - "EndTime", - "State", - "Message", - "Type", - "DataQualitySpec", - "DataProfileSpec", - "DataQualityResult", - "DataProfileResult", - "Spec", - "Result", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(); - com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(); - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java deleted file mode 100644 index e11b289c1163..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java +++ /dev/null @@ -1,651 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public final class DataTaxonomyProto { - private DataTaxonomyProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/dataplex/v1/data_taxonomy" - + ".proto\022\030google.cloud.dataplex.v1\032\034google" - + "/api/annotations.proto\032\027google/api/clien" - + "t.proto\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\032\'google/clou" - + "d/dataplex/v1/security.proto\032&google/clo" - + "ud/dataplex/v1/service.proto\032#google/lon" - + "grunning/operations.proto\032\033google/protob" - + "uf/empty.proto\032 google/protobuf/field_ma" - + "sk.proto\032\037google/protobuf/timestamp.prot" - + "o\"\272\004\n\014DataTaxonomy\022;\n\004name\030\001 \001(\tB-\342A\001\003\372A" - + "&\n$dataplex.googleapis.com/DataTaxonomy\022" - + "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" - + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\022\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014d" - + "isplay_name\030\006 \001(\tB\004\342A\001\001\022H\n\006labels\030\010 \003(\0132" - + "2.google.cloud.dataplex.v1.DataTaxonomy." - + "LabelsEntryB\004\342A\001\001\022\035\n\017attribute_count\030\t \001" - + "(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\031\n\013class_count\030\013 " - + "\001(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n$dataplex.googleap" - + "is.com/DataTaxonomy\022Iprojects/{project}/" - + "locations/{location}/dataTaxonomies/{dat" - + "a_taxonomy_id}\"\237\006\n\rDataAttribute\022<\n\004name" - + "\030\001 \001(\tB.\342A\001\003\372A\'\n%dataplex.googleapis.com" - + "/DataAttribute\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013cre" - + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005" - + " \001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\022I" - + "\n\006labels\030\007 \003(\01323.google.cloud.dataplex.v" - + "1.DataAttribute.LabelsEntryB\004\342A\001\001\022A\n\tpar" - + "ent_id\030\010 \001(\tB.\342A\001\001\372A\'\n%dataplex.googleap" - + "is.com/DataAttribute\022\035\n\017attribute_count\030" - + "\t \001(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022P\n\024resource_ac" - + "cess_spec\030d \001(\0132,.google.cloud.dataplex." - + "v1.ResourceAccessSpecB\004\342A\001\001\022H\n\020data_acce" - + "ss_spec\030e \001(\0132(.google.cloud.dataplex.v1" - + ".DataAccessSpecB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\221\001\352A\215\001\n%dat" - + "aplex.googleapis.com/DataAttribute\022dproj" - + "ects/{project}/locations/{location}/data" - + "Taxonomies/{dataTaxonomy}/attributes/{da" - + "ta_attribute_id}\"\321\006\n\024DataAttributeBindin" - + "g\022C\n\004name\030\001 \001(\tB5\342A\001\003\372A.\n,dataplex.googl" - + "eapis.com/DataAttributeBinding\022\021\n\003uid\030\002 " - + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" - + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014display_na" - + "me\030\006 \001(\tB\004\342A\001\001\022P\n\006labels\030\007 \003(\0132:.google." - + "cloud.dataplex.v1.DataAttributeBinding.L" - + "abelsEntryB\004\342A\001\001\022\014\n\004etag\030\010 \001(\t\022\031\n\010resour" - + "ce\030d \001(\tB\005\342A\002\001\005H\000\022B\n\nattributes\030n \003(\tB.\342" - + "A\001\001\372A\'\n%dataplex.googleapis.com/DataAttr" - + "ibute\022H\n\005paths\030x \003(\01323.google.cloud.data" - + "plex.v1.DataAttributeBinding.PathB\004\342A\001\001\032" - + "^\n\004Path\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\nattribute" - + "s\030\002 \003(\tB.\342A\001\001\372A\'\n%dataplex.googleapis.co" - + "m/DataAttribute\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\215\001\352A\211\001\n,dataplex." - + "googleapis.com/DataAttributeBinding\022Ypro" - + "jects/{project}/locations/{location}/dat" - + "aAttributeBindings/{data_attribute_bindi" - + "ng_id}B\024\n\022resource_reference\"\331\001\n\031CreateD" - + "ataTaxonomyRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002" - + "\372A#\n!locations.googleapis.com/Location\022\036" - + "\n\020data_taxonomy_id\030\002 \001(\tB\004\342A\001\002\022C\n\rdata_t" - + "axonomy\030\003 \001(\0132&.google.cloud.dataplex.v1" - + ".DataTaxonomyB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" - + "(\010B\004\342A\001\001\"\264\001\n\031UpdateDataTaxonomyRequest\0225" - + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\004\342A\001\002\022C\n\rdata_taxonomy\030\002 \001(\0132&.g" - + "oogle.cloud.dataplex.v1.DataTaxonomyB\004\342A" - + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"U\n\026GetDa" - + "taTaxonomyRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&" - + "\n$dataplex.googleapis.com/DataTaxonomy\"\270" - + "\001\n\031ListDataTaxonomiesRequest\022:\n\006parent\030\001" - + " \001(\tB*\342A\001\002\372A#\n!locations.googleapis.com/" - + "Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npag" - + "e_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001" - + "\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"\225\001\n\032ListDataTa" - + "xonomiesResponse\022?\n\017data_taxonomies\030\001 \003(" - + "\0132&.google.cloud.dataplex.v1.DataTaxonom" - + "y\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachabl" - + "e_locations\030\003 \003(\t\"l\n\031DeleteDataTaxonomyR" - + "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex." - + "googleapis.com/DataTaxonomy\022\022\n\004etag\030\002 \001(" - + "\tB\004\342A\001\001\"\340\001\n\032CreateDataAttributeRequest\022=" - + "\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex.google" - + "apis.com/DataTaxonomy\022\037\n\021data_attribute_" - + "id\030\002 \001(\tB\004\342A\001\002\022E\n\016data_attribute\030\003 \001(\0132\'" - + ".google.cloud.dataplex.v1.DataAttributeB" - + "\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\267\001\n\032U" - + "pdateDataAttributeRequest\0225\n\013update_mask" - + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" - + "\022E\n\016data_attribute\030\002 \001(\0132\'.google.cloud." - + "dataplex.v1.DataAttributeB\004\342A\001\002\022\033\n\rvalid" - + "ate_only\030\003 \001(\010B\004\342A\001\001\"W\n\027GetDataAttribute" - + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex" - + ".googleapis.com/DataAttribute\"\273\001\n\031ListDa" - + "taAttributesRequest\022=\n\006parent\030\001 \001(\tB-\342A\001" - + "\002\372A&\n$dataplex.googleapis.com/DataTaxono" - + "my\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_toke" - + "n\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010o" - + "rder_by\030\005 \001(\tB\004\342A\001\001\"\226\001\n\032ListDataAttribut" - + "esResponse\022@\n\017data_attributes\030\001 \003(\0132\'.go" - + "ogle.cloud.dataplex.v1.DataAttribute\022\027\n\017" - + "next_page_token\030\002 \001(\t\022\035\n\025unreachable_loc" - + "ations\030\003 \003(\t\"n\n\032DeleteDataAttributeReque" - + "st\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex.goog" - + "leapis.com/DataAttribute\022\022\n\004etag\030\002 \001(\tB\004" - + "\342A\001\001\"\373\001\n!CreateDataAttributeBindingReque" - + "st\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.g" - + "oogleapis.com/Location\022\'\n\031data_attribute" - + "_binding_id\030\002 \001(\tB\004\342A\001\002\022T\n\026data_attribut" - + "e_binding\030\003 \001(\0132..google.cloud.dataplex." - + "v1.DataAttributeBindingB\004\342A\001\002\022\033\n\rvalidat" - + "e_only\030\004 \001(\010B\004\342A\001\001\"\315\001\n!UpdateDataAttribu" - + "teBindingRequest\0225\n\013update_mask\030\001 \001(\0132\032." - + "google.protobuf.FieldMaskB\004\342A\001\002\022T\n\026data_" - + "attribute_binding\030\002 \001(\0132..google.cloud.d" - + "ataplex.v1.DataAttributeBindingB\004\342A\001\002\022\033\n" - + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"e\n\036GetDataAtt" - + "ributeBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002" - + "\372A.\n,dataplex.googleapis.com/DataAttribu" - + "teBinding\"\277\001\n ListDataAttributeBindingsR" - + "equest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locatio" - + "ns.googleapis.com/Location\022\027\n\tpage_size\030" - + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" - + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" - + "A\001\001\"\254\001\n!ListDataAttributeBindingsRespons" - + "e\022O\n\027data_attribute_bindings\030\001 \003(\0132..goo" - + "gle.cloud.dataplex.v1.DataAttributeBindi" - + "ng\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachab" - + "le_locations\030\003 \003(\t\"|\n!DeleteDataAttribut" - + "eBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n," - + "dataplex.googleapis.com/DataAttributeBin" - + "ding\022\022\n\004etag\030\002 \001(\tB\004\342A\001\0022\213\035\n\023DataTaxonom" - + "yService\022\200\002\n\022CreateDataTaxonomy\0223.google" - + ".cloud.dataplex.v1.CreateDataTaxonomyReq" - + "uest\032\035.google.longrunning.Operation\"\225\001\312A" - + "!\n\014DataTaxonomy\022\021OperationMetadata\332A%par" - + "ent,data_taxonomy,data_taxonomy_id\202\323\344\223\002C" - + "\"2/v1/{parent=projects/*/locations/*}/da" - + "taTaxonomies:\rdata_taxonomy\022\202\002\n\022UpdateDa" - + "taTaxonomy\0223.google.cloud.dataplex.v1.Up" - + "dateDataTaxonomyRequest\032\035.google.longrun" - + "ning.Operation\"\227\001\312A!\n\014DataTaxonomy\022\021Oper" - + "ationMetadata\332A\031data_taxonomy,update_mas" - + "k\202\323\344\223\002Q2@/v1/{data_taxonomy.name=project" - + "s/*/locations/*/dataTaxonomies/*}:\rdata_" - + "taxonomy\022\330\001\n\022DeleteDataTaxonomy\0223.google" - + ".cloud.dataplex.v1.DeleteDataTaxonomyReq" - + "uest\032\035.google.longrunning.Operation\"n\312A*" - + "\n\025google.protobuf.Empty\022\021OperationMetada" - + "ta\332A\004name\202\323\344\223\0024*2/v1/{name=projects/*/lo" - + "cations/*/dataTaxonomies/*}\022\304\001\n\022ListData" - + "Taxonomies\0223.google.cloud.dataplex.v1.Li" - + "stDataTaxonomiesRequest\0324.google.cloud.d" - + "ataplex.v1.ListDataTaxonomiesResponse\"C\332" - + "A\006parent\202\323\344\223\0024\0222/v1/{parent=projects/*/l" - + "ocations/*}/dataTaxonomies\022\256\001\n\017GetDataTa" - + "xonomy\0220.google.cloud.dataplex.v1.GetDat" - + "aTaxonomyRequest\032&.google.cloud.dataplex" - + ".v1.DataTaxonomy\"A\332A\004name\202\323\344\223\0024\0222/v1/{na" - + "me=projects/*/locations/*/dataTaxonomies" - + "/*}\022\272\002\n\032CreateDataAttributeBinding\022;.goo" - + "gle.cloud.dataplex.v1.CreateDataAttribut" - + "eBindingRequest\032\035.google.longrunning.Ope" - + "ration\"\277\001\312A)\n\024DataAttributeBinding\022\021Oper" - + "ationMetadata\332A7parent,data_attribute_bi" - + "nding,data_attribute_binding_id\202\323\344\223\002S\"9/" - + "v1/{parent=projects/*/locations/*}/dataA" - + "ttributeBindings:\026data_attribute_binding" - + "\022\274\002\n\032UpdateDataAttributeBinding\022;.google" - + ".cloud.dataplex.v1.UpdateDataAttributeBi" - + "ndingRequest\032\035.google.longrunning.Operat" - + "ion\"\301\001\312A)\n\024DataAttributeBinding\022\021Operati" - + "onMetadata\332A\"data_attribute_binding,upda" - + "te_mask\202\323\344\223\002j2P/v1/{data_attribute_bindi" - + "ng.name=projects/*/locations/*/dataAttri" - + "buteBindings/*}:\026data_attribute_binding\022" - + "\357\001\n\032DeleteDataAttributeBinding\022;.google." - + "cloud.dataplex.v1.DeleteDataAttributeBin" - + "dingRequest\032\035.google.longrunning.Operati" - + "on\"u\312A*\n\025google.protobuf.Empty\022\021Operatio" - + "nMetadata\332A\004name\202\323\344\223\002;*9/v1/{name=projec" - + "ts/*/locations/*/dataAttributeBindings/*" - + "}\022\340\001\n\031ListDataAttributeBindings\022:.google" - + ".cloud.dataplex.v1.ListDataAttributeBind" - + "ingsRequest\032;.google.cloud.dataplex.v1.L" - + "istDataAttributeBindingsResponse\"J\332A\006par" - + "ent\202\323\344\223\002;\0229/v1/{parent=projects/*/locati" - + "ons/*}/dataAttributeBindings\022\315\001\n\027GetData" - + "AttributeBinding\0228.google.cloud.dataplex" - + ".v1.GetDataAttributeBindingRequest\032..goo" - + "gle.cloud.dataplex.v1.DataAttributeBindi" - + "ng\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/" - + "locations/*/dataAttributeBindings/*}\022\223\002\n" - + "\023CreateDataAttribute\0224.google.cloud.data" - + "plex.v1.CreateDataAttributeRequest\032\035.goo" - + "gle.longrunning.Operation\"\246\001\312A\"\n\rDataAtt" - + "ribute\022\021OperationMetadata\332A\'parent,data_" - + "attribute,data_attribute_id\202\323\344\223\002Q\"?/v1/{" - + "parent=projects/*/locations/*/dataTaxono" - + "mies/*}/attributes:\016data_attribute\022\225\002\n\023U" - + "pdateDataAttribute\0224.google.cloud.datapl" - + "ex.v1.UpdateDataAttributeRequest\032\035.googl" - + "e.longrunning.Operation\"\250\001\312A\"\n\rDataAttri" - + "bute\022\021OperationMetadata\332A\032data_attribute" - + ",update_mask\202\323\344\223\002`2N/v1/{data_attribute." - + "name=projects/*/locations/*/dataTaxonomi" - + "es/*/attributes/*}:\016data_attribute\022\347\001\n\023D" - + "eleteDataAttribute\0224.google.cloud.datapl" - + "ex.v1.DeleteDataAttributeRequest\032\035.googl" - + "e.longrunning.Operation\"{\312A*\n\025google.pro" - + "tobuf.Empty\022\021OperationMetadata\332A\004name\202\323\344" - + "\223\002A*?/v1/{name=projects/*/locations/*/da" - + "taTaxonomies/*/attributes/*}\022\321\001\n\022ListDat" - + "aAttributes\0223.google.cloud.dataplex.v1.L" - + "istDataAttributesRequest\0324.google.cloud." - + "dataplex.v1.ListDataAttributesResponse\"P" - + "\332A\006parent\202\323\344\223\002A\022?/v1/{parent=projects/*/" - + "locations/*/dataTaxonomies/*}/attributes" - + "\022\276\001\n\020GetDataAttribute\0221.google.cloud.dat" - + "aplex.v1.GetDataAttributeRequest\032\'.googl" - + "e.cloud.dataplex.v1.DataAttribute\"N\332A\004na" - + "me\202\323\344\223\002A\022?/v1/{name=projects/*/locations" - + "/*/dataTaxonomies/*/attributes/*}\032K\312A\027da" - + "taplex.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformBm\n\034com.go" - + "ogle.cloud.dataplex.v1B\021DataTaxonomyProt" - + "oP\001Z8cloud.google.com/go/dataplex/apiv1/" - + "dataplexpb;dataplexpbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(), - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "CreateTime", - "UpdateTime", - "Description", - "DisplayName", - "Labels", - "AttributeCount", - "Etag", - "ClassCount", - }); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "CreateTime", - "UpdateTime", - "Description", - "DisplayName", - "Labels", - "ParentId", - "AttributeCount", - "Etag", - "ResourceAccessSpec", - "DataAccessSpec", - }); - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "CreateTime", - "UpdateTime", - "Description", - "DisplayName", - "Labels", - "Etag", - "Resource", - "Attributes", - "Paths", - "ResourceReference", - }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor, - new java.lang.String[] { - "Name", "Attributes", - }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor, - new java.lang.String[] { - "Parent", "DataTaxonomyId", "DataTaxonomy", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "DataTaxonomy", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor, - new java.lang.String[] { - "DataTaxonomies", "NextPageToken", "UnreachableLocations", - }); - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor, - new java.lang.String[] { - "Parent", "DataAttributeId", "DataAttribute", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "DataAttribute", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor, - new java.lang.String[] { - "DataAttributes", "NextPageToken", "UnreachableLocations", - }); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor, - new java.lang.String[] { - "Parent", "DataAttributeBindingId", "DataAttributeBinding", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "DataAttributeBinding", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor, - new java.lang.String[] { - "DataAttributeBindings", "NextPageToken", "UnreachableLocations", - }); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(); - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java deleted file mode 100644 index 6fa0bf8c4487..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteAssetRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteAssetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java deleted file mode 100644 index 4e8cf2b47333..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteContentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteContentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java deleted file mode 100644 index 91100267a514..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/datascans.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteDataScanRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataScanRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the dataScan:
-   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
-   * where `project` refers to a *project_id* or *project_number* and
-   * `location_id` refers to a GCP region.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the dataScan:
-   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
-   * where `project` refers to a *project_id* or *project_number* and
-   * `location_id` refers to a GCP region.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java deleted file mode 100644 index 0e4f9c6d6f3f..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteEnvironmentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEnvironmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java deleted file mode 100644 index f42cdefbe030..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteLakeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteLakeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 87a5def5c642..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java deleted file mode 100644 index bf513692cbc9..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteZoneRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java deleted file mode 100644 index 9414e5ccfb69..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetAssetRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetAssetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java deleted file mode 100644 index fb4945766b98..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public interface GetContentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetContentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. Specify content view to make a partial request.
-   * 
- * - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. Specify content view to make a partial request.
-   * 
- * - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java deleted file mode 100644 index 65c30a755cc0..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataAttributeBindingRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the DataAttributeBinding:
-   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the DataAttributeBinding:
-   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java deleted file mode 100644 index 96c6a6a7b487..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataAttributeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the dataAttribute:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the dataAttribute:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java deleted file mode 100644 index 1666a3a4261f..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the DataTaxonomy:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the DataTaxonomy:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java deleted file mode 100644 index ce0388754f4d..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public interface GetEntityRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEntityRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the entity:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the entity:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. Used to select the subset of entity information to return.
-   * Defaults to `BASIC`.
-   * 
- * - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. Used to select the subset of entity information to return.
-   * Defaults to `BASIC`.
-   * 
- * - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java deleted file mode 100644 index 11034bcfba19..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetEnvironmentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEnvironmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java deleted file mode 100644 index 1fc1e7979d15..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java deleted file mode 100644 index 78cf66a2805d..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetLakeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetLakeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java deleted file mode 100644 index ba7162cf9fdf..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java deleted file mode 100644 index e924bfabf1f0..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetZoneRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java deleted file mode 100644 index 6d4595261eae..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java +++ /dev/null @@ -1,566 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/logs.proto - -package com.google.cloud.dataplex.v1; - -public final class LogsProto { - private LogsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/dataplex/v1/logs.proto\022\030g" - + "oogle.cloud.dataplex.v1\032\031google/api/reso" - + "urce.proto\032\036google/protobuf/duration.pro" - + "to\032\037google/protobuf/timestamp.proto\"\240\t\n\016" - + "DiscoveryEvent\022\017\n\007message\030\001 \001(\t\022\017\n\007lake_" - + "id\030\002 \001(\t\022\017\n\007zone_id\030\003 \001(\t\022\020\n\010asset_id\030\004 " - + "\001(\t\022\025\n\rdata_location\030\005 \001(\t\022@\n\004type\030\n \001(\016" - + "22.google.cloud.dataplex.v1.DiscoveryEve" - + "nt.EventType\022H\n\006config\030\024 \001(\01326.google.cl" - + "oud.dataplex.v1.DiscoveryEvent.ConfigDet" - + "ailsH\000\022H\n\006entity\030\025 \001(\01326.google.cloud.da" - + "taplex.v1.DiscoveryEvent.EntityDetailsH\000" - + "\022N\n\tpartition\030\026 \001(\01329.google.cloud.datap" - + "lex.v1.DiscoveryEvent.PartitionDetailsH\000" - + "\022H\n\006action\030\027 \001(\01326.google.cloud.dataplex" - + ".v1.DiscoveryEvent.ActionDetailsH\000\032\236\001\n\rC" - + "onfigDetails\022Z\n\nparameters\030\001 \003(\0132F.googl" - + "e.cloud.dataplex.v1.DiscoveryEvent.Confi" - + "gDetails.ParametersEntry\0321\n\017ParametersEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032b\n\rE" - + "ntityDetails\022\016\n\006entity\030\001 \001(\t\022A\n\004type\030\002 \001" - + "(\01623.google.cloud.dataplex.v1.DiscoveryE" - + "vent.EntityType\032\230\001\n\020PartitionDetails\022\021\n\t" - + "partition\030\001 \001(\t\022\016\n\006entity\030\002 \001(\t\022A\n\004type\030" - + "\003 \001(\01623.google.cloud.dataplex.v1.Discove" - + "ryEvent.EntityType\022\036\n\026sampled_data_locat" - + "ions\030\004 \003(\t\032\035\n\rActionDetails\022\014\n\004type\030\001 \001(" - + "\t\"\264\001\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006CONFIG\020\001\022\022\n\016ENTITY_CREATED\020\002\022\022\n\016E" - + "NTITY_UPDATED\020\003\022\022\n\016ENTITY_DELETED\020\004\022\025\n\021P" - + "ARTITION_CREATED\020\005\022\025\n\021PARTITION_UPDATED\020" - + "\006\022\025\n\021PARTITION_DELETED\020\007\"A\n\nEntityType\022\033" - + "\n\027ENTITY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\013" - + "\n\007FILESET\020\002B\t\n\007details\"\305\005\n\010JobEvent\022\017\n\007m" - + "essage\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t\022.\n\nstart_ti" - + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" - + "end_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mp\0227\n\005state\030\005 \001(\0162(.google.cloud.dataple" - + "x.v1.JobEvent.State\022\017\n\007retries\030\006 \001(\005\0225\n\004" - + "type\030\007 \001(\0162\'.google.cloud.dataplex.v1.Jo" - + "bEvent.Type\022;\n\007service\030\010 \001(\0162*.google.cl" - + "oud.dataplex.v1.JobEvent.Service\022\023\n\013serv" - + "ice_job\030\t \001(\t\022N\n\021execution_trigger\030\013 \001(\016" - + "23.google.cloud.dataplex.v1.JobEvent.Exe" - + "cutionTrigger\"5\n\004Type\022\024\n\020TYPE_UNSPECIFIE" - + "D\020\000\022\t\n\005SPARK\020\001\022\014\n\010NOTEBOOK\020\002\"U\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006F" - + "AILED\020\002\022\r\n\tCANCELLED\020\003\022\013\n\007ABORTED\020\004\"0\n\007S" - + "ervice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAP" - + "ROC\020\001\"W\n\020ExecutionTrigger\022!\n\035EXECUTION_T" - + "RIGGER_UNSPECIFIED\020\000\022\017\n\013TASK_CONFIG\020\001\022\017\n" - + "\013RUN_REQUEST\020\002\"\275\005\n\014SessionEvent\022\017\n\007messa" - + "ge\030\001 \001(\t\022\017\n\007user_id\030\002 \001(\t\022\022\n\nsession_id\030" - + "\003 \001(\t\022>\n\004type\030\004 \001(\01620.google.cloud.datap" - + "lex.v1.SessionEvent.EventType\022C\n\005query\030\005" - + " \001(\01322.google.cloud.dataplex.v1.SessionE" - + "vent.QueryDetailH\000\022\027\n\017event_succeeded\030\006 " - + "\001(\010\022\034\n\024fast_startup_enabled\030\007 \001(\010\0226\n\023una" - + "ssigned_duration\030\010 \001(\0132\031.google.protobuf" - + ".Duration\032\243\002\n\013QueryDetail\022\020\n\010query_id\030\001 " - + "\001(\t\022\022\n\nquery_text\030\002 \001(\t\022I\n\006engine\030\003 \001(\0162" - + "9.google.cloud.dataplex.v1.SessionEvent." - + "QueryDetail.Engine\022+\n\010duration\030\004 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\031\n\021result_size_b" - + "ytes\030\005 \001(\003\022\034\n\024data_processed_bytes\030\006 \001(\003" - + "\"=\n\006Engine\022\026\n\022ENGINE_UNSPECIFIED\020\000\022\r\n\tSP" - + "ARK_SQL\020\001\022\014\n\010BIGQUERY\020\002\"S\n\tEventType\022\032\n\026" - + "EVENT_TYPE_UNSPECIFIED\020\000\022\t\n\005START\020\001\022\010\n\004S" - + "TOP\020\002\022\t\n\005QUERY\020\003\022\n\n\006CREATE\020\004B\010\n\006detail\"\232" - + "\007\n\017GovernanceEvent\022\017\n\007message\030\001 \001(\t\022G\n\ne" - + "vent_type\030\002 \001(\01623.google.cloud.dataplex." - + "v1.GovernanceEvent.EventType\022E\n\006entity\030\003" - + " \001(\01320.google.cloud.dataplex.v1.Governan" - + "ceEvent.EntityH\000\210\001\001\032\322\001\n\006Entity\0223\n\006entity" - + "\030\001 \001(\tB#\372A \n\036dataplex.googleapis.com/Ent" - + "ity\022P\n\013entity_type\030\002 \001(\0162;.google.cloud." - + "dataplex.v1.GovernanceEvent.Entity.Entit" - + "yType\"A\n\nEntityType\022\033\n\027ENTITY_TYPE_UNSPE" - + "CIFIED\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002\"\205\004\n\tEve" - + "ntType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032RE" - + "SOURCE_IAM_POLICY_UPDATE\020\001\022\031\n\025BIGQUERY_T" - + "ABLE_CREATE\020\002\022\031\n\025BIGQUERY_TABLE_UPDATE\020\003" - + "\022\031\n\025BIGQUERY_TABLE_DELETE\020\004\022\036\n\032BIGQUERY_" - + "CONNECTION_CREATE\020\005\022\036\n\032BIGQUERY_CONNECTI" - + "ON_UPDATE\020\006\022\036\n\032BIGQUERY_CONNECTION_DELET" - + "E\020\007\022\034\n\030BIGQUERY_TAXONOMY_CREATE\020\n\022\036\n\032BIG" - + "QUERY_POLICY_TAG_CREATE\020\013\022\036\n\032BIGQUERY_PO" - + "LICY_TAG_DELETE\020\014\022&\n\"BIGQUERY_POLICY_TAG" - + "_SET_IAM_POLICY\020\r\022\030\n\024ACCESS_POLICY_UPDAT" - + "E\020\016\022%\n!GOVERNANCE_RULE_MATCHED_RESOURCES" - + "\020\017\022(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEE" - + "DS\020\020\022\032\n\026GOVERNANCE_RULE_ERRORS\020\021B\t\n\007_ent" - + "ity\"\363\022\n\rDataScanEvent\022\023\n\013data_source\030\001 \001" - + "(\t\022\016\n\006job_id\030\002 \001(\t\022/\n\013create_time\030\014 \001(\0132" - + "\032.google.protobuf.Timestamp\022.\n\nstart_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" - + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" - + "p\022>\n\004type\030\005 \001(\01620.google.cloud.dataplex." - + "v1.DataScanEvent.ScanType\022<\n\005state\030\006 \001(\016" - + "2-.google.cloud.dataplex.v1.DataScanEven" - + "t.State\022\017\n\007message\030\007 \001(\t\022\024\n\014spec_version" - + "\030\010 \001(\t\022@\n\007trigger\030\t \001(\0162/.google.cloud.d" - + "ataplex.v1.DataScanEvent.Trigger\022<\n\005scop" - + "e\030\n \001(\0162-.google.cloud.dataplex.v1.DataS" - + "canEvent.Scope\022Q\n\014data_profile\030e \001(\01329.g" - + "oogle.cloud.dataplex.v1.DataScanEvent.Da" - + "taProfileResultH\000\022Q\n\014data_quality\030f \001(\0132" - + "9.google.cloud.dataplex.v1.DataScanEvent" - + ".DataQualityResultH\000\022b\n\024data_profile_con" - + "figs\030\311\001 \001(\0132A.google.cloud.dataplex.v1.D" - + "ataScanEvent.DataProfileAppliedConfigsH\001" - + "\022b\n\024data_quality_configs\030\312\001 \001(\0132A.google" - + ".cloud.dataplex.v1.DataScanEvent.DataQua" - + "lityAppliedConfigsH\001\022_\n\030post_scan_action" - + "s_result\030\013 \001(\0132=.google.cloud.dataplex.v" - + "1.DataScanEvent.PostScanActionsResult\032&\n" - + "\021DataProfileResult\022\021\n\trow_count\030\001 \001(\003\032\234\004" - + "\n\021DataQualityResult\022\021\n\trow_count\030\001 \001(\003\022\016" - + "\n\006passed\030\002 \001(\010\022h\n\020dimension_passed\030\003 \003(\013" - + "2N.google.cloud.dataplex.v1.DataScanEven" - + "t.DataQualityResult.DimensionPassedEntry" - + "\022\r\n\005score\030\004 \001(\002\022f\n\017dimension_score\030\005 \003(\013" - + "2M.google.cloud.dataplex.v1.DataScanEven" - + "t.DataQualityResult.DimensionScoreEntry\022" - + "`\n\014column_score\030\006 \003(\0132J.google.cloud.dat" - + "aplex.v1.DataScanEvent.DataQualityResult" - + ".ColumnScoreEntry\0326\n\024DimensionPassedEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\0325\n\023Dim" - + "ensionScoreEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\002:\0028\001\0322\n\020ColumnScoreEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\002:\0028\001\032p\n\031DataProfileAppli" - + "edConfigs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022r" - + "ow_filter_applied\030\002 \001(\010\022\035\n\025column_filter" - + "_applied\030\003 \001(\010\032Q\n\031DataQualityAppliedConf" - + "igs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022row_fil" - + "ter_applied\030\002 \001(\010\032\346\002\n\025PostScanActionsRes" - + "ult\022r\n\026bigquery_export_result\030\001 \001(\0132R.go" - + "ogle.cloud.dataplex.v1.DataScanEvent.Pos" - + "tScanActionsResult.BigQueryExportResult\032" - + "\330\001\n\024BigQueryExportResult\022g\n\005state\030\001 \001(\0162" - + "X.google.cloud.dataplex.v1.DataScanEvent" - + ".PostScanActionsResult.BigQueryExportRes" - + "ult.State\022\017\n\007message\030\002 \001(\t\"F\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAI" - + "LED\020\002\022\013\n\007SKIPPED\020\003\"I\n\010ScanType\022\031\n\025SCAN_T" - + "YPE_UNSPECIFIED\020\000\022\020\n\014DATA_PROFILE\020\001\022\020\n\014D" - + "ATA_QUALITY\020\002\"b\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\013\n\007STARTED\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAI" - + "LED\020\003\022\r\n\tCANCELLED\020\004\022\013\n\007CREATED\020\005\"?\n\007Tri" - + "gger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\r\n\tON_DEMA" - + "ND\020\001\022\014\n\010SCHEDULE\020\002\"9\n\005Scope\022\025\n\021SCOPE_UNS" - + "PECIFIED\020\000\022\010\n\004FULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n" - + "\006resultB\020\n\016appliedConfigs\"\351\006\n\031DataQualit" - + "yScanRuleResult\022\016\n\006job_id\030\001 \001(\t\022\023\n\013data_" - + "source\030\002 \001(\t\022\016\n\006column\030\003 \001(\t\022\021\n\trule_nam" - + "e\030\004 \001(\t\022O\n\trule_type\030\005 \001(\0162<.google.clou" - + "d.dataplex.v1.DataQualityScanRuleResult." - + "RuleType\022Z\n\016evalution_type\030\006 \001(\0162B.googl" - + "e.cloud.dataplex.v1.DataQualityScanRuleR" - + "esult.EvaluationType\022\026\n\016rule_dimension\030\007" - + " \001(\t\022\031\n\021threshold_percent\030\010 \001(\001\022J\n\006resul" - + "t\030\t \001(\0162:.google.cloud.dataplex.v1.DataQ" - + "ualityScanRuleResult.Result\022\033\n\023evaluated" - + "_row_count\030\n \001(\003\022\030\n\020passed_row_count\030\013 \001" - + "(\003\022\026\n\016null_row_count\030\014 \001(\003\"\377\001\n\010RuleType\022" - + "\031\n\025RULE_TYPE_UNSPECIFIED\020\000\022\030\n\024NON_NULL_E" - + "XPECTATION\020\001\022\025\n\021RANGE_EXPECTATION\020\002\022\025\n\021R" - + "EGEX_EXPECTATION\020\003\022\035\n\031ROW_CONDITION_EXPE" - + "CTATION\020\004\022\023\n\017SET_EXPECTATION\020\005\022\037\n\033STATIS" - + "TIC_RANGE_EXPECTATION\020\006\022\037\n\033TABLE_CONDITI" - + "ON_EXPECTATION\020\007\022\032\n\026UNIQUENESS_EXPECTATI" - + "ON\020\010\"M\n\016EvaluationType\022\037\n\033EVALUATION_TYP" - + "E_UNSPECIFIED\020\000\022\013\n\007PER_ROW\020\001\022\r\n\tAGGREGAT" - + "E\020\002\"8\n\006Result\022\026\n\022RESULT_UNSPECIFIED\020\000\022\n\n" - + "\006PASSED\020\001\022\n\n\006FAILED\020\002Be\n\034com.google.clou" - + "d.dataplex.v1B\tLogsProtoP\001Z8cloud.google" - + ".com/go/dataplex/apiv1/dataplexpb;datapl" - + "expbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor, - new java.lang.String[] { - "Message", - "LakeId", - "ZoneId", - "AssetId", - "DataLocation", - "Type", - "Config", - "Entity", - "Partition", - "Action", - "Details", - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor, - new java.lang.String[] { - "Parameters", - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor, - new java.lang.String[] { - "Entity", "Type", - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor, - new java.lang.String[] { - "Partition", "Entity", "Type", "SampledDataLocations", - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor, - new java.lang.String[] { - "Type", - }); - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor, - new java.lang.String[] { - "Message", - "JobId", - "StartTime", - "EndTime", - "State", - "Retries", - "Type", - "Service", - "ServiceJob", - "ExecutionTrigger", - }); - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor, - new java.lang.String[] { - "Message", - "UserId", - "SessionId", - "Type", - "Query", - "EventSucceeded", - "FastStartupEnabled", - "UnassignedDuration", - "Detail", - }); - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor = - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor, - new java.lang.String[] { - "QueryId", "QueryText", "Engine", "Duration", "ResultSizeBytes", "DataProcessedBytes", - }); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor, - new java.lang.String[] { - "Message", "EventType", "Entity", "Entity", - }); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor = - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor, - new java.lang.String[] { - "Entity", "EntityType", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor, - new java.lang.String[] { - "DataSource", - "JobId", - "CreateTime", - "StartTime", - "EndTime", - "Type", - "State", - "Message", - "SpecVersion", - "Trigger", - "Scope", - "DataProfile", - "DataQuality", - "DataProfileConfigs", - "DataQualityConfigs", - "PostScanActionsResult", - "Result", - "AppliedConfigs", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor, - new java.lang.String[] { - "RowCount", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor, - new java.lang.String[] { - "RowCount", "Passed", "DimensionPassed", "Score", "DimensionScore", "ColumnScore", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor, - new java.lang.String[] { - "SamplingPercent", "RowFilterApplied", "ColumnFilterApplied", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor, - new java.lang.String[] { - "SamplingPercent", "RowFilterApplied", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor, - new java.lang.String[] { - "BigqueryExportResult", - }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor, - new java.lang.String[] { - "State", "Message", - }); - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor, - new java.lang.String[] { - "JobId", - "DataSource", - "Column", - "RuleName", - "RuleType", - "EvalutionType", - "RuleDimension", - "ThresholdPercent", - "Result", - "EvaluatedRowCount", - "PassedRowCount", - "NullRowCount", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java deleted file mode 100644 index 973179045c6f..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java +++ /dev/null @@ -1,552 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public final class MetadataProto { - private MetadataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Partition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/dataplex/v1/metadata.prot" - + "o\022\030google.cloud.dataplex.v1\032\034google/api/" - + "annotations.proto\032\027google/api/client.pro" - + "to\032\037google/api/field_behavior.proto\032\031goo" - + "gle/api/resource.proto\032\033google/protobuf/" - + "empty.proto\032\037google/protobuf/timestamp.p" - + "roto\"\241\001\n\023CreateEntityRequest\0225\n\006parent\030\001" - + " \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Z" - + "one\0226\n\006entity\030\003 \001(\0132 .google.cloud.datap" - + "lex.v1.EntityB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" - + "(\010B\004\342A\001\001\"j\n\023UpdateEntityRequest\0226\n\006entit" - + "y\030\002 \001(\0132 .google.cloud.dataplex.v1.Entit" - + "yB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"`\n\023" - + "DeleteEntityRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372" - + "A \n\036dataplex.googleapis.com/Entity\022\022\n\004et" - + "ag\030\002 \001(\tB\004\342A\001\002\"\250\002\n\023ListEntitiesRequest\0225" - + "\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.google" - + "apis.com/Zone\022L\n\004view\030\002 \001(\01628.google.clo" - + "ud.dataplex.v1.ListEntitiesRequest.Entit" - + "yViewB\004\342A\001\002\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" - + "page_token\030\004 \001(\tB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004" - + "\342A\001\001\"C\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPEC" - + "IFIED\020\000\022\n\n\006TABLES\020\001\022\014\n\010FILESETS\020\002\"c\n\024Lis" - + "tEntitiesResponse\0222\n\010entities\030\001 \003(\0132 .go" - + "ogle.cloud.dataplex.v1.Entity\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\340\001\n\020GetEntityRequest\0225\n\004n" - + "ame\030\001 \001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis." - + "com/Entity\022I\n\004view\030\002 \001(\01625.google.cloud." - + "dataplex.v1.GetEntityRequest.EntityViewB" - + "\004\342A\001\001\"J\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPE" - + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\n\n\006SCHEMA\020\002\022\010\n\004FULL\020" - + "\004\"\231\001\n\025ListPartitionsRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis.com/En" - + "tity\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_to" - + "ken\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"\254\001" - + "\n\026CreatePartitionRequest\0227\n\006parent\030\001 \001(\t" - + "B\'\342A\001\002\372A \n\036dataplex.googleapis.com/Entit" - + "y\022<\n\tpartition\030\003 \001(\0132#.google.cloud.data" - + "plex.v1.PartitionB\004\342A\001\002\022\033\n\rvalidate_only" - + "\030\004 \001(\010B\004\342A\001\001\"h\n\026DeletePartitionRequest\0228" - + "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!dataplex.googleap" - + "is.com/Partition\022\024\n\004etag\030\002 \001(\tB\006\030\001\342A\001\001\"j" - + "\n\026ListPartitionsResponse\0227\n\npartitions\030\001" - + " \003(\0132#.google.cloud.dataplex.v1.Partitio" - + "n\022\027\n\017next_page_token\030\002 \001(\t\"O\n\023GetPartiti" - + "onRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!datapl" - + "ex.googleapis.com/Partition\"\327\t\n\006Entity\0225" - + "\n\004name\030\001 \001(\tB\'\342A\001\003\372A \n\036dataplex.googleap" - + "is.com/Entity\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" - + "\001\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" - + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\004\342" - + "A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\003\022\020\n\002id\030\007 \001(\tB\004\342A\001\002\022\022\n\004" - + "etag\030\010 \001(\tB\004\342A\001\001\022:\n\004type\030\n \001(\0162%.google." - + "cloud.dataplex.v1.Entity.TypeB\005\342A\002\002\005\022\024\n\005" - + "asset\030\013 \001(\tB\005\342A\002\002\005\022\030\n\tdata_path\030\014 \001(\tB\005\342" - + "A\002\002\005\022\037\n\021data_path_pattern\030\r \001(\tB\004\342A\001\001\022\033\n" - + "\rcatalog_entry\030\016 \001(\tB\004\342A\001\003\022>\n\006system\030\017 \001" - + "(\0162\'.google.cloud.dataplex.v1.StorageSys" - + "temB\005\342A\002\002\005\022=\n\006format\030\020 \001(\0132\'.google.clou" - + "d.dataplex.v1.StorageFormatB\004\342A\001\002\022Q\n\rcom" - + "patibility\030\023 \001(\01324.google.cloud.dataplex" - + ".v1.Entity.CompatibilityStatusB\004\342A\001\003\022=\n\006" - + "access\030\025 \001(\0132\'.google.cloud.dataplex.v1." - + "StorageAccessB\004\342A\001\003\022\021\n\003uid\030\026 \001(\tB\004\342A\001\003\0226" - + "\n\006schema\0302 \001(\0132 .google.cloud.dataplex.v" - + "1.SchemaB\004\342A\001\002\032\224\002\n\023CompatibilityStatus\022`" - + "\n\016hive_metastore\030\001 \001(\0132B.google.cloud.da" - + "taplex.v1.Entity.CompatibilityStatus.Com" - + "patibilityB\004\342A\001\003\022Z\n\010bigquery\030\002 \001(\0132B.goo" - + "gle.cloud.dataplex.v1.Entity.Compatibili" - + "tyStatus.CompatibilityB\004\342A\001\003\032?\n\rCompatib" - + "ility\022\030\n\ncompatible\030\001 \001(\010B\004\342A\001\003\022\024\n\006reaso" - + "n\030\002 \001(\tB\004\342A\001\003\"4\n\004Type\022\024\n\020TYPE_UNSPECIFIE" - + "D\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002:x\352Au\n\036datapl" - + "ex.googleapis.com/Entity\022Sprojects/{proj" - + "ect}/locations/{location}/lakes/{lake}/z" - + "ones/{zone}/entities/{entity}\"\241\002\n\tPartit" - + "ion\0228\n\004name\030\001 \001(\tB*\342A\001\003\372A#\n!dataplex.goo" - + "gleapis.com/Partition\022\025\n\006values\030\002 \003(\tB\005\342" - + "A\002\002\005\022\027\n\010location\030\003 \001(\tB\005\342A\002\002\005\022\024\n\004etag\030\004 " - + "\001(\tB\006\030\001\342A\001\001:\223\001\352A\217\001\n!dataplex.googleapis." - + "com/Partition\022jprojects/{project}/locati" - + "ons/{location}/lakes/{lake}/zones/{zone}" - + "/entities/{entity}/partitions/{partition" - + "}\"\300\007\n\006Schema\022\032\n\014user_managed\030\001 \001(\010B\004\342A\001\002" - + "\022B\n\006fields\030\002 \003(\0132,.google.cloud.dataplex" - + ".v1.Schema.SchemaFieldB\004\342A\001\001\022O\n\020partitio" - + "n_fields\030\003 \003(\0132/.google.cloud.dataplex.v" - + "1.Schema.PartitionFieldB\004\342A\001\001\022N\n\017partiti" - + "on_style\030\004 \001(\0162/.google.cloud.dataplex.v" - + "1.Schema.PartitionStyleB\004\342A\001\001\032\366\001\n\013Schema" - + "Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description" - + "\030\002 \001(\tB\004\342A\001\001\0229\n\004type\030\003 \001(\0162%.google.clou" - + "d.dataplex.v1.Schema.TypeB\004\342A\001\002\0229\n\004mode\030" - + "\004 \001(\0162%.google.cloud.dataplex.v1.Schema." - + "ModeB\004\342A\001\002\022B\n\006fields\030\n \003(\0132,.google.clou" - + "d.dataplex.v1.Schema.SchemaFieldB\004\342A\001\001\032`" - + "\n\016PartitionField\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022:\n\004" - + "type\030\002 \001(\0162%.google.cloud.dataplex.v1.Sc" - + "hema.TypeB\005\342A\002\002\005\"\311\001\n\004Type\022\024\n\020TYPE_UNSPEC" - + "IFIED\020\000\022\013\n\007BOOLEAN\020\001\022\010\n\004BYTE\020\002\022\t\n\005INT16\020" - + "\003\022\t\n\005INT32\020\004\022\t\n\005INT64\020\005\022\t\n\005FLOAT\020\006\022\n\n\006DO" - + "UBLE\020\007\022\013\n\007DECIMAL\020\010\022\n\n\006STRING\020\t\022\n\n\006BINAR" - + "Y\020\n\022\r\n\tTIMESTAMP\020\013\022\010\n\004DATE\020\014\022\010\n\004TIME\020\r\022\n" - + "\n\006RECORD\020\016\022\010\n\004NULL\020d\"F\n\004Mode\022\024\n\020MODE_UNS" - + "PECIFIED\020\000\022\014\n\010REQUIRED\020\001\022\014\n\010NULLABLE\020\002\022\014" - + "\n\010REPEATED\020\003\"F\n\016PartitionStyle\022\037\n\033PARTIT" - + "ION_STYLE_UNSPECIFIED\020\000\022\023\n\017HIVE_COMPATIB" - + "LE\020\001\"\200\007\n\rStorageFormat\022D\n\006format\030\001 \001(\0162." - + ".google.cloud.dataplex.v1.StorageFormat." - + "FormatB\004\342A\001\003\022[\n\022compression_format\030\002 \001(\016" - + "29.google.cloud.dataplex.v1.StorageForma" - + "t.CompressionFormatB\004\342A\001\001\022\027\n\tmime_type\030\003" - + " \001(\tB\004\342A\001\002\022G\n\003csv\030\n \001(\01322.google.cloud.d" - + "ataplex.v1.StorageFormat.CsvOptionsB\004\342A\001" - + "\001H\000\022I\n\004json\030\013 \001(\01323.google.cloud.dataple" - + "x.v1.StorageFormat.JsonOptionsB\004\342A\001\001H\000\022O" - + "\n\007iceberg\030\014 \001(\01326.google.cloud.dataplex." - + "v1.StorageFormat.IcebergOptionsB\004\342A\001\001H\000\032" - + "m\n\nCsvOptions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\022\031\n" - + "\013header_rows\030\002 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\003 " - + "\001(\tB\004\342A\001\001\022\023\n\005quote\030\004 \001(\tB\004\342A\001\001\032%\n\013JsonOp" - + "tions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\0321\n\016Iceberg" - + "Options\022\037\n\021metadata_location\030\001 \001(\tB\004\342A\001\001" - + "\"\253\001\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\013\n\007P" - + "ARQUET\020\001\022\010\n\004AVRO\020\002\022\007\n\003ORC\020\003\022\007\n\003CSV\020d\022\010\n\004" - + "JSON\020e\022\n\n\005IMAGE\020\310\001\022\n\n\005AUDIO\020\311\001\022\n\n\005VIDEO\020" - + "\312\001\022\t\n\004TEXT\020\313\001\022\r\n\010TFRECORD\020\314\001\022\n\n\005OTHER\020\350\007" - + "\022\014\n\007UNKNOWN\020\351\007\"L\n\021CompressionFormat\022\"\n\036C" - + "OMPRESSION_FORMAT_UNSPECIFIED\020\000\022\010\n\004GZIP\020" - + "\002\022\t\n\005BZIP2\020\003B\t\n\007options\"\233\001\n\rStorageAcces" - + "s\022F\n\004read\030\025 \001(\01622.google.cloud.dataplex." - + "v1.StorageAccess.AccessModeB\004\342A\001\003\"B\n\nAcc" - + "essMode\022\033\n\027ACCESS_MODE_UNSPECIFIED\020\000\022\n\n\006" - + "DIRECT\020\001\022\013\n\007MANAGED\020\002*P\n\rStorageSystem\022\036" - + "\n\032STORAGE_SYSTEM_UNSPECIFIED\020\000\022\021\n\rCLOUD_" - + "STORAGE\020\001\022\014\n\010BIGQUERY\020\0022\211\016\n\017MetadataServ" - + "ice\022\275\001\n\014CreateEntity\022-.google.cloud.data" - + "plex.v1.CreateEntityRequest\032 .google.clo" - + "ud.dataplex.v1.Entity\"\\\332A\rparent,entity\202" - + "\323\344\223\002F\"*\022\022\n\010schedule\030e \001(\0132*.google.cloud." - + "dataplex.v1.Trigger.ScheduleH\000\032\n\n\010OnDema" - + "nd\032\036\n\010Schedule\022\022\n\004cron\030\001 \001(\tB\004\342A\001\002B\006\n\004mo" - + "de\"k\n\nDataSource\0229\n\006entity\030d \001(\tB\'\342A\001\005\372A" - + " \n\036dataplex.googleapis.com/EntityH\000\022\030\n\010r" - + "esource\030e \001(\tB\004\342A\001\005H\000B\010\n\006source\"\257\001\n\013Scan" - + "nedData\022S\n\021incremental_field\030\001 \001(\01326.goo" - + "gle.cloud.dataplex.v1.ScannedData.Increm" - + "entalFieldH\000\032=\n\020IncrementalField\022\r\n\005fiel" - + "d\030\001 \001(\t\022\r\n\005start\030\002 \001(\t\022\013\n\003end\030\003 \001(\tB\014\n\nd" - + "ata_rangeBk\n\034com.google.cloud.dataplex.v" - + "1B\017ProcessingProtoP\001Z8cloud.google.com/g" - + "o/dataplex/apiv1/dataplexpb;dataplexpbb\006" - + "proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Trigger_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_descriptor, - new java.lang.String[] { - "OnDemand", "Schedule", "Mode", - }); - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor = - internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor = - internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor, - new java.lang.String[] { - "Cron", - }); - internal_static_google_cloud_dataplex_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataSource_descriptor, - new java.lang.String[] { - "Entity", "Resource", "Source", - }); - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor, - new java.lang.String[] { - "IncrementalField", "DataRange", - }); - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor = - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor, - new java.lang.String[] { - "Field", "Start", "End", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java deleted file mode 100644 index 5530c85e9495..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java +++ /dev/null @@ -1,690 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/resources.proto - -package com.google.cloud.dataplex.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/dataplex/v1/resources.pro" - + "to\022\030google.cloud.dataplex.v1\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\036google/protobuf/duration.proto" - + "\032\037google/protobuf/timestamp.proto\"\207\010\n\004La" - + "ke\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.goog" - + "leapis.com/Lake\022\032\n\014display_name\030\002 \001(\tB\004\342" - + "A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " - + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google.cl" - + "oud.dataplex.v1.Lake.LabelsEntryB\004\342A\001\001\022\031" - + "\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001(\016" - + "2\037.google.cloud.dataplex.v1.StateB\004\342A\001\003\022" - + "\035\n\017service_account\030\t \001(\tB\004\342A\001\003\022A\n\tmetast" - + "ore\030f \001(\0132(.google.cloud.dataplex.v1.Lak" - + "e.MetastoreB\004\342A\001\001\022A\n\014asset_status\030g \001(\0132" - + "%.google.cloud.dataplex.v1.AssetStatusB\004" - + "\342A\001\003\022N\n\020metastore_status\030h \001(\0132..google." - + "cloud.dataplex.v1.Lake.MetastoreStatusB\004" - + "\342A\001\003\032\"\n\tMetastore\022\025\n\007service\030\001 \001(\tB\004\342A\001\001" - + "\032\370\001\n\017MetastoreStatus\022C\n\005state\030\001 \001(\01624.go" - + "ogle.cloud.dataplex.v1.Lake.MetastoreSta" - + "tus.State\022\017\n\007message\030\002 \001(\t\022/\n\013update_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022\020\n\010e" - + "ndpoint\030\004 \001(\t\"L\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\010\n\004NONE\020\001\022\t\n\005READY\020\002\022\014\n\010UPDATING\020\003" - + "\022\t\n\005ERROR\020\004\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001:W\352AT\n\034dataplex.google" - + "apis.com/Lake\0224projects/{project}/locati" - + "ons/{location}/lakes/{lake}\"~\n\013AssetStat" - + "us\022/\n\013update_time\030\001 \001(\0132\032.google.protobu" - + "f.Timestamp\022\025\n\ractive_assets\030\002 \001(\005\022\'\n\037se" - + "curity_policy_applying_assets\030\003 \001(\005\"\211\014\n\004" - + "Zone\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.go" - + "ogleapis.com/Zone\022\032\n\014display_name\030\002 \001(\tB" - + "\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" - + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google." - + "cloud.dataplex.v1.Zone.LabelsEntryB\004\342A\001\001" - + "\022\031\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001" - + "(\0162\037.google.cloud.dataplex.v1.StateB\004\342A\001" - + "\003\0228\n\004type\030\t \001(\0162#.google.cloud.dataplex." - + "v1.Zone.TypeB\005\342A\002\002\005\022J\n\016discovery_spec\030g " - + "\001(\0132,.google.cloud.dataplex.v1.Zone.Disc" - + "overySpecB\004\342A\001\001\022H\n\rresource_spec\030h \001(\0132+" - + ".google.cloud.dataplex.v1.Zone.ResourceS" - + "pecB\004\342A\001\002\022A\n\014asset_status\030i \001(\0132%.google" - + ".cloud.dataplex.v1.AssetStatusB\004\342A\001\003\032\272\001\n" - + "\014ResourceSpec\022V\n\rlocation_type\030\001 \001(\01628.g" - + "oogle.cloud.dataplex.v1.Zone.ResourceSpe" - + "c.LocationTypeB\005\342A\002\002\005\"R\n\014LocationType\022\035\n" - + "\031LOCATION_TYPE_UNSPECIFIED\020\000\022\021\n\rSINGLE_R" - + "EGION\020\001\022\020\n\014MULTI_REGION\020\002\032\202\004\n\rDiscoveryS" - + "pec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\002\022\036\n\020include_pa" - + "tterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patterns\030\003" - + " \003(\tB\004\342A\001\001\022R\n\013csv_options\030\004 \001(\01327.google" - + ".cloud.dataplex.v1.Zone.DiscoverySpec.Cs" - + "vOptionsB\004\342A\001\001\022T\n\014json_options\030\005 \001(\01328.g" - + "oogle.cloud.dataplex.v1.Zone.DiscoverySp" - + "ec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule\030\n \001(\tB\004" - + "\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_rows\030\001 \001(" - + "\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001\022\026\n\010enco" - + "ding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type_inferen" - + "ce\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n\010encodin" - + "g\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_inference\030" - + "\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"2\n\004Type\022\024\n" - + "\020TYPE_UNSPECIFIED\020\000\022\007\n\003RAW\020\001\022\013\n\007CURATED\020" - + "\002:d\352Aa\n\034dataplex.googleapis.com/Zone\022Apr" - + "ojects/{project}/locations/{location}/la" - + "kes/{lake}/zones/{zone}\"\257\021\n\006Action\022;\n\010ca" - + "tegory\030\001 \001(\0162).google.cloud.dataplex.v1." - + "Action.Category\022\r\n\005issue\030\002 \001(\t\022/\n\013detect" - + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" - + "5\n\004name\030\005 \001(\tB\'\342A\001\003\372A \n\036dataplex.googlea" - + "pis.com/Action\0223\n\004lake\030\006 \001(\tB%\342A\001\003\372A\036\n\034d" - + "ataplex.googleapis.com/Lake\0223\n\004zone\030\007 \001(" - + "\tB%\342A\001\003\372A\036\n\034dataplex.googleapis.com/Zone" - + "\0225\n\005asset\030\010 \001(\tB&\342A\001\003\372A\037\n\035dataplex.googl" - + "eapis.com/Asset\022\026\n\016data_locations\030\t \003(\t\022" - + "Q\n\023invalid_data_format\030\n \001(\01322.google.cl" - + "oud.dataplex.v1.Action.InvalidDataFormat" - + "H\000\022[\n\030incompatible_data_schema\030\013 \001(\01327.g" - + "oogle.cloud.dataplex.v1.Action.Incompati" - + "bleDataSchemaH\000\022W\n\026invalid_data_partitio" - + "n\030\014 \001(\01325.google.cloud.dataplex.v1.Actio" - + "n.InvalidDataPartitionH\000\022D\n\014missing_data" - + "\030\r \001(\0132,.google.cloud.dataplex.v1.Action" - + ".MissingDataH\000\022L\n\020missing_resource\030\016 \001(\013" - + "20.google.cloud.dataplex.v1.Action.Missi" - + "ngResourceH\000\022V\n\025unauthorized_resource\030\017 " - + "\001(\01325.google.cloud.dataplex.v1.Action.Un" - + "authorizedResourceH\000\022b\n\034failed_security_" - + "policy_apply\030\025 \001(\0132:.google.cloud.datapl" - + "ex.v1.Action.FailedSecurityPolicyApplyH\000" - + "\022]\n\031invalid_data_organization\030\026 \001(\01328.go" - + "ogle.cloud.dataplex.v1.Action.InvalidDat" - + "aOrganizationH\000\032\021\n\017MissingResource\032\026\n\024Un" - + "authorizedResource\032*\n\031FailedSecurityPoli" - + "cyApply\022\r\n\005asset\030\001 \001(\t\032`\n\021InvalidDataFor" - + "mat\022\036\n\026sampled_data_locations\030\001 \003(\t\022\027\n\017e" - + "xpected_format\030\002 \001(\t\022\022\n\nnew_format\030\003 \001(\t" - + "\032\240\002\n\026IncompatibleDataSchema\022\r\n\005table\030\001 \001" - + "(\t\022\027\n\017existing_schema\030\002 \001(\t\022\022\n\nnew_schem" - + "a\030\003 \001(\t\022\036\n\026sampled_data_locations\030\004 \003(\t\022" - + "[\n\rschema_change\030\005 \001(\0162D.google.cloud.da" - + "taplex.v1.Action.IncompatibleDataSchema." - + "SchemaChange\"M\n\014SchemaChange\022\035\n\031SCHEMA_C" - + "HANGE_UNSPECIFIED\020\000\022\020\n\014INCOMPATIBLE\020\001\022\014\n" - + "\010MODIFIED\020\002\032\341\001\n\024InvalidDataPartition\022d\n\022" - + "expected_structure\030\001 \001(\0162H.google.cloud." - + "dataplex.v1.Action.InvalidDataPartition." - + "PartitionStructure\"c\n\022PartitionStructure" - + "\022#\n\037PARTITION_STRUCTURE_UNSPECIFIED\020\000\022\023\n" - + "\017CONSISTENT_KEYS\020\001\022\023\n\017HIVE_STYLE_KEYS\020\002\032" - + "\r\n\013MissingData\032\031\n\027InvalidDataOrganizatio" - + "n\"f\n\010Category\022\030\n\024CATEGORY_UNSPECIFIED\020\000\022" - + "\027\n\023RESOURCE_MANAGEMENT\020\001\022\023\n\017SECURITY_POL" - + "ICY\020\002\022\022\n\016DATA_DISCOVERY\020\003:\242\002\352A\236\002\n\036datapl" - + "ex.googleapis.com/Action\022Eprojects/{proj" - + "ect}/locations/{location}/lakes/{lake}/a" - + "ctions/{action}\022Rprojects/{project}/loca" - + "tions/{location}/lakes/{lake}/zones/{zon" - + "e}/actions/{action}\022aprojects/{project}/" - + "locations/{location}/lakes/{lake}/zones/" - + "{zone}/assets/{asset}/actions/{action}B\t" - + "\n\007details\"\277\025\n\005Asset\0224\n\004name\030\001 \001(\tB&\342A\001\003\372" - + "A\037\n\035dataplex.googleapis.com/Asset\022\032\n\014dis" - + "play_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003" - + "\0225\n\013create_time\030\004 \001(\0132\032.google.protobuf." - + "TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels" - + "\030\006 \003(\0132+.google.cloud.dataplex.v1.Asset." - + "LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\tB\004" - + "\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.datap" - + "lex.v1.StateB\004\342A\001\003\022I\n\rresource_spec\030d \001(" - + "\0132,.google.cloud.dataplex.v1.Asset.Resou" - + "rceSpecB\004\342A\001\002\022M\n\017resource_status\030e \001(\0132." - + ".google.cloud.dataplex.v1.Asset.Resource" - + "StatusB\004\342A\001\003\022M\n\017security_status\030g \001(\0132.." - + "google.cloud.dataplex.v1.Asset.SecurityS" - + "tatusB\004\342A\001\003\022K\n\016discovery_spec\030j \001(\0132-.go" - + "ogle.cloud.dataplex.v1.Asset.DiscoverySp" - + "ecB\004\342A\001\001\022O\n\020discovery_status\030k \001(\0132/.goo" - + "gle.cloud.dataplex.v1.Asset.DiscoverySta" - + "tusB\004\342A\001\003\032\333\001\n\016SecurityStatus\022C\n\005state\030\001 " - + "\001(\01624.google.cloud.dataplex.v1.Asset.Sec" - + "urityStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013up" - + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\"B\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005R" - + "EADY\020\001\022\014\n\010APPLYING\020\002\022\t\n\005ERROR\020\003\032\204\004\n\rDisc" - + "overySpec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\001\022\036\n\020incl" - + "ude_patterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patt" - + "erns\030\003 \003(\tB\004\342A\001\001\022S\n\013csv_options\030\004 \001(\01328." - + "google.cloud.dataplex.v1.Asset.Discovery" - + "Spec.CsvOptionsB\004\342A\001\001\022U\n\014json_options\030\005 " - + "\001(\01329.google.cloud.dataplex.v1.Asset.Dis" - + "coverySpec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule" - + "\030\n \001(\tB\004\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_r" - + "ows\030\001 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001" - + "\022\026\n\010encoding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type" - + "_inference\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n" - + "\010encoding\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_in" - + "ference\030\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032\317\002\n\014Resou" - + "rceSpec\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022F\n\004type\030\002 \001(" - + "\01621.google.cloud.dataplex.v1.Asset.Resou" - + "rceSpec.TypeB\005\342A\002\002\005\022W\n\020read_access_mode\030" - + "\005 \001(\01627.google.cloud.dataplex.v1.Asset.R" - + "esourceSpec.AccessModeB\004\342A\001\001\"F\n\004Type\022\024\n\020" - + "TYPE_UNSPECIFIED\020\000\022\022\n\016STORAGE_BUCKET\020\001\022\024" - + "\n\020BIGQUERY_DATASET\020\002\"B\n\nAccessMode\022\033\n\027AC" - + "CESS_MODE_UNSPECIFIED\020\000\022\n\n\006DIRECT\020\001\022\013\n\007M" - + "ANAGED\020\002\032\364\001\n\016ResourceStatus\022C\n\005state\030\001 \001" - + "(\01624.google.cloud.dataplex.v1.Asset.Reso" - + "urceStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013upd" - + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mp\022%\n\027managed_access_identity\030\004 \001(\tB\004\342A\001" - + "\003\"4\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005REA" - + "DY\020\001\022\t\n\005ERROR\020\002\032\364\003\n\017DiscoveryStatus\022D\n\005s" - + "tate\030\001 \001(\01625.google.cloud.dataplex.v1.As" - + "set.DiscoveryStatus.State\022\017\n\007message\030\002 \001" - + "(\t\022/\n\013update_time\030\003 \001(\0132\032.google.protobu" - + "f.Timestamp\0221\n\rlast_run_time\030\004 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022D\n\005stats\030\006 \001(\01325." - + "google.cloud.dataplex.v1.Asset.Discovery" - + "Status.Stats\0224\n\021last_run_duration\030\007 \001(\0132" - + "\031.google.protobuf.Duration\032P\n\005Stats\022\022\n\nd" - + "ata_items\030\001 \001(\003\022\021\n\tdata_size\030\002 \001(\003\022\016\n\006ta" - + "bles\030\003 \001(\003\022\020\n\010filesets\030\004 \001(\003\"X\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\017\n\013I" - + "N_PROGRESS\020\002\022\n\n\006PAUSED\020\003\022\014\n\010DISABLED\020\005\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001:t\352Aq\n\035dataplex.googleapis.com/Asse" - + "t\022Pprojects/{project}/locations/{locatio" - + "n}/lakes/{lake}/zones/{zone}/assets/{ass" - + "et}*[\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" - + "CTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010DELETING\020\003\022\023\n\017A" - + "CTION_REQUIRED\020\004Bj\n\034com.google.cloud.dat" - + "aplex.v1B\016ResourcesProtoP\001Z8cloud.google" - + ".com/go/dataplex/apiv1/dataplexpb;datapl" - + "expbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Lake_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "State", - "ServiceAccount", - "Metastore", - "AssetStatus", - "MetastoreStatus", - }); - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor, - new java.lang.String[] { - "Service", - }); - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor, - new java.lang.String[] { - "State", "Message", "UpdateTime", "Endpoint", - }); - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor, - new java.lang.String[] { - "UpdateTime", "ActiveAssets", "SecurityPolicyApplyingAssets", - }); - internal_static_google_cloud_dataplex_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "State", - "Type", - "DiscoverySpec", - "ResourceSpec", - "AssetStatus", - }); - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor, - new java.lang.String[] { - "LocationType", - }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor, - new java.lang.String[] { - "Enabled", - "IncludePatterns", - "ExcludePatterns", - "CsvOptions", - "JsonOptions", - "Schedule", - "Trigger", - }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor, - new java.lang.String[] { - "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", - }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor, - new java.lang.String[] { - "Encoding", "DisableTypeInference", - }); - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Action_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_descriptor, - new java.lang.String[] { - "Category", - "Issue", - "DetectTime", - "Name", - "Lake", - "Zone", - "Asset", - "DataLocations", - "InvalidDataFormat", - "IncompatibleDataSchema", - "InvalidDataPartition", - "MissingData", - "MissingResource", - "UnauthorizedResource", - "FailedSecurityPolicyApply", - "InvalidDataOrganization", - "Details", - }); - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor, - new java.lang.String[] { - "Asset", - }); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor, - new java.lang.String[] { - "SampledDataLocations", "ExpectedFormat", "NewFormat", - }); - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor, - new java.lang.String[] { - "Table", "ExistingSchema", "NewSchema", "SampledDataLocations", "SchemaChange", - }); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor, - new java.lang.String[] { - "ExpectedStructure", - }); - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataplex_v1_Asset_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "State", - "ResourceSpec", - "ResourceStatus", - "SecurityStatus", - "DiscoverySpec", - "DiscoveryStatus", - }); - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor, - new java.lang.String[] { - "State", "Message", "UpdateTime", - }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor, - new java.lang.String[] { - "Enabled", - "IncludePatterns", - "ExcludePatterns", - "CsvOptions", - "JsonOptions", - "Schedule", - "Trigger", - }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor, - new java.lang.String[] { - "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", - }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor, - new java.lang.String[] { - "Encoding", "DisableTypeInference", - }); - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor, - new java.lang.String[] { - "Name", "Type", "ReadAccessMode", - }); - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor, - new java.lang.String[] { - "State", "Message", "UpdateTime", "ManagedAccessIdentity", - }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor, - new java.lang.String[] { - "State", "Message", "UpdateTime", "LastRunTime", "Stats", "LastRunDuration", - }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor, - new java.lang.String[] { - "DataItems", "DataSize", "Tables", "Filesets", - }); - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java deleted file mode 100644 index 1f7be5f8cccc..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/security.proto - -package com.google.cloud.dataplex.v1; - -public final class SecurityProto { - private SecurityProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/dataplex/v1/security.prot" - + "o\022\030google.cloud.dataplex.v1\032\037google/api/" - + "field_behavior.proto\"X\n\022ResourceAccessSp" - + "ec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001\022\025\n\007writers\030\002 \003" - + "(\tB\004\342A\001\001\022\024\n\006owners\030\003 \003(\tB\004\342A\001\001\"\'\n\016DataAc" - + "cessSpec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001Bi\n\034com.g" - + "oogle.cloud.dataplex.v1B\rSecurityProtoP\001" - + "Z8cloud.google.com/go/dataplex/apiv1/dat" - + "aplexpb;dataplexpbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor, - new java.lang.String[] { - "Readers", "Writers", "Owners", - }); - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor, - new java.lang.String[] { - "Readers", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java deleted file mode 100644 index 36932bbbe8d7..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java +++ /dev/null @@ -1,945 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public final class ServiceProto { - private ServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/service.proto" - + "\022\030google.cloud.dataplex.v1\032\034google/api/a" - + "nnotations.proto\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032&google/cloud/data" - + "plex/v1/analyze.proto\032(google/cloud/data" - + "plex/v1/resources.proto\032$google/cloud/da" - + "taplex/v1/tasks.proto\032#google/longrunnin" - + "g/operations.proto\032\033google/protobuf/empt" - + "y.proto\032 google/protobuf/field_mask.prot" - + "o\032\037google/protobuf/timestamp.proto\"\267\001\n\021C" - + "reateLakeRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A" - + "#\n!locations.googleapis.com/Location\022\025\n\007" - + "lake_id\030\002 \001(\tB\004\342A\001\002\0222\n\004lake\030\003 \001(\0132\036.goog" - + "le.cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalid" - + "ate_only\030\004 \001(\010B\004\342A\001\001\"\233\001\n\021UpdateLakeReque" - + "st\0225\n\013update_mask\030\001 \001(\0132\032.google.protobu" - + "f.FieldMaskB\004\342A\001\002\0222\n\004lake\030\002 \001(\0132\036.google" - + ".cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalidat" - + "e_only\030\003 \001(\010B\004\342A\001\001\"H\n\021DeleteLakeRequest\022" - + "3\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googlea" - + "pis.com/Lake\"\257\001\n\020ListLakesRequest\022:\n\006par" - + "ent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis" - + ".com/Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" - + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" - + "B\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"z\n\021ListLa" - + "kesResponse\022-\n\005lakes\030\001 \003(\0132\036.google.clou" - + "d.dataplex.v1.Lake\022\027\n\017next_page_token\030\002 " - + "\001(\t\022\035\n\025unreachable_locations\030\003 \003(\t\"\202\001\n\026L" - + "istLakeActionsRequest\0225\n\006parent\030\001 \001(\tB%\342" - + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" - + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" - + "\tB\004\342A\001\001\"a\n\023ListActionsResponse\0221\n\007action" - + "s\030\001 \003(\0132 .google.cloud.dataplex.v1.Actio" - + "n\022\027\n\017next_page_token\030\002 \001(\t\"E\n\016GetLakeReq" - + "uest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" - + "ogleapis.com/Lake\"\262\001\n\021CreateZoneRequest\022" - + "5\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googl" - + "eapis.com/Lake\022\025\n\007zone_id\030\002 \001(\tB\004\342A\001\002\0222\n" - + "\004zone\030\003 \001(\0132\036.google.cloud.dataplex.v1.Z" - + "oneB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\233" - + "\001\n\021UpdateZoneRequest\0225\n\013update_mask\030\001 \001(" - + "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\0222\n\004z" - + "one\030\002 \001(\0132\036.google.cloud.dataplex.v1.Zon" - + "eB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"H\n\021" - + "DeleteZoneRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" - + "\n\034dataplex.googleapis.com/Zone\"\252\001\n\020ListZ" - + "onesRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034da" - + "taplex.googleapis.com/Lake\022\027\n\tpage_size\030" - + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" - + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" - + "A\001\001\"[\n\021ListZonesResponse\022-\n\005zones\030\001 \003(\0132" - + "\036.google.cloud.dataplex.v1.Zone\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\202\001\n\026ListZoneActionsRequ" - + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" - + "oogleapis.com/Zone\022\027\n\tpage_size\030\002 \001(\005B\004\342" - + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"E\n\016GetZone" - + "Request\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex" - + ".googleapis.com/Zone\"\266\001\n\022CreateAssetRequ" - + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" - + "oogleapis.com/Zone\022\026\n\010asset_id\030\002 \001(\tB\004\342A" - + "\001\002\0224\n\005asset\030\003 \001(\0132\037.google.cloud.dataple" - + "x.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B" - + "\004\342A\001\001\"\236\001\n\022UpdateAssetRequest\0225\n\013update_m" - + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" - + "A\001\002\0224\n\005asset\030\002 \001(\0132\037.google.cloud.datapl" - + "ex.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" - + "B\004\342A\001\001\"J\n\022DeleteAssetRequest\0224\n\004name\030\001 \001" - + "(\tB&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Ass" - + "et\"\253\001\n\021ListAssetsRequest\0225\n\006parent\030\001 \001(\t" - + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Zone\022" - + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" - + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010orde" - + "r_by\030\005 \001(\tB\004\342A\001\001\"^\n\022ListAssetsResponse\022/" - + "\n\006assets\030\001 \003(\0132\037.google.cloud.dataplex.v" - + "1.Asset\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\027Lis" - + "tAssetActionsRequest\0226\n\006parent\030\001 \001(\tB&\342A" - + "\001\002\372A\037\n\035dataplex.googleapis.com/Asset\022\027\n\t" - + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" - + "\tB\004\342A\001\001\"G\n\017GetAssetRequest\0224\n\004name\030\001 \001(\t" - + "B&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Asset" - + "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " - + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" - + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" - + "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" - + "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" - + "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"\262\001\n\021CreateTas" - + "kRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datap" - + "lex.googleapis.com/Lake\022\025\n\007task_id\030\002 \001(\t" - + "B\004\342A\001\002\0222\n\004task\030\003 \001(\0132\036.google.cloud.data" - + "plex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(" - + "\010B\004\342A\001\001\"\233\001\n\021UpdateTaskRequest\0225\n\013update_" - + "mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004" - + "\342A\001\002\0222\n\004task\030\002 \001(\0132\036.google.cloud.datapl" - + "ex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B" - + "\004\342A\001\001\"H\n\021DeleteTaskRequest\0223\n\004name\030\001 \001(\t" - + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Task\"" - + "\252\001\n\020ListTasksRequest\0225\n\006parent\030\001 \001(\tB%\342A" - + "\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\tp" - + "age_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\t" - + "B\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by" - + "\030\005 \001(\tB\004\342A\001\001\"z\n\021ListTasksResponse\022-\n\005tas" - + "ks\030\001 \003(\0132\036.google.cloud.dataplex.v1.Task" - + "\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachable" - + "_locations\030\003 \003(\t\"E\n\016GetTaskRequest\0223\n\004na" - + "me\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.c" - + "om/Task\"C\n\rGetJobRequest\0222\n\004name\030\001 \001(\tB$" - + "\342A\001\002\372A\035\n\033dataplex.googleapis.com/Job\"\265\002\n" - + "\016RunTaskRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034" - + "dataplex.googleapis.com/Task\022J\n\006labels\030\003" - + " \003(\01324.google.cloud.dataplex.v1.RunTaskR" - + "equest.LabelsEntryB\004\342A\001\001\022F\n\004args\030\004 \003(\01322" - + ".google.cloud.dataplex.v1.RunTaskRequest" - + ".ArgsEntryB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+\n\tArgsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"=\n\017RunTaskR" - + "esponse\022*\n\003job\030\001 \001(\0132\035.google.cloud.data" - + "plex.v1.Job\"{\n\017ListJobsRequest\0225\n\006parent" - + "\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com" - + "/Task\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t" - + "oken\030\003 \001(\tB\004\342A\001\001\"X\n\020ListJobsResponse\022+\n\004" - + "jobs\030\001 \003(\0132\035.google.cloud.dataplex.v1.Jo" - + "b\022\027\n\017next_page_token\030\002 \001(\t\"F\n\020CancelJobR" - + "equest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033dataplex." - + "googleapis.com/Job\"\316\001\n\030CreateEnvironment" - + "Request\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datapl" - + "ex.googleapis.com/Lake\022\034\n\016environment_id" - + "\030\002 \001(\tB\004\342A\001\002\022@\n\013environment\030\003 \001(\0132%.goog" - + "le.cloud.dataplex.v1.EnvironmentB\004\342A\001\002\022\033" - + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\260\001\n\030UpdateEn" - + "vironmentRequest\0225\n\013update_mask\030\001 \001(\0132\032." - + "google.protobuf.FieldMaskB\004\342A\001\002\022@\n\013envir" - + "onment\030\002 \001(\0132%.google.cloud.dataplex.v1." - + "EnvironmentB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" - + "B\004\342A\001\001\"V\n\030DeleteEnvironmentRequest\022:\n\004na" - + "me\030\001 \001(\tB,\342A\001\002\372A%\n#dataplex.googleapis.c" - + "om/Environment\"\261\001\n\027ListEnvironmentsReque" - + "st\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" - + "ogleapis.com/Lake\022\027\n\tpage_size\030\002 \001(\005B\004\342A" - + "\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004" - + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"p\n\030Li" - + "stEnvironmentsResponse\022;\n\014environments\030\001" - + " \003(\0132%.google.cloud.dataplex.v1.Environm" - + "ent\022\027\n\017next_page_token\030\002 \001(\t\"S\n\025GetEnvir" - + "onmentRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#da" - + "taplex.googleapis.com/Environment\"\234\001\n\023Li" - + "stSessionsRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372" - + "A%\n#dataplex.googleapis.com/Environment\022" - + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" - + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"d\n\024List" - + "SessionsResponse\0223\n\010sessions\030\001 \003(\0132!.goo" - + "gle.cloud.dataplex.v1.Session\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t2\2542\n\017DataplexService\022\303\001\n\nC" - + "reateLake\022+.google.cloud.dataplex.v1.Cre" - + "ateLakeRequest\032\035.google.longrunning.Oper" - + "ation\"i\312A\031\n\004Lake\022\021OperationMetadata\332A\023pa" - + "rent,lake,lake_id\202\323\344\223\0021\")/v1/{parent=pro" - + "jects/*/locations/*}/lakes:\004lake\022\305\001\n\nUpd" - + "ateLake\022+.google.cloud.dataplex.v1.Updat" - + "eLakeRequest\032\035.google.longrunning.Operat" - + "ion\"k\312A\031\n\004Lake\022\021OperationMetadata\332A\020lake" - + ",update_mask\202\323\344\223\00262./v1/{lake.name=proje" - + "cts/*/locations/*/lakes/*}:\004lake\022\277\001\n\nDel" - + "eteLake\022+.google.cloud.dataplex.v1.Delet" - + "eLakeRequest\032\035.google.longrunning.Operat" - + "ion\"e\312A*\n\025google.protobuf.Empty\022\021Operati" - + "onMetadata\332A\004name\202\323\344\223\002+*)/v1/{name=proje" - + "cts/*/locations/*/lakes/*}\022\240\001\n\tListLakes" - + "\022*.google.cloud.dataplex.v1.ListLakesReq" - + "uest\032+.google.cloud.dataplex.v1.ListLake" - + "sResponse\":\332A\006parent\202\323\344\223\002+\022)/v1/{parent=" - + "projects/*/locations/*}/lakes\022\215\001\n\007GetLak" - + "e\022(.google.cloud.dataplex.v1.GetLakeRequ" - + "est\032\036.google.cloud.dataplex.v1.Lake\"8\332A\004" - + "name\202\323\344\223\002+\022)/v1/{name=projects/*/locatio" - + "ns/*/lakes/*}\022\270\001\n\017ListLakeActions\0220.goog" - + "le.cloud.dataplex.v1.ListLakeActionsRequ" - + "est\032-.google.cloud.dataplex.v1.ListActio" - + "nsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent" - + "=projects/*/locations/*/lakes/*}/actions" - + "\022\313\001\n\nCreateZone\022+.google.cloud.dataplex." - + "v1.CreateZoneRequest\032\035.google.longrunnin" - + "g.Operation\"q\312A\031\n\004Zone\022\021OperationMetadat" - + "a\332A\023parent,zone,zone_id\202\323\344\223\0029\"1/v1/{pare" - + "nt=projects/*/locations/*/lakes/*}/zones" - + ":\004zone\022\315\001\n\nUpdateZone\022+.google.cloud.dat" - + "aplex.v1.UpdateZoneRequest\032\035.google.long" - + "running.Operation\"s\312A\031\n\004Zone\022\021OperationM" - + "etadata\332A\020zone,update_mask\202\323\344\223\002>26/v1/{z" - + "one.name=projects/*/locations/*/lakes/*/" - + "zones/*}:\004zone\022\307\001\n\nDeleteZone\022+.google.c" - + "loud.dataplex.v1.DeleteZoneRequest\032\035.goo" - + "gle.longrunning.Operation\"m\312A*\n\025google.p" - + "rotobuf.Empty\022\021OperationMetadata\332A\004name\202" - + "\323\344\223\0023*1/v1/{name=projects/*/locations/*/" - + "lakes/*/zones/*}\022\250\001\n\tListZones\022*.google." - + "cloud.dataplex.v1.ListZonesRequest\032+.goo" - + "gle.cloud.dataplex.v1.ListZonesResponse\"" - + "B\332A\006parent\202\323\344\223\0023\0221/v1/{parent=projects/*" - + "/locations/*/lakes/*}/zones\022\225\001\n\007GetZone\022" - + "(.google.cloud.dataplex.v1.GetZoneReques" - + "t\032\036.google.cloud.dataplex.v1.Zone\"@\332A\004na" - + "me\202\323\344\223\0023\0221/v1/{name=projects/*/locations" - + "/*/lakes/*/zones/*}\022\300\001\n\017ListZoneActions\022" - + "0.google.cloud.dataplex.v1.ListZoneActio" - + "nsRequest\032-.google.cloud.dataplex.v1.Lis" - + "tActionsResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{" - + "parent=projects/*/locations/*/lakes/*/zo" - + "nes/*}/actions\022\332\001\n\013CreateAsset\022,.google." - + "cloud.dataplex.v1.CreateAssetRequest\032\035.g" - + "oogle.longrunning.Operation\"~\312A\032\n\005Asset\022" - + "\021OperationMetadata\332A\025parent,asset,asset_" - + "id\202\323\344\223\002C\":/v1/{parent=projects/*/locatio" - + "ns/*/lakes/*/zones/*}/assets:\005asset\022\335\001\n\013" - + "UpdateAsset\022,.google.cloud.dataplex.v1.U" - + "pdateAssetRequest\032\035.google.longrunning.O" - + "peration\"\200\001\312A\032\n\005Asset\022\021OperationMetadata" - + "\332A\021asset,update_mask\202\323\344\223\002I2@/v1/{asset.n" - + "ame=projects/*/locations/*/lakes/*/zones" - + "/*/assets/*}:\005asset\022\322\001\n\013DeleteAsset\022,.go" - + "ogle.cloud.dataplex.v1.DeleteAssetReques" - + "t\032\035.google.longrunning.Operation\"v\312A*\n\025g" - + "oogle.protobuf.Empty\022\021OperationMetadata\332" - + "A\004name\202\323\344\223\002<*:/v1/{name=projects/*/locat" - + "ions/*/lakes/*/zones/*/assets/*}\022\264\001\n\nLis" - + "tAssets\022+.google.cloud.dataplex.v1.ListA" - + "ssetsRequest\032,.google.cloud.dataplex.v1." - + "ListAssetsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1" - + "/{parent=projects/*/locations/*/lakes/*/" - + "zones/*}/assets\022\241\001\n\010GetAsset\022).google.cl" - + "oud.dataplex.v1.GetAssetRequest\032\037.google" - + ".cloud.dataplex.v1.Asset\"I\332A\004name\202\323\344\223\002<\022" - + ":/v1/{name=projects/*/locations/*/lakes/" - + "*/zones/*/assets/*}\022\313\001\n\020ListAssetActions" - + "\0221.google.cloud.dataplex.v1.ListAssetAct" - + "ionsRequest\032-.google.cloud.dataplex.v1.L" - + "istActionsResponse\"U\332A\006parent\202\323\344\223\002F\022D/v1" - + "/{parent=projects/*/locations/*/lakes/*/" - + "zones/*/assets/*}/actions\022\313\001\n\nCreateTask" - + "\022+.google.cloud.dataplex.v1.CreateTaskRe" - + "quest\032\035.google.longrunning.Operation\"q\312A" - + "\031\n\004Task\022\021OperationMetadata\332A\023parent,task" - + ",task_id\202\323\344\223\0029\"1/v1/{parent=projects/*/l" - + "ocations/*/lakes/*}/tasks:\004task\022\315\001\n\nUpda" - + "teTask\022+.google.cloud.dataplex.v1.Update" - + "TaskRequest\032\035.google.longrunning.Operati" - + "on\"s\312A\031\n\004Task\022\021OperationMetadata\332A\020task," - + "update_mask\202\323\344\223\002>26/v1/{task.name=projec" - + "ts/*/locations/*/lakes/*/tasks/*}:\004task\022" - + "\307\001\n\nDeleteTask\022+.google.cloud.dataplex.v" - + "1.DeleteTaskRequest\032\035.google.longrunning" - + ".Operation\"m\312A*\n\025google.protobuf.Empty\022\021" - + "OperationMetadata\332A\004name\202\323\344\223\0023*1/v1/{nam" - + "e=projects/*/locations/*/lakes/*/tasks/*" - + "}\022\250\001\n\tListTasks\022*.google.cloud.dataplex." - + "v1.ListTasksRequest\032+.google.cloud.datap" - + "lex.v1.ListTasksResponse\"B\332A\006parent\202\323\344\223\002" - + "3\0221/v1/{parent=projects/*/locations/*/la" - + "kes/*}/tasks\022\225\001\n\007GetTask\022(.google.cloud." - + "dataplex.v1.GetTaskRequest\032\036.google.clou" - + "d.dataplex.v1.Task\"@\332A\004name\202\323\344\223\0023\0221/v1/{" - + "name=projects/*/locations/*/lakes/*/task" - + "s/*}\022\254\001\n\010ListJobs\022).google.cloud.dataple" - + "x.v1.ListJobsRequest\032*.google.cloud.data" - + "plex.v1.ListJobsResponse\"I\332A\006parent\202\323\344\223\002" - + ":\0228/v1/{parent=projects/*/locations/*/la" - + "kes/*/tasks/*}/jobs\022\247\001\n\007RunTask\022(.google" - + ".cloud.dataplex.v1.RunTaskRequest\032).goog" - + "le.cloud.dataplex.v1.RunTaskResponse\"G\332A" - + "\004name\202\323\344\223\002:\"5/v1/{name=projects/*/locati" - + "ons/*/lakes/*/tasks/*}:run:\001*\022\231\001\n\006GetJob" - + "\022\'.google.cloud.dataplex.v1.GetJobReques" - + "t\032\035.google.cloud.dataplex.v1.Job\"G\332A\004nam" - + "e\202\323\344\223\002:\0228/v1/{name=projects/*/locations/" - + "*/lakes/*/tasks/*/jobs/*}\022\242\001\n\tCancelJob\022" - + "*.google.cloud.dataplex.v1.CancelJobRequ" - + "est\032\026.google.protobuf.Empty\"Q\332A\004name\202\323\344\223" - + "\002D\"?/v1/{name=projects/*/locations/*/lak" - + "es/*/tasks/*/jobs/*}:cancel:\001*\022\375\001\n\021Creat" - + "eEnvironment\0222.google.cloud.dataplex.v1." - + "CreateEnvironmentRequest\032\035.google.longru" - + "nning.Operation\"\224\001\312A \n\013Environment\022\021Oper" - + "ationMetadata\332A!parent,environment,envir" - + "onment_id\202\323\344\223\002G\"8/v1/{parent=projects/*/" - + "locations/*/lakes/*}/environments:\013envir" - + "onment\022\377\001\n\021UpdateEnvironment\0222.google.cl" - + "oud.dataplex.v1.UpdateEnvironmentRequest" - + "\032\035.google.longrunning.Operation\"\226\001\312A \n\013E" - + "nvironment\022\021OperationMetadata\332A\027environm" - + "ent,update_mask\202\323\344\223\002S2D/v1/{environment." - + "name=projects/*/locations/*/lakes/*/envi" - + "ronments/*}:\013environment\022\334\001\n\021DeleteEnvir" - + "onment\0222.google.cloud.dataplex.v1.Delete" - + "EnvironmentRequest\032\035.google.longrunning." - + "Operation\"t\312A*\n\025google.protobuf.Empty\022\021O" - + "perationMetadata\332A\004name\202\323\344\223\002:*8/v1/{name" - + "=projects/*/locations/*/lakes/*/environm" - + "ents/*}\022\304\001\n\020ListEnvironments\0221.google.cl" - + "oud.dataplex.v1.ListEnvironmentsRequest\032" - + "2.google.cloud.dataplex.v1.ListEnvironme" - + "ntsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren" - + "t=projects/*/locations/*/lakes/*}/enviro" - + "nments\022\261\001\n\016GetEnvironment\022/.google.cloud" - + ".dataplex.v1.GetEnvironmentRequest\032%.goo" - + "gle.cloud.dataplex.v1.Environment\"G\332A\004na" - + "me\202\323\344\223\002:\0228/v1/{name=projects/*/locations" - + "/*/lakes/*/environments/*}\022\303\001\n\014ListSessi" - + "ons\022-.google.cloud.dataplex.v1.ListSessi" - + "onsRequest\032..google.cloud.dataplex.v1.Li" - + "stSessionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1" - + "/{parent=projects/*/locations/*/lakes/*/" - + "environments/*}/sessions\032K\312A\027dataplex.go" - + "ogleapis.com\322A.https://www.googleapis.co" - + "m/auth/cloud-platformBh\n\034com.google.clou" - + "d.dataplex.v1B\014ServiceProtoP\001Z8cloud.goo" - + "gle.com/go/dataplex/apiv1/dataplexpb;dat" - + "aplexpbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.cloud.dataplex.v1.TasksProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor, - new java.lang.String[] { - "Parent", "LakeId", "Lake", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Lake", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor, - new java.lang.String[] { - "Lakes", "NextPageToken", "UnreachableLocations", - }); - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor, - new java.lang.String[] { - "Actions", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor, - new java.lang.String[] { - "Parent", "ZoneId", "Zone", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Zone", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor, - new java.lang.String[] { - "Zones", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor, - new java.lang.String[] { - "Parent", "AssetId", "Asset", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Asset", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor, - new java.lang.String[] { - "Assets", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusMessage", - "RequestedCancellation", - "ApiVersion", - }); - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "TaskId", "Task", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Task", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", "UnreachableLocations", - }); - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "Labels", "Args", - }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor, - new java.lang.String[] { - "Job", - }); - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { - "Parent", "EnvironmentId", "Environment", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Environment", "ValidateOnly", - }); - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { - "Environments", "NextPageToken", - }); - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor, - new java.lang.String[] { - "Sessions", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.cloud.dataplex.v1.TasksProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java deleted file mode 100644 index be1d6bf8930a..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public interface StorageAccessOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageAccess) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Describes the read access mechanism of the data. Not user
-   * settable.
-   * 
- * - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for read. - */ - int getReadValue(); - /** - * - * - *
-   * Output only. Describes the read access mechanism of the data. Not user
-   * settable.
-   * 
- * - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The read. - */ - com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead(); -} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java deleted file mode 100644 index 55fb99fc03c7..000000000000 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java +++ /dev/null @@ -1,393 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/tasks.proto - -package com.google.cloud.dataplex.v1; - -public final class TasksProto { - private TasksProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/cloud/dataplex/v1/tasks.proto\022\030" - + "google.cloud.dataplex.v1\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032(google/cloud/dataplex/v1/resources" - + ".proto\032\036google/protobuf/duration.proto\032\037" - + "google/protobuf/timestamp.proto\"\305\026\n\004Task" - + "\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.google" - + "apis.com/Task\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013crea" - + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "pB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.pr" - + "otobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005 " - + "\001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\0224\n" - + "\005state\030\007 \001(\0162\037.google.cloud.dataplex.v1." - + "StateB\004\342A\001\003\022@\n\006labels\030\010 \003(\0132*.google.clo" - + "ud.dataplex.v1.Task.LabelsEntryB\004\342A\001\001\022F\n" - + "\014trigger_spec\030d \001(\0132*.google.cloud.datap" - + "lex.v1.Task.TriggerSpecB\004\342A\001\002\022J\n\016executi" - + "on_spec\030e \001(\0132,.google.cloud.dataplex.v1" - + ".Task.ExecutionSpecB\004\342A\001\002\022O\n\020execution_s" - + "tatus\030\311\001 \001(\0132..google.cloud.dataplex.v1." - + "Task.ExecutionStatusB\004\342A\001\003\022@\n\005spark\030\254\002 \001" - + "(\0132..google.cloud.dataplex.v1.Task.Spark" - + "TaskConfigH\000\022F\n\010notebook\030\256\002 \001(\01321.google" - + ".cloud.dataplex.v1.Task.NotebookTaskConf" - + "igH\000\032\243\006\n\022InfrastructureSpec\022X\n\005batch\0304 \001" - + "(\0132G.google.cloud.dataplex.v1.Task.Infra" - + "structureSpec.BatchComputeResourcesH\000\022b\n" - + "\017container_image\030e \001(\0132G.google.cloud.da" - + "taplex.v1.Task.InfrastructureSpec.Contai" - + "nerImageRuntimeH\001\022T\n\013vpc_network\030\226\001 \001(\0132" - + "<.google.cloud.dataplex.v1.Task.Infrastr" - + "uctureSpec.VpcNetworkH\002\032Y\n\025BatchComputeR" - + "esources\022\035\n\017executors_count\030\001 \001(\005B\004\342A\001\001\022" - + "!\n\023max_executors_count\030\002 \001(\005B\004\342A\001\001\032\212\002\n\025C" - + "ontainerImageRuntime\022\023\n\005image\030\001 \001(\tB\004\342A\001" - + "\001\022\027\n\tjava_jars\030\002 \003(\tB\004\342A\001\001\022\035\n\017python_pac" - + "kages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030\004 \003(\0132W." - + "google.cloud.dataplex.v1.Task.Infrastruc" - + "tureSpec.ContainerImageRuntime.Propertie" - + "sEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032n\n\nVpcNetwork\022\027\n" - + "\007network\030\001 \001(\tB\004\342A\001\001H\000\022\033\n\013sub_network\030\002 " - + "\001(\tB\004\342A\001\001H\000\022\032\n\014network_tags\030\003 \003(\tB\004\342A\001\001B" - + "\016\n\014network_nameB\013\n\tresourcesB\t\n\007runtimeB" - + "\t\n\007network\032\235\002\n\013TriggerSpec\022D\n\004type\030\005 \001(\016" - + "2/.google.cloud.dataplex.v1.Task.Trigger" - + "Spec.TypeB\005\342A\002\002\005\0224\n\nstart_time\030\006 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\001\022\026\n\010disabl" - + "ed\030\004 \001(\010B\004\342A\001\001\022\031\n\013max_retries\030\007 \001(\005B\004\342A\001" - + "\001\022\030\n\010schedule\030d \001(\tB\004\342A\001\001H\000\":\n\004Type\022\024\n\020T" - + "YPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tRECU" - + "RRING\020\002B\t\n\007trigger\032\232\002\n\rExecutionSpec\022J\n\004" - + "args\030\004 \003(\01326.google.cloud.dataplex.v1.Ta" - + "sk.ExecutionSpec.ArgsEntryB\004\342A\001\001\022\035\n\017serv" - + "ice_account\030\005 \001(\tB\004\342A\001\002\022\025\n\007project\030\007 \001(\t" - + "B\004\342A\001\001\022C\n\032max_job_execution_lifetime\030\010 \001" - + "(\0132\031.google.protobuf.DurationB\004\342A\001\001\022\025\n\007k" - + "ms_key\030\t \001(\tB\004\342A\001\001\032+\n\tArgsEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\250\002\n\017SparkTaskCon" - + "fig\022\033\n\021main_jar_file_uri\030d \001(\tH\000\022\024\n\nmain" - + "_class\030e \001(\tH\000\022\034\n\022python_script_file\030f \001" - + "(\tH\000\022\031\n\017sql_script_file\030h \001(\tH\000\022\024\n\nsql_s" - + "cript\030i \001(\tH\000\022\027\n\tfile_uris\030\003 \003(\tB\004\342A\001\001\022\032" - + "\n\014archive_uris\030\004 \003(\tB\004\342A\001\001\022T\n\023infrastruc" - + "ture_spec\030\006 \001(\01321.google.cloud.dataplex." - + "v1.Task.InfrastructureSpecB\004\342A\001\001B\010\n\006driv" - + "er\032\267\001\n\022NotebookTaskConfig\022\026\n\010notebook\030\004 " - + "\001(\tB\004\342A\001\002\022T\n\023infrastructure_spec\030\003 \001(\01321" - + ".google.cloud.dataplex.v1.Task.Infrastru" - + "ctureSpecB\004\342A\001\001\022\027\n\tfile_uris\030\005 \003(\tB\004\342A\001\001" - + "\022\032\n\014archive_uris\030\006 \003(\tB\004\342A\001\001\032\201\001\n\017Executi" - + "onStatus\0225\n\013update_time\030\003 \001(\0132\032.google.p" - + "rotobuf.TimestampB\004\342A\001\003\0227\n\nlatest_job\030\t " - + "\001(\0132\035.google.cloud.dataplex.v1.JobB\004\342A\001\003" - + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001:d\352Aa\n\034dataplex.googleapis.com/Ta" - + "sk\022Aprojects/{project}/locations/{locati" - + "on}/lakes/{lake}/tasks/{task}B\010\n\006config\"" - + "\321\007\n\003Job\0222\n\004name\030\001 \001(\tB$\342A\001\003\372A\035\n\033dataplex" - + ".googleapis.com/Job\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0224" - + "\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0228\n\005state\030\005 \001(\0162" - + "#.google.cloud.dataplex.v1.Job.StateB\004\342A" - + "\001\003\022\031\n\013retry_count\030\006 \001(\rB\004\342A\001\003\022<\n\007service" - + "\030\007 \001(\0162%.google.cloud.dataplex.v1.Job.Se" - + "rviceB\004\342A\001\003\022\031\n\013service_job\030\010 \001(\tB\004\342A\001\003\022\025" - + "\n\007message\030\t \001(\tB\004\342A\001\003\022?\n\006labels\030\n \003(\0132)." - + "google.cloud.dataplex.v1.Job.LabelsEntry" - + "B\004\342A\001\003\022<\n\007trigger\030\013 \001(\0162%.google.cloud.d" - + "ataplex.v1.Job.TriggerB\004\342A\001\003\022J\n\016executio" - + "n_spec\030d \001(\0132,.google.cloud.dataplex.v1." - + "Task.ExecutionSpecB\004\342A\001\003\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"0\n\007Servi" - + "ce\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAPROC\020" - + "\001\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUN" - + "NING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n" - + "\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007ABORTED\020\006\"D\n" - + "\007Trigger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\017\n\013TAS" - + "K_CONFIG\020\001\022\017\n\013RUN_REQUEST\020\002:n\352Ak\n\033datapl" - + "ex.googleapis.com/Job\022Lprojects/{project" - + "}/locations/{location}/lakes/{lake}/task" - + "s/{task}/jobs/{job}Bf\n\034com.google.cloud." - + "dataplex.v1B\nTasksProtoP\001Z8cloud.google." - + "com/go/dataplex/apiv1/dataplexpb;dataple" - + "xpbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "CreateTime", - "UpdateTime", - "Description", - "DisplayName", - "State", - "Labels", - "TriggerSpec", - "ExecutionSpec", - "ExecutionStatus", - "Spark", - "Notebook", - "Config", - }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor, - new java.lang.String[] { - "Batch", "ContainerImage", "VpcNetwork", "Resources", "Runtime", "Network", - }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor, - new java.lang.String[] { - "ExecutorsCount", "MaxExecutorsCount", - }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor, - new java.lang.String[] { - "Image", "JavaJars", "PythonPackages", "Properties", - }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor, - new java.lang.String[] { - "Network", "SubNetwork", "NetworkTags", "NetworkName", - }); - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor, - new java.lang.String[] { - "Type", "StartTime", "Disabled", "MaxRetries", "Schedule", "Trigger", - }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor, - new java.lang.String[] { - "Args", "ServiceAccount", "Project", "MaxJobExecutionLifetime", "KmsKey", - }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor, - new java.lang.String[] { - "MainJarFileUri", - "MainClass", - "PythonScriptFile", - "SqlScriptFile", - "SqlScript", - "FileUris", - "ArchiveUris", - "InfrastructureSpec", - "Driver", - }); - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor, - new java.lang.String[] { - "Notebook", "InfrastructureSpec", "FileUris", "ArchiveUris", - }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor, - new java.lang.String[] { - "UpdateTime", "LatestJob", - }); - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataplex_v1_Job_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Job_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "StartTime", - "EndTime", - "State", - "RetryCount", - "Service", - "ServiceJob", - "Message", - "Labels", - "Trigger", - "ExecutionSpec", - }); - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java index 6c90918b59a5..0a00cf09a3a1 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.ContentServiceStubSettings; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java index 815657eb9068..a1df31331710 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataScanServiceStubSettings; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java index afd6072768b6..d3c69166a888 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataTaxonomyServiceStubSettings; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java index f10ac635d3c3..e057145c59cb 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java @@ -39,6 +39,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataplexServiceStubSettings; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java index 5cb25a96d8b6..c9eea8720bcb 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java @@ -30,6 +30,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.dataplex.v1.stub.MetadataServiceStubSettings; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java index 63ba2b8ff640..9daf3497cbe9 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java @@ -47,6 +47,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java index 182adf1e00f7..57670ec369fd 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java @@ -52,6 +52,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java index 58d6684fa0e4..15a6f11c018e 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java @@ -61,6 +61,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java index efd9ba05b84f..ed82f8e44904 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java @@ -95,6 +95,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java index 1b489c918004..5cde3269877b 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java @@ -49,6 +49,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java index a4348cd1dc8f..bb0d5ff4479b 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java index 6c5d53b09247..6423cb33f902 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java @@ -34,6 +34,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java index 77732f7851c1..95861be3b457 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java @@ -41,6 +41,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java diff --git a/java-dataplex/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json similarity index 99% rename from java-dataplex/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json index 7750afd2aa57..10bec5e16c5a 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json +++ b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json @@ -1430,6 +1430,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dataplex.v1.DataQualityColumnResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dataplex.v1.DataQualityColumnResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dataplex.v1.DataQualityDimension", "queryAllDeclaredConstructors": true, diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java diff --git a/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java b/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java similarity index 100% rename from java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java rename to owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java similarity index 50% rename from java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java rename to owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java index b7126affdd55..3cb4448563a0 100644 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java +++ b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.dataplex.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * ContentService manages Notebook and SQL Scripts for Dataplex.
  * 
@@ -35,388 +18,299 @@ private ContentServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.ContentService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> - getCreateContentMethod; + private static volatile io.grpc.MethodDescriptor getCreateContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateContent", requestType = com.google.cloud.dataplex.v1.CreateContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> - getCreateContentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> - getCreateContentMethod; + public static io.grpc.MethodDescriptor getCreateContentMethod() { + io.grpc.MethodDescriptor getCreateContentMethod; if ((getCreateContentMethod = ContentServiceGrpc.getCreateContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getCreateContentMethod = ContentServiceGrpc.getCreateContentMethod) == null) { - ContentServiceGrpc.getCreateContentMethod = - getCreateContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateContentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("CreateContent")) - .build(); + ContentServiceGrpc.getCreateContentMethod = getCreateContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("CreateContent")) + .build(); } } } return getCreateContentMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> - getUpdateContentMethod; + private static volatile io.grpc.MethodDescriptor getUpdateContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateContent", requestType = com.google.cloud.dataplex.v1.UpdateContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> - getUpdateContentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> - getUpdateContentMethod; + public static io.grpc.MethodDescriptor getUpdateContentMethod() { + io.grpc.MethodDescriptor getUpdateContentMethod; if ((getUpdateContentMethod = ContentServiceGrpc.getUpdateContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getUpdateContentMethod = ContentServiceGrpc.getUpdateContentMethod) == null) { - ContentServiceGrpc.getUpdateContentMethod = - getUpdateContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateContentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("UpdateContent")) - .build(); + ContentServiceGrpc.getUpdateContentMethod = getUpdateContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("UpdateContent")) + .build(); } } } return getUpdateContentMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> - getDeleteContentMethod; + private static volatile io.grpc.MethodDescriptor getDeleteContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteContent", requestType = com.google.cloud.dataplex.v1.DeleteContentRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> - getDeleteContentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> - getDeleteContentMethod; + public static io.grpc.MethodDescriptor getDeleteContentMethod() { + io.grpc.MethodDescriptor getDeleteContentMethod; if ((getDeleteContentMethod = ContentServiceGrpc.getDeleteContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getDeleteContentMethod = ContentServiceGrpc.getDeleteContentMethod) == null) { - ContentServiceGrpc.getDeleteContentMethod = - getDeleteContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteContentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("DeleteContent")) - .build(); + ContentServiceGrpc.getDeleteContentMethod = getDeleteContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("DeleteContent")) + .build(); } } } return getDeleteContentMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> - getGetContentMethod; + private static volatile io.grpc.MethodDescriptor getGetContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetContent", requestType = com.google.cloud.dataplex.v1.GetContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> - getGetContentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> - getGetContentMethod; + public static io.grpc.MethodDescriptor getGetContentMethod() { + io.grpc.MethodDescriptor getGetContentMethod; if ((getGetContentMethod = ContentServiceGrpc.getGetContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getGetContentMethod = ContentServiceGrpc.getGetContentMethod) == null) { - ContentServiceGrpc.getGetContentMethod = - getGetContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetContentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetContent")) - .build(); + ContentServiceGrpc.getGetContentMethod = getGetContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetContent")) + .build(); } } } return getGetContentMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", requestType = com.google.iam.v1.GetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; if ((getGetIamPolicyMethod = ContentServiceGrpc.getGetIamPolicyMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getGetIamPolicyMethod = ContentServiceGrpc.getGetIamPolicyMethod) == null) { - ContentServiceGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("GetIamPolicy")) - .build(); + ContentServiceGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetIamPolicy")) + .build(); } } } return getGetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", requestType = com.google.iam.v1.SetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; if ((getSetIamPolicyMethod = ContentServiceGrpc.getSetIamPolicyMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getSetIamPolicyMethod = ContentServiceGrpc.getSetIamPolicyMethod) == null) { - ContentServiceGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("SetIamPolicy")) - .build(); + ContentServiceGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("SetIamPolicy")) + .build(); } } } return getSetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", requestType = com.google.iam.v1.TestIamPermissionsRequest.class, responseType = com.google.iam.v1.TestIamPermissionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) == null) { synchronized (ContentServiceGrpc.class) { - if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) - == null) { - ContentServiceGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("TestIamPermissions")) - .build(); + if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) == null) { + ContentServiceGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("TestIamPermissions")) + .build(); } } } return getTestIamPermissionsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListContentRequest, - com.google.cloud.dataplex.v1.ListContentResponse> - getListContentMethod; + private static volatile io.grpc.MethodDescriptor getListContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListContent", requestType = com.google.cloud.dataplex.v1.ListContentRequest.class, responseType = com.google.cloud.dataplex.v1.ListContentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListContentRequest, - com.google.cloud.dataplex.v1.ListContentResponse> - getListContentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataplex.v1.ListContentRequest, - com.google.cloud.dataplex.v1.ListContentResponse> - getListContentMethod; + public static io.grpc.MethodDescriptor getListContentMethod() { + io.grpc.MethodDescriptor getListContentMethod; if ((getListContentMethod = ContentServiceGrpc.getListContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getListContentMethod = ContentServiceGrpc.getListContentMethod) == null) { - ContentServiceGrpc.getListContentMethod = - getListContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListContentResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ContentServiceMethodDescriptorSupplier("ListContent")) - .build(); + ContentServiceGrpc.getListContentMethod = getListContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("ListContent")) + .build(); } } } return getListContentMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static ContentServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceStub(channel, callOptions); + } + }; return ContentServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static ContentServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static ContentServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceBlockingStub(channel, callOptions); + } + }; return ContentServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ContentServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ContentServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceFutureStub(channel, callOptions); + } + }; return ContentServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
@@ -424,63 +318,46 @@ public ContentServiceFutureStub newStub( public interface AsyncService { /** - * - * *
      * Create a content.
      * 
*/ - default void createContent( - com.google.cloud.dataplex.v1.CreateContentRequest request, + default void createContent(com.google.cloud.dataplex.v1.CreateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateContentMethod(), responseObserver); } /** - * - * *
      * Update a content. Only supports full resource update.
      * 
*/ - default void updateContent( - com.google.cloud.dataplex.v1.UpdateContentRequest request, + default void updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateContentMethod(), responseObserver); } /** - * - * *
      * Delete a content.
      * 
*/ - default void deleteContent( - com.google.cloud.dataplex.v1.DeleteContentRequest request, + default void deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteContentMethod(), responseObserver); } /** - * - * *
      * Get a content resource.
      * 
*/ - default void getContent( - com.google.cloud.dataplex.v1.GetContentRequest request, + default void getContent(com.google.cloud.dataplex.v1.GetContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetContentMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -489,16 +366,12 @@ default void getContent(
      * on the resource.
      * 
*/ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -506,16 +379,12 @@ default void getIamPolicy(
      * on the resource.
      * 
*/ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -527,129 +396,100 @@ default void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * List content.
      * 
*/ - default void listContent( - com.google.cloud.dataplex.v1.ListContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListContentMethod(), responseObserver); + default void listContent(com.google.cloud.dataplex.v1.ListContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListContentMethod(), responseObserver); } } /** * Base class for the server implementation of the service ContentService. - * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ - public abstract static class ContentServiceImplBase + public static abstract class ContentServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return ContentServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ContentService. - * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceStub extends io.grpc.stub.AbstractAsyncStub { - private ContentServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected ContentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected ContentServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ContentServiceStub(channel, callOptions); } /** - * - * *
      * Create a content.
      * 
*/ - public void createContent( - com.google.cloud.dataplex.v1.CreateContentRequest request, + public void createContent(com.google.cloud.dataplex.v1.CreateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateContentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateContentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Update a content. Only supports full resource update.
      * 
*/ - public void updateContent( - com.google.cloud.dataplex.v1.UpdateContentRequest request, + public void updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateContentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateContentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Delete a content.
      * 
*/ - public void deleteContent( - com.google.cloud.dataplex.v1.DeleteContentRequest request, + public void deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteContentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteContentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Get a content resource.
      * 
*/ - public void getContent( - com.google.cloud.dataplex.v1.GetContentRequest request, + public void getContent(com.google.cloud.dataplex.v1.GetContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetContentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -658,18 +498,13 @@ public void getContent(
      * on the resource.
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -677,18 +512,13 @@ public void getIamPolicy(
      * on the resource.
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -700,44 +530,34 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * List content.
      * 
*/ - public void listContent( - com.google.cloud.dataplex.v1.ListContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listContent(com.google.cloud.dataplex.v1.ListContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListContentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListContentMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ContentService. - * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ContentServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -748,60 +568,46 @@ protected ContentServiceBlockingStub build( } /** - * - * *
      * Create a content.
      * 
*/ - public com.google.cloud.dataplex.v1.Content createContent( - com.google.cloud.dataplex.v1.CreateContentRequest request) { + public com.google.cloud.dataplex.v1.Content createContent(com.google.cloud.dataplex.v1.CreateContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateContentMethod(), getCallOptions(), request); } /** - * - * *
      * Update a content. Only supports full resource update.
      * 
*/ - public com.google.cloud.dataplex.v1.Content updateContent( - com.google.cloud.dataplex.v1.UpdateContentRequest request) { + public com.google.cloud.dataplex.v1.Content updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateContentMethod(), getCallOptions(), request); } /** - * - * *
      * Delete a content.
      * 
*/ - public com.google.protobuf.Empty deleteContent( - com.google.cloud.dataplex.v1.DeleteContentRequest request) { + public com.google.protobuf.Empty deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteContentMethod(), getCallOptions(), request); } /** - * - * *
      * Get a content resource.
      * 
*/ - public com.google.cloud.dataplex.v1.Content getContent( - com.google.cloud.dataplex.v1.GetContentRequest request) { + public com.google.cloud.dataplex.v1.Content getContent(com.google.cloud.dataplex.v1.GetContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetContentMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -816,8 +622,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -831,8 +635,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -844,21 +646,17 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * List content.
      * 
*/ - public com.google.cloud.dataplex.v1.ListContentResponse listContent( - com.google.cloud.dataplex.v1.ListContentRequest request) { + public com.google.cloud.dataplex.v1.ListContentResponse listContent(com.google.cloud.dataplex.v1.ListContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListContentMethod(), getCallOptions(), request); } @@ -866,14 +664,14 @@ public com.google.cloud.dataplex.v1.ListContentResponse listContent( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ContentService. - * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private ContentServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -884,60 +682,50 @@ protected ContentServiceFutureStub build( } /** - * - * *
      * Create a content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createContent(com.google.cloud.dataplex.v1.CreateContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture createContent( + com.google.cloud.dataplex.v1.CreateContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateContentMethod(), getCallOptions()), request); } /** - * - * *
      * Update a content. Only supports full resource update.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateContent( + com.google.cloud.dataplex.v1.UpdateContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateContentMethod(), getCallOptions()), request); } /** - * - * *
      * Delete a content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteContent( + com.google.cloud.dataplex.v1.DeleteContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteContentMethod(), getCallOptions()), request); } /** - * - * *
      * Get a content resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getContent(com.google.cloud.dataplex.v1.GetContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture getContent( + com.google.cloud.dataplex.v1.GetContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetContentMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -946,15 +734,13 @@ protected ContentServiceFutureStub build(
      * on the resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -962,15 +748,13 @@ protected ContentServiceFutureStub build(
      * on the resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -982,23 +766,19 @@ protected ContentServiceFutureStub build(
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } /** - * - * *
      * List content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataplex.v1.ListContentResponse> - listContent(com.google.cloud.dataplex.v1.ListContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture listContent( + com.google.cloud.dataplex.v1.ListContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListContentMethod(), getCallOptions()), request); } @@ -1013,11 +793,11 @@ protected ContentServiceFutureStub build( private static final int METHODID_TEST_IAM_PERMISSIONS = 6; private static final int METHODID_LIST_CONTENT = 7; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -1031,46 +811,36 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CONTENT: - serviceImpl.createContent( - (com.google.cloud.dataplex.v1.CreateContentRequest) request, + serviceImpl.createContent((com.google.cloud.dataplex.v1.CreateContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONTENT: - serviceImpl.updateContent( - (com.google.cloud.dataplex.v1.UpdateContentRequest) request, + serviceImpl.updateContent((com.google.cloud.dataplex.v1.UpdateContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONTENT: - serviceImpl.deleteContent( - (com.google.cloud.dataplex.v1.DeleteContentRequest) request, + serviceImpl.deleteContent((com.google.cloud.dataplex.v1.DeleteContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CONTENT: - serviceImpl.getContent( - (com.google.cloud.dataplex.v1.GetContentRequest) request, + serviceImpl.getContent((com.google.cloud.dataplex.v1.GetContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CONTENT: - serviceImpl.listContent( - (com.google.cloud.dataplex.v1.ListContentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listContent((com.google.cloud.dataplex.v1.ListContentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -1091,59 +861,66 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateContentRequest, - com.google.cloud.dataplex.v1.Content>(service, METHODID_CREATE_CONTENT))) + getCreateContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateContentRequest, + com.google.cloud.dataplex.v1.Content>( + service, METHODID_CREATE_CONTENT))) .addMethod( - getUpdateContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateContentRequest, - com.google.cloud.dataplex.v1.Content>(service, METHODID_UPDATE_CONTENT))) + getUpdateContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateContentRequest, + com.google.cloud.dataplex.v1.Content>( + service, METHODID_UPDATE_CONTENT))) .addMethod( - getDeleteContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_CONTENT))) + getDeleteContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteContentRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_CONTENT))) .addMethod( - getGetContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetContentRequest, - com.google.cloud.dataplex.v1.Content>(service, METHODID_GET_CONTENT))) + getGetContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetContentRequest, + com.google.cloud.dataplex.v1.Content>( + service, METHODID_GET_CONTENT))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListContentRequest, - com.google.cloud.dataplex.v1.ListContentResponse>( - service, METHODID_LIST_CONTENT))) + getListContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListContentRequest, + com.google.cloud.dataplex.v1.ListContentResponse>( + service, METHODID_LIST_CONTENT))) .build(); } - private abstract static class ContentServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class ContentServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ContentServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -1185,19 +962,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ContentServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ContentServiceFileDescriptorSupplier()) - .addMethod(getCreateContentMethod()) - .addMethod(getUpdateContentMethod()) - .addMethod(getDeleteContentMethod()) - .addMethod(getGetContentMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getListContentMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ContentServiceFileDescriptorSupplier()) + .addMethod(getCreateContentMethod()) + .addMethod(getUpdateContentMethod()) + .addMethod(getDeleteContentMethod()) + .addMethod(getGetContentMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getListContentMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java new file mode 100644 index 000000000000..6a76490a6484 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java @@ -0,0 +1,937 @@ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * DataScanService manages DataScan resources which can be configured to run
+ * various types of data scanning workload and generate enriched metadata (e.g.
+ * Data Profile, Data Quality) for the data source.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/datascans.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataScanServiceGrpc { + + private DataScanServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataScanService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataScan", + requestType = com.google.cloud.dataplex.v1.CreateDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataScanMethod() { + io.grpc.MethodDescriptor getCreateDataScanMethod; + if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { + DataScanServiceGrpc.getCreateDataScanMethod = getCreateDataScanMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("CreateDataScan")) + .build(); + } + } + } + return getCreateDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataScan", + requestType = com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataScanMethod() { + io.grpc.MethodDescriptor getUpdateDataScanMethod; + if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { + DataScanServiceGrpc.getUpdateDataScanMethod = getUpdateDataScanMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("UpdateDataScan")) + .build(); + } + } + } + return getUpdateDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataScan", + requestType = com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataScanMethod() { + io.grpc.MethodDescriptor getDeleteDataScanMethod; + if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { + DataScanServiceGrpc.getDeleteDataScanMethod = getDeleteDataScanMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("DeleteDataScan")) + .build(); + } + } + } + return getDeleteDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataScan", + requestType = com.google.cloud.dataplex.v1.GetDataScanRequest.class, + responseType = com.google.cloud.dataplex.v1.DataScan.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataScanMethod() { + io.grpc.MethodDescriptor getGetDataScanMethod; + if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { + DataScanServiceGrpc.getGetDataScanMethod = getGetDataScanMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataScan.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("GetDataScan")) + .build(); + } + } + } + return getGetDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataScansMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataScans", + requestType = com.google.cloud.dataplex.v1.ListDataScansRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataScansResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataScansMethod() { + io.grpc.MethodDescriptor getListDataScansMethod; + if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { + DataScanServiceGrpc.getListDataScansMethod = getListDataScansMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScans")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("ListDataScans")) + .build(); + } + } + } + return getListDataScansMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunDataScan", + requestType = com.google.cloud.dataplex.v1.RunDataScanRequest.class, + responseType = com.google.cloud.dataplex.v1.RunDataScanResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunDataScanMethod() { + io.grpc.MethodDescriptor getRunDataScanMethod; + if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { + DataScanServiceGrpc.getRunDataScanMethod = getRunDataScanMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("RunDataScan")) + .build(); + } + } + } + return getRunDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataScanJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataScanJob", + requestType = com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, + responseType = com.google.cloud.dataplex.v1.DataScanJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataScanJobMethod() { + io.grpc.MethodDescriptor getGetDataScanJobMethod; + if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { + DataScanServiceGrpc.getGetDataScanJobMethod = getGetDataScanJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScanJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("GetDataScanJob")) + .build(); + } + } + } + return getGetDataScanJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataScanJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataScanJobs", + requestType = com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataScanJobsMethod() { + io.grpc.MethodDescriptor getListDataScanJobsMethod; + if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { + DataScanServiceGrpc.getListDataScanJobsMethod = getListDataScanJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScanJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("ListDataScanJobs")) + .build(); + } + } + } + return getListDataScanJobsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataScanServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceStub(channel, callOptions); + } + }; + return DataScanServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataScanServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceBlockingStub(channel, callOptions); + } + }; + return DataScanServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataScanServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceFutureStub(channel, callOptions); + } + }; + return DataScanServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a DataScan resource.
+     * 
+ */ + default void createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataScanMethod(), responseObserver); + } + + /** + *
+     * Updates a DataScan resource.
+     * 
+ */ + default void updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataScanMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataScan resource.
+     * 
+ */ + default void deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataScanMethod(), responseObserver); + } + + /** + *
+     * Gets a DataScan resource.
+     * 
+ */ + default void getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataScanMethod(), responseObserver); + } + + /** + *
+     * Lists DataScans.
+     * 
+ */ + default void listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataScansMethod(), responseObserver); + } + + /** + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + default void runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunDataScanMethod(), responseObserver); + } + + /** + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + default void getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataScanJobMethod(), responseObserver); + } + + /** + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + default void listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataScanJobsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataScanService. + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static abstract class DataScanServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataScanServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataScanService. + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataScanServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a DataScan resource.
+     * 
+ */ + public void createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataScan resource.
+     * 
+ */ + public void updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public void deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a DataScan resource.
+     * 
+ */ + public void getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataScans.
+     * 
+ */ + public void listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataScansMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public void runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public void getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public void listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataScanService. + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataScanServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataScanMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataScanMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataScanMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a DataScan resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataScan getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataScanMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataScans.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataScansMethod(), getCallOptions(), request); + } + + /** + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunDataScanMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataScanJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataScanJobsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataScanService. + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataScanServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataScan( + com.google.cloud.dataplex.v1.CreateDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataScan( + com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataScan( + com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataScan( + com.google.cloud.dataplex.v1.GetDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataScans.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataScans( + com.google.cloud.dataplex.v1.ListDataScansRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataScansMethod(), getCallOptions()), request); + } + + /** + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runDataScan( + com.google.cloud.dataplex.v1.RunDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataScanJob( + com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataScanJobs( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_DATA_SCAN = 0; + private static final int METHODID_UPDATE_DATA_SCAN = 1; + private static final int METHODID_DELETE_DATA_SCAN = 2; + private static final int METHODID_GET_DATA_SCAN = 3; + private static final int METHODID_LIST_DATA_SCANS = 4; + private static final int METHODID_RUN_DATA_SCAN = 5; + private static final int METHODID_GET_DATA_SCAN_JOB = 6; + private static final int METHODID_LIST_DATA_SCAN_JOBS = 7; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_DATA_SCAN: + serviceImpl.createDataScan((com.google.cloud.dataplex.v1.CreateDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_SCAN: + serviceImpl.updateDataScan((com.google.cloud.dataplex.v1.UpdateDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_SCAN: + serviceImpl.deleteDataScan((com.google.cloud.dataplex.v1.DeleteDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SCAN: + serviceImpl.getDataScan((com.google.cloud.dataplex.v1.GetDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_SCANS: + serviceImpl.listDataScans((com.google.cloud.dataplex.v1.ListDataScansRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_DATA_SCAN: + serviceImpl.runDataScan((com.google.cloud.dataplex.v1.RunDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SCAN_JOB: + serviceImpl.getDataScanJob((com.google.cloud.dataplex.v1.GetDataScanJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_SCAN_JOBS: + serviceImpl.listDataScanJobs((com.google.cloud.dataplex.v1.ListDataScanJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataScanRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATA_SCAN))) + .addMethod( + getUpdateDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataScanRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATA_SCAN))) + .addMethod( + getDeleteDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataScanRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_DATA_SCAN))) + .addMethod( + getGetDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataScanRequest, + com.google.cloud.dataplex.v1.DataScan>( + service, METHODID_GET_DATA_SCAN))) + .addMethod( + getListDataScansMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataScansRequest, + com.google.cloud.dataplex.v1.ListDataScansResponse>( + service, METHODID_LIST_DATA_SCANS))) + .addMethod( + getRunDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.RunDataScanRequest, + com.google.cloud.dataplex.v1.RunDataScanResponse>( + service, METHODID_RUN_DATA_SCAN))) + .addMethod( + getGetDataScanJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataScanJobRequest, + com.google.cloud.dataplex.v1.DataScanJob>( + service, METHODID_GET_DATA_SCAN_JOB))) + .addMethod( + getListDataScanJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataScanJobsRequest, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse>( + service, METHODID_LIST_DATA_SCAN_JOBS))) + .build(); + } + + private static abstract class DataScanServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataScanServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataScanService"); + } + } + + private static final class DataScanServiceFileDescriptorSupplier + extends DataScanServiceBaseDescriptorSupplier { + DataScanServiceFileDescriptorSupplier() {} + } + + private static final class DataScanServiceMethodDescriptorSupplier + extends DataScanServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataScanServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataScanServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataScanServiceFileDescriptorSupplier()) + .addMethod(getCreateDataScanMethod()) + .addMethod(getUpdateDataScanMethod()) + .addMethod(getDeleteDataScanMethod()) + .addMethod(getGetDataScanMethod()) + .addMethod(getListDataScansMethod()) + .addMethod(getRunDataScanMethod()) + .addMethod(getGetDataScanJobMethod()) + .addMethod(getListDataScanJobsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java new file mode 100644 index 000000000000..7b7ea74edacf --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java @@ -0,0 +1,1545 @@ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * DataTaxonomyService enables attribute-based governance. The resources
+ * currently offered include DataTaxonomy and DataAttribute.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/data_taxonomy.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTaxonomyServiceGrpc { + + private DataTaxonomyServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataTaxonomyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataTaxonomyMethod() { + io.grpc.MethodDescriptor getCreateDataTaxonomyMethod; + if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) == null) { + DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod = getCreateDataTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataTaxonomy")) + .build(); + } + } + } + return getCreateDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod() { + io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod; + if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) == null) { + DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod = getUpdateDataTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataTaxonomy")) + .build(); + } + } + } + return getUpdateDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod() { + io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod; + if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) == null) { + DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod = getDeleteDataTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataTaxonomy")) + .build(); + } + } + } + return getDeleteDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataTaxonomies", + requestType = com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataTaxonomiesMethod() { + io.grpc.MethodDescriptor getListDataTaxonomiesMethod; + if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) == null) { + DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod = getListDataTaxonomiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataTaxonomies")) + .build(); + } + } + } + return getListDataTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, + responseType = com.google.cloud.dataplex.v1.DataTaxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataTaxonomyMethod() { + io.grpc.MethodDescriptor getGetDataTaxonomyMethod; + if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { + DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod = getGetDataTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataTaxonomy")) + .build(); + } + } + } + return getGetDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod() { + io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod; + if ((getCreateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) == null) { + DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod = getCreateDataAttributeBindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttributeBinding")) + .build(); + } + } + } + return getCreateDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod() { + io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod; + if ((getUpdateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) == null) { + DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod = getUpdateDataAttributeBindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttributeBinding")) + .build(); + } + } + } + return getUpdateDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod() { + io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod; + if ((getDeleteDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) == null) { + DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod = getDeleteDataAttributeBindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttributeBinding")) + .build(); + } + } + } + return getDeleteDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataAttributeBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataAttributeBindings", + requestType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataAttributeBindingsMethod() { + io.grpc.MethodDescriptor getListDataAttributeBindingsMethod; + if ((getListDataAttributeBindingsMethod = DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataAttributeBindingsMethod = DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) == null) { + DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod = getListDataAttributeBindingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributeBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributeBindings")) + .build(); + } + } + } + return getListDataAttributeBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, + responseType = com.google.cloud.dataplex.v1.DataAttributeBinding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataAttributeBindingMethod() { + io.grpc.MethodDescriptor getGetDataAttributeBindingMethod; + if ((getGetDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) == null) { + DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod = getGetDataAttributeBindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttributeBinding")) + .build(); + } + } + } + return getGetDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataAttribute", + requestType = com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataAttributeMethod() { + io.grpc.MethodDescriptor getCreateDataAttributeMethod; + if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) == null) { + DataTaxonomyServiceGrpc.getCreateDataAttributeMethod = getCreateDataAttributeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttribute")) + .build(); + } + } + } + return getCreateDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttribute", + requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataAttributeMethod() { + io.grpc.MethodDescriptor getUpdateDataAttributeMethod; + if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) == null) { + DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod = getUpdateDataAttributeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttribute")) + .build(); + } + } + } + return getUpdateDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttribute", + requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataAttributeMethod() { + io.grpc.MethodDescriptor getDeleteDataAttributeMethod; + if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) == null) { + DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod = getDeleteDataAttributeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttribute")) + .build(); + } + } + } + return getDeleteDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataAttributesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataAttributes", + requestType = com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataAttributesMethod() { + io.grpc.MethodDescriptor getListDataAttributesMethod; + if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) == null) { + DataTaxonomyServiceGrpc.getListDataAttributesMethod = getListDataAttributesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributes")) + .build(); + } + } + } + return getListDataAttributesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataAttribute", + requestType = com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, + responseType = com.google.cloud.dataplex.v1.DataAttribute.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataAttributeMethod() { + io.grpc.MethodDescriptor getGetDataAttributeMethod; + if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { + DataTaxonomyServiceGrpc.getGetDataAttributeMethod = getGetDataAttributeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance())) + .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttribute")) + .build(); + } + } + } + return getGetDataAttributeMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataTaxonomyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceStub(channel, callOptions); + } + }; + return DataTaxonomyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTaxonomyServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceBlockingStub(channel, callOptions); + } + }; + return DataTaxonomyServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataTaxonomyServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceFutureStub(channel, callOptions); + } + }; + return DataTaxonomyServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + default void createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + default void updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + default void deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + default void listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataTaxonomiesMethod(), responseObserver); + } + + /** + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + default void getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + default void createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataAttributeBindingMethod(), responseObserver); + } + + /** + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + default void updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataAttributeBindingMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + default void deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataAttributeBindingMethod(), responseObserver); + } + + /** + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + default void listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataAttributeBindingsMethod(), responseObserver); + } + + /** + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + default void getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataAttributeBindingMethod(), responseObserver); + } + + /** + *
+     * Create a DataAttribute resource.
+     * 
+ */ + default void createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataAttributeMethod(), responseObserver); + } + + /** + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + default void updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataAttributeMethod(), responseObserver); + } + + /** + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + default void deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataAttributeMethod(), responseObserver); + } + + /** + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + default void listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataAttributesMethod(), responseObserver); + } + + /** + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + default void getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataAttributeMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTaxonomyService. + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static abstract class DataTaxonomyServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataTaxonomyServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTaxonomyService. + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTaxonomyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceStub(channel, callOptions); + } + + /** + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public void createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public void updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public void deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public void listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public void getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public void createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public void updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public void deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public void listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public void getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public void createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public void updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public void deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public void listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public void getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTaxonomyService. + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTaxonomyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataTaxonomiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataAttributeBindingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataAttributeMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataAttributeMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataAttributeMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataAttributesResponse listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataAttributesMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataAttributeMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTaxonomyService. + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTaxonomyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataTaxonomy( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataTaxonomy( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataTaxonomy( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataTaxonomies( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataTaxonomy( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataAttributeBinding( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataAttributeBinding( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataAttributeBinding( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataAttributeBindings( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataAttributeBinding( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataAttribute( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataAttribute( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataAttribute( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataAttributes( + com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataAttribute( + com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_DATA_TAXONOMY = 0; + private static final int METHODID_UPDATE_DATA_TAXONOMY = 1; + private static final int METHODID_DELETE_DATA_TAXONOMY = 2; + private static final int METHODID_LIST_DATA_TAXONOMIES = 3; + private static final int METHODID_GET_DATA_TAXONOMY = 4; + private static final int METHODID_CREATE_DATA_ATTRIBUTE_BINDING = 5; + private static final int METHODID_UPDATE_DATA_ATTRIBUTE_BINDING = 6; + private static final int METHODID_DELETE_DATA_ATTRIBUTE_BINDING = 7; + private static final int METHODID_LIST_DATA_ATTRIBUTE_BINDINGS = 8; + private static final int METHODID_GET_DATA_ATTRIBUTE_BINDING = 9; + private static final int METHODID_CREATE_DATA_ATTRIBUTE = 10; + private static final int METHODID_UPDATE_DATA_ATTRIBUTE = 11; + private static final int METHODID_DELETE_DATA_ATTRIBUTE = 12; + private static final int METHODID_LIST_DATA_ATTRIBUTES = 13; + private static final int METHODID_GET_DATA_ATTRIBUTE = 14; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_DATA_TAXONOMY: + serviceImpl.createDataTaxonomy((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_TAXONOMY: + serviceImpl.updateDataTaxonomy((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_TAXONOMY: + serviceImpl.deleteDataTaxonomy((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_TAXONOMIES: + serviceImpl.listDataTaxonomies((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_TAXONOMY: + serviceImpl.getDataTaxonomy((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATA_ATTRIBUTE_BINDING: + serviceImpl.createDataAttributeBinding((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_ATTRIBUTE_BINDING: + serviceImpl.updateDataAttributeBinding((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_ATTRIBUTE_BINDING: + serviceImpl.deleteDataAttributeBinding((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_ATTRIBUTE_BINDINGS: + serviceImpl.listDataAttributeBindings((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_ATTRIBUTE_BINDING: + serviceImpl.getDataAttributeBinding((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATA_ATTRIBUTE: + serviceImpl.createDataAttribute((com.google.cloud.dataplex.v1.CreateDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_ATTRIBUTE: + serviceImpl.updateDataAttribute((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_ATTRIBUTE: + serviceImpl.deleteDataAttribute((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_ATTRIBUTES: + serviceImpl.listDataAttributes((com.google.cloud.dataplex.v1.ListDataAttributesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_ATTRIBUTE: + serviceImpl.getDataAttribute((com.google.cloud.dataplex.v1.GetDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATA_TAXONOMY))) + .addMethod( + getUpdateDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATA_TAXONOMY))) + .addMethod( + getDeleteDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_DATA_TAXONOMY))) + .addMethod( + getListDataTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse>( + service, METHODID_LIST_DATA_TAXONOMIES))) + .addMethod( + getGetDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, + com.google.cloud.dataplex.v1.DataTaxonomy>( + service, METHODID_GET_DATA_TAXONOMY))) + .addMethod( + getCreateDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getUpdateDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getDeleteDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getListDataAttributeBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>( + service, METHODID_LIST_DATA_ATTRIBUTE_BINDINGS))) + .addMethod( + getGetDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, + com.google.cloud.dataplex.v1.DataAttributeBinding>( + service, METHODID_GET_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getCreateDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataAttributeRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATA_ATTRIBUTE))) + .addMethod( + getUpdateDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATA_ATTRIBUTE))) + .addMethod( + getDeleteDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_DATA_ATTRIBUTE))) + .addMethod( + getListDataAttributesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataAttributesRequest, + com.google.cloud.dataplex.v1.ListDataAttributesResponse>( + service, METHODID_LIST_DATA_ATTRIBUTES))) + .addMethod( + getGetDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataAttributeRequest, + com.google.cloud.dataplex.v1.DataAttribute>( + service, METHODID_GET_DATA_ATTRIBUTE))) + .build(); + } + + private static abstract class DataTaxonomyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTaxonomyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTaxonomyService"); + } + } + + private static final class DataTaxonomyServiceFileDescriptorSupplier + extends DataTaxonomyServiceBaseDescriptorSupplier { + DataTaxonomyServiceFileDescriptorSupplier() {} + } + + private static final class DataTaxonomyServiceMethodDescriptorSupplier + extends DataTaxonomyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTaxonomyServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTaxonomyServiceFileDescriptorSupplier()) + .addMethod(getCreateDataTaxonomyMethod()) + .addMethod(getUpdateDataTaxonomyMethod()) + .addMethod(getDeleteDataTaxonomyMethod()) + .addMethod(getListDataTaxonomiesMethod()) + .addMethod(getGetDataTaxonomyMethod()) + .addMethod(getCreateDataAttributeBindingMethod()) + .addMethod(getUpdateDataAttributeBindingMethod()) + .addMethod(getDeleteDataAttributeBindingMethod()) + .addMethod(getListDataAttributeBindingsMethod()) + .addMethod(getGetDataAttributeBindingMethod()) + .addMethod(getCreateDataAttributeMethod()) + .addMethod(getUpdateDataAttributeMethod()) + .addMethod(getDeleteDataAttributeMethod()) + .addMethod(getListDataAttributesMethod()) + .addMethod(getGetDataAttributeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java new file mode 100644 index 000000000000..554dd60ad6a0 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java @@ -0,0 +1,3115 @@ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Dataplex service provides data lakes as a service. The primary resources
+ * offered by this service are Lakes, Zones and Assets which collectively allow
+ * a data administrator to organize, manage, secure and catalog data across
+ * their organization located across cloud projects in a variety of storage
+ * systems including Cloud Storage and BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataplexServiceGrpc { + + private DataplexServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataplexService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateLake", + requestType = com.google.cloud.dataplex.v1.CreateLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateLakeMethod() { + io.grpc.MethodDescriptor getCreateLakeMethod; + if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { + DataplexServiceGrpc.getCreateLakeMethod = getCreateLakeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateLakeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateLake")) + .build(); + } + } + } + return getCreateLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateLake", + requestType = com.google.cloud.dataplex.v1.UpdateLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateLakeMethod() { + io.grpc.MethodDescriptor getUpdateLakeMethod; + if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { + DataplexServiceGrpc.getUpdateLakeMethod = getUpdateLakeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateLakeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateLake")) + .build(); + } + } + } + return getUpdateLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteLake", + requestType = com.google.cloud.dataplex.v1.DeleteLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteLakeMethod() { + io.grpc.MethodDescriptor getDeleteLakeMethod; + if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { + DataplexServiceGrpc.getDeleteLakeMethod = getDeleteLakeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteLakeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteLake")) + .build(); + } + } + } + return getDeleteLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor getListLakesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLakes", + requestType = com.google.cloud.dataplex.v1.ListLakesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListLakesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListLakesMethod() { + io.grpc.MethodDescriptor getListLakesMethod; + if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { + DataplexServiceGrpc.getListLakesMethod = getListLakesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakes")) + .build(); + } + } + } + return getListLakesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetLake", + requestType = com.google.cloud.dataplex.v1.GetLakeRequest.class, + responseType = com.google.cloud.dataplex.v1.Lake.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetLakeMethod() { + io.grpc.MethodDescriptor getGetLakeMethod; + if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { + DataplexServiceGrpc.getGetLakeMethod = getGetLakeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetLakeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Lake.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetLake")) + .build(); + } + } + } + return getGetLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor getListLakeActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLakeActions", + requestType = com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListLakeActionsMethod() { + io.grpc.MethodDescriptor getListLakeActionsMethod; + if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { + DataplexServiceGrpc.getListLakeActionsMethod = getListLakeActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakeActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakeActions")) + .build(); + } + } + } + return getListLakeActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateZone", + requestType = com.google.cloud.dataplex.v1.CreateZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateZoneMethod() { + io.grpc.MethodDescriptor getCreateZoneMethod; + if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { + DataplexServiceGrpc.getCreateZoneMethod = getCreateZoneMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateZoneRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateZone")) + .build(); + } + } + } + return getCreateZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateZone", + requestType = com.google.cloud.dataplex.v1.UpdateZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateZoneMethod() { + io.grpc.MethodDescriptor getUpdateZoneMethod; + if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { + DataplexServiceGrpc.getUpdateZoneMethod = getUpdateZoneMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateZoneRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateZone")) + .build(); + } + } + } + return getUpdateZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteZone", + requestType = com.google.cloud.dataplex.v1.DeleteZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteZoneMethod() { + io.grpc.MethodDescriptor getDeleteZoneMethod; + if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { + DataplexServiceGrpc.getDeleteZoneMethod = getDeleteZoneMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteZoneRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteZone")) + .build(); + } + } + } + return getDeleteZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor getListZonesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListZones", + requestType = com.google.cloud.dataplex.v1.ListZonesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListZonesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListZonesMethod() { + io.grpc.MethodDescriptor getListZonesMethod; + if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { + DataplexServiceGrpc.getListZonesMethod = getListZonesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZonesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZonesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZones")) + .build(); + } + } + } + return getListZonesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetZone", + requestType = com.google.cloud.dataplex.v1.GetZoneRequest.class, + responseType = com.google.cloud.dataplex.v1.Zone.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetZoneMethod() { + io.grpc.MethodDescriptor getGetZoneMethod; + if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { + DataplexServiceGrpc.getGetZoneMethod = getGetZoneMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetZoneRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Zone.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetZone")) + .build(); + } + } + } + return getGetZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor getListZoneActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListZoneActions", + requestType = com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListZoneActionsMethod() { + io.grpc.MethodDescriptor getListZoneActionsMethod; + if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { + DataplexServiceGrpc.getListZoneActionsMethod = getListZoneActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZoneActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZoneActions")) + .build(); + } + } + } + return getListZoneActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAsset", + requestType = com.google.cloud.dataplex.v1.CreateAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAssetMethod() { + io.grpc.MethodDescriptor getCreateAssetMethod; + if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { + DataplexServiceGrpc.getCreateAssetMethod = getCreateAssetMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateAsset")) + .build(); + } + } + } + return getCreateAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAsset", + requestType = com.google.cloud.dataplex.v1.UpdateAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAssetMethod() { + io.grpc.MethodDescriptor getUpdateAssetMethod; + if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { + DataplexServiceGrpc.getUpdateAssetMethod = getUpdateAssetMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateAsset")) + .build(); + } + } + } + return getUpdateAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAsset", + requestType = com.google.cloud.dataplex.v1.DeleteAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAssetMethod() { + io.grpc.MethodDescriptor getDeleteAssetMethod; + if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { + DataplexServiceGrpc.getDeleteAssetMethod = getDeleteAssetMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteAsset")) + .build(); + } + } + } + return getDeleteAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssets", + requestType = com.google.cloud.dataplex.v1.ListAssetsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAssetsMethod() { + io.grpc.MethodDescriptor getListAssetsMethod; + if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { + DataplexServiceGrpc.getListAssetsMethod = getListAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListAssets")) + .build(); + } + } + } + return getListAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAsset", + requestType = com.google.cloud.dataplex.v1.GetAssetRequest.class, + responseType = com.google.cloud.dataplex.v1.Asset.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAssetMethod() { + io.grpc.MethodDescriptor getGetAssetMethod; + if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { + DataplexServiceGrpc.getGetAssetMethod = getGetAssetMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetAssetRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Asset.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetAsset")) + .build(); + } + } + } + return getGetAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAssetActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssetActions", + requestType = com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAssetActionsMethod() { + io.grpc.MethodDescriptor getListAssetActionsMethod; + if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { + DataplexServiceGrpc.getListAssetActionsMethod = getListAssetActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssetActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListAssetActions")) + .build(); + } + } + } + return getListAssetActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTask", + requestType = com.google.cloud.dataplex.v1.CreateTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTaskMethod() { + io.grpc.MethodDescriptor getCreateTaskMethod; + if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { + DataplexServiceGrpc.getCreateTaskMethod = getCreateTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateTask")) + .build(); + } + } + } + return getCreateTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTask", + requestType = com.google.cloud.dataplex.v1.UpdateTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTaskMethod() { + io.grpc.MethodDescriptor getUpdateTaskMethod; + if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { + DataplexServiceGrpc.getUpdateTaskMethod = getUpdateTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateTask")) + .build(); + } + } + } + return getUpdateTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTask", + requestType = com.google.cloud.dataplex.v1.DeleteTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTaskMethod() { + io.grpc.MethodDescriptor getDeleteTaskMethod; + if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { + DataplexServiceGrpc.getDeleteTaskMethod = getDeleteTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteTask")) + .build(); + } + } + } + return getDeleteTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTasks", + requestType = com.google.cloud.dataplex.v1.ListTasksRequest.class, + responseType = com.google.cloud.dataplex.v1.ListTasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTasksMethod() { + io.grpc.MethodDescriptor getListTasksMethod; + if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { + DataplexServiceGrpc.getListTasksMethod = getListTasksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListTasksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListTasksResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListTasks")) + .build(); + } + } + } + return getListTasksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTask", + requestType = com.google.cloud.dataplex.v1.GetTaskRequest.class, + responseType = com.google.cloud.dataplex.v1.Task.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTaskMethod() { + io.grpc.MethodDescriptor getGetTaskMethod; + if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { + DataplexServiceGrpc.getGetTaskMethod = getGetTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Task.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetTask")) + .build(); + } + } + } + return getGetTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.dataplex.v1.ListJobsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; + if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { + DataplexServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunTask", + requestType = com.google.cloud.dataplex.v1.RunTaskRequest.class, + responseType = com.google.cloud.dataplex.v1.RunTaskResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunTaskMethod() { + io.grpc.MethodDescriptor getRunTaskMethod; + if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { + DataplexServiceGrpc.getRunTaskMethod = getRunTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunTaskResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("RunTask")) + .build(); + } + } + } + return getRunTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.dataplex.v1.GetJobRequest.class, + responseType = com.google.cloud.dataplex.v1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; + if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { + DataplexServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Job.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelJob", + requestType = com.google.cloud.dataplex.v1.CancelJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelJobMethod() { + io.grpc.MethodDescriptor getCancelJobMethod; + if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { + DataplexServiceGrpc.getCancelJobMethod = getCancelJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CancelJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CancelJob")) + .build(); + } + } + } + return getCancelJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { + DataplexServiceGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { + DataplexServiceGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { + DataplexServiceGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { + io.grpc.MethodDescriptor getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { + DataplexServiceGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, + responseType = com.google.cloud.dataplex.v1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { + io.grpc.MethodDescriptor getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { + DataplexServiceGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Environment.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSessionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSessions", + requestType = com.google.cloud.dataplex.v1.ListSessionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListSessionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSessionsMethod() { + io.grpc.MethodDescriptor getListSessionsMethod; + if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { + DataplexServiceGrpc.getListSessionsMethod = getListSessionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListSessions")) + .build(); + } + } + } + return getListSessionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataplexServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceStub(channel, callOptions); + } + }; + return DataplexServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataplexServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceBlockingStub(channel, callOptions); + } + }; + return DataplexServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataplexServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceFutureStub(channel, callOptions); + } + }; + return DataplexServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a lake resource.
+     * 
+ */ + default void createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateLakeMethod(), responseObserver); + } + + /** + *
+     * Updates a lake resource.
+     * 
+ */ + default void updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateLakeMethod(), responseObserver); + } + + /** + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + default void deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLakeMethod(), responseObserver); + } + + /** + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + default void listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakesMethod(), responseObserver); + } + + /** + *
+     * Retrieves a lake resource.
+     * 
+ */ + default void getLake(com.google.cloud.dataplex.v1.GetLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLakeMethod(), responseObserver); + } + + /** + *
+     * Lists action resources in a lake.
+     * 
+ */ + default void listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakeActionsMethod(), responseObserver); + } + + /** + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + default void createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateZoneMethod(), responseObserver); + } + + /** + *
+     * Updates a zone resource.
+     * 
+ */ + default void updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateZoneMethod(), responseObserver); + } + + /** + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + default void deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteZoneMethod(), responseObserver); + } + + /** + *
+     * Lists zone resources in a lake.
+     * 
+ */ + default void listZones(com.google.cloud.dataplex.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); + } + + /** + *
+     * Retrieves a zone resource.
+     * 
+ */ + default void getZone(com.google.cloud.dataplex.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); + } + + /** + *
+     * Lists action resources in a zone.
+     * 
+ */ + default void listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZoneActionsMethod(), responseObserver); + } + + /** + *
+     * Creates an asset resource.
+     * 
+ */ + default void createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAssetMethod(), responseObserver); + } + + /** + *
+     * Updates an asset resource.
+     * 
+ */ + default void updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAssetMethod(), responseObserver); + } + + /** + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + default void deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAssetMethod(), responseObserver); + } + + /** + *
+     * Lists asset resources in a zone.
+     * 
+ */ + default void listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); + } + + /** + *
+     * Retrieves an asset resource.
+     * 
+ */ + default void getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAssetMethod(), responseObserver); + } + + /** + *
+     * Lists action resources in an asset.
+     * 
+ */ + default void listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetActionsMethod(), responseObserver); + } + + /** + *
+     * Creates a task resource within a lake.
+     * 
+ */ + default void createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); + } + + /** + *
+     * Update the task resource.
+     * 
+ */ + default void updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaskMethod(), responseObserver); + } + + /** + *
+     * Delete the task resource.
+     * 
+ */ + default void deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); + } + + /** + *
+     * Lists tasks under the given lake.
+     * 
+ */ + default void listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); + } + + /** + *
+     * Get task resource.
+     * 
+ */ + default void getTask(com.google.cloud.dataplex.v1.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); + } + + /** + *
+     * Lists Jobs under the given task.
+     * 
+ */ + default void listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + default void runTask(com.google.cloud.dataplex.v1.RunTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); + } + + /** + *
+     * Get job resource.
+     * 
+ */ + default void getJob(com.google.cloud.dataplex.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + default void cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); + } + + /** + *
+     * Create an environment resource.
+     * 
+ */ + default void createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); + } + + /** + *
+     * Update the environment resource.
+     * 
+ */ + default void updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); + } + + /** + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + default void deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); + } + + /** + *
+     * Lists environments under the given lake.
+     * 
+ */ + default void listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); + } + + /** + *
+     * Get environment resource.
+     * 
+ */ + default void getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); + } + + /** + *
+     * Lists session resources in an environment.
+     * 
+ */ + default void listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSessionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataplexService. + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static abstract class DataplexServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataplexServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataplexService. + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataplexServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a lake resource.
+     * 
+ */ + public void createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a lake resource.
+     * 
+ */ + public void updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public void deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public void listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLakesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a lake resource.
+     * 
+ */ + public void getLake(com.google.cloud.dataplex.v1.GetLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists action resources in a lake.
+     * 
+ */ + public void listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public void createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a zone resource.
+     * 
+ */ + public void updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public void deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public void listZones(com.google.cloud.dataplex.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a zone resource.
+     * 
+ */ + public void getZone(com.google.cloud.dataplex.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists action resources in a zone.
+     * 
+ */ + public void listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an asset resource.
+     * 
+ */ + public void createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an asset resource.
+     * 
+ */ + public void updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public void deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public void listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves an asset resource.
+     * 
+ */ + public void getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAssetMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists action resources in an asset.
+     * 
+ */ + public void listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public void createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update the task resource.
+     * 
+ */ + public void updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete the task resource.
+     * 
+ */ + public void deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public void listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get task resource.
+     * 
+ */ + public void getTask(com.google.cloud.dataplex.v1.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public void listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public void runTask(com.google.cloud.dataplex.v1.RunTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get job resource.
+     * 
+ */ + public void getJob(com.google.cloud.dataplex.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public void cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create an environment resource.
+     * 
+ */ + public void createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update the environment resource.
+     * 
+ */ + public void updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public void deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists environments under the given lake.
+     * 
+ */ + public void listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get environment resource.
+     * 
+ */ + public void getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists session resources in an environment.
+     * 
+ */ + public void listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSessionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataplexService. + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataplexServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a lake resource.
+     * 
+ */ + public com.google.longrunning.Operation createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateLakeMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a lake resource.
+     * 
+ */ + public com.google.longrunning.Operation updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateLakeMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteLakeMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListLakesResponse listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLakesMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a lake resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Lake getLake(com.google.cloud.dataplex.v1.GetLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetLakeMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists action resources in a lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLakeActionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public com.google.longrunning.Operation createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateZoneMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a zone resource.
+     * 
+ */ + public com.google.longrunning.Operation updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateZoneMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteZoneMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListZonesResponse listZones(com.google.cloud.dataplex.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListZonesMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a zone resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Zone getZone(com.google.cloud.dataplex.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetZoneMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists action resources in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListZoneActionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an asset resource.
+     * 
+ */ + public com.google.longrunning.Operation createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAssetMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an asset resource.
+     * 
+ */ + public com.google.longrunning.Operation updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAssetMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public com.google.longrunning.Operation deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAssetMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListAssetsResponse listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves an asset resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Asset getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAssetMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists action resources in an asset.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetActionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public com.google.longrunning.Operation createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Update the task resource.
+     * 
+ */ + public com.google.longrunning.Operation updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete the task resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListTasksResponse listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTasksMethod(), getCallOptions(), request); + } + + /** + *
+     * Get task resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Task getTask(com.google.cloud.dataplex.v1.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListJobsResponse listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public com.google.cloud.dataplex.v1.RunTaskResponse runTask(com.google.cloud.dataplex.v1.RunTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Get job resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Job getJob(com.google.cloud.dataplex.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public com.google.protobuf.Empty cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Create an environment resource.
+     * 
+ */ + public com.google.longrunning.Operation createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Update the environment resource.
+     * 
+ */ + public com.google.longrunning.Operation updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists environments under the given lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListEnvironmentsResponse listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Get environment resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Environment getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists session resources in an environment.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListSessionsResponse listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSessionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataplexService. + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataplexServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createLake( + com.google.cloud.dataplex.v1.CreateLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateLake( + com.google.cloud.dataplex.v1.UpdateLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteLake( + com.google.cloud.dataplex.v1.DeleteLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listLakes( + com.google.cloud.dataplex.v1.ListLakesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLakesMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getLake( + com.google.cloud.dataplex.v1.GetLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetLakeMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists action resources in a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listLakeActions( + com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createZone( + com.google.cloud.dataplex.v1.CreateZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a zone resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateZone( + com.google.cloud.dataplex.v1.UpdateZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteZone( + com.google.cloud.dataplex.v1.DeleteZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listZones( + com.google.cloud.dataplex.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a zone resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getZone( + com.google.cloud.dataplex.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists action resources in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listZoneActions( + com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAsset( + com.google.cloud.dataplex.v1.CreateAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAsset( + com.google.cloud.dataplex.v1.UpdateAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAsset( + com.google.cloud.dataplex.v1.DeleteAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAssets( + com.google.cloud.dataplex.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAsset( + com.google.cloud.dataplex.v1.GetAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAssetMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists action resources in an asset.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAssetActions( + com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.dataplex.v1.CreateTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Update the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTask( + com.google.cloud.dataplex.v1.UpdateTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTask( + com.google.cloud.dataplex.v1.DeleteTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.dataplex.v1.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request); + } + + /** + *
+     * Get task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.dataplex.v1.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.dataplex.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runTask( + com.google.cloud.dataplex.v1.RunTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Get job resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.dataplex.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelJob( + com.google.cloud.dataplex.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Create an environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEnvironment( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Update the environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateEnvironment( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists environments under the given lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEnvironments( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Get environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEnvironment( + com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists session resources in an environment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSessions( + com.google.cloud.dataplex.v1.ListSessionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_LAKE = 0; + private static final int METHODID_UPDATE_LAKE = 1; + private static final int METHODID_DELETE_LAKE = 2; + private static final int METHODID_LIST_LAKES = 3; + private static final int METHODID_GET_LAKE = 4; + private static final int METHODID_LIST_LAKE_ACTIONS = 5; + private static final int METHODID_CREATE_ZONE = 6; + private static final int METHODID_UPDATE_ZONE = 7; + private static final int METHODID_DELETE_ZONE = 8; + private static final int METHODID_LIST_ZONES = 9; + private static final int METHODID_GET_ZONE = 10; + private static final int METHODID_LIST_ZONE_ACTIONS = 11; + private static final int METHODID_CREATE_ASSET = 12; + private static final int METHODID_UPDATE_ASSET = 13; + private static final int METHODID_DELETE_ASSET = 14; + private static final int METHODID_LIST_ASSETS = 15; + private static final int METHODID_GET_ASSET = 16; + private static final int METHODID_LIST_ASSET_ACTIONS = 17; + private static final int METHODID_CREATE_TASK = 18; + private static final int METHODID_UPDATE_TASK = 19; + private static final int METHODID_DELETE_TASK = 20; + private static final int METHODID_LIST_TASKS = 21; + private static final int METHODID_GET_TASK = 22; + private static final int METHODID_LIST_JOBS = 23; + private static final int METHODID_RUN_TASK = 24; + private static final int METHODID_GET_JOB = 25; + private static final int METHODID_CANCEL_JOB = 26; + private static final int METHODID_CREATE_ENVIRONMENT = 27; + private static final int METHODID_UPDATE_ENVIRONMENT = 28; + private static final int METHODID_DELETE_ENVIRONMENT = 29; + private static final int METHODID_LIST_ENVIRONMENTS = 30; + private static final int METHODID_GET_ENVIRONMENT = 31; + private static final int METHODID_LIST_SESSIONS = 32; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_LAKE: + serviceImpl.createLake((com.google.cloud.dataplex.v1.CreateLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_LAKE: + serviceImpl.updateLake((com.google.cloud.dataplex.v1.UpdateLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_LAKE: + serviceImpl.deleteLake((com.google.cloud.dataplex.v1.DeleteLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_LAKES: + serviceImpl.listLakes((com.google.cloud.dataplex.v1.ListLakesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_LAKE: + serviceImpl.getLake((com.google.cloud.dataplex.v1.GetLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_LAKE_ACTIONS: + serviceImpl.listLakeActions((com.google.cloud.dataplex.v1.ListLakeActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ZONE: + serviceImpl.createZone((com.google.cloud.dataplex.v1.CreateZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ZONE: + serviceImpl.updateZone((com.google.cloud.dataplex.v1.UpdateZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ZONE: + serviceImpl.deleteZone((com.google.cloud.dataplex.v1.DeleteZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ZONES: + serviceImpl.listZones((com.google.cloud.dataplex.v1.ListZonesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ZONE: + serviceImpl.getZone((com.google.cloud.dataplex.v1.GetZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ZONE_ACTIONS: + serviceImpl.listZoneActions((com.google.cloud.dataplex.v1.ListZoneActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ASSET: + serviceImpl.createAsset((com.google.cloud.dataplex.v1.CreateAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ASSET: + serviceImpl.updateAsset((com.google.cloud.dataplex.v1.UpdateAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ASSET: + serviceImpl.deleteAsset((com.google.cloud.dataplex.v1.DeleteAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSETS: + serviceImpl.listAssets((com.google.cloud.dataplex.v1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ASSET: + serviceImpl.getAsset((com.google.cloud.dataplex.v1.GetAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSET_ACTIONS: + serviceImpl.listAssetActions((com.google.cloud.dataplex.v1.ListAssetActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TASK: + serviceImpl.createTask((com.google.cloud.dataplex.v1.CreateTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TASK: + serviceImpl.updateTask((com.google.cloud.dataplex.v1.UpdateTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TASK: + serviceImpl.deleteTask((com.google.cloud.dataplex.v1.DeleteTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TASKS: + serviceImpl.listTasks((com.google.cloud.dataplex.v1.ListTasksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TASK: + serviceImpl.getTask((com.google.cloud.dataplex.v1.GetTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs((com.google.cloud.dataplex.v1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_TASK: + serviceImpl.runTask((com.google.cloud.dataplex.v1.RunTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob((com.google.cloud.dataplex.v1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_JOB: + serviceImpl.cancelJob((com.google.cloud.dataplex.v1.CancelJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment((com.google.cloud.dataplex.v1.CreateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments((com.google.cloud.dataplex.v1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment((com.google.cloud.dataplex.v1.GetEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SESSIONS: + serviceImpl.listSessions((com.google.cloud.dataplex.v1.ListSessionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateLakeRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_LAKE))) + .addMethod( + getUpdateLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateLakeRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_LAKE))) + .addMethod( + getDeleteLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteLakeRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_LAKE))) + .addMethod( + getListLakesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListLakesRequest, + com.google.cloud.dataplex.v1.ListLakesResponse>( + service, METHODID_LIST_LAKES))) + .addMethod( + getGetLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetLakeRequest, + com.google.cloud.dataplex.v1.Lake>( + service, METHODID_GET_LAKE))) + .addMethod( + getListLakeActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListLakeActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_LAKE_ACTIONS))) + .addMethod( + getCreateZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateZoneRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_ZONE))) + .addMethod( + getUpdateZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateZoneRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_ZONE))) + .addMethod( + getDeleteZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteZoneRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_ZONE))) + .addMethod( + getListZonesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListZonesRequest, + com.google.cloud.dataplex.v1.ListZonesResponse>( + service, METHODID_LIST_ZONES))) + .addMethod( + getGetZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetZoneRequest, + com.google.cloud.dataplex.v1.Zone>( + service, METHODID_GET_ZONE))) + .addMethod( + getListZoneActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListZoneActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_ZONE_ACTIONS))) + .addMethod( + getCreateAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateAssetRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_ASSET))) + .addMethod( + getUpdateAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateAssetRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_ASSET))) + .addMethod( + getDeleteAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteAssetRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_ASSET))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListAssetsRequest, + com.google.cloud.dataplex.v1.ListAssetsResponse>( + service, METHODID_LIST_ASSETS))) + .addMethod( + getGetAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetAssetRequest, + com.google.cloud.dataplex.v1.Asset>( + service, METHODID_GET_ASSET))) + .addMethod( + getListAssetActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListAssetActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_ASSET_ACTIONS))) + .addMethod( + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateTaskRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_TASK))) + .addMethod( + getUpdateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateTaskRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_TASK))) + .addMethod( + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteTaskRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_TASK))) + .addMethod( + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListTasksRequest, + com.google.cloud.dataplex.v1.ListTasksResponse>( + service, METHODID_LIST_TASKS))) + .addMethod( + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetTaskRequest, + com.google.cloud.dataplex.v1.Task>( + service, METHODID_GET_TASK))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListJobsRequest, + com.google.cloud.dataplex.v1.ListJobsResponse>( + service, METHODID_LIST_JOBS))) + .addMethod( + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.RunTaskRequest, + com.google.cloud.dataplex.v1.RunTaskResponse>( + service, METHODID_RUN_TASK))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetJobRequest, + com.google.cloud.dataplex.v1.Job>( + service, METHODID_GET_JOB))) + .addMethod( + getCancelJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CancelJobRequest, + com.google.protobuf.Empty>( + service, METHODID_CANCEL_JOB))) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListEnvironmentsRequest, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse>( + service, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetEnvironmentRequest, + com.google.cloud.dataplex.v1.Environment>( + service, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListSessionsRequest, + com.google.cloud.dataplex.v1.ListSessionsResponse>( + service, METHODID_LIST_SESSIONS))) + .build(); + } + + private static abstract class DataplexServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataplexServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataplexService"); + } + } + + private static final class DataplexServiceFileDescriptorSupplier + extends DataplexServiceBaseDescriptorSupplier { + DataplexServiceFileDescriptorSupplier() {} + } + + private static final class DataplexServiceMethodDescriptorSupplier + extends DataplexServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataplexServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataplexServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataplexServiceFileDescriptorSupplier()) + .addMethod(getCreateLakeMethod()) + .addMethod(getUpdateLakeMethod()) + .addMethod(getDeleteLakeMethod()) + .addMethod(getListLakesMethod()) + .addMethod(getGetLakeMethod()) + .addMethod(getListLakeActionsMethod()) + .addMethod(getCreateZoneMethod()) + .addMethod(getUpdateZoneMethod()) + .addMethod(getDeleteZoneMethod()) + .addMethod(getListZonesMethod()) + .addMethod(getGetZoneMethod()) + .addMethod(getListZoneActionsMethod()) + .addMethod(getCreateAssetMethod()) + .addMethod(getUpdateAssetMethod()) + .addMethod(getDeleteAssetMethod()) + .addMethod(getListAssetsMethod()) + .addMethod(getGetAssetMethod()) + .addMethod(getListAssetActionsMethod()) + .addMethod(getCreateTaskMethod()) + .addMethod(getUpdateTaskMethod()) + .addMethod(getDeleteTaskMethod()) + .addMethod(getListTasksMethod()) + .addMethod(getGetTaskMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getRunTaskMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCancelJobMethod()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListSessionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java new file mode 100644 index 000000000000..4f2a59a629d3 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java @@ -0,0 +1,1017 @@ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Metadata service manages metadata resources such as tables, filesets and
+ * partitions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/metadata.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MetadataServiceGrpc { + + private MetadataServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.MetadataService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntity", + requestType = com.google.cloud.dataplex.v1.CreateEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEntityMethod() { + io.grpc.MethodDescriptor getCreateEntityMethod; + if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { + MetadataServiceGrpc.getCreateEntityMethod = getCreateEntityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("CreateEntity")) + .build(); + } + } + } + return getCreateEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntity", + requestType = com.google.cloud.dataplex.v1.UpdateEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEntityMethod() { + io.grpc.MethodDescriptor getUpdateEntityMethod; + if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { + MetadataServiceGrpc.getUpdateEntityMethod = getUpdateEntityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("UpdateEntity")) + .build(); + } + } + } + return getUpdateEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntity", + requestType = com.google.cloud.dataplex.v1.DeleteEntityRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEntityMethod() { + io.grpc.MethodDescriptor getDeleteEntityMethod; + if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { + MetadataServiceGrpc.getDeleteEntityMethod = getDeleteEntityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("DeleteEntity")) + .build(); + } + } + } + return getDeleteEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntity", + requestType = com.google.cloud.dataplex.v1.GetEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEntityMethod() { + io.grpc.MethodDescriptor getGetEntityMethod; + if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { + MetadataServiceGrpc.getGetEntityMethod = getGetEntityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetEntityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetEntity")) + .build(); + } + } + } + return getGetEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEntitiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntities", + requestType = com.google.cloud.dataplex.v1.ListEntitiesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListEntitiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEntitiesMethod() { + io.grpc.MethodDescriptor getListEntitiesMethod; + if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { + MetadataServiceGrpc.getListEntitiesMethod = getListEntitiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntities")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("ListEntities")) + .build(); + } + } + } + return getListEntitiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePartition", + requestType = com.google.cloud.dataplex.v1.CreatePartitionRequest.class, + responseType = com.google.cloud.dataplex.v1.Partition.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePartitionMethod() { + io.grpc.MethodDescriptor getCreatePartitionMethod; + if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { + MetadataServiceGrpc.getCreatePartitionMethod = getCreatePartitionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("CreatePartition")) + .build(); + } + } + } + return getCreatePartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePartition", + requestType = com.google.cloud.dataplex.v1.DeletePartitionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePartitionMethod() { + io.grpc.MethodDescriptor getDeletePartitionMethod; + if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { + MetadataServiceGrpc.getDeletePartitionMethod = getDeletePartitionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("DeletePartition")) + .build(); + } + } + } + return getDeletePartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPartition", + requestType = com.google.cloud.dataplex.v1.GetPartitionRequest.class, + responseType = com.google.cloud.dataplex.v1.Partition.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPartitionMethod() { + io.grpc.MethodDescriptor getGetPartitionMethod; + if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { + MetadataServiceGrpc.getGetPartitionMethod = getGetPartitionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetPartition")) + .build(); + } + } + } + return getGetPartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPartitions", + requestType = com.google.cloud.dataplex.v1.ListPartitionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPartitionsMethod() { + io.grpc.MethodDescriptor getListPartitionsMethod; + if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { + MetadataServiceGrpc.getListPartitionsMethod = getListPartitionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("ListPartitions")) + .build(); + } + } + } + return getListPartitionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static MetadataServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceStub(channel, callOptions); + } + }; + return MetadataServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MetadataServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceBlockingStub(channel, callOptions); + } + }; + return MetadataServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static MetadataServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceFutureStub(channel, callOptions); + } + }; + return MetadataServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Create a metadata entity.
+     * 
+ */ + default void createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntityMethod(), responseObserver); + } + + /** + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + default void updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntityMethod(), responseObserver); + } + + /** + *
+     * Delete a metadata entity.
+     * 
+ */ + default void deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntityMethod(), responseObserver); + } + + /** + *
+     * Get a metadata entity.
+     * 
+ */ + default void getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityMethod(), responseObserver); + } + + /** + *
+     * List metadata entities in a zone.
+     * 
+ */ + default void listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntitiesMethod(), responseObserver); + } + + /** + *
+     * Create a metadata partition.
+     * 
+ */ + default void createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePartitionMethod(), responseObserver); + } + + /** + *
+     * Delete a metadata partition.
+     * 
+ */ + default void deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePartitionMethod(), responseObserver); + } + + /** + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + default void getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPartitionMethod(), responseObserver); + } + + /** + *
+     * List metadata partitions of an entity.
+     * 
+ */ + default void listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPartitionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service MetadataService. + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static abstract class MetadataServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return MetadataServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service MetadataService. + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private MetadataServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceStub(channel, callOptions); + } + + /** + *
+     * Create a metadata entity.
+     * 
+ */ + public void createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public void updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete a metadata entity.
+     * 
+ */ + public void deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a metadata entity.
+     * 
+ */ + public void getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntityMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List metadata entities in a zone.
+     * 
+ */ + public void listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create a metadata partition.
+     * 
+ */ + public void createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete a metadata partition.
+     * 
+ */ + public void deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public void getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public void listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service MetadataService. + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private MetadataServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Create a metadata entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntityMethod(), getCallOptions(), request); + } + + /** + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntityMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete a metadata entity.
+     * 
+ */ + public com.google.protobuf.Empty deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntityMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a metadata entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntityMethod(), getCallOptions(), request); + } + + /** + *
+     * List metadata entities in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListEntitiesResponse listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntitiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Create a metadata partition.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Partition createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePartitionMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete a metadata partition.
+     * 
+ */ + public com.google.protobuf.Empty deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePartitionMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Partition getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPartitionMethod(), getCallOptions(), request); + } + + /** + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListPartitionsResponse listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPartitionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service MetadataService. + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private MetadataServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Create a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEntity( + com.google.cloud.dataplex.v1.CreateEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request); + } + + /** + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateEntity( + com.google.cloud.dataplex.v1.UpdateEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEntity( + com.google.cloud.dataplex.v1.DeleteEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEntity( + com.google.cloud.dataplex.v1.GetEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntityMethod(), getCallOptions()), request); + } + + /** + *
+     * List metadata entities in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEntities( + com.google.cloud.dataplex.v1.ListEntitiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Create a metadata partition.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPartition( + com.google.cloud.dataplex.v1.CreatePartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete a metadata partition.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePartition( + com.google.cloud.dataplex.v1.DeletePartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPartition( + com.google.cloud.dataplex.v1.GetPartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request); + } + + /** + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPartitions( + com.google.cloud.dataplex.v1.ListPartitionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENTITY = 0; + private static final int METHODID_UPDATE_ENTITY = 1; + private static final int METHODID_DELETE_ENTITY = 2; + private static final int METHODID_GET_ENTITY = 3; + private static final int METHODID_LIST_ENTITIES = 4; + private static final int METHODID_CREATE_PARTITION = 5; + private static final int METHODID_DELETE_PARTITION = 6; + private static final int METHODID_GET_PARTITION = 7; + private static final int METHODID_LIST_PARTITIONS = 8; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENTITY: + serviceImpl.createEntity((com.google.cloud.dataplex.v1.CreateEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENTITY: + serviceImpl.updateEntity((com.google.cloud.dataplex.v1.UpdateEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENTITY: + serviceImpl.deleteEntity((com.google.cloud.dataplex.v1.DeleteEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTITY: + serviceImpl.getEntity((com.google.cloud.dataplex.v1.GetEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTITIES: + serviceImpl.listEntities((com.google.cloud.dataplex.v1.ListEntitiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PARTITION: + serviceImpl.createPartition((com.google.cloud.dataplex.v1.CreatePartitionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PARTITION: + serviceImpl.deletePartition((com.google.cloud.dataplex.v1.DeletePartitionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PARTITION: + serviceImpl.getPartition((com.google.cloud.dataplex.v1.GetPartitionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PARTITIONS: + serviceImpl.listPartitions((com.google.cloud.dataplex.v1.ListPartitionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateEntityRequest, + com.google.cloud.dataplex.v1.Entity>( + service, METHODID_CREATE_ENTITY))) + .addMethod( + getUpdateEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateEntityRequest, + com.google.cloud.dataplex.v1.Entity>( + service, METHODID_UPDATE_ENTITY))) + .addMethod( + getDeleteEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteEntityRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ENTITY))) + .addMethod( + getGetEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetEntityRequest, + com.google.cloud.dataplex.v1.Entity>( + service, METHODID_GET_ENTITY))) + .addMethod( + getListEntitiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListEntitiesRequest, + com.google.cloud.dataplex.v1.ListEntitiesResponse>( + service, METHODID_LIST_ENTITIES))) + .addMethod( + getCreatePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreatePartitionRequest, + com.google.cloud.dataplex.v1.Partition>( + service, METHODID_CREATE_PARTITION))) + .addMethod( + getDeletePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeletePartitionRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_PARTITION))) + .addMethod( + getGetPartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetPartitionRequest, + com.google.cloud.dataplex.v1.Partition>( + service, METHODID_GET_PARTITION))) + .addMethod( + getListPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListPartitionsRequest, + com.google.cloud.dataplex.v1.ListPartitionsResponse>( + service, METHODID_LIST_PARTITIONS))) + .build(); + } + + private static abstract class MetadataServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MetadataServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MetadataService"); + } + } + + private static final class MetadataServiceFileDescriptorSupplier + extends MetadataServiceBaseDescriptorSupplier { + MetadataServiceFileDescriptorSupplier() {} + } + + private static final class MetadataServiceMethodDescriptorSupplier + extends MetadataServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + MetadataServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MetadataServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MetadataServiceFileDescriptorSupplier()) + .addMethod(getCreateEntityMethod()) + .addMethod(getUpdateEntityMethod()) + .addMethod(getDeleteEntityMethod()) + .addMethod(getGetEntityMethod()) + .addMethod(getListEntitiesMethod()) + .addMethod(getCreatePartitionMethod()) + .addMethod(getDeletePartitionMethod()) + .addMethod(getGetPartitionMethod()) + .addMethod(getListPartitionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java index e3d94b5ba668..cdfcdea2056d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Action represents an issue requiring administrator action for resolution.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.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() { category_ = 0; issue_ = ""; @@ -44,43 +26,40 @@ private Action() { lake_ = ""; zone_ = ""; asset_ = ""; - dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Action(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.class, - com.google.cloud.dataplex.v1.Action.Builder.class); + com.google.cloud.dataplex.v1.Action.class, com.google.cloud.dataplex.v1.Action.Builder.class); } /** - * - * *
    * The category of issues.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.Category} */ - public enum Category implements com.google.protobuf.ProtocolMessageEnum { + public enum Category + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified category.
      * 
@@ -89,8 +68,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ CATEGORY_UNSPECIFIED(0), /** - * - * *
      * Resource management related issues.
      * 
@@ -99,8 +76,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE_MANAGEMENT(1), /** - * - * *
      * Security policy related issues.
      * 
@@ -109,8 +84,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ SECURITY_POLICY(2), /** - * - * *
      * Data and discovery related issues.
      * 
@@ -122,8 +95,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified category.
      * 
@@ -132,8 +103,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Resource management related issues.
      * 
@@ -142,8 +111,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_MANAGEMENT_VALUE = 1; /** - * - * *
      * Security policy related issues.
      * 
@@ -152,8 +119,6 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECURITY_POLICY_VALUE = 2; /** - * - * *
      * Data and discovery related issues.
      * 
@@ -162,6 +127,7 @@ public enum Category implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_DISCOVERY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,51 +152,50 @@ public static Category valueOf(int value) { */ public static Category forNumber(int value) { switch (value) { - case 0: - return CATEGORY_UNSPECIFIED; - case 1: - return RESOURCE_MANAGEMENT; - case 2: - return SECURITY_POLICY; - case 3: - return DATA_DISCOVERY; - default: - return null; + case 0: return CATEGORY_UNSPECIFIED; + case 1: return RESOURCE_MANAGEMENT; + case 2: return SECURITY_POLICY; + case 3: return DATA_DISCOVERY; + 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< + Category> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Category findValueByNumber(int number) { + return Category.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Category findValueByNumber(int number) { - return Category.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Action.getDescriptor().getEnumTypes().get(0); } private static final Category[] VALUES = values(); - public static Category valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Category 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; @@ -247,54 +212,50 @@ private Category(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Action.Category) } - public interface MissingResourceOrBuilder - extends + public interface MissingResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingResource) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Action details for resource references in assets that cannot be located.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource} */ - public static final class MissingResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MissingResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingResource) MissingResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MissingResource.newBuilder() to construct. private MissingResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MissingResource() {} + private MissingResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MissingResource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingResource.class, - com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingResource.class, com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -324,13 +286,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingResource)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.MissingResource other = - (com.google.cloud.dataplex.v1.Action.MissingResource) obj; + com.google.cloud.dataplex.v1.Action.MissingResource other = (com.google.cloud.dataplex.v1.Action.MissingResource) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -349,94 +310,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.MissingResource prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.MissingResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -446,41 +402,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for resource references in assets that cannot be located.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingResource) com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingResource.class, - com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingResource.class, com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override @@ -509,8 +463,7 @@ public com.google.cloud.dataplex.v1.Action.MissingResource build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingResource buildPartial() { - com.google.cloud.dataplex.v1.Action.MissingResource result = - new com.google.cloud.dataplex.v1.Action.MissingResource(this); + com.google.cloud.dataplex.v1.Action.MissingResource result = new com.google.cloud.dataplex.v1.Action.MissingResource(this); onBuilt(); return result; } @@ -519,41 +472,38 @@ public com.google.cloud.dataplex.v1.Action.MissingResource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.MissingResource) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingResource) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingResource)other); } else { super.mergeFrom(other); return this; @@ -561,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingResource other) { - if (other == com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -589,13 +538,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,7 +553,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -618,12 +565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingResource) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingResource) private static final com.google.cloud.dataplex.v1.Action.MissingResource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingResource(); } @@ -632,28 +579,27 @@ public static com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MissingResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MissingResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,15 +614,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnauthorizedResourceOrBuilder - extends + public interface UnauthorizedResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.UnauthorizedResource) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Action details for unauthorized resource issues raised to indicate that the
    * service account associated with the lake instance is not authorized to
@@ -685,41 +630,39 @@ public interface UnauthorizedResourceOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
    */
-  public static final class UnauthorizedResource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UnauthorizedResource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
       UnauthorizedResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UnauthorizedResource.newBuilder() to construct.
     private UnauthorizedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private UnauthorizedResource() {}
+    private UnauthorizedResource() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UnauthorizedResource();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
-              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
+              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -731,7 +674,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       getUnknownFields().writeTo(output);
     }
 
@@ -749,13 +693,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.Action.UnauthorizedResource other =
-          (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) obj;
+      com.google.cloud.dataplex.v1.Action.UnauthorizedResource other = (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) obj;
 
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -774,94 +717,89 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataplex.v1.Action.UnauthorizedResource prototype) {
+    public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.UnauthorizedResource prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -871,8 +809,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Action details for unauthorized resource issues raised to indicate that the
      * service account associated with the lake instance is not authorized to
@@ -881,33 +817,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
         com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
-                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
+                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -915,9 +851,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
       }
 
       @java.lang.Override
@@ -936,8 +872,7 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Action.UnauthorizedResource buildPartial() {
-        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result =
-            new com.google.cloud.dataplex.v1.Action.UnauthorizedResource(this);
+        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result = new com.google.cloud.dataplex.v1.Action.UnauthorizedResource(this);
         onBuilt();
         return result;
       }
@@ -946,41 +881,38 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Action.UnauthorizedResource) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Action.UnauthorizedResource)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -988,8 +920,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.UnauthorizedResource other) {
-        if (other == com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -1016,13 +947,12 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1032,7 +962,6 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1045,12 +974,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
     private static final com.google.cloud.dataplex.v1.Action.UnauthorizedResource DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.UnauthorizedResource();
     }
@@ -1059,28 +988,27 @@ public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public UnauthorizedResource parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public UnauthorizedResource parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1095,43 +1023,36 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface FailedSecurityPolicyApplyOrBuilder
-      extends
+  public interface FailedSecurityPolicyApplyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; - * * @return The asset. */ java.lang.String getAsset(); /** - * - * *
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; - * * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); } /** - * - * *
    * Failed to apply security policy to the managed resource(s) under a
    * lake, zone or an asset. For a lake or zone resource, one or more underlying
@@ -1141,55 +1062,49 @@ public interface FailedSecurityPolicyApplyOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
    */
-  public static final class FailedSecurityPolicyApply extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class FailedSecurityPolicyApply extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
       FailedSecurityPolicyApplyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use FailedSecurityPolicyApply.newBuilder() to construct.
     private FailedSecurityPolicyApply(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private FailedSecurityPolicyApply() {
       asset_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new FailedSecurityPolicyApply();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
-              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
+              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
     }
 
     public static final int ASSET_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object asset_ = "";
     /**
-     *
-     *
      * 
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; - * * @return The asset. */ @java.lang.Override @@ -1198,30 +1113,30 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; - * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -1230,7 +1145,6 @@ public com.google.protobuf.ByteString getAssetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1242,7 +1156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -1266,15 +1181,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other = - (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) obj; + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other = (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) obj; - if (!getAsset().equals(other.getAsset())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1294,94 +1209,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1391,8 +1301,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Failed to apply security policy to the managed resource(s) under a
      * lake, zone or an asset. For a lake or zone resource, one or more underlying
@@ -1402,33 +1310,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
         com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
-                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
+                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1438,14 +1346,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
-          getDefaultInstanceForType() {
+      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstanceForType() {
         return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
       }
 
@@ -1460,17 +1367,13 @@ public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply buildPartial() {
-        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result =
-            new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result = new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result) {
+      private void buildPartial0(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.asset_ = asset_;
@@ -1481,52 +1384,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other) {
-        if (other
-            == com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other) {
+        if (other == com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance()) return this;
         if (!other.getAsset().isEmpty()) {
           asset_ = other.asset_;
           bitField0_ |= 0x00000001;
@@ -1558,19 +1455,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  asset_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                asset_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1580,26 +1475,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object asset_ = "";
       /**
-       *
-       *
        * 
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; - * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -1608,22 +1500,21 @@ public java.lang.String getAsset() { } } /** - * - * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; - * * @return The bytes for asset. */ - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -1631,37 +1522,30 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; - * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; - * * @return This builder for chaining. */ public Builder clearAsset() { @@ -1671,29 +1555,24 @@ public Builder clearAsset() { return this; } /** - * - * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; - * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1706,44 +1585,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) - private static final com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailedSecurityPolicyApply parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailedSecurityPolicyApply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1755,213 +1631,180 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InvalidDataFormatOrBuilder - extends + public interface InvalidDataFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @return A list containing the sampledDataLocations. */ - java.util.List getSampledDataLocationsList(); + java.util.List + getSampledDataLocationsList(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index); /** - * - * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; - * * @return The expectedFormat. */ java.lang.String getExpectedFormat(); /** - * - * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; - * * @return The bytes for expectedFormat. */ - com.google.protobuf.ByteString getExpectedFormatBytes(); + com.google.protobuf.ByteString + getExpectedFormatBytes(); /** - * - * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; - * * @return The newFormat. */ java.lang.String getNewFormat(); /** - * - * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; - * * @return The bytes for newFormat. */ - com.google.protobuf.ByteString getNewFormatBytes(); + com.google.protobuf.ByteString + getNewFormatBytes(); } /** - * - * *
    * Action details for invalid or unsupported data files detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat} */ - public static final class InvalidDataFormat extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InvalidDataFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat) InvalidDataFormatOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataFormat.newBuilder() to construct. private InvalidDataFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InvalidDataFormat() { - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); expectedFormat_ = ""; newFormat_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InvalidDataFormat(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { return sampledDataLocations_; } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -1969,35 +1812,29 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } public static final int EXPECTED_FORMAT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object expectedFormat_ = ""; /** - * - * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; - * * @return The expectedFormat. */ @java.lang.Override @@ -2006,29 +1843,29 @@ public java.lang.String getExpectedFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expectedFormat_ = s; return s; } } /** - * - * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; - * * @return The bytes for expectedFormat. */ @java.lang.Override - public com.google.protobuf.ByteString getExpectedFormatBytes() { + public com.google.protobuf.ByteString + getExpectedFormatBytes() { java.lang.Object ref = expectedFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expectedFormat_ = b; return b; } else { @@ -2037,18 +1874,14 @@ public com.google.protobuf.ByteString getExpectedFormatBytes() { } public static final int NEW_FORMAT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object newFormat_ = ""; /** - * - * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; - * * @return The newFormat. */ @java.lang.Override @@ -2057,29 +1890,29 @@ public java.lang.String getNewFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newFormat_ = s; return s; } } /** - * - * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; - * * @return The bytes for newFormat. */ @java.lang.Override - public com.google.protobuf.ByteString getNewFormatBytes() { + public com.google.protobuf.ByteString + getNewFormatBytes() { java.lang.Object ref = newFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newFormat_ = b; return b; } else { @@ -2088,7 +1921,6 @@ public com.google.protobuf.ByteString getNewFormatBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2100,10 +1932,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 { for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sampledDataLocations_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, expectedFormat_); @@ -2142,17 +1974,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataFormat other = - (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataFormat other = (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) obj; - if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; - if (!getExpectedFormat().equals(other.getExpectedFormat())) return false; - if (!getNewFormat().equals(other.getNewFormat())) return false; + if (!getSampledDataLocationsList() + .equals(other.getSampledDataLocationsList())) return false; + if (!getExpectedFormat() + .equals(other.getExpectedFormat())) return false; + if (!getNewFormat() + .equals(other.getNewFormat())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2178,94 +2012,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2275,55 +2104,54 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for invalid or unsupported data files detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat) com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); expectedFormat_ = ""; newFormat_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override @@ -2342,11 +2170,8 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataFormat buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataFormat result = - new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Action.InvalidDataFormat result = new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2369,41 +2194,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataFormat public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataFormat) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataFormat)other); } else { super.mergeFrom(other); return this; @@ -2411,8 +2233,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataFormat other) { - if (other == com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) return this; if (!other.sampledDataLocations_.isEmpty()) { if (sampledDataLocations_.isEmpty()) { sampledDataLocations_ = other.sampledDataLocations_; @@ -2459,32 +2280,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 10 - case 18: - { - expectedFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - newFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 10 + case 18: { + expectedFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + newFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2494,60 +2311,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = - new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000001; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -2555,39 +2361,33 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSampledDataLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000001; @@ -2595,22 +2395,18 @@ public Builder setSampledDataLocations(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000001; @@ -2618,61 +2414,53 @@ public Builder addSampledDataLocations(java.lang.String value) { return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations(java.lang.Iterable values) { + public Builder addAllSampledDataLocations( + java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampledDataLocations_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; - * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -2683,20 +2471,18 @@ public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value private java.lang.Object expectedFormat_ = ""; /** - * - * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; - * * @return The expectedFormat. */ public java.lang.String getExpectedFormat() { java.lang.Object ref = expectedFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expectedFormat_ = s; return s; @@ -2705,21 +2491,20 @@ public java.lang.String getExpectedFormat() { } } /** - * - * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; - * * @return The bytes for expectedFormat. */ - public com.google.protobuf.ByteString getExpectedFormatBytes() { + public com.google.protobuf.ByteString + getExpectedFormatBytes() { java.lang.Object ref = expectedFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expectedFormat_ = b; return b; } else { @@ -2727,35 +2512,28 @@ public com.google.protobuf.ByteString getExpectedFormatBytes() { } } /** - * - * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; - * * @param value The expectedFormat to set. * @return This builder for chaining. */ - public Builder setExpectedFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExpectedFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } expectedFormat_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; - * * @return This builder for chaining. */ public Builder clearExpectedFormat() { @@ -2765,21 +2543,17 @@ public Builder clearExpectedFormat() { return this; } /** - * - * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; - * * @param value The bytes for expectedFormat to set. * @return This builder for chaining. */ - public Builder setExpectedFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExpectedFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); expectedFormat_ = value; bitField0_ |= 0x00000002; @@ -2789,20 +2563,18 @@ public Builder setExpectedFormatBytes(com.google.protobuf.ByteString value) { private java.lang.Object newFormat_ = ""; /** - * - * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; - * * @return The newFormat. */ public java.lang.String getNewFormat() { java.lang.Object ref = newFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newFormat_ = s; return s; @@ -2811,21 +2583,20 @@ public java.lang.String getNewFormat() { } } /** - * - * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; - * * @return The bytes for newFormat. */ - public com.google.protobuf.ByteString getNewFormatBytes() { + public com.google.protobuf.ByteString + getNewFormatBytes() { java.lang.Object ref = newFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newFormat_ = b; return b; } else { @@ -2833,35 +2604,28 @@ public com.google.protobuf.ByteString getNewFormatBytes() { } } /** - * - * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; - * * @param value The newFormat to set. * @return This builder for chaining. */ - public Builder setNewFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; - * * @return This builder for chaining. */ public Builder clearNewFormat() { @@ -2871,28 +2635,23 @@ public Builder clearNewFormat() { return this; } /** - * - * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; - * * @param value The bytes for newFormat to set. * @return This builder for chaining. */ - public Builder setNewFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2905,12 +2664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat) private static final com.google.cloud.dataplex.v1.Action.InvalidDataFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(); } @@ -2919,28 +2678,27 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2955,235 +2713,196 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IncompatibleDataSchemaOrBuilder - extends + public interface IncompatibleDataSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; - * * @return The existingSchema. */ java.lang.String getExistingSchema(); /** - * - * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; - * * @return The bytes for existingSchema. */ - com.google.protobuf.ByteString getExistingSchemaBytes(); + com.google.protobuf.ByteString + getExistingSchemaBytes(); /** - * - * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; - * * @return The newSchema. */ java.lang.String getNewSchema(); /** - * - * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; - * * @return The bytes for newSchema. */ - com.google.protobuf.ByteString getNewSchemaBytes(); + com.google.protobuf.ByteString + getNewSchemaBytes(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - java.util.List getSampledDataLocationsList(); + java.util.List + getSampledDataLocationsList(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index); /** - * - * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The enum numeric value on the wire for schemaChange. */ int getSchemaChangeValue(); /** - * - * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The schemaChange. */ com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange(); } /** - * - * *
    * Action details for incompatible schemas detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema} */ - public static final class IncompatibleDataSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IncompatibleDataSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) IncompatibleDataSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncompatibleDataSchema.newBuilder() to construct. private IncompatibleDataSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IncompatibleDataSchema() { table_ = ""; existingSchema_ = ""; newSchema_ = ""; - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); schemaChange_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IncompatibleDataSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); } /** - * - * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange} */ - public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { + public enum SchemaChange + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Schema change unspecified.
        * 
@@ -3192,8 +2911,6 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA_CHANGE_UNSPECIFIED(0), /** - * - * *
        * Newly discovered schema is incompatible with existing schema.
        * 
@@ -3202,8 +2919,6 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { */ INCOMPATIBLE(1), /** - * - * *
        * Newly discovered schema has changed from existing schema for data in a
        * curated zone.
@@ -3216,8 +2931,6 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Schema change unspecified.
        * 
@@ -3226,8 +2939,6 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_CHANGE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Newly discovered schema is incompatible with existing schema.
        * 
@@ -3236,8 +2947,6 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INCOMPATIBLE_VALUE = 1; /** - * - * *
        * Newly discovered schema has changed from existing schema for data in a
        * curated zone.
@@ -3247,6 +2956,7 @@ public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MODIFIED_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3271,51 +2981,49 @@ public static SchemaChange valueOf(int value) {
        */
       public static SchemaChange forNumber(int value) {
         switch (value) {
-          case 0:
-            return SCHEMA_CHANGE_UNSPECIFIED;
-          case 1:
-            return INCOMPATIBLE;
-          case 2:
-            return MODIFIED;
-          default:
-            return null;
+          case 0: return SCHEMA_CHANGE_UNSPECIFIED;
+          case 1: return INCOMPATIBLE;
+          case 2: return MODIFIED;
+          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<
+          SchemaChange> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public SchemaChange findValueByNumber(int number) {
+                return SchemaChange.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SchemaChange findValueByNumber(int number) {
-              return SchemaChange.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final SchemaChange[] VALUES = values();
 
-      public static SchemaChange valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static SchemaChange 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;
@@ -3333,18 +3041,14 @@ private SchemaChange(int value) {
     }
 
     public static final int TABLE_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * The name of the table containing invalid data.
      * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -3353,29 +3057,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -3384,19 +3088,15 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int EXISTING_SCHEMA_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object existingSchema_ = ""; /** - * - * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; - * * @return The existingSchema. */ @java.lang.Override @@ -3405,30 +3105,30 @@ public java.lang.String getExistingSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); existingSchema_ = s; return s; } } /** - * - * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; - * * @return The bytes for existingSchema. */ @java.lang.Override - public com.google.protobuf.ByteString getExistingSchemaBytes() { + public com.google.protobuf.ByteString + getExistingSchemaBytes() { java.lang.Object ref = existingSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); existingSchema_ = b; return b; } else { @@ -3437,19 +3137,15 @@ public com.google.protobuf.ByteString getExistingSchemaBytes() { } public static final int NEW_SCHEMA_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object newSchema_ = ""; /** - * - * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; - * * @return The newSchema. */ @java.lang.Override @@ -3458,30 +3154,30 @@ public java.lang.String getNewSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSchema_ = s; return s; } } /** - * - * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; - * * @return The bytes for newSchema. */ @java.lang.Override - public com.google.protobuf.ByteString getNewSchemaBytes() { + public com.google.protobuf.ByteString + getNewSchemaBytes() { java.lang.Object ref = newSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newSchema_ = b; return b; } else { @@ -3490,50 +3186,41 @@ public com.google.protobuf.ByteString getNewSchemaBytes() { } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { return sampledDataLocations_; } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -3541,65 +3228,47 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } public static final int SCHEMA_CHANGE_FIELD_NUMBER = 5; private int schemaChange_ = 0; /** - * - * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The enum numeric value on the wire for schemaChange. */ - @java.lang.Override - public int getSchemaChangeValue() { + @java.lang.Override public int getSchemaChangeValue() { return schemaChange_; } /** - * - * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The schemaChange. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange - getSchemaChange() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber( - schemaChange_); - return result == null - ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange() { + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(schemaChange_); + return result == null ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3611,7 +3280,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -3622,13 +3292,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newSchema_); } for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sampledDataLocations_.getRaw(i)); } - if (schemaChange_ - != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange - .SCHEMA_CHANGE_UNSPECIFIED - .getNumber()) { + if (schemaChange_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.SCHEMA_CHANGE_UNSPECIFIED.getNumber()) { output.writeEnum(5, schemaChange_); } getUnknownFields().writeTo(output); @@ -3657,11 +3323,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getSampledDataLocationsList().size(); } - if (schemaChange_ - != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange - .SCHEMA_CHANGE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, schemaChange_); + if (schemaChange_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.SCHEMA_CHANGE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, schemaChange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3671,18 +3335,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other = - (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) obj; + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other = (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) obj; - if (!getTable().equals(other.getTable())) return false; - if (!getExistingSchema().equals(other.getExistingSchema())) return false; - if (!getNewSchema().equals(other.getNewSchema())) return false; - if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!getExistingSchema() + .equals(other.getExistingSchema())) return false; + if (!getNewSchema() + .equals(other.getNewSchema())) return false; + if (!getSampledDataLocationsList() + .equals(other.getSampledDataLocationsList())) return false; if (schemaChange_ != other.schemaChange_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3713,94 +3380,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3810,41 +3472,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for incompatible schemas detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3852,20 +3512,20 @@ public Builder clear() { table_ = ""; existingSchema_ = ""; newSchema_ = ""; - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); schemaChange_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } @@ -3880,17 +3540,13 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema buildPartial() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result = - new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result = new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.table_ = table_; @@ -3914,41 +3570,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)other); } else { super.mergeFrom(other); return this; @@ -3956,9 +3609,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other) { - if (other - == com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) return this; if (!other.getTable().isEmpty()) { table_ = other.table_; bitField0_ |= 0x00000001; @@ -4013,44 +3664,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - existingSchema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - newSchema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 34 - case 40: - { - schemaChange_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + existingSchema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + newSchema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 34 + case 40: { + schemaChange_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4060,25 +3705,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -4087,21 +3729,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -4109,35 +3750,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -4147,21 +3781,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -4171,21 +3801,19 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object existingSchema_ = ""; /** - * - * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; - * * @return The existingSchema. */ public java.lang.String getExistingSchema() { java.lang.Object ref = existingSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); existingSchema_ = s; return s; @@ -4194,22 +3822,21 @@ public java.lang.String getExistingSchema() { } } /** - * - * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; - * * @return The bytes for existingSchema. */ - public com.google.protobuf.ByteString getExistingSchemaBytes() { + public com.google.protobuf.ByteString + getExistingSchemaBytes() { java.lang.Object ref = existingSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); existingSchema_ = b; return b; } else { @@ -4217,37 +3844,30 @@ public com.google.protobuf.ByteString getExistingSchemaBytes() { } } /** - * - * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; - * * @param value The existingSchema to set. * @return This builder for chaining. */ - public Builder setExistingSchema(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExistingSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } existingSchema_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; - * * @return This builder for chaining. */ public Builder clearExistingSchema() { @@ -4257,22 +3877,18 @@ public Builder clearExistingSchema() { return this; } /** - * - * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; - * * @param value The bytes for existingSchema to set. * @return This builder for chaining. */ - public Builder setExistingSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExistingSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); existingSchema_ = value; bitField0_ |= 0x00000002; @@ -4282,21 +3898,19 @@ public Builder setExistingSchemaBytes(com.google.protobuf.ByteString value) { private java.lang.Object newSchema_ = ""; /** - * - * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; - * * @return The newSchema. */ public java.lang.String getNewSchema() { java.lang.Object ref = newSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSchema_ = s; return s; @@ -4305,22 +3919,21 @@ public java.lang.String getNewSchema() { } } /** - * - * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; - * * @return The bytes for newSchema. */ - public com.google.protobuf.ByteString getNewSchemaBytes() { + public com.google.protobuf.ByteString + getNewSchemaBytes() { java.lang.Object ref = newSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newSchema_ = b; return b; } else { @@ -4328,37 +3941,30 @@ public com.google.protobuf.ByteString getNewSchemaBytes() { } } /** - * - * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; - * * @param value The newSchema to set. * @return This builder for chaining. */ - public Builder setNewSchema(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newSchema_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; - * * @return This builder for chaining. */ public Builder clearNewSchema() { @@ -4368,22 +3974,18 @@ public Builder clearNewSchema() { return this; } /** - * - * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; - * * @param value The bytes for newSchema to set. * @return This builder for chaining. */ - public Builder setNewSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newSchema_ = value; bitField0_ |= 0x00000004; @@ -4393,55 +3995,45 @@ public Builder setNewSchemaBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = - new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000008; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -4449,39 +4041,33 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSampledDataLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -4489,22 +4075,18 @@ public Builder setSampledDataLocations(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000008; @@ -4512,61 +4094,53 @@ public Builder addSampledDataLocations(java.lang.String value) { return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations(java.lang.Iterable values) { + public Builder addAllSampledDataLocations( + java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampledDataLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -4577,33 +4151,22 @@ public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value private int schemaChange_ = 0; /** - * - * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The enum numeric value on the wire for schemaChange. */ - @java.lang.Override - public int getSchemaChangeValue() { + @java.lang.Override public int getSchemaChangeValue() { return schemaChange_; } /** - * - * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @param value The enum numeric value on the wire for schemaChange to set. * @return This builder for chaining. */ @@ -4614,44 +4177,28 @@ public Builder setSchemaChangeValue(int value) { return this; } /** - * - * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return The schemaChange. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange - getSchemaChange() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber( - schemaChange_); - return result == null - ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange() { + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(schemaChange_); + return result == null ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED : result; } /** - * - * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @param value The schemaChange to set. * @return This builder for chaining. */ - public Builder setSchemaChange( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange value) { + public Builder setSchemaChange(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange value) { if (value == null) { throw new NullPointerException(); } @@ -4661,16 +4208,11 @@ public Builder setSchemaChange( return this; } /** - * - * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; * @return This builder for chaining. */ public Builder clearSchemaChange() { @@ -4679,7 +4221,6 @@ public Builder clearSchemaChange() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4692,13 +4233,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) - private static final com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(); } @@ -4707,28 +4247,27 @@ public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncompatibleDataSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncompatibleDataSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4743,100 +4282,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InvalidDataPartitionOrBuilder - extends + public interface InvalidDataPartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataPartition) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The issue type of InvalidDataPartition.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The enum numeric value on the wire for expectedStructure. */ int getExpectedStructureValue(); /** - * - * *
      * The issue type of InvalidDataPartition.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The expectedStructure. */ - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - getExpectedStructure(); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure(); } /** - * - * *
    * Action details for invalid or unsupported partitions detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition} */ - public static final class InvalidDataPartition extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InvalidDataPartition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition) InvalidDataPartitionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataPartition.newBuilder() to construct. private InvalidDataPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InvalidDataPartition() { expectedStructure_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InvalidDataPartition(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); } /** - * - * *
      * The expected partition structure.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure} */ - public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionStructure + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * PartitionStructure unspecified.
        * 
@@ -4845,8 +4366,6 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu */ PARTITION_STRUCTURE_UNSPECIFIED(0), /** - * - * *
        * Consistent hive-style partition definition (both raw and curated zone).
        * 
@@ -4855,8 +4374,6 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu */ CONSISTENT_KEYS(1), /** - * - * *
        * Hive style partition definition (curated zone only).
        * 
@@ -4868,8 +4385,6 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
        * PartitionStructure unspecified.
        * 
@@ -4878,8 +4393,6 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu */ public static final int PARTITION_STRUCTURE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Consistent hive-style partition definition (both raw and curated zone).
        * 
@@ -4888,8 +4401,6 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu */ public static final int CONSISTENT_KEYS_VALUE = 1; /** - * - * *
        * Hive style partition definition (curated zone only).
        * 
@@ -4898,6 +4409,7 @@ public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnu */ public static final int HIVE_STYLE_KEYS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4922,14 +4434,10 @@ public static PartitionStructure valueOf(int value) { */ public static PartitionStructure forNumber(int value) { switch (value) { - case 0: - return PARTITION_STRUCTURE_UNSPECIFIED; - case 1: - return CONSISTENT_KEYS; - case 2: - return HIVE_STYLE_KEYS; - default: - return null; + case 0: return PARTITION_STRUCTURE_UNSPECIFIED; + case 1: return CONSISTENT_KEYS; + case 2: return HIVE_STYLE_KEYS; + default: return null; } } @@ -4937,31 +4445,29 @@ public static PartitionStructure forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + PartitionStructure> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PartitionStructure findValueByNumber(int number) { + return PartitionStructure.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PartitionStructure findValueByNumber(int number) { - return PartitionStructure.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDescriptor().getEnumTypes().get(0); } private static final PartitionStructure[] VALUES = values(); @@ -4969,7 +4475,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PartitionStructure 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; @@ -4989,48 +4496,30 @@ private PartitionStructure(int value) { public static final int EXPECTED_STRUCTURE_FIELD_NUMBER = 1; private int expectedStructure_ = 0; /** - * - * *
      * The issue type of InvalidDataPartition.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The enum numeric value on the wire for expectedStructure. */ - @java.lang.Override - public int getExpectedStructureValue() { + @java.lang.Override public int getExpectedStructureValue() { return expectedStructure_; } /** - * - * *
      * The issue type of InvalidDataPartition.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The expectedStructure. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - getExpectedStructure() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber( - expectedStructure_); - return result == null - ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure() { + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(expectedStructure_); + return result == null ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5042,11 +4531,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (expectedStructure_ - != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - .PARTITION_STRUCTURE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (expectedStructure_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.PARTITION_STRUCTURE_UNSPECIFIED.getNumber()) { output.writeEnum(1, expectedStructure_); } getUnknownFields().writeTo(output); @@ -5058,11 +4545,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (expectedStructure_ - != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - .PARTITION_STRUCTURE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, expectedStructure_); + if (expectedStructure_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.PARTITION_STRUCTURE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, expectedStructure_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5072,13 +4557,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataPartition other = - (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataPartition other = (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) obj; if (expectedStructure_ != other.expectedStructure_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -5100,94 +4584,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataPartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5197,41 +4676,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for invalid or unsupported partitions detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition) com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5241,9 +4718,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override @@ -5262,11 +4739,8 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition result = - new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Action.InvalidDataPartition result = new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -5282,41 +4756,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataPartit public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataPartition) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataPartition)other); } else { super.mergeFrom(other); return this; @@ -5324,8 +4795,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataPartition other) { - if (other == com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) return this; if (other.expectedStructure_ != 0) { setExpectedStructureValue(other.getExpectedStructureValue()); } @@ -5355,19 +4825,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - expectedStructure_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + expectedStructure_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5377,38 +4845,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int expectedStructure_ = 0; /** - * - * *
        * The issue type of InvalidDataPartition.
        * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The enum numeric value on the wire for expectedStructure. */ - @java.lang.Override - public int getExpectedStructureValue() { + @java.lang.Override public int getExpectedStructureValue() { return expectedStructure_; } /** - * - * *
        * The issue type of InvalidDataPartition.
        * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @param value The enum numeric value on the wire for expectedStructure to set. * @return This builder for chaining. */ @@ -5419,45 +4875,28 @@ public Builder setExpectedStructureValue(int value) { return this; } /** - * - * *
        * The issue type of InvalidDataPartition.
        * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return The expectedStructure. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - getExpectedStructure() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber( - expectedStructure_); - return result == null - ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure - .UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure() { + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(expectedStructure_); + return result == null ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED : result; } /** - * - * *
        * The issue type of InvalidDataPartition.
        * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @param value The expectedStructure to set. * @return This builder for chaining. */ - public Builder setExpectedStructure( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure value) { + public Builder setExpectedStructure(com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure value) { if (value == null) { throw new NullPointerException(); } @@ -5467,16 +4906,11 @@ public Builder setExpectedStructure( return this; } /** - * - * *
        * The issue type of InvalidDataPartition.
        * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; * @return This builder for chaining. */ public Builder clearExpectedStructure() { @@ -5485,7 +4919,6 @@ public Builder clearExpectedStructure() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5498,12 +4931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition) private static final com.google.cloud.dataplex.v1.Action.InvalidDataPartition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(); } @@ -5512,28 +4945,27 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataPartition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataPartition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5548,56 +4980,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MissingDataOrBuilder - extends + public interface MissingDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingData) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Action details for absence of data detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData} */ - public static final class MissingData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MissingData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingData) MissingDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MissingData.newBuilder() to construct. private MissingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MissingData() {} + private MissingData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MissingData(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingData.class, - com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingData.class, com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5609,7 +5038,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -5627,13 +5057,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingData)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.MissingData other = - (com.google.cloud.dataplex.v1.Action.MissingData) obj; + com.google.cloud.dataplex.v1.Action.MissingData other = (com.google.cloud.dataplex.v1.Action.MissingData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5652,93 +5081,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.MissingData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5748,41 +5173,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for absence of data detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingData) com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingData.class, - com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingData.class, com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.MissingData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5790,9 +5213,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override @@ -5811,8 +5234,7 @@ public com.google.cloud.dataplex.v1.Action.MissingData build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingData buildPartial() { - com.google.cloud.dataplex.v1.Action.MissingData result = - new com.google.cloud.dataplex.v1.Action.MissingData(this); + com.google.cloud.dataplex.v1.Action.MissingData result = new com.google.cloud.dataplex.v1.Action.MissingData(this); onBuilt(); return result; } @@ -5821,41 +5243,38 @@ public com.google.cloud.dataplex.v1.Action.MissingData buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.MissingData) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingData) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingData)other); } else { super.mergeFrom(other); return this; @@ -5863,8 +5282,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingData other) { - if (other == com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5891,13 +5309,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5907,7 +5324,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5920,12 +5336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingData) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingData) private static final com.google.cloud.dataplex.v1.Action.MissingData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingData(); } @@ -5934,28 +5350,27 @@ public static com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MissingData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MissingData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5970,56 +5385,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InvalidDataOrganizationOrBuilder - extends + public interface InvalidDataOrganizationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataOrganization) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Action details for invalid data arrangement.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization} */ - public static final class InvalidDataOrganization extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InvalidDataOrganization extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization) InvalidDataOrganizationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataOrganization.newBuilder() to construct. private InvalidDataOrganization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InvalidDataOrganization() {} + private InvalidDataOrganization() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InvalidDataOrganization(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6031,7 +5443,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -6049,13 +5462,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other = - (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other = (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6074,94 +5486,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6171,41 +5578,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Action details for invalid data arrangement.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization) com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6213,14 +5618,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } @@ -6235,8 +5639,7 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result = - new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(this); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result = new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(this); onBuilt(); return result; } @@ -6245,41 +5648,38 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization)other); } else { super.mergeFrom(other); return this; @@ -6287,9 +5687,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other) { - if (other - == com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -6316,13 +5714,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6332,7 +5729,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6345,13 +5741,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization) - private static final com.google.cloud.dataplex.v1.Action.InvalidDataOrganization - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Action.InvalidDataOrganization DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(); } @@ -6360,28 +5755,27 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataOrganization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataOrganization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6396,16 +5790,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int detailsCase_ = 0; - @SuppressWarnings("serial") 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 { INVALID_DATA_FORMAT(10), INCOMPATIBLE_DATA_SCHEMA(11), @@ -6417,7 +5809,6 @@ public enum DetailsCase INVALID_DATA_ORGANIZATION(22), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -6433,86 +5824,64 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 10: - return INVALID_DATA_FORMAT; - case 11: - return INCOMPATIBLE_DATA_SCHEMA; - case 12: - return INVALID_DATA_PARTITION; - case 13: - return MISSING_DATA; - case 14: - return MISSING_RESOURCE; - case 15: - return UNAUTHORIZED_RESOURCE; - case 21: - return FAILED_SECURITY_POLICY_APPLY; - case 22: - return INVALID_DATA_ORGANIZATION; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 10: return INVALID_DATA_FORMAT; + case 11: return INCOMPATIBLE_DATA_SCHEMA; + case 12: return INVALID_DATA_PARTITION; + case 13: return MISSING_DATA; + case 14: return MISSING_RESOURCE; + case 15: return UNAUTHORIZED_RESOURCE; + case 21: return FAILED_SECURITY_POLICY_APPLY; + case 22: return INVALID_DATA_ORGANIZATION; + 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 CATEGORY_FIELD_NUMBER = 1; private int category_ = 0; /** - * - * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The enum numeric value on the wire for category. */ - @java.lang.Override - public int getCategoryValue() { + @java.lang.Override public int getCategoryValue() { return category_; } /** - * - * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The category. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Action.Category getCategory() { - com.google.cloud.dataplex.v1.Action.Category result = - com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); + @java.lang.Override public com.google.cloud.dataplex.v1.Action.Category getCategory() { + com.google.cloud.dataplex.v1.Action.Category result = com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result; } public static final int ISSUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** - * - * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; - * * @return The issue. */ @java.lang.Override @@ -6521,29 +5890,29 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** - * - * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; - * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -6554,14 +5923,11 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int DETECT_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp detectTime_; /** - * - * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return Whether the detectTime field is set. */ @java.lang.Override @@ -6569,14 +5935,11 @@ public boolean hasDetectTime() { return detectTime_ != null; } /** - * - * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return The detectTime. */ @java.lang.Override @@ -6584,8 +5947,6 @@ public com.google.protobuf.Timestamp getDetectTime() { return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; } /** - * - * *
    * The time that the issue was detected.
    * 
@@ -6598,12 +5959,9 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { } public static final int NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -6611,10 +5969,7 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -6623,15 +5978,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 relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -6639,18 +5993,17 @@ public java.lang.String getName() {
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -6659,21 +6012,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LAKE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object lake_ = ""; /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The lake. */ @java.lang.Override @@ -6682,32 +6029,30 @@ public java.lang.String getLake() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lake_ = s; return s; } } /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for lake. */ @java.lang.Override - public com.google.protobuf.ByteString getLakeBytes() { + public com.google.protobuf.ByteString + getLakeBytes() { java.lang.Object ref = lake_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lake_ = b; return b; } else { @@ -6716,21 +6061,15 @@ public com.google.protobuf.ByteString getLakeBytes() { } public static final int ZONE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object zone_ = ""; /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The zone. */ @java.lang.Override @@ -6739,32 +6078,30 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -6773,21 +6110,15 @@ public com.google.protobuf.ByteString getZoneBytes() { } public static final int ASSET_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The asset. */ @java.lang.Override @@ -6796,32 +6127,30 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -6830,13 +6159,10 @@ public com.google.protobuf.ByteString getAssetBytes() { } public static final int DATA_LOCATIONS_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6846,15 +6172,13 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * 
* * repeated string data_locations = 9; - * * @return A list containing the dataLocations. */ - public com.google.protobuf.ProtocolStringList getDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getDataLocationsList() { return dataLocations_; } /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6864,15 +6188,12 @@ public com.google.protobuf.ProtocolStringList getDataLocationsList() {
    * 
* * repeated string data_locations = 9; - * * @return The count of dataLocations. */ public int getDataLocationsCount() { return dataLocations_.size(); } /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6882,7 +6203,6 @@ public int getDataLocationsCount() {
    * 
* * repeated string data_locations = 9; - * * @param index The index of the element to return. * @return The dataLocations at the given index. */ @@ -6890,8 +6210,6 @@ public java.lang.String getDataLocations(int index) { return dataLocations_.get(index); } /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6901,24 +6219,21 @@ public java.lang.String getDataLocations(int index) {
    * 
* * repeated string data_locations = 9; - * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - public com.google.protobuf.ByteString getDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDataLocationsBytes(int index) { return dataLocations_.getByteString(index); } public static final int INVALID_DATA_FORMAT_FIELD_NUMBER = 10; /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return Whether the invalidDataFormat field is set. */ @java.lang.Override @@ -6926,26 +6241,21 @@ public boolean hasInvalidDataFormat() { return detailsCase_ == 10; } /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return The invalidDataFormat. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat() { if (detailsCase_ == 10) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
@@ -6953,25 +6263,20 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataForma * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder - getInvalidDataFormatOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder() { if (detailsCase_ == 10) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER = 11; /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return Whether the incompatibleDataSchema field is set. */ @java.lang.Override @@ -6979,54 +6284,43 @@ public boolean hasIncompatibleDataSchema() { return detailsCase_ == 11; } /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return The incompatibleDataSchema. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema() { if (detailsCase_ == 11) { - return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; + return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; } return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder - getIncompatibleDataSchemaOrBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder() { if (detailsCase_ == 11) { - return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; + return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; } return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } public static final int INVALID_DATA_PARTITION_FIELD_NUMBER = 12; /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * * @return Whether the invalidDataPartition field is set. */ @java.lang.Override @@ -7034,27 +6328,22 @@ public boolean hasInvalidDataPartition() { return detailsCase_ == 12; } /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * * @return The invalidDataPartition. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition() { if (detailsCase_ == 12) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance(); } /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
@@ -7063,24 +6352,20 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPa
    * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
-      getInvalidDataPartitionOrBuilder() {
+  public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder() {
     if (detailsCase_ == 12) {
-      return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
+       return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
     }
     return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
   }
 
   public static final int MISSING_DATA_FIELD_NUMBER = 13;
   /**
-   *
-   *
    * 
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return Whether the missingData field is set. */ @java.lang.Override @@ -7088,26 +6373,21 @@ public boolean hasMissingData() { return detailsCase_ == 13; } /** - * - * *
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return The missingData. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { if (detailsCase_ == 13) { - return (com.google.cloud.dataplex.v1.Action.MissingData) details_; + return (com.google.cloud.dataplex.v1.Action.MissingData) details_; } return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } /** - * - * *
    * Details for issues related to absence of data within managed resources.
    * 
@@ -7117,21 +6397,18 @@ public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder() { if (detailsCase_ == 13) { - return (com.google.cloud.dataplex.v1.Action.MissingData) details_; + return (com.google.cloud.dataplex.v1.Action.MissingData) details_; } return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } public static final int MISSING_RESOURCE_FIELD_NUMBER = 14; /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return Whether the missingResource field is set. */ @java.lang.Override @@ -7139,26 +6416,21 @@ public boolean hasMissingResource() { return detailsCase_ == 14; } /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return The missingResource. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() { if (detailsCase_ == 14) { - return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; + return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; } return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
@@ -7166,25 +6438,21 @@ public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder - getMissingResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder() { if (detailsCase_ == 14) { - return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; + return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; } return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER = 15; /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * * @return Whether the unauthorizedResource field is set. */ @java.lang.Override @@ -7192,27 +6460,22 @@ public boolean hasUnauthorizedResource() { return detailsCase_ == 15; } /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * * @return The unauthorizedResource. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource() { if (detailsCase_ == 15) { - return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_; + return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_; } return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance(); } /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
@@ -7221,26 +6484,20 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedR
    * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
-      getUnauthorizedResourceOrBuilder() {
+  public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder() {
     if (detailsCase_ == 15) {
-      return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
+       return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
     }
     return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
   }
 
   public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER = 21;
   /**
-   *
-   *
    * 
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return Whether the failedSecurityPolicyApply field is set. */ @java.lang.Override @@ -7248,57 +6505,42 @@ public boolean hasFailedSecurityPolicyApply() { return detailsCase_ == 21; } /** - * - * *
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return The failedSecurityPolicyApply. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - getFailedSecurityPolicyApply() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; + return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; } return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); } /** - * - * *
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder - getFailedSecurityPolicyApplyOrBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; + return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; } return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); } public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER = 22; /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return Whether the invalidDataOrganization field is set. */ @java.lang.Override @@ -7306,45 +6548,36 @@ public boolean hasInvalidDataOrganization() { return detailsCase_ == 22; } /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return The invalidDataOrganization. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder - getInvalidDataOrganizationOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7356,9 +6589,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (category_ - != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (category_ != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { output.writeEnum(1, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { @@ -7386,8 +6619,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); } if (detailsCase_ == 11) { - output.writeMessage( - 11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); + output.writeMessage(11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); } if (detailsCase_ == 12) { output.writeMessage(12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); @@ -7402,12 +6634,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); } if (detailsCase_ == 21) { - output.writeMessage( - 21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); + output.writeMessage(21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); } if (detailsCase_ == 22) { - output.writeMessage( - 22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); + output.writeMessage(22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); } getUnknownFields().writeTo(output); } @@ -7418,15 +6648,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (category_ - != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, category_); + if (category_ != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, issue_); } if (detectTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDetectTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDetectTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -7449,44 +6680,36 @@ public int getSerializedSize() { size += 1 * getDataLocationsList().size(); } if (detailsCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); } if (detailsCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); } if (detailsCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); } if (detailsCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.dataplex.v1.Action.MissingData) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.dataplex.v1.Action.MissingData) details_); } if (detailsCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_); } if (detailsCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); } if (detailsCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); } if (detailsCase_ == 22) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7496,7 +6719,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action)) { return super.equals(obj); @@ -7504,42 +6727,56 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.dataplex.v1.Action other = (com.google.cloud.dataplex.v1.Action) obj; if (category_ != other.category_) return false; - if (!getIssue().equals(other.getIssue())) return false; + if (!getIssue() + .equals(other.getIssue())) return false; if (hasDetectTime() != other.hasDetectTime()) return false; if (hasDetectTime()) { - if (!getDetectTime().equals(other.getDetectTime())) return false; - } - if (!getName().equals(other.getName())) return false; - if (!getLake().equals(other.getLake())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getAsset().equals(other.getAsset())) return false; - if (!getDataLocationsList().equals(other.getDataLocationsList())) return false; + if (!getDetectTime() + .equals(other.getDetectTime())) return false; + } + if (!getName() + .equals(other.getName())) return false; + if (!getLake() + .equals(other.getLake())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; + if (!getDataLocationsList() + .equals(other.getDataLocationsList())) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 10: - if (!getInvalidDataFormat().equals(other.getInvalidDataFormat())) return false; + if (!getInvalidDataFormat() + .equals(other.getInvalidDataFormat())) return false; break; case 11: - if (!getIncompatibleDataSchema().equals(other.getIncompatibleDataSchema())) return false; + if (!getIncompatibleDataSchema() + .equals(other.getIncompatibleDataSchema())) return false; break; case 12: - if (!getInvalidDataPartition().equals(other.getInvalidDataPartition())) return false; + if (!getInvalidDataPartition() + .equals(other.getInvalidDataPartition())) return false; break; case 13: - if (!getMissingData().equals(other.getMissingData())) return false; + if (!getMissingData() + .equals(other.getMissingData())) return false; break; case 14: - if (!getMissingResource().equals(other.getMissingResource())) return false; + if (!getMissingResource() + .equals(other.getMissingResource())) return false; break; case 15: - if (!getUnauthorizedResource().equals(other.getUnauthorizedResource())) return false; + if (!getUnauthorizedResource() + .equals(other.getUnauthorizedResource())) return false; break; case 21: - if (!getFailedSecurityPolicyApply().equals(other.getFailedSecurityPolicyApply())) - return false; + if (!getFailedSecurityPolicyApply() + .equals(other.getFailedSecurityPolicyApply())) return false; break; case 22: - if (!getInvalidDataOrganization().equals(other.getInvalidDataOrganization())) return false; + if (!getInvalidDataOrganization() + .equals(other.getInvalidDataOrganization())) return false; break; case 0: default: @@ -7616,135 +6853,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Action parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Action parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Action parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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; } /** - * - * *
    * Action represents an issue requiring administrator action for resolution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action) com.google.cloud.dataplex.v1.ActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.class, - com.google.cloud.dataplex.v1.Action.Builder.class); + com.google.cloud.dataplex.v1.Action.class, com.google.cloud.dataplex.v1.Action.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7760,7 +6994,8 @@ public Builder clear() { lake_ = ""; zone_ = ""; asset_ = ""; - dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + dataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (invalidDataFormatBuilder_ != null) { invalidDataFormatBuilder_.clear(); } @@ -7791,9 +7026,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Action_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override @@ -7813,9 +7048,7 @@ public com.google.cloud.dataplex.v1.Action build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action buildPartial() { com.google.cloud.dataplex.v1.Action result = new com.google.cloud.dataplex.v1.Action(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -7830,7 +7063,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action result) { result.issue_ = issue_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.detectTime_ = detectTimeBuilder_ == null ? detectTime_ : detectTimeBuilder_.build(); + result.detectTime_ = detectTimeBuilder_ == null + ? detectTime_ + : detectTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.name_ = name_; @@ -7853,28 +7088,36 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.Action result) { result.detailsCase_ = detailsCase_; result.details_ = this.details_; - if (detailsCase_ == 10 && invalidDataFormatBuilder_ != null) { + if (detailsCase_ == 10 && + invalidDataFormatBuilder_ != null) { result.details_ = invalidDataFormatBuilder_.build(); } - if (detailsCase_ == 11 && incompatibleDataSchemaBuilder_ != null) { + if (detailsCase_ == 11 && + incompatibleDataSchemaBuilder_ != null) { result.details_ = incompatibleDataSchemaBuilder_.build(); } - if (detailsCase_ == 12 && invalidDataPartitionBuilder_ != null) { + if (detailsCase_ == 12 && + invalidDataPartitionBuilder_ != null) { result.details_ = invalidDataPartitionBuilder_.build(); } - if (detailsCase_ == 13 && missingDataBuilder_ != null) { + if (detailsCase_ == 13 && + missingDataBuilder_ != null) { result.details_ = missingDataBuilder_.build(); } - if (detailsCase_ == 14 && missingResourceBuilder_ != null) { + if (detailsCase_ == 14 && + missingResourceBuilder_ != null) { result.details_ = missingResourceBuilder_.build(); } - if (detailsCase_ == 15 && unauthorizedResourceBuilder_ != null) { + if (detailsCase_ == 15 && + unauthorizedResourceBuilder_ != null) { result.details_ = unauthorizedResourceBuilder_.build(); } - if (detailsCase_ == 21 && failedSecurityPolicyApplyBuilder_ != null) { + if (detailsCase_ == 21 && + failedSecurityPolicyApplyBuilder_ != null) { result.details_ = failedSecurityPolicyApplyBuilder_.build(); } - if (detailsCase_ == 22 && invalidDataOrganizationBuilder_ != null) { + if (detailsCase_ == 22 && + invalidDataOrganizationBuilder_ != null) { result.details_ = invalidDataOrganizationBuilder_.build(); } } @@ -7883,39 +7126,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Action result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action) { - return mergeFrom((com.google.cloud.dataplex.v1.Action) other); + return mergeFrom((com.google.cloud.dataplex.v1.Action)other); } else { super.mergeFrom(other); return this; @@ -7966,50 +7208,41 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Action other) { onChanged(); } switch (other.getDetailsCase()) { - case INVALID_DATA_FORMAT: - { - mergeInvalidDataFormat(other.getInvalidDataFormat()); - break; - } - case INCOMPATIBLE_DATA_SCHEMA: - { - mergeIncompatibleDataSchema(other.getIncompatibleDataSchema()); - break; - } - case INVALID_DATA_PARTITION: - { - mergeInvalidDataPartition(other.getInvalidDataPartition()); - break; - } - case MISSING_DATA: - { - mergeMissingData(other.getMissingData()); - break; - } - case MISSING_RESOURCE: - { - mergeMissingResource(other.getMissingResource()); - break; - } - case UNAUTHORIZED_RESOURCE: - { - mergeUnauthorizedResource(other.getUnauthorizedResource()); - break; - } - case FAILED_SECURITY_POLICY_APPLY: - { - mergeFailedSecurityPolicyApply(other.getFailedSecurityPolicyApply()); - break; - } - case INVALID_DATA_ORGANIZATION: - { - mergeInvalidDataOrganization(other.getInvalidDataOrganization()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case INVALID_DATA_FORMAT: { + mergeInvalidDataFormat(other.getInvalidDataFormat()); + break; + } + case INCOMPATIBLE_DATA_SCHEMA: { + mergeIncompatibleDataSchema(other.getIncompatibleDataSchema()); + break; + } + case INVALID_DATA_PARTITION: { + mergeInvalidDataPartition(other.getInvalidDataPartition()); + break; + } + case MISSING_DATA: { + mergeMissingData(other.getMissingData()); + break; + } + case MISSING_RESOURCE: { + mergeMissingResource(other.getMissingResource()); + break; + } + case UNAUTHORIZED_RESOURCE: { + mergeUnauthorizedResource(other.getUnauthorizedResource()); + break; + } + case FAILED_SECURITY_POLICY_APPLY: { + mergeFailedSecurityPolicyApply(other.getFailedSecurityPolicyApply()); + break; + } + case INVALID_DATA_ORGANIZATION: { + mergeInvalidDataOrganization(other.getInvalidDataOrganization()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -8037,116 +7270,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - category_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - input.readMessage(getDetectTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - lake_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: - { - zone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataLocationsIsMutable(); - dataLocations_.add(s); - break; - } // case 74 - case 82: - { - input.readMessage( - getInvalidDataFormatFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 10; - break; - } // case 82 - case 90: - { - input.readMessage( - getIncompatibleDataSchemaFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 11; - break; - } // case 90 - case 98: - { - input.readMessage( - getInvalidDataPartitionFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 12; - break; - } // case 98 - case 106: - { - input.readMessage(getMissingDataFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 13; - break; - } // case 106 - case 114: - { - input.readMessage(getMissingResourceFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 14; - break; - } // case 114 - case 122: - { - input.readMessage( - getUnauthorizedResourceFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 15; - break; - } // case 122 - case 170: - { - input.readMessage( - getFailedSecurityPolicyApplyFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 21; - break; - } // case 170 - case 178: - { - input.readMessage( - getInvalidDataOrganizationFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 22; - break; - } // case 178 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + category_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + input.readMessage( + getDetectTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + lake_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataLocationsIsMutable(); + dataLocations_.add(s); + break; + } // case 74 + case 82: { + input.readMessage( + getInvalidDataFormatFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 10; + break; + } // case 82 + case 90: { + input.readMessage( + getIncompatibleDataSchemaFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 11; + break; + } // case 90 + case 98: { + input.readMessage( + getInvalidDataPartitionFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 12; + break; + } // case 98 + case 106: { + input.readMessage( + getMissingDataFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 13; + break; + } // case 106 + case 114: { + input.readMessage( + getMissingResourceFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 14; + break; + } // case 114 + case 122: { + input.readMessage( + getUnauthorizedResourceFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 15; + break; + } // case 122 + case 170: { + input.readMessage( + getFailedSecurityPolicyApplyFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 21; + break; + } // case 170 + case 178: { + input.readMessage( + getInvalidDataOrganizationFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 22; + break; + } // case 178 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8156,12 +7384,12 @@ public Builder mergeFrom( } // finally 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() { @@ -8175,29 +7403,22 @@ public Builder clearDetails() { private int category_ = 0; /** - * - * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The enum numeric value on the wire for category. */ - @java.lang.Override - public int getCategoryValue() { + @java.lang.Override public int getCategoryValue() { return category_; } /** - * - * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @param value The enum numeric value on the wire for category to set. * @return This builder for chaining. */ @@ -8208,31 +7429,24 @@ public Builder setCategoryValue(int value) { return this; } /** - * - * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The category. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.Category getCategory() { - com.google.cloud.dataplex.v1.Action.Category result = - com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); + com.google.cloud.dataplex.v1.Action.Category result = com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result; } /** - * - * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @param value The category to set. * @return This builder for chaining. */ @@ -8246,14 +7460,11 @@ public Builder setCategory(com.google.cloud.dataplex.v1.Action.Category value) { return this; } /** - * - * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return This builder for chaining. */ public Builder clearCategory() { @@ -8265,20 +7476,18 @@ public Builder clearCategory() { private java.lang.Object issue_ = ""; /** - * - * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; - * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -8287,21 +7496,20 @@ public java.lang.String getIssue() { } } /** - * - * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; - * * @return The bytes for issue. */ - public com.google.protobuf.ByteString getIssueBytes() { + public com.google.protobuf.ByteString + getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issue_ = b; return b; } else { @@ -8309,35 +7517,28 @@ public com.google.protobuf.ByteString getIssueBytes() { } } /** - * - * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; - * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; - * * @return This builder for chaining. */ public Builder clearIssue() { @@ -8347,21 +7548,17 @@ public Builder clearIssue() { return this; } /** - * - * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; - * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000002; @@ -8371,47 +7568,34 @@ public Builder setIssueBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp detectTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - detectTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> detectTimeBuilder_; /** - * - * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return Whether the detectTime field is set. */ public boolean hasDetectTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return The detectTime. */ public com.google.protobuf.Timestamp getDetectTime() { if (detectTimeBuilder_ == null) { - return detectTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : detectTime_; + return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; } else { return detectTimeBuilder_.getMessage(); } } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8432,15 +7616,14 @@ public Builder setDetectTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; */ - public Builder setDetectTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDetectTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (detectTimeBuilder_ == null) { detectTime_ = builderForValue.build(); } else { @@ -8451,8 +7634,6 @@ public Builder setDetectTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8461,9 +7642,9 @@ public Builder setDetectTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeDetectTime(com.google.protobuf.Timestamp value) { if (detectTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && detectTime_ != null - && detectTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + detectTime_ != null && + detectTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDetectTimeBuilder().mergeFrom(value); } else { detectTime_ = value; @@ -8476,8 +7657,6 @@ public Builder mergeDetectTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8495,8 +7674,6 @@ public Builder clearDetectTime() { return this; } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8509,8 +7686,6 @@ public com.google.protobuf.Timestamp.Builder getDetectTimeBuilder() { return getDetectTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8521,14 +7696,11 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { if (detectTimeBuilder_ != null) { return detectTimeBuilder_.getMessageOrBuilder(); } else { - return detectTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : detectTime_; + return detectTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; } } /** - * - * *
      * The time that the issue was detected.
      * 
@@ -8536,17 +7708,14 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { * .google.protobuf.Timestamp detect_time = 4; */ 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> getDetectTimeFieldBuilder() { if (detectTimeBuilder_ == null) { - detectTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDetectTime(), getParentForChildren(), isClean()); + detectTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDetectTime(), + getParentForChildren(), + isClean()); detectTime_ = null; } return detectTimeBuilder_; @@ -8554,8 +7723,6 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -8563,16 +7730,14 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -8581,8 +7746,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -8590,17 +7753,16 @@ public java.lang.String getName() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -8608,8 +7770,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -8617,25 +7777,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -8643,10 +7797,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -8656,8 +7807,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -8665,17 +7814,13 @@ public Builder clearName() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -8685,23 +7830,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object lake_ = ""; /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The lake. */ public java.lang.String getLake() { java.lang.Object ref = lake_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lake_ = s; return s; @@ -8710,24 +7851,21 @@ public java.lang.String getLake() { } } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for lake. */ - public com.google.protobuf.ByteString getLakeBytes() { + public com.google.protobuf.ByteString + getLakeBytes() { java.lang.Object ref = lake_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lake_ = b; return b; } else { @@ -8735,41 +7873,30 @@ public com.google.protobuf.ByteString getLakeBytes() { } } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The lake to set. * @return This builder for chaining. */ - public Builder setLake(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLake( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } lake_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLake() { @@ -8779,24 +7906,18 @@ public Builder clearLake() { return this; } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for lake to set. * @return This builder for chaining. */ - public Builder setLakeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLakeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lake_ = value; bitField0_ |= 0x00000010; @@ -8806,23 +7927,19 @@ public Builder setLakeBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -8831,24 +7948,21 @@ public java.lang.String getZone() { } } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -8856,41 +7970,30 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The zone to set. * @return This builder for chaining. - */ - public Builder setZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + */ + public Builder setZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zone_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearZone() { @@ -8900,24 +8003,18 @@ public Builder clearZone() { return this; } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zone_ = value; bitField0_ |= 0x00000020; @@ -8927,23 +8024,19 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object asset_ = ""; /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -8952,24 +8045,21 @@ public java.lang.String getAsset() { } } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for asset. */ - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -8977,41 +8067,30 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } asset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAsset() { @@ -9021,24 +8100,18 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000040; @@ -9048,7 +8121,6 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDataLocationsIsMutable() { if (!dataLocations_.isModifiable()) { dataLocations_ = new com.google.protobuf.LazyStringArrayList(dataLocations_); @@ -9056,8 +8128,6 @@ private void ensureDataLocationsIsMutable() { bitField0_ |= 0x00000080; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9067,16 +8137,14 @@ private void ensureDataLocationsIsMutable() {
      * 
* * repeated string data_locations = 9; - * * @return A list containing the dataLocations. */ - public com.google.protobuf.ProtocolStringList getDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getDataLocationsList() { dataLocations_.makeImmutable(); return dataLocations_; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9086,15 +8154,12 @@ public com.google.protobuf.ProtocolStringList getDataLocationsList() {
      * 
* * repeated string data_locations = 9; - * * @return The count of dataLocations. */ public int getDataLocationsCount() { return dataLocations_.size(); } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9104,7 +8169,6 @@ public int getDataLocationsCount() {
      * 
* * repeated string data_locations = 9; - * * @param index The index of the element to return. * @return The dataLocations at the given index. */ @@ -9112,8 +8176,6 @@ public java.lang.String getDataLocations(int index) { return dataLocations_.get(index); } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9123,16 +8185,14 @@ public java.lang.String getDataLocations(int index) {
      * 
* * repeated string data_locations = 9; - * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - public com.google.protobuf.ByteString getDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDataLocationsBytes(int index) { return dataLocations_.getByteString(index); } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9142,15 +8202,13 @@ public com.google.protobuf.ByteString getDataLocationsBytes(int index) {
      * 
* * repeated string data_locations = 9; - * * @param index The index to set the value at. * @param value The dataLocations to set. * @return This builder for chaining. */ - public Builder setDataLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataLocationsIsMutable(); dataLocations_.set(index, value); bitField0_ |= 0x00000080; @@ -9158,8 +8216,6 @@ public Builder setDataLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9169,14 +8225,12 @@ public Builder setDataLocations(int index, java.lang.String value) {
      * 
* * repeated string data_locations = 9; - * * @param value The dataLocations to add. * @return This builder for chaining. */ - public Builder addDataLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDataLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDataLocationsIsMutable(); dataLocations_.add(value); bitField0_ |= 0x00000080; @@ -9184,8 +8238,6 @@ public Builder addDataLocations(java.lang.String value) { return this; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9195,20 +8247,19 @@ public Builder addDataLocations(java.lang.String value) {
      * 
* * repeated string data_locations = 9; - * * @param values The dataLocations to add. * @return This builder for chaining. */ - public Builder addAllDataLocations(java.lang.Iterable values) { + public Builder addAllDataLocations( + java.lang.Iterable values) { ensureDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataLocations_); bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9218,19 +8269,16 @@ public Builder addAllDataLocations(java.lang.Iterable values)
      * 
* * repeated string data_locations = 9; - * * @return This builder for chaining. */ public Builder clearDataLocations() { - dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - ; + dataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** - * - * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -9240,14 +8288,12 @@ public Builder clearDataLocations() {
      * 
* * repeated string data_locations = 9; - * * @param value The bytes of the dataLocations to add. * @return This builder for chaining. */ - public Builder addDataLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDataLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataLocationsIsMutable(); dataLocations_.add(value); @@ -9257,19 +8303,13 @@ public Builder addDataLocationsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> - invalidDataFormatBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> invalidDataFormatBuilder_; /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return Whether the invalidDataFormat field is set. */ @java.lang.Override @@ -9277,14 +8317,11 @@ public boolean hasInvalidDataFormat() { return detailsCase_ == 10; } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return The invalidDataFormat. */ @java.lang.Override @@ -9302,16 +8339,13 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataForma } } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public Builder setInvalidDataFormat( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { + public Builder setInvalidDataFormat(com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { if (invalidDataFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9325,8 +8359,6 @@ public Builder setInvalidDataFormat( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -9345,25 +8377,18 @@ public Builder setInvalidDataFormat( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public Builder mergeInvalidDataFormat( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { + public Builder mergeInvalidDataFormat(com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { if (invalidDataFormatBuilder_ == null) { - if (detailsCase_ == 10 - && details_ - != com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder( - (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 10 && + details_ != com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -9379,8 +8404,6 @@ public Builder mergeInvalidDataFormat( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -9404,21 +8427,16 @@ public Builder clearInvalidDataFormat() { return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder - getInvalidDataFormatBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder getInvalidDataFormatBuilder() { return getInvalidDataFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -9426,8 +8444,7 @@ public Builder clearInvalidDataFormat() { * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder - getInvalidDataFormatOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder() { if ((detailsCase_ == 10) && (invalidDataFormatBuilder_ != null)) { return invalidDataFormatBuilder_.getMessageOrBuilder(); } else { @@ -9438,8 +8455,6 @@ public Builder clearInvalidDataFormat() { } } /** - * - * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -9447,19 +8462,14 @@ public Builder clearInvalidDataFormat() { * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> getInvalidDataFormatFieldBuilder() { if (invalidDataFormatBuilder_ == null) { if (!(detailsCase_ == 10)) { details_ = com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } - invalidDataFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>( + invalidDataFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_, getParentForChildren(), isClean()); @@ -9471,20 +8481,13 @@ public Builder clearInvalidDataFormat() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> - incompatibleDataSchemaBuilder_; + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> incompatibleDataSchemaBuilder_; /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return Whether the incompatibleDataSchema field is set. */ @java.lang.Override @@ -9492,15 +8495,11 @@ public boolean hasIncompatibleDataSchema() { return detailsCase_ == 11; } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return The incompatibleDataSchema. */ @java.lang.Override @@ -9518,17 +8517,13 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibl } } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ - public Builder setIncompatibleDataSchema( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { + public Builder setIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { if (incompatibleDataSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9542,14 +8537,11 @@ public Builder setIncompatibleDataSchema( return this; } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ public Builder setIncompatibleDataSchema( com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder builderForValue) { @@ -9563,27 +8555,18 @@ public Builder setIncompatibleDataSchema( return this; } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ - public Builder mergeIncompatibleDataSchema( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { + public Builder mergeIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { if (incompatibleDataSchemaBuilder_ == null) { - if (detailsCase_ == 11 - && details_ - != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema - .getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder( - (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 11 && + details_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -9599,14 +8582,11 @@ public Builder mergeIncompatibleDataSchema( return this; } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ public Builder clearIncompatibleDataSchema() { if (incompatibleDataSchemaBuilder_ == null) { @@ -9625,32 +8605,24 @@ public Builder clearIncompatibleDataSchema() { return this; } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder - getIncompatibleDataSchemaBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder getIncompatibleDataSchemaBuilder() { return getIncompatibleDataSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder - getIncompatibleDataSchemaOrBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder() { if ((detailsCase_ == 11) && (incompatibleDataSchemaBuilder_ != null)) { return incompatibleDataSchemaBuilder_.getMessageOrBuilder(); } else { @@ -9661,30 +8633,21 @@ public Builder clearIncompatibleDataSchema() { } } /** - * - * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> getIncompatibleDataSchemaFieldBuilder() { if (incompatibleDataSchemaBuilder_ == null) { if (!(detailsCase_ == 11)) { - details_ = - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); - } - incompatibleDataSchemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>( + details_ = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); + } + incompatibleDataSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>( (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_, getParentForChildren(), isClean()); @@ -9696,21 +8659,14 @@ public Builder clearIncompatibleDataSchema() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> - invalidDataPartitionBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> invalidDataPartitionBuilder_; /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; * @return Whether the invalidDataPartition field is set. */ @java.lang.Override @@ -9718,16 +8674,12 @@ public boolean hasInvalidDataPartition() { return detailsCase_ == 12; } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; * @return The invalidDataPartition. */ @java.lang.Override @@ -9745,18 +8697,14 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPa } } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ - public Builder setInvalidDataPartition( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { + public Builder setInvalidDataPartition(com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { if (invalidDataPartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9770,15 +8718,12 @@ public Builder setInvalidDataPartition( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ public Builder setInvalidDataPartition( com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder builderForValue) { @@ -9792,27 +8737,19 @@ public Builder setInvalidDataPartition( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ - public Builder mergeInvalidDataPartition( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { + public Builder mergeInvalidDataPartition(com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { if (invalidDataPartitionBuilder_ == null) { - if (detailsCase_ == 12 - && details_ - != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder( - (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 12 && + details_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -9828,15 +8765,12 @@ public Builder mergeInvalidDataPartition( return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ public Builder clearInvalidDataPartition() { if (invalidDataPartitionBuilder_ == null) { @@ -9855,34 +8789,26 @@ public Builder clearInvalidDataPartition() { return this; } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ - public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder - getInvalidDataPartitionBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder getInvalidDataPartitionBuilder() { return getInvalidDataPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder - getInvalidDataPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder() { if ((detailsCase_ == 12) && (invalidDataPartitionBuilder_ != null)) { return invalidDataPartitionBuilder_.getMessageOrBuilder(); } else { @@ -9893,30 +8819,22 @@ public Builder clearInvalidDataPartition() { } } /** - * - * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> getInvalidDataPartitionFieldBuilder() { if (invalidDataPartitionBuilder_ == null) { if (!(detailsCase_ == 12)) { details_ = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance(); } - invalidDataPartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>( + invalidDataPartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_, getParentForChildren(), isClean()); @@ -9928,19 +8846,13 @@ public Builder clearInvalidDataPartition() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, - com.google.cloud.dataplex.v1.Action.MissingData.Builder, - com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> - missingDataBuilder_; + com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> missingDataBuilder_; /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return Whether the missingData field is set. */ @java.lang.Override @@ -9948,14 +8860,11 @@ public boolean hasMissingData() { return detailsCase_ == 13; } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return The missingData. */ @java.lang.Override @@ -9973,8 +8882,6 @@ public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { } } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -9995,8 +8902,6 @@ public Builder setMissingData(com.google.cloud.dataplex.v1.Action.MissingData va return this; } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10015,8 +8920,6 @@ public Builder setMissingData( return this; } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10025,13 +8928,10 @@ public Builder setMissingData( */ public Builder mergeMissingData(com.google.cloud.dataplex.v1.Action.MissingData value) { if (missingDataBuilder_ == null) { - if (detailsCase_ == 13 - && details_ != com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.MissingData.newBuilder( - (com.google.cloud.dataplex.v1.Action.MissingData) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 13 && + details_ != com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.MissingData.newBuilder((com.google.cloud.dataplex.v1.Action.MissingData) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -10047,8 +8947,6 @@ public Builder mergeMissingData(com.google.cloud.dataplex.v1.Action.MissingData return this; } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10072,8 +8970,6 @@ public Builder clearMissingData() { return this; } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10084,8 +8980,6 @@ public com.google.cloud.dataplex.v1.Action.MissingData.Builder getMissingDataBui return getMissingDataFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10104,8 +8998,6 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr } } /** - * - * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -10113,19 +9005,14 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, - com.google.cloud.dataplex.v1.Action.MissingData.Builder, - com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> + com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> getMissingDataFieldBuilder() { if (missingDataBuilder_ == null) { if (!(detailsCase_ == 13)) { details_ = com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } - missingDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, - com.google.cloud.dataplex.v1.Action.MissingData.Builder, - com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>( + missingDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>( (com.google.cloud.dataplex.v1.Action.MissingData) details_, getParentForChildren(), isClean()); @@ -10137,19 +9024,13 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, - com.google.cloud.dataplex.v1.Action.MissingResource.Builder, - com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> - missingResourceBuilder_; + com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> missingResourceBuilder_; /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return Whether the missingResource field is set. */ @java.lang.Override @@ -10157,14 +9038,11 @@ public boolean hasMissingResource() { return detailsCase_ == 14; } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return The missingResource. */ @java.lang.Override @@ -10182,8 +9060,6 @@ public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() } } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10204,8 +9080,6 @@ public Builder setMissingResource(com.google.cloud.dataplex.v1.Action.MissingRes return this; } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10224,8 +9098,6 @@ public Builder setMissingResource( return this; } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10234,14 +9106,10 @@ public Builder setMissingResource( */ public Builder mergeMissingResource(com.google.cloud.dataplex.v1.Action.MissingResource value) { if (missingResourceBuilder_ == null) { - if (detailsCase_ == 14 - && details_ - != com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder( - (com.google.cloud.dataplex.v1.Action.MissingResource) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 14 && + details_ != com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder((com.google.cloud.dataplex.v1.Action.MissingResource) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -10257,8 +9125,6 @@ public Builder mergeMissingResource(com.google.cloud.dataplex.v1.Action.MissingR return this; } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10282,8 +9148,6 @@ public Builder clearMissingResource() { return this; } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10294,8 +9158,6 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes return getMissingResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10303,8 +9165,7 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder - getMissingResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder() { if ((detailsCase_ == 14) && (missingResourceBuilder_ != null)) { return missingResourceBuilder_.getMessageOrBuilder(); } else { @@ -10315,8 +9176,6 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes } } /** - * - * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -10324,19 +9183,14 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, - com.google.cloud.dataplex.v1.Action.MissingResource.Builder, - com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> + com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> getMissingResourceFieldBuilder() { if (missingResourceBuilder_ == null) { if (!(detailsCase_ == 14)) { details_ = com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } - missingResourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, - com.google.cloud.dataplex.v1.Action.MissingResource.Builder, - com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>( + missingResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>( (com.google.cloud.dataplex.v1.Action.MissingResource) details_, getParentForChildren(), isClean()); @@ -10348,21 +9202,14 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, - com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, - com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> - unauthorizedResourceBuilder_; + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> unauthorizedResourceBuilder_; /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; * @return Whether the unauthorizedResource field is set. */ @java.lang.Override @@ -10370,16 +9217,12 @@ public boolean hasUnauthorizedResource() { return detailsCase_ == 15; } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; * @return The unauthorizedResource. */ @java.lang.Override @@ -10397,18 +9240,14 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedR } } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ - public Builder setUnauthorizedResource( - com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { + public Builder setUnauthorizedResource(com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { if (unauthorizedResourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10422,15 +9261,12 @@ public Builder setUnauthorizedResource( return this; } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ public Builder setUnauthorizedResource( com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder builderForValue) { @@ -10444,27 +9280,19 @@ public Builder setUnauthorizedResource( return this; } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ - public Builder mergeUnauthorizedResource( - com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { + public Builder mergeUnauthorizedResource(com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { if (unauthorizedResourceBuilder_ == null) { - if (detailsCase_ == 15 - && details_ - != com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder( - (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 15 && + details_ != com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder((com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -10480,15 +9308,12 @@ public Builder mergeUnauthorizedResource( return this; } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ public Builder clearUnauthorizedResource() { if (unauthorizedResourceBuilder_ == null) { @@ -10507,34 +9332,26 @@ public Builder clearUnauthorizedResource() { return this; } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ - public com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder - getUnauthorizedResourceBuilder() { + public com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder getUnauthorizedResourceBuilder() { return getUnauthorizedResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder - getUnauthorizedResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder() { if ((detailsCase_ == 15) && (unauthorizedResourceBuilder_ != null)) { return unauthorizedResourceBuilder_.getMessageOrBuilder(); } else { @@ -10545,30 +9362,22 @@ public Builder clearUnauthorizedResource() { } } /** - * - * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, - com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, - com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> getUnauthorizedResourceFieldBuilder() { if (unauthorizedResourceBuilder_ == null) { if (!(detailsCase_ == 15)) { details_ = com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance(); } - unauthorizedResourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, - com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, - com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>( + unauthorizedResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>( (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_, getParentForChildren(), isClean()); @@ -10580,21 +9389,13 @@ public Builder clearUnauthorizedResource() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> - failedSecurityPolicyApplyBuilder_; + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> failedSecurityPolicyApplyBuilder_; /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return Whether the failedSecurityPolicyApply field is set. */ @java.lang.Override @@ -10602,21 +9403,15 @@ public boolean hasFailedSecurityPolicyApply() { return detailsCase_ == 21; } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return The failedSecurityPolicyApply. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - getFailedSecurityPolicyApply() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply() { if (failedSecurityPolicyApplyBuilder_ == null) { if (detailsCase_ == 21) { return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; @@ -10630,18 +9425,13 @@ public boolean hasFailedSecurityPolicyApply() { } } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ - public Builder setFailedSecurityPolicyApply( - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { + public Builder setFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { if (failedSecurityPolicyApplyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10655,15 +9445,11 @@ public Builder setFailedSecurityPolicyApply( return this; } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ public Builder setFailedSecurityPolicyApply( com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder builderForValue) { @@ -10677,28 +9463,18 @@ public Builder setFailedSecurityPolicyApply( return this; } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ - public Builder mergeFailedSecurityPolicyApply( - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { + public Builder mergeFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { if (failedSecurityPolicyApplyBuilder_ == null) { - if (detailsCase_ == 21 - && details_ - != com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply - .getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder( - (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 21 && + details_ != com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -10714,15 +9490,11 @@ public Builder mergeFailedSecurityPolicyApply( return this; } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ public Builder clearFailedSecurityPolicyApply() { if (failedSecurityPolicyApplyBuilder_ == null) { @@ -10741,34 +9513,24 @@ public Builder clearFailedSecurityPolicyApply() { return this; } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder - getFailedSecurityPolicyApplyBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder getFailedSecurityPolicyApplyBuilder() { return getFailedSecurityPolicyApplyFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder - getFailedSecurityPolicyApplyOrBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder() { if ((detailsCase_ == 21) && (failedSecurityPolicyApplyBuilder_ != null)) { return failedSecurityPolicyApplyBuilder_.getMessageOrBuilder(); } else { @@ -10779,31 +9541,21 @@ public Builder clearFailedSecurityPolicyApply() { } } /** - * - * *
      * Details for issues related to applying security policy.
      * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> getFailedSecurityPolicyApplyFieldBuilder() { if (failedSecurityPolicyApplyBuilder_ == null) { if (!(detailsCase_ == 21)) { - details_ = - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); - } - failedSecurityPolicyApplyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>( + details_ = com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); + } + failedSecurityPolicyApplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>( (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_, getParentForChildren(), isClean()); @@ -10815,21 +9567,13 @@ public Builder clearFailedSecurityPolicyApply() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> - invalidDataOrganizationBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> invalidDataOrganizationBuilder_; /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return Whether the invalidDataOrganization field is set. */ @java.lang.Override @@ -10837,21 +9581,15 @@ public boolean hasInvalidDataOrganization() { return detailsCase_ == 22; } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return The invalidDataOrganization. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization - getInvalidDataOrganization() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization() { if (invalidDataOrganizationBuilder_ == null) { if (detailsCase_ == 22) { return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; @@ -10865,18 +9603,13 @@ public boolean hasInvalidDataOrganization() { } } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ - public Builder setInvalidDataOrganization( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { + public Builder setInvalidDataOrganization(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { if (invalidDataOrganizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10890,15 +9623,11 @@ public Builder setInvalidDataOrganization( return this; } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ public Builder setInvalidDataOrganization( com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder builderForValue) { @@ -10912,28 +9641,18 @@ public Builder setInvalidDataOrganization( return this; } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ - public Builder mergeInvalidDataOrganization( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { + public Builder mergeInvalidDataOrganization(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { if (invalidDataOrganizationBuilder_ == null) { - if (detailsCase_ == 22 - && details_ - != com.google.cloud.dataplex.v1.Action.InvalidDataOrganization - .getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder( - (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 22 && + details_ != com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -10949,15 +9668,11 @@ public Builder mergeInvalidDataOrganization( return this; } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ public Builder clearInvalidDataOrganization() { if (invalidDataOrganizationBuilder_ == null) { @@ -10976,34 +9691,24 @@ public Builder clearInvalidDataOrganization() { return this; } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder - getInvalidDataOrganizationBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder getInvalidDataOrganizationBuilder() { return getInvalidDataOrganizationFieldBuilder().getBuilder(); } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder - getInvalidDataOrganizationOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder() { if ((detailsCase_ == 22) && (invalidDataOrganizationBuilder_ != null)) { return invalidDataOrganizationBuilder_.getMessageOrBuilder(); } else { @@ -11014,31 +9719,21 @@ public Builder clearInvalidDataOrganization() { } } /** - * - * *
      * Details for issues related to invalid data arrangement.
      * 
* - * - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> getInvalidDataOrganizationFieldBuilder() { if (invalidDataOrganizationBuilder_ == null) { if (!(detailsCase_ == 22)) { - details_ = - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); - } - invalidDataOrganizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, - com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>( + details_ = com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); + } + invalidDataOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_, getParentForChildren(), isClean()); @@ -11048,9 +9743,9 @@ public Builder clearInvalidDataOrganization() { onChanged(); return invalidDataOrganizationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -11060,12 +9755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action) private static final com.google.cloud.dataplex.v1.Action DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action(); } @@ -11074,27 +9769,27 @@ public static com.google.cloud.dataplex.v1.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11109,4 +9804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java similarity index 78% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java index 72f0ed9de689..00d0c0995579 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java @@ -1,105 +1,70 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface ActionOrBuilder - extends +public interface ActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The enum numeric value on the wire for category. */ int getCategoryValue(); /** - * - * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; - * * @return The category. */ com.google.cloud.dataplex.v1.Action.Category getCategory(); /** - * - * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; - * * @return The issue. */ java.lang.String getIssue(); /** - * - * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; - * * @return The bytes for issue. */ - com.google.protobuf.ByteString getIssueBytes(); + com.google.protobuf.ByteString + getIssueBytes(); /** - * - * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return Whether the detectTime field is set. */ boolean hasDetectTime(); /** - * - * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; - * * @return The detectTime. */ com.google.protobuf.Timestamp getDetectTime(); /** - * - * *
    * The time that the issue was detected.
    * 
@@ -109,8 +74,6 @@ public interface ActionOrBuilder com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder(); /** - * - * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -118,16 +81,11 @@ public interface ActionOrBuilder
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -135,110 +93,79 @@ public interface ActionOrBuilder
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The lake. */ java.lang.String getLake(); /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for lake. */ - com.google.protobuf.ByteString getLakeBytes(); + com.google.protobuf.ByteString + getLakeBytes(); /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The asset. */ java.lang.String getAsset(); /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -248,13 +175,11 @@ public interface ActionOrBuilder
    * 
* * repeated string data_locations = 9; - * * @return A list containing the dataLocations. */ - java.util.List getDataLocationsList(); + java.util.List + getDataLocationsList(); /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -264,13 +189,10 @@ public interface ActionOrBuilder
    * 
* * repeated string data_locations = 9; - * * @return The count of dataLocations. */ int getDataLocationsCount(); /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -280,14 +202,11 @@ public interface ActionOrBuilder
    * 
* * repeated string data_locations = 9; - * * @param index The index of the element to return. * @return The dataLocations at the given index. */ java.lang.String getDataLocations(int index); /** - * - * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -297,39 +216,31 @@ public interface ActionOrBuilder
    * 
* * repeated string data_locations = 9; - * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - com.google.protobuf.ByteString getDataLocationsBytes(int index); + com.google.protobuf.ByteString + getDataLocationsBytes(int index); /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return Whether the invalidDataFormat field is set. */ boolean hasInvalidDataFormat(); /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; - * * @return The invalidDataFormat. */ com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat(); /** - * - * *
    * Details for issues related to invalid or unsupported data formats.
    * 
@@ -339,73 +250,53 @@ public interface ActionOrBuilder com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder(); /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return Whether the incompatibleDataSchema field is set. */ boolean hasIncompatibleDataSchema(); /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; * @return The incompatibleDataSchema. */ com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema(); /** - * - * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; - * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; */ - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder - getIncompatibleDataSchemaOrBuilder(); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder(); /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * * @return Whether the invalidDataPartition field is set. */ boolean hasInvalidDataPartition(); /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; - * * @return The invalidDataPartition. */ com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition(); /** - * - * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
@@ -413,36 +304,27 @@ public interface ActionOrBuilder
    *
    * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
    */
-  com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
-      getInvalidDataPartitionOrBuilder();
+  com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return Whether the missingData field is set. */ boolean hasMissingData(); /** - * - * *
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; - * * @return The missingData. */ com.google.cloud.dataplex.v1.Action.MissingData getMissingData(); /** - * - * *
    * Details for issues related to absence of data within managed resources.
    * 
@@ -452,32 +334,24 @@ public interface ActionOrBuilder com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder(); /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return Whether the missingResource field is set. */ boolean hasMissingResource(); /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; - * * @return The missingResource. */ com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource(); /** - * - * *
    * Details for issues related to absence of a managed resource.
    * 
@@ -487,34 +361,26 @@ public interface ActionOrBuilder com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder(); /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * * @return Whether the unauthorizedResource field is set. */ boolean hasUnauthorizedResource(); /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; - * * @return The unauthorizedResource. */ com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource(); /** - * - * *
    * Details for issues related to lack of permissions to access data
    * resources.
@@ -522,89 +388,61 @@ public interface ActionOrBuilder
    *
    * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
    */
-  com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
-      getUnauthorizedResourceOrBuilder();
+  com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return Whether the failedSecurityPolicyApply field is set. */ boolean hasFailedSecurityPolicyApply(); /** - * - * *
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; * @return The failedSecurityPolicyApply. */ com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply(); /** - * - * *
    * Details for issues related to applying security policy.
    * 
* - * - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; - * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; */ - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder - getFailedSecurityPolicyApplyOrBuilder(); + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder(); /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return Whether the invalidDataOrganization field is set. */ boolean hasInvalidDataOrganization(); /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; * @return The invalidDataOrganization. */ com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization(); /** - * - * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; - * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; */ - com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder - getInvalidDataOrganizationOrBuilder(); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder(); com.google.cloud.dataplex.v1.Action.DetailsCase getDetailsCase(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java new file mode 100644 index 000000000000..c47fff68a6bf --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java @@ -0,0 +1,289 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/analyze.proto + +package com.google.cloud.dataplex.v1; + +public final class AnalyzeProto { + private AnalyzeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Session_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/analyze.proto" + + "\022\030google.cloud.dataplex.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032(google/cloud/dataplex/v1/resourc" + + "es.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\263\r\n\013En" + + "vironment\022:\n\004name\030\001 \001(\tB,\342A\001\003\372A%\n#datapl" + + "ex.googleapis.com/Environment\022\032\n\014display" + + "_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013" + + "create_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022G\n\006labels\030\006 \003" + + "(\01321.google.cloud.dataplex.v1.Environmen" + + "t.LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\t" + + "B\004\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.dat" + + "aplex.v1.StateB\004\342A\001\003\022[\n\023infrastructure_s" + + "pec\030d \001(\01328.google.cloud.dataplex.v1.Env" + + "ironment.InfrastructureSpecB\004\342A\001\002\022M\n\014ses" + + "sion_spec\030e \001(\01321.google.cloud.dataplex." + + "v1.Environment.SessionSpecB\004\342A\001\001\022Q\n\016sess" + + "ion_status\030f \001(\01323.google.cloud.dataplex" + + ".v1.Environment.SessionStatusB\004\342A\001\003\022I\n\te" + + "ndpoints\030\310\001 \001(\0132/.google.cloud.dataplex." + + "v1.Environment.EndpointsB\004\342A\001\003\032\356\004\n\022Infra" + + "structureSpec\022b\n\007compute\0302 \001(\0132I.google." + + "cloud.dataplex.v1.Environment.Infrastruc" + + "tureSpec.ComputeResourcesB\004\342A\001\001H\000\022a\n\010os_" + + "image\030d \001(\0132G.google.cloud.dataplex.v1.E" + + "nvironment.InfrastructureSpec.OsImageRun" + + "timeB\004\342A\001\002H\001\032f\n\020ComputeResources\022\032\n\014disk" + + "_size_gb\030\001 \001(\005B\004\342A\001\001\022\030\n\nnode_count\030\002 \001(\005" + + "B\004\342A\001\001\022\034\n\016max_node_count\030\003 \001(\005B\004\342A\001\001\032\220\002\n" + + "\016OsImageRuntime\022\033\n\rimage_version\030\001 \001(\tB\004" + + "\342A\001\002\022\034\n\016java_libraries\030\002 \003(\tB\004\342A\001\001\022\035\n\017py" + + "thon_packages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030" + + "\004 \003(\0132W.google.cloud.dataplex.v1.Environ" + + "ment.InfrastructureSpec.OsImageRuntime.P" + + "ropertiesEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\013\n\tresou" + + "rcesB\t\n\007runtime\032l\n\013SessionSpec\022:\n\021max_id" + + "le_duration\030\001 \001(\0132\031.google.protobuf.Dura" + + "tionB\004\342A\001\001\022!\n\023enable_fast_startup\030\002 \001(\010B" + + "\004\342A\001\001\032%\n\rSessionStatus\022\024\n\006active\030\001 \001(\010B\004" + + "\342A\001\003\0327\n\tEndpoints\022\027\n\tnotebooks\030\001 \001(\tB\004\342A" + + "\001\003\022\021\n\003sql\030\002 \001(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y\352Av\n#datap" + + "lex.googleapis.com/Environment\022Oprojects" + + "/{project}/locations/{location}/lakes/{l" + + "ake}/environments/{environment}\"\260\007\n\007Cont" + + "ent\0226\n\004name\030\001 \001(\tB(\342A\001\003\372A!\n\037dataplex.goo" + + "gleapis.com/Content\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\022" + + "\n\004path\030\003 \001(\tB\004\342A\001\002\0225\n\013create_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022C\n\006labels\030\006 \003(\0132-.google.cloud." + + "dataplex.v1.Content.LabelsEntryB\004\342A\001\001\022\031\n" + + "\013description\030\007 \001(\tB\004\342A\001\001\022\031\n\tdata_text\030\t " + + "\001(\tB\004\342A\001\002H\000\022A\n\nsql_script\030d \001(\0132+.google" + + ".cloud.dataplex.v1.Content.SqlScriptH\001\022>" + + "\n\010notebook\030e \001(\0132*.google.cloud.dataplex" + + ".v1.Content.NotebookH\001\032\222\001\n\tSqlScript\022M\n\006" + + "engine\030\001 \001(\01627.google.cloud.dataplex.v1." + + "Content.SqlScript.QueryEngineB\004\342A\001\002\"6\n\013Q" + + "ueryEngine\022\034\n\030QUERY_ENGINE_UNSPECIFIED\020\000" + + "\022\t\n\005SPARK\020\002\032\224\001\n\010Notebook\022P\n\013kernel_type\030" + + "\001 \001(\01625.google.cloud.dataplex.v1.Content" + + ".Notebook.KernelTypeB\004\342A\001\002\"6\n\nKernelType" + + "\022\033\n\027KERNEL_TYPE_UNSPECIFIED\020\000\022\013\n\007PYTHON3" + + "\020\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001:l\352Ai\n\037dataplex.googleapis.com/" + + "Content\022Fprojects/{project}/locations/{l" + + "ocation}/lakes/{lake}/content/{content}B" + + "\006\n\004dataB\t\n\007content\"\321\002\n\007Session\0226\n\004name\030\001" + + " \001(\tB(\342A\001\003\372A!\n\037dataplex.googleapis.com/S" + + "ession\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\003\0225\n\013create_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0224\n\005state\030\004 \001(\0162\037.google.cloud.datap" + + "lex.v1.StateB\004\342A\001\003:\211\001\352A\205\001\n\037dataplex.goog" + + "leapis.com/Session\022bprojects/{project}/l" + + "ocations/{location}/lakes/{lake}/environ" + + "ments/{environment}/sessions/{session}Bh" + + "\n\034com.google.cloud.dataplex.v1B\014AnalyzeP" + + "rotoP\001Z8cloud.google.com/go/dataplex/api" + + "v1/dataplexpb;dataplexpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Environment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "InfrastructureSpec", "SessionSpec", "SessionStatus", "Endpoints", }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor, + new java.lang.String[] { "Compute", "OsImage", "Resources", "Runtime", }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor, + new java.lang.String[] { "DiskSizeGb", "NodeCount", "MaxNodeCount", }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor, + new java.lang.String[] { "ImageVersion", "JavaLibraries", "PythonPackages", "Properties", }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor, + new java.lang.String[] { "MaxIdleDuration", "EnableFastStartup", }); + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor, + new java.lang.String[] { "Active", }); + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor, + new java.lang.String[] { "Notebooks", "Sql", }); + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Content_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_descriptor, + new java.lang.String[] { "Name", "Uid", "Path", "CreateTime", "UpdateTime", "Labels", "Description", "DataText", "SqlScript", "Notebook", "Data", "Content", }); + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor, + new java.lang.String[] { "Engine", }); + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor, + new java.lang.String[] { "KernelType", }); + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Session_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Session_descriptor, + new java.lang.String[] { "Name", "UserId", "CreateTime", "State", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java index 3bae8ae653ea..07c1bb8c28bf 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * An asset represents a cloud resource that is being managed within a lake as a
  * member of a zone.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Asset}
  */
-public final class Asset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Asset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset)
     AssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Asset.newBuilder() to construct.
   private Asset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Asset() {
     name_ = "";
     displayName_ = "";
@@ -48,120 +30,100 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Asset.class,
-            com.google.cloud.dataplex.v1.Asset.Builder.class);
+            com.google.cloud.dataplex.v1.Asset.class, com.google.cloud.dataplex.v1.Asset.Builder.class);
   }
 
-  public interface SecurityStatusOrBuilder
-      extends
+  public interface SecurityStatusOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.SecurityStatus)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The state. */ com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
@@ -171,8 +133,6 @@ public interface SecurityStatusOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } /** - * - * *
    * Security policy status of the asset. Data security policy, i.e., readers,
    * writers & owners, should be specified in the lake/zone/asset IAM policy.
@@ -180,16 +140,15 @@ public interface SecurityStatusOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Asset.SecurityStatus}
    */
-  public static final class SecurityStatus extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecurityStatus extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.SecurityStatus)
       SecurityStatusOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecurityStatus.newBuilder() to construct.
     private SecurityStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecurityStatus() {
       state_ = 0;
       message_ = "";
@@ -197,38 +156,34 @@ private SecurityStatus() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SecurityStatus();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Asset.SecurityStatus.class,
-              com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
+              com.google.cloud.dataplex.v1.Asset.SecurityStatus.class, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The state of the security policy.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.SecurityStatus.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * State unspecified.
        * 
@@ -237,8 +192,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * Security policy has been successfully applied to the attached resource.
        * 
@@ -247,8 +200,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
        * Security policy is in the process of being applied to the attached
        * resource.
@@ -258,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       APPLYING(2),
       /**
-       *
-       *
        * 
        * Security policy could not be applied to the attached resource due to
        * errors.
@@ -272,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * State unspecified.
        * 
@@ -282,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Security policy has been successfully applied to the attached resource.
        * 
@@ -292,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
        * Security policy is in the process of being applied to the attached
        * resource.
@@ -303,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int APPLYING_VALUE = 2;
       /**
-       *
-       *
        * 
        * Security policy could not be applied to the attached resource due to
        * errors.
@@ -314,6 +255,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ERROR_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -338,53 +280,50 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return READY;
-          case 2:
-            return APPLYING;
-          case 3:
-            return ERROR;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return READY;
+          case 2: return APPLYING;
+          case 3: return ERROR;
+          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() {
-        return com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.Asset.SecurityStatus.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;
@@ -404,55 +343,40 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -461,29 +385,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -494,14 +418,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -509,14 +430,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ @java.lang.Override @@ -524,8 +442,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last update time of the status.
      * 
@@ -538,7 +454,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -550,10 +465,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -571,16 +485,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -590,19 +504,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.SecurityStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.SecurityStatus other = - (com.google.cloud.dataplex.v1.Asset.SecurityStatus) obj; + com.google.cloud.dataplex.v1.Asset.SecurityStatus other = (com.google.cloud.dataplex.v1.Asset.SecurityStatus) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -629,93 +544,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.SecurityStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 +636,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Security policy status of the asset. Data security policy, i.e., readers,
      * writers & owners, should be specified in the lake/zone/asset IAM policy.
@@ -734,33 +643,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Asset.SecurityStatus}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.SecurityStatus)
         com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Asset.SecurityStatus.class,
-                com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
+                com.google.cloud.dataplex.v1.Asset.SecurityStatus.class, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Asset.SecurityStatus.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -776,9 +685,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto
-            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
       }
 
       @java.lang.Override
@@ -797,11 +706,8 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatus build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Asset.SecurityStatus buildPartial() {
-        com.google.cloud.dataplex.v1.Asset.SecurityStatus result =
-            new com.google.cloud.dataplex.v1.Asset.SecurityStatus(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.Asset.SecurityStatus result = new com.google.cloud.dataplex.v1.Asset.SecurityStatus(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -815,8 +721,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.SecurityStatus res
           result.message_ = message_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.updateTime_ =
-              updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+          result.updateTime_ = updateTimeBuilder_ == null
+              ? updateTime_
+              : updateTimeBuilder_.build();
         }
       }
 
@@ -824,41 +731,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.SecurityStatus res
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Asset.SecurityStatus) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Asset.SecurityStatus) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Asset.SecurityStatus)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -866,8 +770,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.SecurityStatus other) {
-        if (other == com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) return this;
         if (other.state_ != 0) {
           setStateValue(other.getStateValue());
         }
@@ -905,31 +808,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  state_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  message_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getUpdateTimeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -939,36 +840,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int state_ = 0;
       /**
-       *
-       *
        * 
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -979,35 +872,26 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED : result; } /** - * - * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1021,15 +905,12 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.SecurityStatus.State return this; } /** - * - * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1041,20 +922,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1063,21 +942,20 @@ public java.lang.String getMessage() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1085,35 +963,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1123,21 +994,17 @@ public Builder clearMessage() { return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -1147,47 +1014,34 @@ public Builder setMessageBytes(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_; /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @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(); } } /** - * - * *
        * Last update time of the status.
        * 
@@ -1208,15 +1062,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1227,8 +1080,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -1237,9 +1088,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1252,8 +1103,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -1271,8 +1120,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -1285,8 +1132,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last update time of the status.
        * 
@@ -1297,14 +1142,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last update time of the status.
        * 
@@ -1312,22 +1154,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1340,12 +1178,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.SecurityStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.SecurityStatus) private static final com.google.cloud.dataplex.v1.Asset.SecurityStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.SecurityStatus(); } @@ -1354,28 +1192,27 @@ public static com.google.cloud.dataplex.v1.Asset.SecurityStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,29 +1227,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.SecurityStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DiscoverySpecOrBuilder - extends + public interface DiscoverySpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1422,13 +1254,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the includePatterns. */ - java.util.List getIncludePatternsList(); + java.util.List + getIncludePatternsList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1438,13 +1268,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of includePatterns. */ int getIncludePatternsCount(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1454,14 +1281,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The includePatterns at the given index. */ java.lang.String getIncludePatterns(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1471,15 +1295,13 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - com.google.protobuf.ByteString getIncludePatternsBytes(int index); + com.google.protobuf.ByteString + getIncludePatternsBytes(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1488,13 +1310,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the excludePatterns. */ - java.util.List getExcludePatternsList(); + java.util.List + getExcludePatternsList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1503,13 +1323,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of excludePatterns. */ int getExcludePatternsCount(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1518,14 +1335,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ java.lang.String getExcludePatterns(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1534,97 +1348,67 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - com.google.protobuf.ByteString getExcludePatternsBytes(int index); + com.google.protobuf.ByteString + getExcludePatternsBytes(int index); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions(); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ boolean hasJsonOptions(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1637,13 +1421,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1656,13 +1437,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1675,162 +1453,140 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); com.google.cloud.dataplex.v1.Asset.DiscoverySpec.TriggerCase getTriggerCase(); } /** - * - * *
    * Settings to manage the metadata discovery and publishing for an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec} */ - public static final class DiscoverySpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DiscoverySpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec) DiscoverySpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoverySpec.newBuilder() to construct. private DiscoverySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoverySpec() { - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); } - public interface CsvOptionsOrBuilder - extends + public interface CsvOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ int getHeaderRows(); /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ java.lang.String getDelimiter(); /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString getDelimiterBytes(); + com.google.protobuf.ByteString + getDelimiterBytes(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** - * - * *
      * Describe CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} */ - public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CsvOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CsvOptions() { delimiter_ = ""; encoding_ = ""; @@ -1838,37 +1594,33 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); } public static final int HEADER_ROWS_FIELD_NUMBER = 1; private int headerRows_ = 0; /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -1877,19 +1629,15 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ @java.lang.Override @@ -1898,30 +1646,30 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1930,18 +1678,14 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } public static final int ENCODING_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -1950,29 +1694,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1983,15 +1727,12 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 4; private boolean disableTypeInference_ = false; /** - * - * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -2000,7 +1741,6 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2012,7 +1752,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (headerRows_ != 0) { output.writeInt32(1, headerRows_); } @@ -2035,7 +1776,8 @@ public int getSerializedSize() { size = 0; if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, headerRows_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); @@ -2044,7 +1786,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2054,18 +1797,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other = - (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) obj; - if (getHeaderRows() != other.getHeaderRows()) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getDisableTypeInference() != other.getDisableTypeInference()) return false; + if (getHeaderRows() + != other.getHeaderRows()) return false; + if (!getDelimiter() + .equals(other.getDelimiter())) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getDisableTypeInference() + != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2084,101 +1830,97 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2188,41 +1930,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Describe CSV and similar semi-structured data formats.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2235,14 +1975,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance(); } @@ -2257,17 +1996,13 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result = - new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.headerRows_ = headerRows_; @@ -2287,52 +2022,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other) { - if (other - == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other) { + if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) return this; if (other.getHeaderRows() != 0) { setHeaderRows(other.getHeaderRows()); } @@ -2375,37 +2104,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2415,20 +2139,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int headerRows_; + private int headerRows_ ; /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -2436,15 +2156,12 @@ public int getHeaderRows() { return headerRows_; } /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -2456,15 +2173,12 @@ public Builder setHeaderRows(int value) { return this; } /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -2476,21 +2190,19 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -2499,22 +2211,21 @@ public java.lang.String getDelimiter() { } } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -2522,37 +2233,30 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -2562,22 +2266,18 @@ public Builder clearDelimiter() { return this; } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -2587,20 +2287,18 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { private java.lang.Object encoding_ = ""; /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2609,21 +2307,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -2631,35 +2328,28 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2669,21 +2359,17 @@ public Builder clearEncoding() { return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000004; @@ -2691,17 +2377,14 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) { return this; } - private boolean disableTypeInference_; + private boolean disableTypeInference_ ; /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -2709,15 +2392,12 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -2729,15 +2409,12 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -2746,7 +2423,6 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2759,44 +2435,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) - private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2808,45 +2481,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface JsonOptionsOrBuilder - extends + public interface JsonOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2854,68 +2519,59 @@ public interface JsonOptionsOrBuilder
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** - * - * *
      * Describe JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} */ - public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class JsonOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -2924,29 +2580,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -2957,8 +2613,6 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 2; private boolean disableTypeInference_ = false; /** - * - * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2966,7 +2620,6 @@ public com.google.protobuf.ByteString getEncodingBytes() {
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -2975,7 +2628,6 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2987,7 +2639,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -3007,7 +2660,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3017,16 +2671,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other = - (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) obj; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getDisableTypeInference() != other.getDisableTypeInference()) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getDisableTypeInference() + != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3041,101 +2696,97 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3145,41 +2796,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Describe JSON data format.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3190,14 +2839,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance(); } @@ -3212,17 +2860,13 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result = - new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encoding_ = encoding_; @@ -3236,52 +2880,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other) { - if (other - == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other) { + if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -3316,25 +2954,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3344,25 +2979,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object encoding_ = ""; /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -3371,21 +3003,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -3393,35 +3024,28 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -3431,21 +3055,17 @@ public Builder clearEncoding() { return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -3453,10 +3073,8 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) { return this; } - private boolean disableTypeInference_; + private boolean disableTypeInference_ ; /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3464,7 +3082,6 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -3472,8 +3089,6 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3481,7 +3096,6 @@ public boolean getDisableTypeInference() {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -3493,8 +3107,6 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3502,7 +3114,6 @@ public Builder setDisableTypeInference(boolean value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -3511,7 +3122,6 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3524,44 +3134,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) - private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3573,25 +3180,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int triggerCase_ = 0; - @SuppressWarnings("serial") 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(10), TRIGGER_NOT_SET(0); private final int value; - private TriggerCase(int value) { this.value = value; } @@ -3607,35 +3210,30 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 10: - return SCHEDULE; - case 0: - return TRIGGER_NOT_SET; - default: - return null; + case 10: return SCHEDULE; + 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 ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** - * - * *
      * Optional. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enabled. */ @java.lang.Override @@ -3644,13 +3242,10 @@ public boolean getEnabled() { } public static final int INCLUDE_PATTERNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3660,15 +3255,13 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList + getIncludePatternsList() { return includePatterns_; } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3678,15 +3271,12 @@ public com.google.protobuf.ProtocolStringList getIncludePatternsList() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3696,7 +3286,6 @@ public int getIncludePatternsCount() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -3704,8 +3293,6 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3715,22 +3302,19 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } public static final int EXCLUDE_PATTERNS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3739,15 +3323,13 @@ public com.google.protobuf.ByteString getIncludePatternsBytes(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList + getExcludePatternsList() { return excludePatterns_; } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3756,15 +3338,12 @@ public com.google.protobuf.ProtocolStringList getExcludePatternsList() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3773,7 +3352,6 @@ public int getExcludePatternsCount() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -3781,8 +3359,6 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3791,27 +3367,22 @@ public java.lang.String getExcludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } public static final int CSV_OPTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csvOptions_; /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -3819,56 +3390,37 @@ public boolean hasCsvOptions() { return csvOptions_ != null; } /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions() { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder - getCsvOptionsOrBuilder() { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } public static final int JSON_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions jsonOptions_; /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ @java.lang.Override @@ -3876,47 +3428,31 @@ public boolean hasJsonOptions() { return jsonOptions_ != null; } /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions() { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder - getJsonOptionsOrBuilder() { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } public static final int SCHEDULE_FIELD_NUMBER = 10; /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3929,15 +3465,12 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptio
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 10; } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3950,7 +3483,6 @@ public boolean hasSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ public java.lang.String getSchedule() { @@ -3961,7 +3493,8 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -3970,8 +3503,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3984,17 +3515,18 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -4005,7 +3537,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4017,7 +3548,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -4046,7 +3578,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } { int dataSize = 0; @@ -4065,10 +3598,12 @@ public int getSerializedSize() { size += 1 * getExcludePatternsList().size(); } if (csvOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCsvOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCsvOptions()); } if (jsonOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getJsonOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getJsonOptions()); } if (triggerCase_ == 10) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, trigger_); @@ -4081,29 +3616,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec other = - (com.google.cloud.dataplex.v1.Asset.DiscoverySpec) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getIncludePatternsList().equals(other.getIncludePatternsList())) return false; - if (!getExcludePatternsList().equals(other.getExcludePatternsList())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getIncludePatternsList() + .equals(other.getIncludePatternsList())) return false; + if (!getExcludePatternsList() + .equals(other.getExcludePatternsList())) return false; if (hasCsvOptions() != other.hasCsvOptions()) return false; if (hasCsvOptions()) { - if (!getCsvOptions().equals(other.getCsvOptions())) return false; + if (!getCsvOptions() + .equals(other.getCsvOptions())) return false; } if (hasJsonOptions() != other.hasJsonOptions()) return false; if (hasJsonOptions()) { - if (!getJsonOptions().equals(other.getJsonOptions())) return false; + if (!getJsonOptions() + .equals(other.getJsonOptions())) return false; } if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 10: - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; break; case 0: default: @@ -4120,7 +3660,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); if (getIncludePatternsCount() > 0) { hash = (37 * hash) + INCLUDE_PATTERNS_FIELD_NUMBER; hash = (53 * hash) + getIncludePatternsList().hashCode(); @@ -4151,93 +3692,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4247,48 +3784,48 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Settings to manage the metadata discovery and publishing for an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec) com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; enabled_ = false; - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); csvOptions_ = null; if (csvOptionsBuilder_ != null) { csvOptionsBuilder_.dispose(); @@ -4305,9 +3842,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override @@ -4326,11 +3863,8 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec result = - new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -4350,12 +3884,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec resu result.excludePatterns_ = excludePatterns_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.csvOptions_ = - csvOptionsBuilder_ == null ? csvOptions_ : csvOptionsBuilder_.build(); + result.csvOptions_ = csvOptionsBuilder_ == null + ? csvOptions_ + : csvOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.jsonOptions_ = - jsonOptionsBuilder_ == null ? jsonOptions_ : jsonOptionsBuilder_.build(); + result.jsonOptions_ = jsonOptionsBuilder_ == null + ? jsonOptions_ + : jsonOptionsBuilder_.build(); } } @@ -4368,41 +3904,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Asset.DiscoverySpec public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec)other); } else { super.mergeFrom(other); return this; @@ -4410,8 +3943,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -4442,17 +3974,15 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec other) mergeJsonOptions(other.getJsonOptions()); } switch (other.getTriggerCase()) { - case SCHEDULE: - { - triggerCase_ = 10; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: - { - break; - } + case SCHEDULE: { + triggerCase_ = 10; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4480,52 +4010,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludePatternsIsMutable(); - includePatterns_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludePatternsIsMutable(); - excludePatterns_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getJsonOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 10; - trigger_ = s; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePatternsIsMutable(); + includePatterns_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludePatternsIsMutable(); + excludePatterns_.add(s); + break; + } // case 26 + case 34: { + input.readMessage( + getCsvOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getJsonOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 10; + trigger_ = s; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4535,12 +4062,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4552,16 +4079,13 @@ public Builder clearTrigger() { private int bitField0_; - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enabled. */ @java.lang.Override @@ -4569,14 +4093,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4588,14 +4109,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4607,7 +4125,6 @@ public Builder clearEnabled() { private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludePatternsIsMutable() { if (!includePatterns_.isModifiable()) { includePatterns_ = new com.google.protobuf.LazyStringArrayList(includePatterns_); @@ -4615,8 +4132,6 @@ private void ensureIncludePatternsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4625,18 +4140,15 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList + getIncludePatternsList() { includePatterns_.makeImmutable(); return includePatterns_; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4645,17 +4157,13 @@ public com.google.protobuf.ProtocolStringList getIncludePatternsList() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4664,9 +4172,7 @@ public int getIncludePatternsCount() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -4674,8 +4180,6 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4684,18 +4188,15 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4704,17 +4205,14 @@ public com.google.protobuf.ByteString getIncludePatternsBytes(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The includePatterns to set. * @return This builder for chaining. */ - public Builder setIncludePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludePatternsIsMutable(); includePatterns_.set(index, value); bitField0_ |= 0x00000002; @@ -4722,8 +4220,6 @@ public Builder setIncludePatterns(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4732,16 +4228,13 @@ public Builder setIncludePatterns(int index, java.lang.String value) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludePatternsIsMutable(); includePatterns_.add(value); bitField0_ |= 0x00000002; @@ -4749,8 +4242,6 @@ public Builder addIncludePatterns(java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4759,22 +4250,20 @@ public Builder addIncludePatterns(java.lang.String value) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param values The includePatterns to add. * @return This builder for chaining. */ - public Builder addAllIncludePatterns(java.lang.Iterable values) { + public Builder addAllIncludePatterns( + java.lang.Iterable values) { ensureIncludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includePatterns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4783,21 +4272,17 @@ public Builder addAllIncludePatterns(java.lang.Iterable values
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearIncludePatterns() { - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4806,16 +4291,13 @@ public Builder clearIncludePatterns() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIncludePatternsIsMutable(); includePatterns_.add(value); @@ -4826,7 +4308,6 @@ public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureExcludePatternsIsMutable() { if (!excludePatterns_.isModifiable()) { excludePatterns_ = new com.google.protobuf.LazyStringArrayList(excludePatterns_); @@ -4834,8 +4315,6 @@ private void ensureExcludePatternsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4843,18 +4322,15 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList + getExcludePatternsList() { excludePatterns_.makeImmutable(); return excludePatterns_; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4862,17 +4338,13 @@ public com.google.protobuf.ProtocolStringList getExcludePatternsList() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4880,9 +4352,7 @@ public int getExcludePatternsCount() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -4890,8 +4360,6 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4899,18 +4367,15 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4918,17 +4383,14 @@ public com.google.protobuf.ByteString getExcludePatternsBytes(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The excludePatterns to set. * @return This builder for chaining. */ - public Builder setExcludePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExcludePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExcludePatternsIsMutable(); excludePatterns_.set(index, value); bitField0_ |= 0x00000004; @@ -4936,8 +4398,6 @@ public Builder setExcludePatterns(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4945,16 +4405,13 @@ public Builder setExcludePatterns(int index, java.lang.String value) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExcludePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExcludePatternsIsMutable(); excludePatterns_.add(value); bitField0_ |= 0x00000004; @@ -4962,8 +4419,6 @@ public Builder addExcludePatterns(java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4971,22 +4426,20 @@ public Builder addExcludePatterns(java.lang.String value) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The excludePatterns to add. * @return This builder for chaining. */ - public Builder addAllExcludePatterns(java.lang.Iterable values) { + public Builder addAllExcludePatterns( + java.lang.Iterable values) { ensureExcludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludePatterns_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4994,21 +4447,17 @@ public Builder addAllExcludePatterns(java.lang.Iterable values
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearExcludePatterns() { - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -5016,16 +4465,13 @@ public Builder clearExcludePatterns() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExcludePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExcludePatternsIsMutable(); excludePatterns_.add(value); @@ -5036,61 +4482,41 @@ public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csvOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> - csvOptionsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> csvOptionsBuilder_; /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ public boolean hasCsvOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions() { if (csvOptionsBuilder_ == null) { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } else { return csvOptionsBuilder_.getMessage(); } } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCsvOptions( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { + public Builder setCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5104,15 +4530,11 @@ public Builder setCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCsvOptions( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder builderForValue) { @@ -5126,24 +4548,17 @@ public Builder setCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeCsvOptions( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { + public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && csvOptions_ != null - && csvOptions_ - != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + csvOptions_ != null && + csvOptions_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) { getCsvOptionsBuilder().mergeFrom(value); } else { csvOptions_ = value; @@ -5156,15 +4571,11 @@ public Builder mergeCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCsvOptions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -5177,66 +4588,48 @@ public Builder clearCsvOptions() { return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder - getCsvOptionsBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder getCsvOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getCsvOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder - getCsvOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { if (csvOptionsBuilder_ != null) { return csvOptionsBuilder_.getMessageOrBuilder(); } else { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { - csvOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder>( - getCsvOptions(), getParentForChildren(), isClean()); + csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder>( + getCsvOptions(), + getParentForChildren(), + isClean()); csvOptions_ = null; } return csvOptionsBuilder_; @@ -5244,61 +4637,41 @@ public Builder clearCsvOptions() { private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions jsonOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> - jsonOptionsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> jsonOptionsBuilder_; /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ public boolean hasJsonOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions() { if (jsonOptionsBuilder_ == null) { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } else { return jsonOptionsBuilder_.getMessage(); } } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setJsonOptions( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { + public Builder setJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5312,15 +4685,11 @@ public Builder setJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setJsonOptions( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder builderForValue) { @@ -5334,24 +4703,17 @@ public Builder setJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeJsonOptions( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { + public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && jsonOptions_ != null - && jsonOptions_ - != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + jsonOptions_ != null && + jsonOptions_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) { getJsonOptionsBuilder().mergeFrom(value); } else { jsonOptions_ = value; @@ -5364,15 +4726,11 @@ public Builder mergeJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearJsonOptions() { bitField0_ = (bitField0_ & ~0x00000010); @@ -5385,74 +4743,54 @@ public Builder clearJsonOptions() { return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder - getJsonOptionsBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder getJsonOptionsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getJsonOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder - getJsonOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { if (jsonOptionsBuilder_ != null) { return jsonOptionsBuilder_.getMessageOrBuilder(); } else { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> getJsonOptionsFieldBuilder() { if (jsonOptionsBuilder_ == null) { - jsonOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder>( - getJsonOptions(), getParentForChildren(), isClean()); + jsonOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder>( + getJsonOptions(), + getParentForChildren(), + isClean()); jsonOptions_ = null; } return jsonOptionsBuilder_; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5465,7 +4803,6 @@ public Builder clearJsonOptions() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -5473,8 +4810,6 @@ public boolean hasSchedule() { return triggerCase_ == 10; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5487,7 +4822,6 @@ public boolean hasSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ @java.lang.Override @@ -5497,7 +4831,8 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -5508,8 +4843,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5522,18 +4855,19 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -5543,8 +4877,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5557,22 +4889,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } triggerCase_ = 10; trigger_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5585,7 +4913,6 @@ public Builder setSchedule(java.lang.String value) {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -5597,8 +4924,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5611,21 +4936,18 @@ public Builder clearSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); triggerCase_ = 10; trigger_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5638,12 +4960,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec) private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(); } @@ -5652,28 +4974,27 @@ public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5688,16 +5009,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceSpecOrBuilder - extends + public interface ResourceSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.ResourceSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5706,13 +5025,10 @@ public interface ResourceSpecOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5721,90 +5037,67 @@ public interface ResourceSpecOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Required. Immutable. Type of resource.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Required. Immutable. Type of resource.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType(); /** - * - * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for readAccessMode. */ int getReadAccessModeValue(); /** - * - * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readAccessMode. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode(); } /** - * - * *
    * Identifies the cloud resource that is referenced by this asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceSpec} */ - public static final class ResourceSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResourceSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.ResourceSpec) ResourceSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceSpec.newBuilder() to construct. private ResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceSpec() { name_ = ""; type_ = 0; @@ -5813,38 +5106,34 @@ private ResourceSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); } /** - * - * *
      * Type of resource.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceSpec.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Type not specified.
        * 
@@ -5853,8 +5142,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * Cloud Storage bucket.
        * 
@@ -5863,8 +5150,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_BUCKET(1), /** - * - * *
        * BigQuery dataset.
        * 
@@ -5876,8 +5161,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Type not specified.
        * 
@@ -5886,8 +5169,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Cloud Storage bucket.
        * 
@@ -5896,8 +5177,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_BUCKET_VALUE = 1; /** - * - * *
        * BigQuery dataset.
        * 
@@ -5906,6 +5185,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_DATASET_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -5930,51 +5210,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return STORAGE_BUCKET; - case 2: - return BIGQUERY_DATASET; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return STORAGE_BUCKET; + case 2: return BIGQUERY_DATASET; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -5992,8 +5270,6 @@ private Type(int value) { } /** - * - * *
      * Access Mode determines how data stored within the resource is read. This
      * is only applicable to storage bucket assets.
@@ -6001,10 +5277,9 @@ private Type(int value) {
      *
      * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode}
      */
-    public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum {
+    public enum AccessMode
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Access mode unspecified.
        * 
@@ -6013,8 +5288,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ ACCESS_MODE_UNSPECIFIED(0), /** - * - * *
        * Default. Data is accessed directly using storage APIs.
        * 
@@ -6023,8 +5296,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ DIRECT(1), /** - * - * *
        * Data is accessed through a managed interface using BigQuery APIs.
        * 
@@ -6036,8 +5307,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Access mode unspecified.
        * 
@@ -6046,8 +5315,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Default. Data is accessed directly using storage APIs.
        * 
@@ -6056,8 +5323,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECT_VALUE = 1; /** - * - * *
        * Data is accessed through a managed interface using BigQuery APIs.
        * 
@@ -6066,6 +5331,7 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -6090,51 +5356,49 @@ public static AccessMode valueOf(int value) { */ public static AccessMode forNumber(int value) { switch (value) { - case 0: - return ACCESS_MODE_UNSPECIFIED; - case 1: - return DIRECT; - case 2: - return MANAGED; - default: - return null; + case 0: return ACCESS_MODE_UNSPECIFIED; + case 1: return DIRECT; + case 2: return 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< + AccessMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AccessMode findValueByNumber(int number) { + return AccessMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AccessMode findValueByNumber(int number) { - return AccessMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor().getEnumTypes().get(1); } private static final AccessMode[] VALUES = values(); - public static AccessMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AccessMode 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; @@ -6152,12 +5416,9 @@ private AccessMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -6166,7 +5427,6 @@ private AccessMode(int value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -6175,15 +5435,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; } } /** - * - * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -6192,15 +5451,16 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @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 { @@ -6211,89 +5471,58 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
      * Required. Immutable. Type of resource.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. Type of resource.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED : result; } public static final int READ_ACCESS_MODE_FIELD_NUMBER = 5; private int readAccessMode_ = 0; /** - * - * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for readAccessMode. */ - @java.lang.Override - public int getReadAccessModeValue() { + @java.lang.Override public int getReadAccessModeValue() { return readAccessMode_; } /** - * - * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readAccessMode. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6305,17 +5534,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (readAccessMode_ - != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED - .getNumber()) { + if (readAccessMode_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(5, readAccessMode_); } getUnknownFields().writeTo(output); @@ -6330,14 +5557,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } - if (readAccessMode_ - != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, readAccessMode_); + if (readAccessMode_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, readAccessMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6347,15 +5573,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.ResourceSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.ResourceSpec other = - (com.google.cloud.dataplex.v1.Asset.ResourceSpec) obj; + com.google.cloud.dataplex.v1.Asset.ResourceSpec other = (com.google.cloud.dataplex.v1.Asset.ResourceSpec) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (readAccessMode_ != other.readAccessMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -6381,93 +5607,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.ResourceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6477,41 +5699,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Identifies the cloud resource that is referenced by this asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.ResourceSpec) com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.ResourceSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6523,9 +5743,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override @@ -6544,11 +5764,8 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec buildPartial() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec result = - new com.google.cloud.dataplex.v1.Asset.ResourceSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.ResourceSpec result = new com.google.cloud.dataplex.v1.Asset.ResourceSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -6570,41 +5787,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceSpec resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.ResourceSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceSpec)other); } else { super.mergeFrom(other); return this; @@ -6612,8 +5826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.ResourceSpec other) { - if (other == com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -6651,31 +5864,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 40: - { - readAccessMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 40: { + readAccessMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6685,13 +5894,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -6700,13 +5906,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @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; @@ -6715,8 +5921,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -6725,14 +5929,15 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @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 { @@ -6740,8 +5945,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -6750,22 +5953,18 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -6774,7 +5973,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -6784,8 +5982,6 @@ public Builder clearName() { return this; } /** - * - * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -6794,14 +5990,12 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6811,33 +6005,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * Required. Immutable. Type of resource.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Required. Immutable. Type of resource.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -6848,37 +6031,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * Required. Immutable. Type of resource.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED : result; } /** - * - * *
        * Required. Immutable. Type of resource.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -6892,16 +6062,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type valu return this; } /** - * - * *
        * Required. Immutable. Type of resource.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -6913,35 +6078,24 @@ public Builder clearType() { private int readAccessMode_ = 0; /** - * - * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for readAccessMode. */ - @java.lang.Override - public int getReadAccessModeValue() { + @java.lang.Override public int getReadAccessModeValue() { return readAccessMode_; } /** - * - * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for readAccessMode to set. * @return This builder for chaining. */ @@ -6952,44 +6106,30 @@ public Builder setReadAccessModeValue(int value) { return this; } /** - * - * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readAccessMode. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED : result; } /** - * - * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The readAccessMode to set. * @return This builder for chaining. */ - public Builder setReadAccessMode( - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode value) { + public Builder setReadAccessMode(com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode value) { if (value == null) { throw new NullPointerException(); } @@ -6999,17 +6139,12 @@ public Builder setReadAccessMode( return this; } /** - * - * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearReadAccessMode() { @@ -7018,7 +6153,6 @@ public Builder clearReadAccessMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7031,12 +6165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.ResourceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.ResourceSpec) private static final com.google.cloud.dataplex.v1.Asset.ResourceSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.ResourceSpec(); } @@ -7045,28 +6179,27 @@ public static com.google.cloud.dataplex.v1.Asset.ResourceSpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7081,90 +6214,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.ResourceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceStatusOrBuilder - extends + public interface ResourceStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.ResourceStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The state. */ com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
@@ -7174,49 +6288,41 @@ public interface ResourceStatusOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The managedAccessIdentity. */ java.lang.String getManagedAccessIdentity(); /** - * - * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for managedAccessIdentity. */ - com.google.protobuf.ByteString getManagedAccessIdentityBytes(); + com.google.protobuf.ByteString + getManagedAccessIdentityBytes(); } /** - * - * *
    * Status of the resource referenced by an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceStatus} */ - public static final class ResourceStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResourceStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.ResourceStatus) ResourceStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceStatus.newBuilder() to construct. private ResourceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceStatus() { state_ = 0; message_ = ""; @@ -7225,38 +6331,34 @@ private ResourceStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, - com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); } /** - * - * *
      * The state of a resource.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceStatus.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * State unspecified.
        * 
@@ -7265,8 +6367,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * Resource does not have any errors.
        * 
@@ -7275,8 +6375,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
        * Resource has errors.
        * 
@@ -7288,8 +6386,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * State unspecified.
        * 
@@ -7298,8 +6394,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Resource does not have any errors.
        * 
@@ -7308,8 +6402,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
        * Resource has errors.
        * 
@@ -7318,6 +6410,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -7342,51 +6435,49 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return ERROR; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return ERROR; + 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() { - return com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceStatus.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; @@ -7406,53 +6497,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -7461,29 +6537,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -7494,14 +6570,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7509,14 +6582,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ @java.lang.Override @@ -7524,8 +6594,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last update time of the status.
      * 
@@ -7538,18 +6606,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int MANAGED_ACCESS_IDENTITY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object managedAccessIdentity_ = ""; /** - * - * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The managedAccessIdentity. */ @java.lang.Override @@ -7558,29 +6622,29 @@ public java.lang.String getManagedAccessIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); managedAccessIdentity_ = s; return s; } } /** - * - * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for managedAccessIdentity. */ @java.lang.Override - public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { + public com.google.protobuf.ByteString + getManagedAccessIdentityBytes() { java.lang.Object ref = managedAccessIdentity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); managedAccessIdentity_ = b; return b; } else { @@ -7589,7 +6653,6 @@ public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7601,10 +6664,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -7625,16 +6687,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managedAccessIdentity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, managedAccessIdentity_); @@ -7647,21 +6709,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.ResourceStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.ResourceStatus other = - (com.google.cloud.dataplex.v1.Asset.ResourceStatus) obj; + com.google.cloud.dataplex.v1.Asset.ResourceStatus other = (com.google.cloud.dataplex.v1.Asset.ResourceStatus) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) 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 (!getManagedAccessIdentity().equals(other.getManagedAccessIdentity())) return false; + if (!getManagedAccessIdentity() + .equals(other.getManagedAccessIdentity())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7689,93 +6753,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.ResourceStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7785,41 +6845,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of the resource referenced by an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.ResourceStatus) com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, - com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.ResourceStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7836,9 +6894,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override @@ -7857,11 +6915,8 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus buildPartial() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus result = - new com.google.cloud.dataplex.v1.Asset.ResourceStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.ResourceStatus result = new com.google.cloud.dataplex.v1.Asset.ResourceStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -7875,8 +6930,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceStatus res result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = - updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.managedAccessIdentity_ = managedAccessIdentity_; @@ -7887,41 +6943,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceStatus res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.ResourceStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceStatus)other); } else { super.mergeFrom(other); return this; @@ -7929,8 +6982,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.ResourceStatus other) { - if (other == com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -7973,37 +7025,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - managedAccessIdentity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + managedAccessIdentity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8013,34 +7062,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8051,33 +7092,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED : result; } /** - * - * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -8091,14 +7123,11 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.ResourceStatus.State return this; } /** - * - * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -8110,20 +7139,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -8132,21 +7159,20 @@ public java.lang.String getMessage() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -8154,35 +7180,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -8192,21 +7211,17 @@ public Builder clearMessage() { return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -8216,47 +7231,34 @@ public Builder setMessageBytes(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_; /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @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(); } } /** - * - * *
        * Last update time of the status.
        * 
@@ -8277,15 +7279,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8296,8 +7297,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -8306,9 +7305,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8321,8 +7320,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -8340,8 +7337,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -8354,8 +7349,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last update time of the status.
        * 
@@ -8366,14 +7359,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last update time of the status.
        * 
@@ -8381,17 +7371,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -8399,21 +7386,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object managedAccessIdentity_ = ""; /** - * - * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The managedAccessIdentity. */ public java.lang.String getManagedAccessIdentity() { java.lang.Object ref = managedAccessIdentity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); managedAccessIdentity_ = s; return s; @@ -8422,22 +7406,20 @@ public java.lang.String getManagedAccessIdentity() { } } /** - * - * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for managedAccessIdentity. */ - public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { + public com.google.protobuf.ByteString + getManagedAccessIdentityBytes() { java.lang.Object ref = managedAccessIdentity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); managedAccessIdentity_ = b; return b; } else { @@ -8445,37 +7427,28 @@ public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { } } /** - * - * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The managedAccessIdentity to set. * @return This builder for chaining. */ - public Builder setManagedAccessIdentity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setManagedAccessIdentity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } managedAccessIdentity_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearManagedAccessIdentity() { @@ -8485,29 +7458,23 @@ public Builder clearManagedAccessIdentity() { return this; } /** - * - * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for managedAccessIdentity to set. * @return This builder for chaining. */ - public Builder setManagedAccessIdentityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setManagedAccessIdentityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); managedAccessIdentity_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8520,12 +7487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.ResourceStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.ResourceStatus) private static final com.google.cloud.dataplex.v1.Asset.ResourceStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.ResourceStatus(); } @@ -8534,28 +7501,27 @@ public static com.google.cloud.dataplex.v1.Asset.ResourceStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8570,90 +7536,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.ResourceStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DiscoveryStatusOrBuilder - extends + public interface DiscoveryStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoveryStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The state. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last update time of the status.
      * 
@@ -8663,32 +7610,24 @@ public interface DiscoveryStatusOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @return Whether the lastRunTime field is set. */ boolean hasLastRunTime(); /** - * - * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @return The lastRunTime. */ com.google.protobuf.Timestamp getLastRunTime(); /** - * - * *
      * The start time of the last discovery run.
      * 
@@ -8698,32 +7637,24 @@ public interface DiscoveryStatusOrBuilder com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder(); /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return The stats. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats(); /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
@@ -8733,32 +7664,24 @@ public interface DiscoveryStatusOrBuilder com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder(); /** - * - * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return Whether the lastRunDuration field is set. */ boolean hasLastRunDuration(); /** - * - * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return The lastRunDuration. */ com.google.protobuf.Duration getLastRunDuration(); /** - * - * *
      * The duration of the last discovery run.
      * 
@@ -8768,24 +7691,21 @@ public interface DiscoveryStatusOrBuilder com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder(); } /** - * - * *
    * Status of discovery for an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus} */ - public static final class DiscoveryStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DiscoveryStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus) DiscoveryStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoveryStatus.newBuilder() to construct. private DiscoveryStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoveryStatus() { state_ = 0; message_ = ""; @@ -8793,38 +7713,34 @@ private DiscoveryStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoveryStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); } /** - * - * *
      * Current state of discovery.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * State is unspecified.
        * 
@@ -8833,8 +7749,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * Discovery for the asset is scheduled.
        * 
@@ -8843,8 +7757,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULED(1), /** - * - * *
        * Discovery for the asset is running.
        * 
@@ -8853,8 +7765,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(2), /** - * - * *
        * Discovery for the asset is currently paused (e.g. due to a lack
        * of available resources). It will be automatically resumed.
@@ -8864,8 +7774,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       PAUSED(3),
       /**
-       *
-       *
        * 
        * Discovery for the asset is disabled.
        * 
@@ -8877,8 +7785,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * State is unspecified.
        * 
@@ -8887,8 +7793,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Discovery for the asset is scheduled.
        * 
@@ -8897,8 +7801,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULED_VALUE = 1; /** - * - * *
        * Discovery for the asset is running.
        * 
@@ -8907,8 +7809,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 2; /** - * - * *
        * Discovery for the asset is currently paused (e.g. due to a lack
        * of available resources). It will be automatically resumed.
@@ -8918,8 +7818,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PAUSED_VALUE = 3;
       /**
-       *
-       *
        * 
        * Discovery for the asset is disabled.
        * 
@@ -8928,6 +7826,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -8952,55 +7851,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return SCHEDULED; - case 2: - return IN_PROGRESS; - case 3: - return PAUSED; - case 5: - return DISABLED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return SCHEDULED; + case 2: return IN_PROGRESS; + case 3: return PAUSED; + case 5: return DISABLED; + default: return null; + } } - 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 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.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; @@ -9017,116 +7912,97 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.State) } - public interface StatsOrBuilder - extends + public interface StatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The count of data items within the referenced resource.
        * 
* * int64 data_items = 1; - * * @return The dataItems. */ long getDataItems(); /** - * - * *
        * The number of stored data bytes within the referenced resource.
        * 
* * int64 data_size = 2; - * * @return The dataSize. */ long getDataSize(); /** - * - * *
        * The count of table entities within the referenced resource.
        * 
* * int64 tables = 3; - * * @return The tables. */ long getTables(); /** - * - * *
        * The count of fileset entities within the referenced resource.
        * 
* * int64 filesets = 4; - * * @return The filesets. */ long getFilesets(); } /** - * - * *
      * The aggregated data statistics for the asset reported by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} */ - public static final class Stats extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Stats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) StatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Stats.newBuilder() to construct. private Stats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Stats() {} + private Stats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Stats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); } public static final int DATA_ITEMS_FIELD_NUMBER = 1; private long dataItems_ = 0L; /** - * - * *
        * The count of data items within the referenced resource.
        * 
* * int64 data_items = 1; - * * @return The dataItems. */ @java.lang.Override @@ -9137,14 +8013,11 @@ public long getDataItems() { public static final int DATA_SIZE_FIELD_NUMBER = 2; private long dataSize_ = 0L; /** - * - * *
        * The number of stored data bytes within the referenced resource.
        * 
* * int64 data_size = 2; - * * @return The dataSize. */ @java.lang.Override @@ -9155,14 +8028,11 @@ public long getDataSize() { public static final int TABLES_FIELD_NUMBER = 3; private long tables_ = 0L; /** - * - * *
        * The count of table entities within the referenced resource.
        * 
* * int64 tables = 3; - * * @return The tables. */ @java.lang.Override @@ -9173,14 +8043,11 @@ public long getTables() { public static final int FILESETS_FIELD_NUMBER = 4; private long filesets_ = 0L; /** - * - * *
        * The count of fileset entities within the referenced resource.
        * 
* * int64 filesets = 4; - * * @return The filesets. */ @java.lang.Override @@ -9189,7 +8056,6 @@ public long getFilesets() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9201,7 +8067,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataItems_ != 0L) { output.writeInt64(1, dataItems_); } @@ -9224,16 +8091,20 @@ public int getSerializedSize() { size = 0; if (dataItems_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, dataItems_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, dataItems_); } if (dataSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, dataSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, dataSize_); } if (tables_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, tables_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, tables_); } if (filesets_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, filesets_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, filesets_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9243,18 +8114,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other = - (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) obj; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other = (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) obj; - if (getDataItems() != other.getDataItems()) return false; - if (getDataSize() != other.getDataSize()) return false; - if (getTables() != other.getTables()) return false; - if (getFilesets() != other.getFilesets()) return false; + if (getDataItems() + != other.getDataItems()) return false; + if (getDataSize() + != other.getDataSize()) return false; + if (getTables() + != other.getTables()) return false; + if (getFilesets() + != other.getFilesets()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9267,107 +8141,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_ITEMS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataItems()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataItems()); hash = (37 * hash) + DATA_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataSize()); hash = (37 * hash) + TABLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTables()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTables()); hash = (37 * hash) + FILESETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFilesets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFilesets()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9377,41 +8250,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The aggregated data statistics for the asset reported by discovery.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -9424,14 +8295,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance(); } @@ -9446,17 +8316,13 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result = - new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataItems_ = dataItems_; @@ -9476,41 +8342,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats)other); } else { super.mergeFrom(other); return this; @@ -9518,9 +8381,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other) { - if (other - == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) return this; if (other.getDataItems() != 0L) { setDataItems(other.getDataItems()); } @@ -9559,37 +8420,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - dataItems_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - dataSize_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - tables_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - filesets_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + dataItems_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + dataSize_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + tables_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + filesets_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9599,19 +8455,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long dataItems_; + private long dataItems_ ; /** - * - * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; - * * @return The dataItems. */ @java.lang.Override @@ -9619,14 +8471,11 @@ public long getDataItems() { return dataItems_; } /** - * - * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; - * * @param value The dataItems to set. * @return This builder for chaining. */ @@ -9638,14 +8487,11 @@ public Builder setDataItems(long value) { return this; } /** - * - * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; - * * @return This builder for chaining. */ public Builder clearDataItems() { @@ -9655,16 +8501,13 @@ public Builder clearDataItems() { return this; } - private long dataSize_; + private long dataSize_ ; /** - * - * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; - * * @return The dataSize. */ @java.lang.Override @@ -9672,14 +8515,11 @@ public long getDataSize() { return dataSize_; } /** - * - * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; - * * @param value The dataSize to set. * @return This builder for chaining. */ @@ -9691,14 +8531,11 @@ public Builder setDataSize(long value) { return this; } /** - * - * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; - * * @return This builder for chaining. */ public Builder clearDataSize() { @@ -9708,16 +8545,13 @@ public Builder clearDataSize() { return this; } - private long tables_; + private long tables_ ; /** - * - * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; - * * @return The tables. */ @java.lang.Override @@ -9725,14 +8559,11 @@ public long getTables() { return tables_; } /** - * - * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; - * * @param value The tables to set. * @return This builder for chaining. */ @@ -9744,14 +8575,11 @@ public Builder setTables(long value) { return this; } /** - * - * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; - * * @return This builder for chaining. */ public Builder clearTables() { @@ -9761,16 +8589,13 @@ public Builder clearTables() { return this; } - private long filesets_; + private long filesets_ ; /** - * - * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; - * * @return The filesets. */ @java.lang.Override @@ -9778,14 +8603,11 @@ public long getFilesets() { return filesets_; } /** - * - * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; - * * @param value The filesets to set. * @return This builder for chaining. */ @@ -9797,14 +8619,11 @@ public Builder setFilesets(long value) { return this; } /** - * - * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; - * * @return This builder for chaining. */ public Builder clearFilesets() { @@ -9813,7 +8632,6 @@ public Builder clearFilesets() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9826,13 +8644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) - private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(); } @@ -9841,28 +8658,27 @@ public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9877,58 +8693,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -9937,29 +8739,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
      * Additional information about the current state.
      * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -9970,14 +8772,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -9985,14 +8784,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ @java.lang.Override @@ -10000,8 +8796,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last update time of the status.
      * 
@@ -10016,14 +8810,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastRunTime_; /** - * - * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @return Whether the lastRunTime field is set. */ @java.lang.Override @@ -10031,25 +8822,18 @@ public boolean hasLastRunTime() { return lastRunTime_ != null; } /** - * - * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @return The lastRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastRunTime() { - return lastRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastRunTime_; + return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } /** - * - * *
      * The start time of the last discovery run.
      * 
@@ -10058,22 +8842,17 @@ public com.google.protobuf.Timestamp getLastRunTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { - return lastRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastRunTime_; + return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } public static final int STATS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats_; /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -10081,25 +8860,18 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return The stats. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { - return stats_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; } /** - * - * *
      * Data Stats of the asset reported by discovery.
      * 
@@ -10108,22 +8880,17 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder() { - return stats_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; } public static final int LAST_RUN_DURATION_FIELD_NUMBER = 7; private com.google.protobuf.Duration lastRunDuration_; /** - * - * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return Whether the lastRunDuration field is set. */ @java.lang.Override @@ -10131,25 +8898,18 @@ public boolean hasLastRunDuration() { return lastRunDuration_ != null; } /** - * - * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return The lastRunDuration. */ @java.lang.Override public com.google.protobuf.Duration getLastRunDuration() { - return lastRunDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : lastRunDuration_; + return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; } /** - * - * *
      * The duration of the last discovery run.
      * 
@@ -10158,13 +8918,10 @@ public com.google.protobuf.Duration getLastRunDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { - return lastRunDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : lastRunDuration_; + return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10176,10 +8933,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -10206,25 +8962,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (lastRunTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLastRunTime()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getStats()); } if (lastRunDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastRunDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLastRunDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -10234,31 +8993,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other = - (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) obj; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other = (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) 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 (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (hasLastRunDuration() != other.hasLastRunDuration()) return false; if (hasLastRunDuration()) { - if (!getLastRunDuration().equals(other.getLastRunDuration())) return false; + if (!getLastRunDuration() + .equals(other.getLastRunDuration())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -10297,93 +9060,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10393,41 +9152,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of discovery for an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus) com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -10458,9 +9215,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override @@ -10479,11 +9236,8 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus result = - new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus result = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -10497,19 +9251,24 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus re result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = - updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.lastRunTime_ = - lastRunTimeBuilder_ == null ? lastRunTime_ : lastRunTimeBuilder_.build(); + result.lastRunTime_ = lastRunTimeBuilder_ == null + ? lastRunTime_ + : lastRunTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build(); + result.stats_ = statsBuilder_ == null + ? stats_ + : statsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.lastRunDuration_ = - lastRunDurationBuilder_ == null ? lastRunDuration_ : lastRunDurationBuilder_.build(); + result.lastRunDuration_ = lastRunDurationBuilder_ == null + ? lastRunDuration_ + : lastRunDurationBuilder_.build(); } } @@ -10517,41 +9276,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus)other); } else { super.mergeFrom(other); return this; @@ -10559,8 +9315,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -10607,50 +9362,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getLastRunTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: - { - input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: - { - input.readMessage( - getLastRunDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getLastRunTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: { + input.readMessage( + getStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + input.readMessage( + getLastRunDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10660,34 +9415,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -10698,33 +9445,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED : result; } /** - * - * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -10738,14 +9476,11 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State return this; } /** - * - * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -10757,20 +9492,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -10779,21 +9512,20 @@ public java.lang.String getMessage() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -10801,35 +9533,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -10839,21 +9564,17 @@ public Builder clearMessage() { return this; } /** - * - * *
        * Additional information about the current state.
        * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -10863,47 +9584,34 @@ public Builder setMessageBytes(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_; /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @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(); } } /** - * - * *
        * Last update time of the status.
        * 
@@ -10924,15 +9632,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -10943,8 +9650,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -10953,9 +9658,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -10968,8 +9673,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -10987,8 +9690,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last update time of the status.
        * 
@@ -11001,8 +9702,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last update time of the status.
        * 
@@ -11013,14 +9712,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last update time of the status.
        * 
@@ -11028,17 +9724,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -11046,47 +9739,34 @@ 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_; /** - * - * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @return Whether the lastRunTime field is set. */ public boolean hasLastRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; - * * @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(); } } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11107,15 +9787,14 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; */ - public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastRunTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastRunTimeBuilder_ == null) { lastRunTime_ = builderForValue.build(); } else { @@ -11126,8 +9805,6 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11136,9 +9813,9 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && lastRunTime_ != null - && lastRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + lastRunTime_ != null && + lastRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastRunTimeBuilder().mergeFrom(value); } else { lastRunTime_ = value; @@ -11151,8 +9828,6 @@ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11170,8 +9845,6 @@ public Builder clearLastRunTime() { return this; } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11184,8 +9857,6 @@ public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder() { return getLastRunTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11196,14 +9867,11 @@ 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_; } } /** - * - * *
        * The start time of the last discovery run.
        * 
@@ -11211,17 +9879,14 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { * .google.protobuf.Timestamp last_run_time = 4; */ 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_; @@ -11229,47 +9894,34 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> - statsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> statsBuilder_; /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; - * * @return The stats. */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11290,8 +9942,6 @@ public Builder setStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats return this; } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11310,8 +9960,6 @@ public Builder setStats( return this; } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11320,11 +9968,9 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && stats_ != null - && stats_ - != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + stats_ != null && + stats_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -11337,8 +9983,6 @@ public Builder mergeStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Sta return this; } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11356,8 +10000,6 @@ public Builder clearStats() { return this; } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11370,8 +10012,6 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder getStats return getStatsFieldBuilder().getBuilder(); } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11382,14 +10022,11 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; } } /** - * - * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -11397,17 +10034,14 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; @@ -11415,47 +10049,34 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat private com.google.protobuf.Duration lastRunDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - lastRunDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lastRunDurationBuilder_; /** - * - * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return Whether the lastRunDuration field is set. */ public boolean hasLastRunDuration() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; - * * @return The lastRunDuration. */ public com.google.protobuf.Duration getLastRunDuration() { if (lastRunDurationBuilder_ == null) { - return lastRunDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : lastRunDuration_; + return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; } else { return lastRunDurationBuilder_.getMessage(); } } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11476,15 +10097,14 @@ public Builder setLastRunDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; */ - public Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLastRunDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (lastRunDurationBuilder_ == null) { lastRunDuration_ = builderForValue.build(); } else { @@ -11495,8 +10115,6 @@ public Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11505,9 +10123,9 @@ public Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderFo */ public Builder mergeLastRunDuration(com.google.protobuf.Duration value) { if (lastRunDurationBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && lastRunDuration_ != null - && lastRunDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + lastRunDuration_ != null && + lastRunDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getLastRunDurationBuilder().mergeFrom(value); } else { lastRunDuration_ = value; @@ -11520,8 +10138,6 @@ public Builder mergeLastRunDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11539,8 +10155,6 @@ public Builder clearLastRunDuration() { return this; } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11553,8 +10167,6 @@ public com.google.protobuf.Duration.Builder getLastRunDurationBuilder() { return getLastRunDurationFieldBuilder().getBuilder(); } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11565,14 +10177,11 @@ public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { if (lastRunDurationBuilder_ != null) { return lastRunDurationBuilder_.getMessageOrBuilder(); } else { - return lastRunDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : lastRunDuration_; + return lastRunDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; } } /** - * - * *
        * The duration of the last discovery run.
        * 
@@ -11580,22 +10189,18 @@ public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { * .google.protobuf.Duration last_run_duration = 7; */ 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> getLastRunDurationFieldBuilder() { if (lastRunDurationBuilder_ == null) { - lastRunDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLastRunDuration(), getParentForChildren(), isClean()); + lastRunDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLastRunDuration(), + getParentForChildren(), + isClean()); lastRunDuration_ = null; } return lastRunDurationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11608,12 +10213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus) private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(); } @@ -11622,28 +10227,27 @@ public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoveryStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoveryStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11658,24 +10262,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -11684,32 +10283,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; } } /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -11718,18 +10315,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -11738,29 +10331,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -11769,12 +10362,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -11782,7 +10372,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -11791,15 +10380,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -11807,15 +10395,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -11826,15 +10415,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the asset was created.
    * 
* - * .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 @@ -11842,15 +10427,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the asset was created.
    * 
* - * .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 @@ -11858,14 +10439,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the asset was created.
    * 
* - * .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() { @@ -11875,15 +10453,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 time when the asset was last updated.
    * 
* - * .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 @@ -11891,15 +10465,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the asset was last updated.
    * 
* - * .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 @@ -11907,14 +10477,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the asset was last updated.
    * 
* - * .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() { @@ -11922,34 +10489,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -11957,21 +10522,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -11983,8 +10547,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -11992,19 +10554,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -12012,11 +10572,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -12024,18 +10584,14 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -12044,29 +10600,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; } } /** - * - * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -12077,53 +10633,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int RESOURCE_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Asset.ResourceSpec resourceSpec_; /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ @java.lang.Override @@ -12131,55 +10671,37 @@ public boolean hasResourceSpec() { return resourceSpec_ != null; } /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec() { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; } /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder() { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; } public static final int RESOURCE_STATUS_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Asset.ResourceStatus resourceStatus_; /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the resourceStatus field is set. */ @java.lang.Override @@ -12187,56 +10709,38 @@ public boolean hasResourceStatus() { return resourceStatus_ != null; } /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The resourceStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus() { - return resourceStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() - : resourceStatus_; + return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; } /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder() { - return resourceStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() - : resourceStatus_; + return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; } public static final int SECURITY_STATUS_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.Asset.SecurityStatus securityStatus_; /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityStatus field is set. */ @java.lang.Override @@ -12244,59 +10748,41 @@ public boolean hasSecurityStatus() { return securityStatus_ != null; } /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus() { - return securityStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() - : securityStatus_; + return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; } /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder() { - return securityStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() - : securityStatus_; + return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; } public static final int DISCOVERY_SPEC_FIELD_NUMBER = 106; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec discoverySpec_; /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ @java.lang.Override @@ -12304,60 +10790,42 @@ public boolean hasDiscoverySpec() { return discoverySpec_ != null; } /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec() { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; } /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; } public static final int DISCOVERY_STATUS_FIELD_NUMBER = 107; private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus discoveryStatus_; /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the discoveryStatus field is set. */ @java.lang.Override @@ -12365,46 +10833,32 @@ public boolean hasDiscoveryStatus() { return discoveryStatus_ != null; } /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The discoveryStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus() { - return discoveryStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() - : discoveryStatus_; + return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; } /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder() { - return discoveryStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() - : discoveryStatus_; + return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12416,7 +10870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -12432,8 +10887,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -12474,41 +10933,49 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (resourceSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getResourceSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getResourceSpec()); } if (resourceStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getResourceStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getResourceStatus()); } if (securityStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getSecurityStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(103, getSecurityStatus()); } if (discoverySpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(106, getDiscoverySpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(106, getDiscoverySpec()); } if (discoveryStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getDiscoveryStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(107, getDiscoveryStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12518,46 +10985,58 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Asset other = (com.google.cloud.dataplex.v1.Asset) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (hasResourceSpec() != other.hasResourceSpec()) return false; if (hasResourceSpec()) { - if (!getResourceSpec().equals(other.getResourceSpec())) return false; + if (!getResourceSpec() + .equals(other.getResourceSpec())) return false; } if (hasResourceStatus() != other.hasResourceStatus()) return false; if (hasResourceStatus()) { - if (!getResourceStatus().equals(other.getResourceStatus())) return false; + if (!getResourceStatus() + .equals(other.getResourceStatus())) return false; } if (hasSecurityStatus() != other.hasSecurityStatus()) return false; if (hasSecurityStatus()) { - if (!getSecurityStatus().equals(other.getSecurityStatus())) return false; + if (!getSecurityStatus() + .equals(other.getSecurityStatus())) return false; } if (hasDiscoverySpec() != other.hasDiscoverySpec()) return false; if (hasDiscoverySpec()) { - if (!getDiscoverySpec().equals(other.getDiscoverySpec())) return false; + if (!getDiscoverySpec() + .equals(other.getDiscoverySpec())) return false; } if (hasDiscoveryStatus() != other.hasDiscoveryStatus()) return false; if (hasDiscoveryStatus()) { - if (!getDiscoveryStatus().equals(other.getDiscoveryStatus())) return false; + if (!getDiscoveryStatus() + .equals(other.getDiscoveryStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -12617,103 +11096,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Asset parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Asset parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Asset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An asset represents a cloud resource that is being managed within a lake as a
    * member of a zone.
@@ -12721,52 +11196,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Asset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset)
       com.google.cloud.dataplex.v1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Asset.class,
-              com.google.cloud.dataplex.v1.Asset.Builder.class);
+              com.google.cloud.dataplex.v1.Asset.class, com.google.cloud.dataplex.v1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Asset.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -12816,9 +11294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -12838,9 +11316,7 @@ public com.google.cloud.dataplex.v1.Asset build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Asset buildPartial() {
       com.google.cloud.dataplex.v1.Asset result = new com.google.cloud.dataplex.v1.Asset(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -12857,10 +11333,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -12873,24 +11353,29 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.resourceSpec_ =
-            resourceSpecBuilder_ == null ? resourceSpec_ : resourceSpecBuilder_.build();
+        result.resourceSpec_ = resourceSpecBuilder_ == null
+            ? resourceSpec_
+            : resourceSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.resourceStatus_ =
-            resourceStatusBuilder_ == null ? resourceStatus_ : resourceStatusBuilder_.build();
+        result.resourceStatus_ = resourceStatusBuilder_ == null
+            ? resourceStatus_
+            : resourceStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.securityStatus_ =
-            securityStatusBuilder_ == null ? securityStatus_ : securityStatusBuilder_.build();
+        result.securityStatus_ = securityStatusBuilder_ == null
+            ? securityStatus_
+            : securityStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.discoverySpec_ =
-            discoverySpecBuilder_ == null ? discoverySpec_ : discoverySpecBuilder_.build();
+        result.discoverySpec_ = discoverySpecBuilder_ == null
+            ? discoverySpec_
+            : discoverySpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.discoveryStatus_ =
-            discoveryStatusBuilder_ == null ? discoveryStatus_ : discoveryStatusBuilder_.build();
+        result.discoveryStatus_ = discoveryStatusBuilder_ == null
+            ? discoveryStatus_
+            : discoveryStatusBuilder_.build();
       }
     }
 
@@ -12898,39 +11383,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Asset) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Asset) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -12960,7 +11444,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -13011,97 +11496,95 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 802:
-              {
-                input.readMessage(getResourceSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 802
-            case 810:
-              {
-                input.readMessage(getResourceStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 810
-            case 826:
-              {
-                input.readMessage(getSecurityStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 826
-            case 850:
-              {
-                input.readMessage(getDiscoverySpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 850
-            case 858:
-              {
-                input.readMessage(getDiscoveryStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 858
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 802: {
+              input.readMessage(
+                  getResourceSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 802
+            case 810: {
+              input.readMessage(
+                  getResourceStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 810
+            case 826: {
+              input.readMessage(
+                  getSecurityStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 826
+            case 850: {
+              input.readMessage(
+                  getDiscoverySpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 850
+            case 858: {
+              input.readMessage(
+                  getDiscoveryStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 858
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13111,28 +11594,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -13141,24 +11619,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -13166,41 +11641,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -13210,24 +11674,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -13237,20 +11695,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -13259,21 +11715,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -13281,35 +11736,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -13319,21 +11767,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -13343,8 +11787,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -13352,13 +11794,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -13367,8 +11809,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -13376,14 +11816,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -13391,8 +11832,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -13400,22 +11839,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -13423,7 +11858,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -13433,8 +11867,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -13442,14 +11874,12 @@ public Builder clearUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -13459,58 +11889,39 @@ public Builder setUidBytes(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 time when the asset was created.
      * 
* - * - * .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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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 time when the asset was created.
      * 
* - * - * .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) { @@ -13526,17 +11937,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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(); } else { @@ -13547,21 +11955,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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 (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -13574,15 +11978,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -13595,15 +11995,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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() { bitField0_ |= 0x00000008; @@ -13611,48 +12007,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the asset was created.
      * 
* - * - * .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 time when the asset was created.
      * 
* - * - * .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_; @@ -13660,58 +12044,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 time when the asset was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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 time when the asset was last updated.
      * 
* - * - * .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) { @@ -13727,17 +12092,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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(); } else { @@ -13748,21 +12110,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -13775,15 +12133,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -13796,15 +12150,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000010; @@ -13812,66 +12162,56 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the asset was last updated.
      * 
* - * - * .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 time when the asset was last updated.
      * 
* - * - * .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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -13880,13 +12220,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
@@ -13894,21 +12231,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
@@ -13920,8 +12256,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
@@ -13929,19 +12263,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
@@ -13949,95 +12281,91 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -14046,21 +12374,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -14068,35 +12395,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -14106,21 +12426,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -14130,31 +12446,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -14165,33 +12472,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -14205,15 +12503,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -14225,58 +12519,39 @@ public Builder clearState() { private com.google.cloud.dataplex.v1.Asset.ResourceSpec resourceSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> - resourceSpecBuilder_; + com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> resourceSpecBuilder_; /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ public boolean hasResourceSpec() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ public com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec() { if (resourceSpecBuilder_ == null) { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; } else { return resourceSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec value) { if (resourceSpecBuilder_ == null) { @@ -14292,15 +12567,11 @@ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec v return this; } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceSpec( com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder builderForValue) { @@ -14314,22 +12585,17 @@ public Builder setResourceSpec( return this; } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec value) { if (resourceSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && resourceSpec_ != null - && resourceSpec_ - != com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + resourceSpec_ != null && + resourceSpec_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) { getResourceSpecBuilder().mergeFrom(value); } else { resourceSpec_ = value; @@ -14342,15 +12608,11 @@ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec return this; } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -14363,15 +12625,11 @@ public Builder clearResourceSpec() { return this; } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder getResourceSpecBuilder() { bitField0_ |= 0x00000100; @@ -14379,48 +12637,36 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder getResourceSpecBu return getResourceSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder() { if (resourceSpecBuilder_ != null) { return resourceSpecBuilder_.getMessageOrBuilder(); } else { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? + com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; } } /** - * - * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> + com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> getResourceSpecFieldBuilder() { if (resourceSpecBuilder_ == null) { - resourceSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder>( - getResourceSpec(), getParentForChildren(), isClean()); + resourceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder>( + getResourceSpec(), + getParentForChildren(), + isClean()); resourceSpec_ = null; } return resourceSpecBuilder_; @@ -14428,58 +12674,39 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecO private com.google.cloud.dataplex.v1.Asset.ResourceStatus resourceStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, - com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> - resourceStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> resourceStatusBuilder_; /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the resourceStatus field is set. */ public boolean hasResourceStatus() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The resourceStatus. */ public com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus() { if (resourceStatusBuilder_ == null) { - return resourceStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() - : resourceStatus_; + return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; } else { return resourceStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStatus value) { if (resourceStatusBuilder_ == null) { @@ -14495,15 +12722,11 @@ public Builder setResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStat return this; } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResourceStatus( com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder builderForValue) { @@ -14517,22 +12740,17 @@ public Builder setResourceStatus( return this; } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStatus value) { if (resourceStatusBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && resourceStatus_ != null - && resourceStatus_ - != com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + resourceStatus_ != null && + resourceStatus_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) { getResourceStatusBuilder().mergeFrom(value); } else { resourceStatus_ = value; @@ -14545,15 +12763,11 @@ public Builder mergeResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceSt return this; } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearResourceStatus() { bitField0_ = (bitField0_ & ~0x00000200); @@ -14566,15 +12780,11 @@ public Builder clearResourceStatus() { return this; } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder getResourceStatusBuilder() { bitField0_ |= 0x00000200; @@ -14582,48 +12792,36 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder getResourceStat return getResourceStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder() { if (resourceStatusBuilder_ != null) { return resourceStatusBuilder_.getMessageOrBuilder(); } else { - return resourceStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() - : resourceStatus_; + return resourceStatus_ == null ? + com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; } } /** - * - * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, - com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> getResourceStatusFieldBuilder() { if (resourceStatusBuilder_ == null) { - resourceStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, - com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, - com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder>( - getResourceStatus(), getParentForChildren(), isClean()); + resourceStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder>( + getResourceStatus(), + getParentForChildren(), + isClean()); resourceStatus_ = null; } return resourceStatusBuilder_; @@ -14631,61 +12829,42 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceSta private com.google.cloud.dataplex.v1.Asset.SecurityStatus securityStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, - com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, - com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> - securityStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> securityStatusBuilder_; /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityStatus field is set. */ public boolean hasSecurityStatus() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityStatus. */ public com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus() { if (securityStatusBuilder_ == null) { - return securityStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() - : securityStatus_; + return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; } else { return securityStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStatus value) { if (securityStatusBuilder_ == null) { @@ -14701,16 +12880,12 @@ public Builder setSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStat return this; } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSecurityStatus( com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder builderForValue) { @@ -14724,23 +12899,18 @@ public Builder setSecurityStatus( return this; } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStatus value) { if (securityStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && securityStatus_ != null - && securityStatus_ - != com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + securityStatus_ != null && + securityStatus_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) { getSecurityStatusBuilder().mergeFrom(value); } else { securityStatus_ = value; @@ -14753,16 +12923,12 @@ public Builder mergeSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecuritySt return this; } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSecurityStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -14775,16 +12941,12 @@ public Builder clearSecurityStatus() { return this; } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder getSecurityStatusBuilder() { bitField0_ |= 0x00000400; @@ -14792,50 +12954,38 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder getSecurityStat return getSecurityStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder() { if (securityStatusBuilder_ != null) { return securityStatusBuilder_.getMessageOrBuilder(); } else { - return securityStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() - : securityStatus_; + return securityStatus_ == null ? + com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; } } /** - * - * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, - com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, - com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> getSecurityStatusFieldBuilder() { if (securityStatusBuilder_ == null) { - securityStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, - com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, - com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder>( - getSecurityStatus(), getParentForChildren(), isClean()); + securityStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder>( + getSecurityStatus(), + getParentForChildren(), + isClean()); securityStatus_ = null; } return securityStatusBuilder_; @@ -14843,64 +12993,45 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecuritySta private com.google.cloud.dataplex.v1.Asset.DiscoverySpec discoverySpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> - discoverySpecBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> discoverySpecBuilder_; /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ public boolean hasDiscoverySpec() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec() { if (discoverySpecBuilder_ == null) { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; } else { return discoverySpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { @@ -14916,17 +13047,13 @@ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDiscoverySpec( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder builderForValue) { @@ -14940,24 +13067,19 @@ public Builder setDiscoverySpec( return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && discoverySpec_ != null - && discoverySpec_ - != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + discoverySpec_ != null && + discoverySpec_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) { getDiscoverySpecBuilder().mergeFrom(value); } else { discoverySpec_ = value; @@ -14970,17 +13092,13 @@ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySp return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDiscoverySpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -14993,17 +13111,13 @@ public Builder clearDiscoverySpec() { return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder getDiscoverySpecBuilder() { bitField0_ |= 0x00000800; @@ -15011,52 +13125,40 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder getDiscoverySpec return getDiscoverySpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { if (discoverySpecBuilder_ != null) { return discoverySpecBuilder_.getMessageOrBuilder(); } else { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; } } /** - * - * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> getDiscoverySpecFieldBuilder() { if (discoverySpecBuilder_ == null) { - discoverySpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder>( - getDiscoverySpec(), getParentForChildren(), isClean()); + discoverySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder>( + getDiscoverySpec(), + getParentForChildren(), + isClean()); discoverySpec_ = null; } return discoverySpecBuilder_; @@ -15064,61 +13166,42 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpe private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus discoveryStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> - discoveryStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> discoveryStatusBuilder_; /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the discoveryStatus field is set. */ public boolean hasDiscoveryStatus() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The discoveryStatus. */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus() { if (discoveryStatusBuilder_ == null) { - return discoveryStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() - : discoveryStatus_; + return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; } else { return discoveryStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus value) { if (discoveryStatusBuilder_ == null) { @@ -15134,16 +13217,12 @@ public Builder setDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoverySt return this; } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDiscoveryStatus( com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder builderForValue) { @@ -15157,23 +13236,18 @@ public Builder setDiscoveryStatus( return this; } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus value) { if (discoveryStatusBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && discoveryStatus_ != null - && discoveryStatus_ - != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + discoveryStatus_ != null && + discoveryStatus_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) { getDiscoveryStatusBuilder().mergeFrom(value); } else { discoveryStatus_ = value; @@ -15186,16 +13260,12 @@ public Builder mergeDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.Discovery return this; } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDiscoveryStatus() { bitField0_ = (bitField0_ & ~0x00001000); @@ -15208,16 +13278,12 @@ public Builder clearDiscoveryStatus() { return this; } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder getDiscoveryStatusBuilder() { bitField0_ |= 0x00001000; @@ -15225,58 +13291,45 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder getDiscoverySt return getDiscoveryStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder - getDiscoveryStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder() { if (discoveryStatusBuilder_ != null) { return discoveryStatusBuilder_.getMessageOrBuilder(); } else { - return discoveryStatus_ == null - ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() - : discoveryStatus_; + return discoveryStatus_ == null ? + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; } } /** - * - * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> getDiscoveryStatusFieldBuilder() { if (discoveryStatusBuilder_ == null) { - discoveryStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, - com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder>( - getDiscoveryStatus(), getParentForChildren(), isClean()); + discoveryStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder>( + getDiscoveryStatus(), + getParentForChildren(), + isClean()); discoveryStatus_ = null; } return discoveryStatusBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -15286,12 +13339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset) private static final com.google.cloud.dataplex.v1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset(); } @@ -15300,27 +13353,27 @@ public static com.google.cloud.dataplex.v1.Asset getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Asset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15335,4 +13388,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java index 860a60e3ac55..dccb49dda7c2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java @@ -1,87 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -89,13 +57,10 @@ public interface AssetOrBuilder
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -103,90 +68,66 @@ public interface AssetOrBuilder
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the asset was created.
    * 
* - * .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 time when the asset was created.
    * 
* - * .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 time when the asset was created.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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(); /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -195,31 +136,30 @@ public interface AssetOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User defined labels for the asset.
    * 
@@ -227,287 +167,203 @@ public interface AssetOrBuilder * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ boolean hasResourceSpec(); /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec(); /** - * - * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder(); /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the resourceStatus field is set. */ boolean hasResourceStatus(); /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The resourceStatus. */ com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus(); /** - * - * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder(); /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityStatus field is set. */ boolean hasSecurityStatus(); /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityStatus. */ com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus(); /** - * - * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ boolean hasDiscoverySpec(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder(); /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the discoveryStatus field is set. */ boolean hasDiscoveryStatus(); /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The discoveryStatus. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus(); /** - * - * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java index 97d27a6f5db3..09725e419809 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Aggregated status of the underlying assets of a lake or zone.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.AssetStatus} */ -public final class AssetStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AssetStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.AssetStatus) AssetStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AssetStatus.newBuilder() to construct. private AssetStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AssetStatus() {} + private AssetStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AssetStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.AssetStatus.class, - com.google.cloud.dataplex.v1.AssetStatus.Builder.class); + com.google.cloud.dataplex.v1.AssetStatus.class, com.google.cloud.dataplex.v1.AssetStatus.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Last update time of the status.
    * 
@@ -109,14 +83,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ACTIVE_ASSETS_FIELD_NUMBER = 2; private int activeAssets_ = 0; /** - * - * *
    * Number of active assets.
    * 
* * int32 active_assets = 2; - * * @return The activeAssets. */ @java.lang.Override @@ -127,15 +98,12 @@ public int getActiveAssets() { public static final int SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER = 3; private int securityPolicyApplyingAssets_ = 0; /** - * - * *
    * Number of assets that are in process of updating the security policy on
    * attached resources.
    * 
* * int32 security_policy_applying_assets = 3; - * * @return The securityPolicyApplyingAssets. */ @java.lang.Override @@ -144,7 +112,6 @@ public int getSecurityPolicyApplyingAssets() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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 (updateTime_ != null) { output.writeMessage(1, getUpdateTime()); } @@ -176,14 +144,16 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateTime()); } if (activeAssets_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, activeAssets_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, activeAssets_); } if (securityPolicyApplyingAssets_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(3, securityPolicyApplyingAssets_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, securityPolicyApplyingAssets_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -193,7 +163,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.AssetStatus)) { return super.equals(obj); @@ -202,10 +172,13 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (getActiveAssets() != other.getActiveAssets()) return false; - if (getSecurityPolicyApplyingAssets() != other.getSecurityPolicyApplyingAssets()) return false; + if (getActiveAssets() + != other.getActiveAssets()) return false; + if (getSecurityPolicyApplyingAssets() + != other.getSecurityPolicyApplyingAssets()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,136 +203,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.AssetStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Aggregated status of the underlying assets of a lake or zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.AssetStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.AssetStatus) com.google.cloud.dataplex.v1.AssetStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.AssetStatus.class, - com.google.cloud.dataplex.v1.AssetStatus.Builder.class); + com.google.cloud.dataplex.v1.AssetStatus.class, com.google.cloud.dataplex.v1.AssetStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.AssetStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +344,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override @@ -396,11 +365,8 @@ public com.google.cloud.dataplex.v1.AssetStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus buildPartial() { - com.google.cloud.dataplex.v1.AssetStatus result = - new com.google.cloud.dataplex.v1.AssetStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.AssetStatus result = new com.google.cloud.dataplex.v1.AssetStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -408,7 +374,9 @@ public com.google.cloud.dataplex.v1.AssetStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.AssetStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.activeAssets_ = activeAssets_; @@ -422,39 +390,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.AssetStatus result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.AssetStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.AssetStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.AssetStatus)other); } else { super.mergeFrom(other); return this; @@ -498,31 +465,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - activeAssets_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - securityPolicyApplyingAssets_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + activeAssets_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + securityPolicyApplyingAssets_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -532,52 +497,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @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(); } } /** - * - * *
      * Last update time of the status.
      * 
@@ -598,15 +549,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -617,8 +567,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Last update time of the status.
      * 
@@ -627,9 +575,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -642,8 +590,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last update time of the status.
      * 
@@ -661,8 +607,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Last update time of the status.
      * 
@@ -675,8 +619,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Last update time of the status.
      * 
@@ -687,14 +629,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Last update time of the status.
      * 
@@ -702,32 +641,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; } - private int activeAssets_; + private int activeAssets_ ; /** - * - * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; - * * @return The activeAssets. */ @java.lang.Override @@ -735,14 +668,11 @@ public int getActiveAssets() { return activeAssets_; } /** - * - * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; - * * @param value The activeAssets to set. * @return This builder for chaining. */ @@ -754,14 +684,11 @@ public Builder setActiveAssets(int value) { return this; } /** - * - * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; - * * @return This builder for chaining. */ public Builder clearActiveAssets() { @@ -771,17 +698,14 @@ public Builder clearActiveAssets() { return this; } - private int securityPolicyApplyingAssets_; + private int securityPolicyApplyingAssets_ ; /** - * - * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; - * * @return The securityPolicyApplyingAssets. */ @java.lang.Override @@ -789,15 +713,12 @@ public int getSecurityPolicyApplyingAssets() { return securityPolicyApplyingAssets_; } /** - * - * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; - * * @param value The securityPolicyApplyingAssets to set. * @return This builder for chaining. */ @@ -809,15 +730,12 @@ public Builder setSecurityPolicyApplyingAssets(int value) { return this; } /** - * - * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; - * * @return This builder for chaining. */ public Builder clearSecurityPolicyApplyingAssets() { @@ -826,9 +744,9 @@ public Builder clearSecurityPolicyApplyingAssets() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -838,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.AssetStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.AssetStatus) private static final com.google.cloud.dataplex.v1.AssetStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.AssetStatus(); } @@ -852,27 +770,27 @@ public static com.google.cloud.dataplex.v1.AssetStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssetStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssetStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -887,4 +805,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.AssetStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java index d87d7e20fb53..cae7040219c6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface AssetStatusOrBuilder - extends +public interface AssetStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.AssetStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Last update time of the status.
    * 
@@ -59,28 +35,22 @@ public interface AssetStatusOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Number of active assets.
    * 
* * int32 active_assets = 2; - * * @return The activeAssets. */ int getActiveAssets(); /** - * - * *
    * Number of assets that are in process of updating the security policy on
    * attached resources.
    * 
* * int32 security_policy_applying_assets = 3; - * * @return The securityPolicyApplyingAssets. */ int getSecurityPolicyApplyingAssets(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java index 26858df8c10e..e9134f7b38cd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Cancel task jobs.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CancelJobRequest} */ -public final class CancelJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CancelJobRequest) CancelJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelJobRequest.newBuilder() to construct. private CancelJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CancelJobRequest.class, - com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); + com.google.cloud.dataplex.v1.CancelJobRequest.class, com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CancelJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CancelJobRequest other = - (com.google.cloud.dataplex.v1.CancelJobRequest) obj; + com.google.cloud.dataplex.v1.CancelJobRequest other = (com.google.cloud.dataplex.v1.CancelJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CancelJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cancel task jobs.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CancelJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CancelJobRequest) com.google.cloud.dataplex.v1.CancelJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CancelJobRequest.class, - com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); + com.google.cloud.dataplex.v1.CancelJobRequest.class, com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CancelJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.CancelJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CancelJobRequest buildPartial() { - com.google.cloud.dataplex.v1.CancelJobRequest result = - new com.google.cloud.dataplex.v1.CancelJobRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CancelJobRequest result = new com.google.cloud.dataplex.v1.CancelJobRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CancelJobRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CancelJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CancelJobRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CancelJobRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CancelJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CancelJobRequest) private static final com.google.cloud.dataplex.v1.CancelJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CancelJobRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.CancelJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CancelJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java new file mode 100644 index 000000000000..7ad060f3d6f7 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface CancelJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CancelJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java index eac45917c537..55201e2afaed 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Content represents a user-visible notebook or a sql script
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content} */ -public final class Content extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Content extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content) ContentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Content.newBuilder() to construct. private Content(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Content() { name_ = ""; uid_ = ""; @@ -46,127 +28,109 @@ private Content() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Content(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_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 6: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.class, - com.google.cloud.dataplex.v1.Content.Builder.class); + com.google.cloud.dataplex.v1.Content.class, com.google.cloud.dataplex.v1.Content.Builder.class); } - public interface SqlScriptOrBuilder - extends + public interface SqlScriptOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content.SqlScript) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for engine. */ int getEngineValue(); /** - * - * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The engine. */ com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine(); } /** - * - * *
    * Configuration for the Sql Script content.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.SqlScript} */ - public static final class SqlScript extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SqlScript extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content.SqlScript) SqlScriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SqlScript.newBuilder() to construct. private SqlScript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SqlScript() { engine_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SqlScript(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.SqlScript.class, - com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); + com.google.cloud.dataplex.v1.Content.SqlScript.class, com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); } /** - * - * *
      * Query Engine Type of the SQL Script.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Content.SqlScript.QueryEngine} */ - public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { + public enum QueryEngine + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Value was unspecified.
        * 
@@ -175,8 +139,6 @@ public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { */ QUERY_ENGINE_UNSPECIFIED(0), /** - * - * *
        * Spark SQL Query.
        * 
@@ -188,8 +150,6 @@ public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Value was unspecified.
        * 
@@ -198,8 +158,6 @@ public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { */ public static final int QUERY_ENGINE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Spark SQL Query.
        * 
@@ -208,6 +166,7 @@ public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPARK_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,47 +191,48 @@ public static QueryEngine valueOf(int value) { */ public static QueryEngine forNumber(int value) { switch (value) { - case 0: - return QUERY_ENGINE_UNSPECIFIED; - case 2: - return SPARK; - default: - return null; + case 0: return QUERY_ENGINE_UNSPECIFIED; + case 2: return SPARK; + 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< + QueryEngine> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public QueryEngine findValueByNumber(int number) { + return QueryEngine.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public QueryEngine findValueByNumber(int number) { - return QueryEngine.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Content.SqlScript.getDescriptor().getEnumTypes().get(0); } private static final QueryEngine[] VALUES = values(); - public static QueryEngine valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static QueryEngine 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; @@ -292,46 +252,30 @@ private QueryEngine(int value) { public static final int ENGINE_FIELD_NUMBER = 1; private int engine_ = 0; /** - * - * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for engine. */ - @java.lang.Override - public int getEngineValue() { + @java.lang.Override public int getEngineValue() { return engine_; } /** - * - * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The engine. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); - return result == null - ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); + return result == null ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,10 +287,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (engine_ - != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (engine_ != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED.getNumber()) { output.writeEnum(1, engine_); } getUnknownFields().writeTo(output); @@ -358,10 +301,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (engine_ - != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, engine_); + if (engine_ != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, engine_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -371,13 +313,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content.SqlScript)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Content.SqlScript other = - (com.google.cloud.dataplex.v1.Content.SqlScript) obj; + com.google.cloud.dataplex.v1.Content.SqlScript other = (com.google.cloud.dataplex.v1.Content.SqlScript) obj; if (engine_ != other.engine_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -398,94 +339,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Content.SqlScript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -495,41 +432,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the Sql Script content.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.SqlScript} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content.SqlScript) com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.SqlScript.class, - com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); + com.google.cloud.dataplex.v1.Content.SqlScript.class, com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override @@ -560,11 +495,8 @@ public com.google.cloud.dataplex.v1.Content.SqlScript build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript buildPartial() { - com.google.cloud.dataplex.v1.Content.SqlScript result = - new com.google.cloud.dataplex.v1.Content.SqlScript(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Content.SqlScript result = new com.google.cloud.dataplex.v1.Content.SqlScript(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -580,41 +512,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content.SqlScript result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content.SqlScript) { - return mergeFrom((com.google.cloud.dataplex.v1.Content.SqlScript) other); + return mergeFrom((com.google.cloud.dataplex.v1.Content.SqlScript)other); } else { super.mergeFrom(other); return this; @@ -622,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Content.SqlScript other) { - if (other == com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) return this; if (other.engine_ != 0) { setEngineValue(other.getEngineValue()); } @@ -653,19 +581,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - engine_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + engine_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,38 +601,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int engine_ = 0; /** - * - * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for engine. */ - @java.lang.Override - public int getEngineValue() { + @java.lang.Override public int getEngineValue() { return engine_; } /** - * - * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for engine to set. * @return This builder for chaining. */ @@ -717,37 +631,24 @@ public Builder setEngineValue(int value) { return this; } /** - * - * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The engine. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); - return result == null - ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); + return result == null ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED : result; } /** - * - * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The engine to set. * @return This builder for chaining. */ @@ -761,16 +662,11 @@ public Builder setEngine(com.google.cloud.dataplex.v1.Content.SqlScript.QueryEng return this; } /** - * - * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEngine() { @@ -779,7 +675,6 @@ public Builder clearEngine() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -792,12 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content.SqlScript) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content.SqlScript) private static final com.google.cloud.dataplex.v1.Content.SqlScript DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content.SqlScript(); } @@ -806,28 +701,27 @@ public static com.google.cloud.dataplex.v1.Content.SqlScript getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SqlScript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SqlScript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,99 +736,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content.SqlScript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NotebookOrBuilder - extends + public interface NotebookOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content.Notebook) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Kernel Type of the notebook.
      * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for kernelType. */ int getKernelTypeValue(); /** - * - * *
      * Required. Kernel Type of the notebook.
      * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The kernelType. */ com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType(); } /** - * - * *
    * Configuration for Notebook content.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.Notebook} */ - public static final class Notebook extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Notebook extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content.Notebook) NotebookOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Notebook.newBuilder() to construct. private Notebook(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Notebook() { kernelType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Notebook(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.Notebook.class, - com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); + com.google.cloud.dataplex.v1.Content.Notebook.class, com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); } /** - * - * *
      * Kernel Type of the Jupyter notebook.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Content.Notebook.KernelType} */ - public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { + public enum KernelType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Kernel Type unspecified.
        * 
@@ -943,8 +820,6 @@ public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { */ KERNEL_TYPE_UNSPECIFIED(0), /** - * - * *
        * Python 3 Kernel.
        * 
@@ -956,8 +831,6 @@ public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Kernel Type unspecified.
        * 
@@ -966,8 +839,6 @@ public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KERNEL_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Python 3 Kernel.
        * 
@@ -976,6 +847,7 @@ public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON3_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1000,47 +872,48 @@ public static KernelType valueOf(int value) { */ public static KernelType forNumber(int value) { switch (value) { - case 0: - return KERNEL_TYPE_UNSPECIFIED; - case 1: - return PYTHON3; - default: - return null; + case 0: return KERNEL_TYPE_UNSPECIFIED; + case 1: return PYTHON3; + 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< + KernelType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KernelType findValueByNumber(int number) { + return KernelType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KernelType findValueByNumber(int number) { - return KernelType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Content.Notebook.getDescriptor().getEnumTypes().get(0); } private static final KernelType[] VALUES = values(); - public static KernelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static KernelType 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; @@ -1060,46 +933,30 @@ private KernelType(int value) { public static final int KERNEL_TYPE_FIELD_NUMBER = 1; private int kernelType_ = 0; /** - * - * *
      * Required. Kernel Type of the notebook.
      * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for kernelType. */ - @java.lang.Override - public int getKernelTypeValue() { + @java.lang.Override public int getKernelTypeValue() { return kernelType_; } /** - * - * *
      * Required. Kernel Type of the notebook.
      * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The kernelType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { - com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = - com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); - return result == null - ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { + com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); + return result == null ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1111,10 +968,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (kernelType_ - != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (kernelType_ != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, kernelType_); } getUnknownFields().writeTo(output); @@ -1126,10 +982,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (kernelType_ - != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, kernelType_); + if (kernelType_ != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, kernelType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1139,13 +994,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content.Notebook)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Content.Notebook other = - (com.google.cloud.dataplex.v1.Content.Notebook) obj; + com.google.cloud.dataplex.v1.Content.Notebook other = (com.google.cloud.dataplex.v1.Content.Notebook) obj; if (kernelType_ != other.kernelType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1166,94 +1020,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Content.Notebook prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1263,41 +1113,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for Notebook content.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.Notebook} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content.Notebook) com.google.cloud.dataplex.v1.Content.NotebookOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.Notebook.class, - com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); + com.google.cloud.dataplex.v1.Content.Notebook.class, com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.Notebook.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1307,9 +1155,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override @@ -1328,11 +1176,8 @@ public com.google.cloud.dataplex.v1.Content.Notebook build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook buildPartial() { - com.google.cloud.dataplex.v1.Content.Notebook result = - new com.google.cloud.dataplex.v1.Content.Notebook(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Content.Notebook result = new com.google.cloud.dataplex.v1.Content.Notebook(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1348,41 +1193,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content.Notebook result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content.Notebook) { - return mergeFrom((com.google.cloud.dataplex.v1.Content.Notebook) other); + return mergeFrom((com.google.cloud.dataplex.v1.Content.Notebook)other); } else { super.mergeFrom(other); return this; @@ -1390,8 +1232,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Content.Notebook other) { - if (other == com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) return this; if (other.kernelType_ != 0) { setKernelTypeValue(other.getKernelTypeValue()); } @@ -1421,19 +1262,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - kernelType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + kernelType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1443,38 +1282,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int kernelType_ = 0; /** - * - * *
        * Required. Kernel Type of the notebook.
        * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for kernelType. */ - @java.lang.Override - public int getKernelTypeValue() { + @java.lang.Override public int getKernelTypeValue() { return kernelType_; } /** - * - * *
        * Required. Kernel Type of the notebook.
        * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for kernelType to set. * @return This builder for chaining. */ @@ -1485,37 +1312,24 @@ public Builder setKernelTypeValue(int value) { return this; } /** - * - * *
        * Required. Kernel Type of the notebook.
        * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The kernelType. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { - com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = - com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); - return result == null - ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); + return result == null ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED : result; } /** - * - * *
        * Required. Kernel Type of the notebook.
        * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The kernelType to set. * @return This builder for chaining. */ @@ -1529,16 +1343,11 @@ public Builder setKernelType(com.google.cloud.dataplex.v1.Content.Notebook.Kerne return this; } /** - * - * *
        * Required. Kernel Type of the notebook.
        * 
* - * - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearKernelType() { @@ -1547,7 +1356,6 @@ public Builder clearKernelType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1560,12 +1368,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content.Notebook) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content.Notebook) private static final com.google.cloud.dataplex.v1.Content.Notebook DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content.Notebook(); } @@ -1574,28 +1382,27 @@ public static com.google.cloud.dataplex.v1.Content.Notebook getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Notebook parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Notebook parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1610,21 +1417,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content.Notebook getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int dataCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object data_; - public enum DataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_TEXT(9), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -1640,38 +1444,32 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 9: - return DATA_TEXT; - case 0: - return DATA_NOT_SET; - default: - return null; + case 9: return DATA_TEXT; + case 0: return DATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } private int contentCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object content_; - public enum ContentCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SQL_SCRIPT(100), NOTEBOOK(101), CONTENT_NOT_SET(0); private final int value; - private ContentCase(int value) { this.value = value; } @@ -1687,42 +1485,33 @@ public static ContentCase valueOf(int value) { public static ContentCase forNumber(int value) { switch (value) { - case 100: - return SQL_SCRIPT; - case 101: - return NOTEBOOK; - case 0: - return CONTENT_NOT_SET; - default: - return null; + case 100: return SQL_SCRIPT; + case 101: return NOTEBOOK; + case 0: return CONTENT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); + public ContentCase + getContentCase() { + return ContentCase.forNumber( + contentCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1731,32 +1520,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; } } /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1765,12 +1552,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -1778,7 +1562,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -1787,15 +1570,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -1803,15 +1585,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1820,12 +1603,9 @@ public com.google.protobuf.ByteString getUidBytes() { } public static final int PATH_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** - * - * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -1833,7 +1613,6 @@ public com.google.protobuf.ByteString getUidBytes() {
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -1842,15 +1621,14 @@ 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; } } /** - * - * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -1858,15 +1636,16 @@ public java.lang.String getPath() {
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1877,15 +1656,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Content creation time.
    * 
* - * .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 @@ -1893,15 +1668,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Content creation time.
    * 
* - * .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 @@ -1909,14 +1680,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Content creation time.
    * 
* - * .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() { @@ -1926,15 +1694,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 time when the content was last updated.
    * 
* - * .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 @@ -1942,15 +1706,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the content was last updated.
    * 
* - * .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 @@ -1958,14 +1718,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the content was last updated.
    * 
* - * .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() { @@ -1973,34 +1730,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -2008,21 +1763,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -2034,8 +1788,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -2043,19 +1795,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -2063,11 +1813,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -2075,18 +1825,14 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -2095,29 +1841,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; } } /** - * - * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2127,28 +1873,22 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DATA_TEXT_FIELD_NUMBER = 9; /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the dataText field is set. */ public boolean hasDataText() { return dataCase_ == 9; } /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataText. */ public java.lang.String getDataText() { @@ -2159,7 +1899,8 @@ public java.lang.String getDataText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (dataCase_ == 9) { data_ = s; @@ -2168,24 +1909,23 @@ public java.lang.String getDataText() { } } /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataText. */ - public com.google.protobuf.ByteString getDataTextBytes() { + public com.google.protobuf.ByteString + getDataTextBytes() { java.lang.Object ref = ""; if (dataCase_ == 9) { ref = data_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (dataCase_ == 9) { data_ = b; } @@ -2197,14 +1937,11 @@ public com.google.protobuf.ByteString getDataTextBytes() { public static final int SQL_SCRIPT_FIELD_NUMBER = 100; /** - * - * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -2212,26 +1949,21 @@ public boolean hasSqlScript() { return contentCase_ == 100; } /** - * - * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return The sqlScript. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { if (contentCase_ == 100) { - return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; + return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; } return com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } /** - * - * *
    * Sql Script related configurations.
    * 
@@ -2241,21 +1973,18 @@ public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBuilder() { if (contentCase_ == 100) { - return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; + return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; } return com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } public static final int NOTEBOOK_FIELD_NUMBER = 101; /** - * - * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return Whether the notebook field is set. */ @java.lang.Override @@ -2263,26 +1992,21 @@ public boolean hasNotebook() { return contentCase_ == 101; } /** - * - * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return The notebook. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { if (contentCase_ == 101) { - return (com.google.cloud.dataplex.v1.Content.Notebook) content_; + return (com.google.cloud.dataplex.v1.Content.Notebook) content_; } return com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } /** - * - * *
    * Notebook related configurations.
    * 
@@ -2292,13 +2016,12 @@ public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuilder() { if (contentCase_ == 101) { - return (com.google.cloud.dataplex.v1.Content.Notebook) content_; + return (com.google.cloud.dataplex.v1.Content.Notebook) content_; } return com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2310,7 +2033,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2326,8 +2050,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -2359,20 +2087,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); @@ -2381,14 +2111,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, data_); } if (contentCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.dataplex.v1.Content.SqlScript) content_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.Content.SqlScript) content_); } if (contentCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.dataplex.v1.Content.Notebook) content_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.Content.Notebook) content_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2398,30 +2126,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Content other = (com.google.cloud.dataplex.v1.Content) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (!getPath() + .equals(other.getPath())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 9: - if (!getDataText().equals(other.getDataText())) return false; + if (!getDataText() + .equals(other.getDataText())) return false; break; case 0: default: @@ -2429,10 +2165,12 @@ public boolean equals(final java.lang.Object obj) { if (!getContentCase().equals(other.getContentCase())) return false; switch (contentCase_) { case 100: - if (!getSqlScript().equals(other.getSqlScript())) return false; + if (!getSqlScript() + .equals(other.getSqlScript())) return false; break; case 101: - if (!getNotebook().equals(other.getNotebook())) return false; + if (!getNotebook() + .equals(other.getNotebook())) return false; break; case 0: default: @@ -2493,155 +2231,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Content parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Content parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Content parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Content parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Content parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Content prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Content represents a user-visible notebook or a sql script
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content) com.google.cloud.dataplex.v1.ContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: 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 6: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.class, - com.google.cloud.dataplex.v1.Content.Builder.class); + com.google.cloud.dataplex.v1.Content.class, com.google.cloud.dataplex.v1.Content.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2675,9 +2412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Content_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_descriptor; } @java.lang.Override @@ -2697,9 +2434,7 @@ public com.google.cloud.dataplex.v1.Content build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content buildPartial() { com.google.cloud.dataplex.v1.Content result = new com.google.cloud.dataplex.v1.Content(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2717,10 +2452,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content result) { result.path_ = path_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.labels_ = internalGetLabels(); @@ -2736,10 +2475,12 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Content result) { result.data_ = this.data_; result.contentCase_ = contentCase_; result.content_ = this.content_; - if (contentCase_ == 100 && sqlScriptBuilder_ != null) { + if (contentCase_ == 100 && + sqlScriptBuilder_ != null) { result.content_ = sqlScriptBuilder_.build(); } - if (contentCase_ == 101 && notebookBuilder_ != null) { + if (contentCase_ == 101 && + notebookBuilder_ != null) { result.content_ = notebookBuilder_.build(); } } @@ -2748,39 +2489,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Content result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content) { - return mergeFrom((com.google.cloud.dataplex.v1.Content) other); + return mergeFrom((com.google.cloud.dataplex.v1.Content)other); } else { super.mergeFrom(other); return this; @@ -2810,7 +2550,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Content other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000020; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -2818,33 +2559,28 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Content other) { onChanged(); } switch (other.getDataCase()) { - case DATA_TEXT: - { - dataCase_ = 9; - data_ = other.data_; - onChanged(); - break; - } - case DATA_NOT_SET: - { - break; - } + case DATA_TEXT: { + dataCase_ = 9; + data_ = other.data_; + onChanged(); + break; + } + case DATA_NOT_SET: { + break; + } } switch (other.getContentCase()) { - case SQL_SCRIPT: - { - mergeSqlScript(other.getSqlScript()); - break; - } - case NOTEBOOK: - { - mergeNotebook(other.getNotebook()); - break; - } - case CONTENT_NOT_SET: - { - break; - } + case SQL_SCRIPT: { + mergeSqlScript(other.getSqlScript()); + break; + } + case NOTEBOOK: { + mergeNotebook(other.getNotebook()); + break; + } + case CONTENT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2872,80 +2608,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - dataCase_ = 9; - data_ = s; - break; - } // case 74 - case 802: - { - input.readMessage(getSqlScriptFieldBuilder().getBuilder(), extensionRegistry); - contentCase_ = 100; - break; - } // case 802 - case 810: - { - input.readMessage(getNotebookFieldBuilder().getBuilder(), extensionRegistry); - contentCase_ = 101; - break; - } // case 810 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + dataCase_ = 9; + data_ = s; + break; + } // case 74 + case 802: { + input.readMessage( + getSqlScriptFieldBuilder().getBuilder(), + extensionRegistry); + contentCase_ = 100; + break; + } // case 802 + case 810: { + input.readMessage( + getNotebookFieldBuilder().getBuilder(), + extensionRegistry); + contentCase_ = 101; + break; + } // case 810 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2955,12 +2686,12 @@ public Builder mergeFrom( } // finally return this; } - private int dataCase_ = 0; private java.lang.Object data_; - - public DataCase getDataCase() { - return DataCase.forNumber(dataCase_); + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); } public Builder clearData() { @@ -2972,9 +2703,10 @@ public Builder clearData() { private int contentCase_ = 0; private java.lang.Object content_; - - public ContentCase getContentCase() { - return ContentCase.forNumber(contentCase_); + public ContentCase + getContentCase() { + return ContentCase.forNumber( + contentCase_); } public Builder clearContent() { @@ -2988,23 +2720,19 @@ public Builder clearContent() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3013,24 +2741,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3038,41 +2763,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -3082,24 +2796,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3109,8 +2817,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -3118,13 +2824,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3133,8 +2839,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -3142,14 +2846,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3157,8 +2862,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -3166,22 +2869,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -3189,7 +2888,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3199,8 +2897,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -3208,14 +2904,12 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -3225,8 +2919,6 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3234,13 +2926,13 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -3249,8 +2941,6 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3258,14 +2948,15 @@ public java.lang.String getPath() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -3273,8 +2964,6 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3282,22 +2971,18 @@ public com.google.protobuf.ByteString getPathBytes() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } path_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3305,7 +2990,6 @@ public Builder setPath(java.lang.String value) {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { @@ -3315,8 +2999,6 @@ public Builder clearPath() { return this; } /** - * - * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3324,14 +3006,12 @@ public Builder clearPath() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000004; @@ -3341,58 +3021,39 @@ public Builder setPathBytes(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. Content creation time.
      * 
* - * - * .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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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. Content creation time.
      * 
* - * - * .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) { @@ -3408,17 +3069,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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(); } else { @@ -3429,21 +3087,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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 (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3456,15 +3110,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3477,15 +3127,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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() { bitField0_ |= 0x00000008; @@ -3493,48 +3139,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Content creation time.
      * 
* - * - * .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. Content creation time.
      * 
* - * - * .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_; @@ -3542,58 +3176,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 time when the content was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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 time when the content was last updated.
      * 
* - * - * .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) { @@ -3609,17 +3224,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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(); } else { @@ -3630,21 +3242,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3657,15 +3265,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3678,15 +3282,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000010; @@ -3694,66 +3294,56 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the content was last updated.
      * 
* - * - * .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 time when the content was last updated.
      * 
* - * - * .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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3762,13 +3352,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User defined labels for the content.
      * 
@@ -3776,21 +3363,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User defined labels for the content.
      * 
@@ -3802,8 +3388,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User defined labels for the content.
      * 
@@ -3811,19 +3395,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User defined labels for the content.
      * 
@@ -3831,95 +3413,91 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3928,21 +3506,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3950,35 +3527,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3988,21 +3558,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -4011,14 +3577,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the dataText field is set. */ @java.lang.Override @@ -4026,14 +3589,11 @@ public boolean hasDataText() { return dataCase_ == 9; } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataText. */ @java.lang.Override @@ -4043,7 +3603,8 @@ public java.lang.String getDataText() { ref = data_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (dataCase_ == 9) { data_ = s; @@ -4054,25 +3615,24 @@ public java.lang.String getDataText() { } } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataText. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTextBytes() { + public com.google.protobuf.ByteString + getDataTextBytes() { java.lang.Object ref = ""; if (dataCase_ == 9) { ref = data_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (dataCase_ == 9) { data_ = b; } @@ -4082,35 +3642,28 @@ public com.google.protobuf.ByteString getDataTextBytes() { } } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataText to set. * @return This builder for chaining. */ - public Builder setDataText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataCase_ = 9; data_ = value; onChanged(); return this; } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataText() { @@ -4122,21 +3675,17 @@ public Builder clearDataText() { return this; } /** - * - * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataText to set. * @return This builder for chaining. */ - public Builder setDataTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataCase_ = 9; data_ = value; @@ -4145,19 +3694,13 @@ public Builder setDataTextBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, - com.google.cloud.dataplex.v1.Content.SqlScript.Builder, - com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> - sqlScriptBuilder_; + com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> sqlScriptBuilder_; /** - * - * *
      * Sql Script related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -4165,14 +3708,11 @@ public boolean hasSqlScript() { return contentCase_ == 100; } /** - * - * *
      * Sql Script related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return The sqlScript. */ @java.lang.Override @@ -4190,8 +3730,6 @@ public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { } } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4212,8 +3750,6 @@ public Builder setSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript value return this; } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4232,8 +3768,6 @@ public Builder setSqlScript( return this; } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4242,13 +3776,10 @@ public Builder setSqlScript( */ public Builder mergeSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript value) { if (sqlScriptBuilder_ == null) { - if (contentCase_ == 100 - && content_ != com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) { - content_ = - com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder( - (com.google.cloud.dataplex.v1.Content.SqlScript) content_) - .mergeFrom(value) - .buildPartial(); + if (contentCase_ == 100 && + content_ != com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) { + content_ = com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder((com.google.cloud.dataplex.v1.Content.SqlScript) content_) + .mergeFrom(value).buildPartial(); } else { content_ = value; } @@ -4264,8 +3795,6 @@ public Builder mergeSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript val return this; } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4289,8 +3818,6 @@ public Builder clearSqlScript() { return this; } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4301,8 +3828,6 @@ public com.google.cloud.dataplex.v1.Content.SqlScript.Builder getSqlScriptBuilde return getSqlScriptFieldBuilder().getBuilder(); } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4321,8 +3846,6 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui } } /** - * - * *
      * Sql Script related configurations.
      * 
@@ -4330,19 +3853,14 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, - com.google.cloud.dataplex.v1.Content.SqlScript.Builder, - com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> + com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> getSqlScriptFieldBuilder() { if (sqlScriptBuilder_ == null) { if (!(contentCase_ == 100)) { content_ = com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } - sqlScriptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, - com.google.cloud.dataplex.v1.Content.SqlScript.Builder, - com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder>( + sqlScriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder>( (com.google.cloud.dataplex.v1.Content.SqlScript) content_, getParentForChildren(), isClean()); @@ -4354,19 +3872,13 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, - com.google.cloud.dataplex.v1.Content.Notebook.Builder, - com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> - notebookBuilder_; + com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> notebookBuilder_; /** - * - * *
      * Notebook related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return Whether the notebook field is set. */ @java.lang.Override @@ -4374,14 +3886,11 @@ public boolean hasNotebook() { return contentCase_ == 101; } /** - * - * *
      * Notebook related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return The notebook. */ @java.lang.Override @@ -4399,8 +3908,6 @@ public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { } } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4421,8 +3928,6 @@ public Builder setNotebook(com.google.cloud.dataplex.v1.Content.Notebook value) return this; } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4441,8 +3946,6 @@ public Builder setNotebook( return this; } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4451,13 +3954,10 @@ public Builder setNotebook( */ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Content.Notebook value) { if (notebookBuilder_ == null) { - if (contentCase_ == 101 - && content_ != com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) { - content_ = - com.google.cloud.dataplex.v1.Content.Notebook.newBuilder( - (com.google.cloud.dataplex.v1.Content.Notebook) content_) - .mergeFrom(value) - .buildPartial(); + if (contentCase_ == 101 && + content_ != com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) { + content_ = com.google.cloud.dataplex.v1.Content.Notebook.newBuilder((com.google.cloud.dataplex.v1.Content.Notebook) content_) + .mergeFrom(value).buildPartial(); } else { content_ = value; } @@ -4473,8 +3973,6 @@ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Content.Notebook value return this; } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4498,8 +3996,6 @@ public Builder clearNotebook() { return this; } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4510,8 +4006,6 @@ public com.google.cloud.dataplex.v1.Content.Notebook.Builder getNotebookBuilder( return getNotebookFieldBuilder().getBuilder(); } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4530,8 +4024,6 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild } } /** - * - * *
      * Notebook related configurations.
      * 
@@ -4539,19 +4031,14 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, - com.google.cloud.dataplex.v1.Content.Notebook.Builder, - com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> + com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> getNotebookFieldBuilder() { if (notebookBuilder_ == null) { if (!(contentCase_ == 101)) { content_ = com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } - notebookBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, - com.google.cloud.dataplex.v1.Content.Notebook.Builder, - com.google.cloud.dataplex.v1.Content.NotebookOrBuilder>( + notebookBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder>( (com.google.cloud.dataplex.v1.Content.Notebook) content_, getParentForChildren(), isClean()); @@ -4561,9 +4048,9 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild onChanged(); return notebookBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4573,12 +4060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content) private static final com.google.cloud.dataplex.v1.Content DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content(); } @@ -4587,27 +4074,27 @@ public static com.google.cloud.dataplex.v1.Content getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Content parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Content parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4622,4 +4109,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java similarity index 76% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java index 4b74a27ce7ad..6c8e53017fff 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface ContentOrBuilder - extends +public interface ContentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -64,13 +37,10 @@ public interface ContentOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -78,14 +48,12 @@ public interface ContentOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -93,13 +61,10 @@ public interface ContentOrBuilder
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -107,90 +72,66 @@ public interface ContentOrBuilder
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Output only. Content creation time.
    * 
* - * .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. Content creation time.
    * 
* - * .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. Content creation time.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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(); /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -199,31 +140,30 @@ public interface ContentOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User defined labels for the content.
    * 
@@ -231,110 +171,88 @@ public interface ContentOrBuilder * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the dataText field is set. */ boolean hasDataText(); /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataText. */ java.lang.String getDataText(); /** - * - * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataText. */ - com.google.protobuf.ByteString getDataTextBytes(); + com.google.protobuf.ByteString + getDataTextBytes(); /** - * - * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return Whether the sqlScript field is set. */ boolean hasSqlScript(); /** - * - * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; - * * @return The sqlScript. */ com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript(); /** - * - * *
    * Sql Script related configurations.
    * 
@@ -344,32 +262,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBuilder(); /** - * - * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return Whether the notebook field is set. */ boolean hasNotebook(); /** - * - * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; - * * @return The notebook. */ com.google.cloud.dataplex.v1.Content.Notebook getNotebook(); /** - * - * *
    * Notebook related configurations.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java new file mode 100644 index 000000000000..6facb51365e7 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java @@ -0,0 +1,214 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public final class ContentProto { + private ContentProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/content.proto" + + "\022\030google.cloud.dataplex.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032&google/cloud/data" + + "plex/v1/analyze.proto\032\036google/iam/v1/iam" + + "_policy.proto\032\032google/iam/v1/policy.prot" + + "o\032\033google/protobuf/empty.proto\032 google/p" + + "rotobuf/field_mask.proto\"\244\001\n\024CreateConte" + + "ntRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034data" + + "plex.googleapis.com/Lake\0228\n\007content\030\002 \001(" + + "\0132!.google.cloud.dataplex.v1.ContentB\004\342A" + + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\244\001\n\024Upda" + + "teContentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\0228\n\007conte" + + "nt\030\002 \001(\0132!.google.cloud.dataplex.v1.Cont" + + "entB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"N" + + "\n\024DeleteContentRequest\0226\n\004name\030\001 \001(\tB(\342A" + + "\001\002\372A!\n\037dataplex.googleapis.com/Content\"\224" + + "\001\n\022ListContentRequest\0225\n\006parent\030\001 \001(\tB%\342" + + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"b\n\023ListCon" + + "tentResponse\0222\n\007content\030\001 \003(\0132!.google.c" + + "loud.dataplex.v1.Content\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\332\001\n\021GetContentRequest\0226\n\004name\030" + + "\001 \001(\tB(\342A\001\002\372A!\n\037dataplex.googleapis.com/" + + "Content\022K\n\004view\030\002 \001(\01627.google.cloud.dat" + + "aplex.v1.GetContentRequest.ContentViewB\004" + + "\342A\001\001\"@\n\013ContentView\022\034\n\030CONTENT_VIEW_UNSP" + + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\255\020\n\016Conte" + + "ntService\022\200\002\n\rCreateContent\022..google.clo" + + "ud.dataplex.v1.CreateContentRequest\032!.go" + + "ogle.cloud.dataplex.v1.Content\"\233\001\332A\016pare" + + "nt,content\202\323\344\223\002\203\001\"8/v1/{parent=projects/" + + "*/locations/*/lakes/*}/contentitems:\007con" + + "tentZ>\"3/v1/{parent=projects/*/locations" + + "/*/lakes/*}/content:\007content\022\227\002\n\rUpdateC" + + "ontent\022..google.cloud.dataplex.v1.Update" + + "ContentRequest\032!.google.cloud.dataplex.v" + + "1.Content\"\262\001\332A\023content,update_mask\202\323\344\223\002\225" + + "\0012A/v1/{content.name=projects/*/location" + + "s/*/lakes/*/contentitems/**}:\007contentZG2" + + " * Create asset request. *
* * Protobuf type {@code google.cloud.dataplex.v1.CreateAssetRequest} */ -public final class CreateAssetRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAssetRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateAssetRequest) CreateAssetRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAssetRequest.newBuilder() to construct. private CreateAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAssetRequest() { parent_ = ""; assetId_ = ""; @@ -44,41 +26,34 @@ private CreateAssetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateAssetRequest.class, - com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateAssetRequest.class, com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ASSET_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetId_ = ""; /** - * - * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -139,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The assetId. */ @java.lang.Override @@ -148,15 +117,14 @@ public java.lang.String getAssetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; } } /** - * - * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -169,15 +137,16 @@ public java.lang.String getAssetId() {
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for assetId. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetIdBytes() { + public com.google.protobuf.ByteString + getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetId_ = b; return b; } else { @@ -188,15 +157,11 @@ public com.google.protobuf.ByteString getAssetIdBytes() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Asset asset_; /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ @java.lang.Override @@ -204,15 +169,11 @@ public boolean hasAsset() { return asset_ != null; } /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ @java.lang.Override @@ -220,14 +181,11 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { @@ -237,15 +195,12 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -254,7 +209,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -295,10 +250,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetId_); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAsset()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,21 +265,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateAssetRequest other = - (com.google.cloud.dataplex.v1.CreateAssetRequest) obj; + com.google.cloud.dataplex.v1.CreateAssetRequest other = (com.google.cloud.dataplex.v1.CreateAssetRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAssetId().equals(other.getAssetId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAssetId() + .equals(other.getAssetId())) return false; if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset().equals(other.getAsset())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,142 +303,139 @@ public int hashCode() { hash = (53 * hash) + getAsset().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateAssetRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateAssetRequest) com.google.cloud.dataplex.v1.CreateAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateAssetRequest.class, - com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateAssetRequest.class, com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateAssetRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override @@ -516,11 +473,8 @@ public com.google.cloud.dataplex.v1.CreateAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateAssetRequest result = - new com.google.cloud.dataplex.v1.CreateAssetRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateAssetRequest result = new com.google.cloud.dataplex.v1.CreateAssetRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -534,7 +488,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateAssetRequest resul result.assetId_ = assetId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build(); + result.asset_ = assetBuilder_ == null + ? asset_ + : assetBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -545,39 +501,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateAssetRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateAssetRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateAssetRequest)other); } else { super.mergeFrom(other); return this; @@ -585,8 +540,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -629,37 +583,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - assetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + assetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAssetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,28 +620,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -699,24 +645,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -724,41 +667,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -768,24 +700,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -795,8 +721,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetId_ = ""; /** - * - * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -809,13 +733,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The assetId. */ public java.lang.String getAssetId() { java.lang.Object ref = assetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; @@ -824,8 +748,6 @@ public java.lang.String getAssetId() { } } /** - * - * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -838,14 +760,15 @@ public java.lang.String getAssetId() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for assetId. */ - public com.google.protobuf.ByteString getAssetIdBytes() { + public com.google.protobuf.ByteString + getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetId_ = b; return b; } else { @@ -853,8 +776,6 @@ public com.google.protobuf.ByteString getAssetIdBytes() { } } /** - * - * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -867,22 +788,18 @@ public com.google.protobuf.ByteString getAssetIdBytes() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The assetId to set. * @return This builder for chaining. */ - public Builder setAssetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -895,7 +812,6 @@ public Builder setAssetId(java.lang.String value) {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAssetId() { @@ -905,8 +821,6 @@ public Builder clearAssetId() { return this; } /** - * - * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -919,14 +833,12 @@ public Builder clearAssetId() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for assetId to set. * @return This builder for chaining. */ - public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetId_ = value; bitField0_ |= 0x00000002; @@ -936,35 +848,24 @@ public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> - assetBuilder_; + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetBuilder_; /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ public boolean hasAsset() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ public com.google.cloud.dataplex.v1.Asset getAsset() { @@ -975,14 +876,11 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { } } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { @@ -998,16 +896,14 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder setAsset( + com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); } else { @@ -1018,20 +914,17 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForVal return this; } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && asset_ != null - && asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + asset_ != null && + asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -1044,14 +937,11 @@ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAsset() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1064,14 +954,11 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { bitField0_ |= 0x00000004; @@ -1079,60 +966,49 @@ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? + com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } } /** - * - * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder>( - getAsset(), getParentForChildren(), isClean()); + assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( + getAsset(), + getParentForChildren(), + isClean()); asset_ = null; } return assetBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1140,15 +1016,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1160,15 +1033,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1177,9 +1047,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateAssetRequest) private static final com.google.cloud.dataplex.v1.CreateAssetRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateAssetRequest(); } @@ -1203,27 +1073,27 @@ public static com.google.cloud.dataplex.v1.CreateAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,4 +1108,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java index 458cf8581d1e..bf9f0823bd83 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateAssetRequestOrBuilder - extends +public interface CreateAssetRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateAssetRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -69,13 +42,10 @@ public interface CreateAssetRequestOrBuilder
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The assetId. */ java.lang.String getAssetId(); /** - * - * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -88,59 +58,45 @@ public interface CreateAssetRequestOrBuilder
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for assetId. */ - com.google.protobuf.ByteString getAssetIdBytes(); + com.google.protobuf.ByteString + getAssetIdBytes(); /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ boolean hasAsset(); /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ com.google.cloud.dataplex.v1.Asset getAsset(); /** - * - * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java index dc34d531d558..f15d2d74338b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateContentRequest} */ -public final class CreateContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateContentRequest) CreateContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateContentRequest.newBuilder() to construct. private CreateContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateContentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateContentRequest.class, - com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateContentRequest.class, com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,15 +95,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONTENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Content content_; /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ @java.lang.Override @@ -138,15 +107,11 @@ public boolean hasContent() { return content_ != null; } /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ @java.lang.Override @@ -154,14 +119,11 @@ public com.google.cloud.dataplex.v1.Content getContent() { return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { @@ -171,15 +133,12 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -188,7 +147,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,10 +182,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContent()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,20 +197,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateContentRequest other = - (com.google.cloud.dataplex.v1.CreateContentRequest) obj; + com.google.cloud.dataplex.v1.CreateContentRequest other = (com.google.cloud.dataplex.v1.CreateContentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,142 +231,139 @@ public int hashCode() { hash = (53 * hash) + getContent().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateContentRequest) com.google.cloud.dataplex.v1.CreateContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateContentRequest.class, - com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateContentRequest.class, com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateContentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override @@ -440,11 +400,8 @@ public com.google.cloud.dataplex.v1.CreateContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateContentRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateContentRequest result = - new com.google.cloud.dataplex.v1.CreateContentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateContentRequest result = new com.google.cloud.dataplex.v1.CreateContentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -455,7 +412,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateContentRequest res result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); + result.content_ = contentBuilder_ == null + ? content_ + : contentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -466,39 +425,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateContentRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateContentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateContentRequest)other); } else { super.mergeFrom(other); return this; @@ -506,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateContentRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -545,31 +502,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getContentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,28 +534,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -609,24 +559,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -634,41 +581,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -678,24 +614,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,58 +635,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Content content_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> - contentBuilder_; + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ public com.google.cloud.dataplex.v1.Content getContent() { if (contentBuilder_ == null) { - return content_ == null - ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() - : content_; + return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } else { return contentBuilder_.getMessage(); } } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { @@ -772,17 +683,14 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder setContent( + com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); } else { @@ -793,21 +701,17 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderFo return this; } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && content_ != null - && content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + content_ != null && + content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -820,15 +724,11 @@ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -841,15 +741,11 @@ public Builder clearContent() { return this; } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { bitField0_ |= 0x00000002; @@ -857,64 +753,49 @@ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { return getContentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null - ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() - : content_; + return content_ == null ? + com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } } /** - * - * *
      * Required. Content resource.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder>( - getContent(), getParentForChildren(), isClean()); + contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( + getContent(), + getParentForChildren(), + isClean()); content_ = null; } return contentBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -922,15 +803,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -942,15 +820,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -959,9 +834,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -971,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateContentRequest) private static final com.google.cloud.dataplex.v1.CreateContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateContentRequest(); } @@ -985,27 +860,27 @@ public static com.google.cloud.dataplex.v1.CreateContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1020,4 +895,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java similarity index 57% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java index 71fb0d288133..1fdb139a8a8e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java @@ -1,107 +1,68 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface CreateContentRequestOrBuilder - extends +public interface CreateContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ boolean hasContent(); /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ com.google.cloud.dataplex.v1.Content getContent(); /** - * - * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java index 14863bea8167..3a9e846fd8aa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeBindingRequest} */ -public final class CreateDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataAttributeBindingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) CreateDataAttributeBindingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataAttributeBindingRequest.newBuilder() to construct. - private CreateDataAttributeBindingRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataAttributeBindingRequest() { parent_ = ""; dataAttributeBindingId_ = ""; @@ -45,41 +26,34 @@ private CreateDataAttributeBindingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATA_ATTRIBUTE_BINDING_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataAttributeBindingId_ = ""; /** - * - * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -138,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeBindingId. */ @java.lang.Override @@ -147,15 +115,14 @@ public java.lang.String getDataAttributeBindingId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeBindingId_ = s; return s; } } /** - * - * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -166,15 +133,16 @@ public java.lang.String getDataAttributeBindingId() {
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeBindingId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { + public com.google.protobuf.ByteString + getDataAttributeBindingIdBytes() { java.lang.Object ref = dataAttributeBindingId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataAttributeBindingId_ = b; return b; } else { @@ -185,16 +153,11 @@ public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { public static final int DATA_ATTRIBUTE_BINDING_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ @java.lang.Override @@ -202,55 +165,38 @@ public boolean hasDataAttributeBinding() { return dataAttributeBinding_ != null; } /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingOrBuilder() { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -259,7 +205,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,11 +246,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataAttributeBindingId_); } if (dataAttributeBinding_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataAttributeBinding()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDataAttributeBinding()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,21 +261,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other = - (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDataAttributeBindingId().equals(other.getDataAttributeBindingId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDataAttributeBindingId() + .equals(other.getDataAttributeBindingId())) return false; if (hasDataAttributeBinding() != other.hasDataAttributeBinding()) return false; if (hasDataAttributeBinding()) { - if (!getDataAttributeBinding().equals(other.getDataAttributeBinding())) return false; + if (!getDataAttributeBinding() + .equals(other.getDataAttributeBinding())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -349,143 +299,139 @@ public int hashCode() { hash = (53 * hash) + getDataAttributeBinding().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeBindingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +448,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance(); } @@ -524,17 +469,13 @@ public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result = - new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result) { + private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -543,10 +484,9 @@ private void buildPartial0( result.dataAttributeBindingId_ = dataAttributeBindingId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataAttributeBinding_ = - dataAttributeBindingBuilder_ == null - ? dataAttributeBinding_ - : dataAttributeBindingBuilder_.build(); + result.dataAttributeBinding_ = dataAttributeBindingBuilder_ == null + ? dataAttributeBinding_ + : dataAttributeBindingBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -557,39 +497,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest)other); } else { super.mergeFrom(other); return this; @@ -597,9 +536,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other) { - if (other - == com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -642,38 +579,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataAttributeBindingId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getDataAttributeBindingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + dataAttributeBindingId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getDataAttributeBindingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,28 +616,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -713,24 +641,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -738,41 +663,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -782,24 +696,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -809,8 +717,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataAttributeBindingId_ = ""; /** - * - * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -821,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeBindingId. */ public java.lang.String getDataAttributeBindingId() { java.lang.Object ref = dataAttributeBindingId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeBindingId_ = s; return s; @@ -836,8 +742,6 @@ public java.lang.String getDataAttributeBindingId() { } } /** - * - * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -848,14 +752,15 @@ public java.lang.String getDataAttributeBindingId() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeBindingId. */ - public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { + public com.google.protobuf.ByteString + getDataAttributeBindingIdBytes() { java.lang.Object ref = dataAttributeBindingId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataAttributeBindingId_ = b; return b; } else { @@ -863,8 +768,6 @@ public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { } } /** - * - * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -875,22 +778,18 @@ public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataAttributeBindingId to set. * @return This builder for chaining. */ - public Builder setDataAttributeBindingId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataAttributeBindingId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataAttributeBindingId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -901,7 +800,6 @@ public Builder setDataAttributeBindingId(java.lang.String value) {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataAttributeBindingId() { @@ -911,8 +809,6 @@ public Builder clearDataAttributeBindingId() { return this; } /** - * - * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -923,14 +819,12 @@ public Builder clearDataAttributeBindingId() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataAttributeBindingId to set. * @return This builder for chaining. */ - public Builder setDataAttributeBindingIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataAttributeBindingIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataAttributeBindingId_ = value; bitField0_ |= 0x00000002; @@ -940,61 +834,41 @@ public Builder setDataAttributeBindingIdBytes(com.google.protobuf.ByteString val private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> - dataAttributeBindingBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingBuilder_; /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ public boolean hasDataAttributeBinding() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { if (dataAttributeBindingBuilder_ == null) { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } else { return dataAttributeBindingBuilder_.getMessage(); } } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataAttributeBinding( - com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1008,15 +882,11 @@ public Builder setDataAttributeBinding( return this; } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttributeBinding( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -1030,23 +900,17 @@ public Builder setDataAttributeBinding( return this; } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDataAttributeBinding( - com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && dataAttributeBinding_ != null - && dataAttributeBinding_ - != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + dataAttributeBinding_ != null && + dataAttributeBinding_ != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { getDataAttributeBindingBuilder().mergeFrom(value); } else { dataAttributeBinding_ = value; @@ -1059,15 +923,11 @@ public Builder mergeDataAttributeBinding( return this; } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataAttributeBinding() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1080,82 +940,61 @@ public Builder clearDataAttributeBinding() { return this; } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder - getDataAttributeBindingBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDataAttributeBindingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingOrBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { if (dataAttributeBindingBuilder_ != null) { return dataAttributeBindingBuilder_.getMessageOrBuilder(); } else { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? + com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } } /** - * - * *
      * Required. DataAttributeBinding resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingFieldBuilder() { if (dataAttributeBindingBuilder_ == null) { - dataAttributeBindingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( - getDataAttributeBinding(), getParentForChildren(), isClean()); + dataAttributeBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + getDataAttributeBinding(), + getParentForChildren(), + isClean()); dataAttributeBinding_ = null; } return dataAttributeBindingBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1163,15 +1002,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1183,15 +1019,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1200,9 +1033,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1212,43 +1045,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,8 +1091,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java similarity index 61% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java index f5206fa9a1f1..b7d0445d1e6f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataAttributeBindingRequestOrBuilder - extends +public interface CreateDataAttributeBindingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -67,13 +40,10 @@ public interface CreateDataAttributeBindingRequestOrBuilder
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeBindingId. */ java.lang.String getDataAttributeBindingId(); /** - * - * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -84,62 +54,45 @@ public interface CreateDataAttributeBindingRequestOrBuilder
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeBindingId. */ - com.google.protobuf.ByteString getDataAttributeBindingIdBytes(); + com.google.protobuf.ByteString + getDataAttributeBindingIdBytes(); /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ boolean hasDataAttributeBinding(); /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(); /** - * - * *
    * Required. DataAttributeBinding resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java index 8920ff712ef4..55430069edc4 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeRequest} */ -public final class CreateDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataAttributeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataAttributeRequest) CreateDataAttributeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataAttributeRequest.newBuilder() to construct. private CreateDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataAttributeRequest() { parent_ = ""; dataAttributeId_ = ""; @@ -44,41 +26,34 @@ private CreateDataAttributeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATA_ATTRIBUTE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataAttributeId_ = ""; /** - * - * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -137,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeId. */ @java.lang.Override @@ -146,15 +115,14 @@ public java.lang.String getDataAttributeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeId_ = s; return s; } } /** - * - * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -165,15 +133,16 @@ public java.lang.String getDataAttributeId() {
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataAttributeIdBytes() { + public com.google.protobuf.ByteString + getDataAttributeIdBytes() { java.lang.Object ref = dataAttributeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataAttributeId_ = b; return b; } else { @@ -184,16 +153,11 @@ public com.google.protobuf.ByteString getDataAttributeIdBytes() { public static final int DATA_ATTRIBUTE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ @java.lang.Override @@ -201,54 +165,38 @@ public boolean hasDataAttribute() { return dataAttribute_ != null; } /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -257,7 +205,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,10 +246,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataAttributeId_); } if (dataAttribute_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataAttribute()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDataAttribute()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,21 +261,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataAttributeRequest other = - (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.CreateDataAttributeRequest other = (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDataAttributeId().equals(other.getDataAttributeId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDataAttributeId() + .equals(other.getDataAttributeId())) return false; if (hasDataAttribute() != other.hasDataAttribute()) return false; if (hasDataAttribute()) { - if (!getDataAttribute().equals(other.getDataAttribute())) return false; + if (!getDataAttribute() + .equals(other.getDataAttribute())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,143 +299,139 @@ public int hashCode() { hash = (53 * hash) + getDataAttribute().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataAttributeRequest) com.google.cloud.dataplex.v1.CreateDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataAttributeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override @@ -520,11 +469,8 @@ public com.google.cloud.dataplex.v1.CreateDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataAttributeRequest result = - new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateDataAttributeRequest result = new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -538,8 +484,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeReque result.dataAttributeId_ = dataAttributeId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataAttribute_ = - dataAttributeBuilder_ == null ? dataAttribute_ : dataAttributeBuilder_.build(); + result.dataAttribute_ = dataAttributeBuilder_ == null + ? dataAttribute_ + : dataAttributeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -550,39 +497,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeRequest)other); } else { super.mergeFrom(other); return this; @@ -590,8 +536,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +579,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataAttributeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getDataAttributeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + dataAttributeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getDataAttributeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,28 +616,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -704,24 +641,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -729,41 +663,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -773,24 +696,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -800,8 +717,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataAttributeId_ = ""; /** - * - * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -812,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeId. */ public java.lang.String getDataAttributeId() { java.lang.Object ref = dataAttributeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeId_ = s; return s; @@ -827,8 +742,6 @@ public java.lang.String getDataAttributeId() { } } /** - * - * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -839,14 +752,15 @@ public java.lang.String getDataAttributeId() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeId. */ - public com.google.protobuf.ByteString getDataAttributeIdBytes() { + public com.google.protobuf.ByteString + getDataAttributeIdBytes() { java.lang.Object ref = dataAttributeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataAttributeId_ = b; return b; } else { @@ -854,8 +768,6 @@ public com.google.protobuf.ByteString getDataAttributeIdBytes() { } } /** - * - * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -866,22 +778,18 @@ public com.google.protobuf.ByteString getDataAttributeIdBytes() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataAttributeId to set. * @return This builder for chaining. */ - public Builder setDataAttributeId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataAttributeId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataAttributeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -892,7 +800,6 @@ public Builder setDataAttributeId(java.lang.String value) {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataAttributeId() { @@ -902,8 +809,6 @@ public Builder clearDataAttributeId() { return this; } /** - * - * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -914,14 +819,12 @@ public Builder clearDataAttributeId() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataAttributeId to set. * @return This builder for chaining. */ - public Builder setDataAttributeIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataAttributeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataAttributeId_ = value; bitField0_ |= 0x00000002; @@ -931,58 +834,39 @@ public Builder setDataAttributeIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> - dataAttributeBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributeBuilder_; /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ public boolean hasDataAttribute() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { if (dataAttributeBuilder_ == null) { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } else { return dataAttributeBuilder_.getMessage(); } } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { @@ -998,15 +882,11 @@ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value return this; } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttribute( com.google.cloud.dataplex.v1.DataAttribute.Builder builderForValue) { @@ -1020,21 +900,17 @@ public Builder setDataAttribute( return this; } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && dataAttribute_ != null - && dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + dataAttribute_ != null && + dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { getDataAttributeBuilder().mergeFrom(value); } else { dataAttribute_ = value; @@ -1047,15 +923,11 @@ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute val return this; } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataAttribute() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1068,15 +940,11 @@ public Builder clearDataAttribute() { return this; } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilder() { bitField0_ |= 0x00000004; @@ -1084,64 +952,49 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilde return getDataAttributeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { if (dataAttributeBuilder_ != null) { return dataAttributeBuilder_.getMessageOrBuilder(); } else { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? + com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } } /** - * - * *
      * Required. DataAttribute resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributeFieldBuilder() { if (dataAttributeBuilder_ == null) { - dataAttributeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( - getDataAttribute(), getParentForChildren(), isClean()); + dataAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + getDataAttribute(), + getParentForChildren(), + isClean()); dataAttribute_ = null; } return dataAttributeBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1149,15 +1002,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1169,15 +1019,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1186,9 +1033,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1198,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataAttributeRequest) private static final com.google.cloud.dataplex.v1.CreateDataAttributeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(); } @@ -1212,27 +1059,27 @@ public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1247,4 +1094,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.CreateDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java similarity index 61% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java index 62a24b85de5f..d1889ec2ea2d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataAttributeRequestOrBuilder - extends +public interface CreateDataAttributeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -67,13 +40,10 @@ public interface CreateDataAttributeRequestOrBuilder
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataAttributeId. */ java.lang.String getDataAttributeId(); /** - * - * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -84,62 +54,45 @@ public interface CreateDataAttributeRequestOrBuilder
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataAttributeId. */ - com.google.protobuf.ByteString getDataAttributeIdBytes(); + com.google.protobuf.ByteString + getDataAttributeIdBytes(); /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ boolean hasDataAttribute(); /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(); /** - * - * *
    * Required. DataAttribute resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java index bd2bae34c57e..81cd806b4ae9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataScanRequest} */ -public final class CreateDataScanRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataScanRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataScanRequest) CreateDataScanRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataScanRequest.newBuilder() to construct. private CreateDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataScanRequest() { parent_ = ""; dataScanId_ = ""; @@ -44,32 +26,28 @@ private CreateDataScanRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataScanRequest.class, - com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataScanRequest.class, com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -89,15 +64,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -105,18 +79,17 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -127,16 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_SCAN_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataScan dataScan_; /** - * - * *
    * Required. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ @java.lang.Override @@ -144,49 +112,33 @@ public boolean hasDataScan() { return dataScan_ != null; } /** - * - * *
    * Required. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan getDataScan() { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } /** - * - * *
    * Required. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } public static final int DATA_SCAN_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object dataScanId_ = ""; /** - * - * *
    * Required. DataScan identifier.
    *
@@ -198,7 +150,6 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() {
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataScanId. */ @java.lang.Override @@ -207,15 +158,14 @@ public java.lang.String getDataScanId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataScanId_ = s; return s; } } /** - * - * *
    * Required. DataScan identifier.
    *
@@ -227,15 +177,16 @@ public java.lang.String getDataScanId() {
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataScanId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataScanIdBytes() { + public com.google.protobuf.ByteString + getDataScanIdBytes() { java.lang.Object ref = dataScanId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataScanId_ = b; return b; } else { @@ -246,15 +197,12 @@ public com.google.protobuf.ByteString getDataScanIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -263,7 +211,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -301,13 +249,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataScan_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataScan()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataScan()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataScanId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dataScanId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,21 +267,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataScanRequest other = - (com.google.cloud.dataplex.v1.CreateDataScanRequest) obj; + com.google.cloud.dataplex.v1.CreateDataScanRequest other = (com.google.cloud.dataplex.v1.CreateDataScanRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDataScan() != other.hasDataScan()) return false; if (hasDataScan()) { - if (!getDataScan().equals(other.getDataScan())) return false; + if (!getDataScan() + .equals(other.getDataScan())) return false; } - if (!getDataScanId().equals(other.getDataScanId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getDataScanId() + .equals(other.getDataScanId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,142 +305,139 @@ public int hashCode() { hash = (37 * hash) + DATA_SCAN_ID_FIELD_NUMBER; hash = (53 * hash) + getDataScanId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataScanRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataScanRequest) com.google.cloud.dataplex.v1.CreateDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataScanRequest.class, - com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataScanRequest.class, com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataScanRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override @@ -525,11 +475,8 @@ public com.google.cloud.dataplex.v1.CreateDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataScanRequest result = - new com.google.cloud.dataplex.v1.CreateDataScanRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateDataScanRequest result = new com.google.cloud.dataplex.v1.CreateDataScanRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -540,7 +487,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataScanRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataScan_ = dataScanBuilder_ == null ? dataScan_ : dataScanBuilder_.build(); + result.dataScan_ = dataScanBuilder_ == null + ? dataScan_ + : dataScanBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.dataScanId_ = dataScanId_; @@ -554,39 +503,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataScanRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataScanRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataScanRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +542,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -638,37 +585,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataScanFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - dataScanId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataScanFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + dataScanId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,13 +622,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -692,16 +633,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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; @@ -710,8 +649,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -719,17 +656,16 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -737,8 +673,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -746,25 +680,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -772,10 +700,7 @@ public Builder setParent(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -785,8 +710,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -794,17 +717,13 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -814,58 +733,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataScan dataScan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> - dataScanBuilder_; + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScanBuilder_; /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ public boolean hasDataScan() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ public com.google.cloud.dataplex.v1.DataScan getDataScan() { if (dataScanBuilder_ == null) { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } else { return dataScanBuilder_.getMessage(); } } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { @@ -881,17 +781,14 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder setDataScan( + com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScanBuilder_ == null) { dataScan_ = builderForValue.build(); } else { @@ -902,21 +799,17 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builder return this; } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataScan_ != null - && dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataScan_ != null && + dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { getDataScanBuilder().mergeFrom(value); } else { dataScan_ = value; @@ -929,15 +822,11 @@ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataScan() { bitField0_ = (bitField0_ & ~0x00000002); @@ -950,15 +839,11 @@ public Builder clearDataScan() { return this; } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { bitField0_ |= 0x00000002; @@ -966,48 +851,36 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { return getDataScanFieldBuilder().getBuilder(); } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { if (dataScanBuilder_ != null) { return dataScanBuilder_.getMessageOrBuilder(); } else { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? + com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } } /** - * - * *
      * Required. DataScan resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScanFieldBuilder() { if (dataScanBuilder_ == null) { - dataScanBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder>( - getDataScan(), getParentForChildren(), isClean()); + dataScanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( + getDataScan(), + getParentForChildren(), + isClean()); dataScan_ = null; } return dataScanBuilder_; @@ -1015,8 +888,6 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { private java.lang.Object dataScanId_ = ""; /** - * - * *
      * Required. DataScan identifier.
      *
@@ -1028,13 +899,13 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataScanId. */ public java.lang.String getDataScanId() { java.lang.Object ref = dataScanId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataScanId_ = s; return s; @@ -1043,8 +914,6 @@ public java.lang.String getDataScanId() { } } /** - * - * *
      * Required. DataScan identifier.
      *
@@ -1056,14 +925,15 @@ public java.lang.String getDataScanId() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataScanId. */ - public com.google.protobuf.ByteString getDataScanIdBytes() { + public com.google.protobuf.ByteString + getDataScanIdBytes() { java.lang.Object ref = dataScanId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataScanId_ = b; return b; } else { @@ -1071,8 +941,6 @@ public com.google.protobuf.ByteString getDataScanIdBytes() { } } /** - * - * *
      * Required. DataScan identifier.
      *
@@ -1084,22 +952,18 @@ public com.google.protobuf.ByteString getDataScanIdBytes() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataScanId to set. * @return This builder for chaining. */ - public Builder setDataScanId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataScanId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataScanId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. DataScan identifier.
      *
@@ -1111,7 +975,6 @@ public Builder setDataScanId(java.lang.String value) {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataScanId() { @@ -1121,8 +984,6 @@ public Builder clearDataScanId() { return this; } /** - * - * *
      * Required. DataScan identifier.
      *
@@ -1134,14 +995,12 @@ public Builder clearDataScanId() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataScanId to set. * @return This builder for chaining. */ - public Builder setDataScanIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataScanIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataScanId_ = value; bitField0_ |= 0x00000004; @@ -1149,17 +1008,14 @@ public Builder setDataScanIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1167,15 +1023,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1187,15 +1040,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1204,9 +1054,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1216,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataScanRequest) private static final com.google.cloud.dataplex.v1.CreateDataScanRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataScanRequest(); } @@ -1230,27 +1080,27 @@ public static com.google.cloud.dataplex.v1.CreateDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1265,4 +1115,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java index a44d58f77bd6..4c4ff0761152 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface CreateDataScanRequestOrBuilder - extends +public interface CreateDataScanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataScanRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -33,16 +15,11 @@ public interface CreateDataScanRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -50,58 +27,40 @@ public interface CreateDataScanRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ boolean hasDataScan(); /** - * - * *
    * Required. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ com.google.cloud.dataplex.v1.DataScan getDataScan(); /** - * - * *
    * Required. DataScan resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder(); /** - * - * *
    * Required. DataScan identifier.
    *
@@ -113,13 +72,10 @@ public interface CreateDataScanRequestOrBuilder
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataScanId. */ java.lang.String getDataScanId(); /** - * - * *
    * Required. DataScan identifier.
    *
@@ -131,21 +87,18 @@ public interface CreateDataScanRequestOrBuilder
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataScanId. */ - com.google.protobuf.ByteString getDataScanIdBytes(); + com.google.protobuf.ByteString + getDataScanIdBytes(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java index f3ac00528d70..2b00610835f7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataTaxonomyRequest} */ -public final class CreateDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataTaxonomyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) CreateDataTaxonomyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataTaxonomyRequest.newBuilder() to construct. private CreateDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataTaxonomyRequest() { parent_ = ""; dataTaxonomyId_ = ""; @@ -44,42 +26,35 @@ private CreateDataTaxonomyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATA_TAXONOMY_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataTaxonomyId_ = ""; /** - * - * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -139,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataTaxonomyId. */ @java.lang.Override @@ -148,15 +117,14 @@ public java.lang.String getDataTaxonomyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataTaxonomyId_ = s; return s; } } /** - * - * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -167,15 +135,16 @@ public java.lang.String getDataTaxonomyId() {
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataTaxonomyId. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { + public com.google.protobuf.ByteString + getDataTaxonomyIdBytes() { java.lang.Object ref = dataTaxonomyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataTaxonomyId_ = b; return b; } else { @@ -186,16 +155,11 @@ public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { public static final int DATA_TAXONOMY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ @java.lang.Override @@ -203,54 +167,38 @@ public boolean hasDataTaxonomy() { return dataTaxonomy_ != null; } /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -259,7 +207,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,10 +248,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataTaxonomyId_); } if (dataTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataTaxonomy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDataTaxonomy()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,21 +263,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other = - (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDataTaxonomyId().equals(other.getDataTaxonomyId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDataTaxonomyId() + .equals(other.getDataTaxonomyId())) return false; if (hasDataTaxonomy() != other.hasDataTaxonomy()) return false; if (hasDataTaxonomy()) { - if (!getDataTaxonomy().equals(other.getDataTaxonomy())) return false; + if (!getDataTaxonomy() + .equals(other.getDataTaxonomy())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -348,143 +301,139 @@ public int hashCode() { hash = (53 * hash) + getDataTaxonomy().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataTaxonomyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) com.google.cloud.dataplex.v1.CreateDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -522,11 +471,8 @@ public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest result = - new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -540,8 +486,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataTaxonomyReques result.dataTaxonomyId_ = dataTaxonomyId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataTaxonomy_ = - dataTaxonomyBuilder_ == null ? dataTaxonomy_ : dataTaxonomyBuilder_.build(); + result.dataTaxonomy_ = dataTaxonomyBuilder_ == null + ? dataTaxonomy_ + : dataTaxonomyBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -552,39 +499,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataTaxonomyReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest)other); } else { super.mergeFrom(other); return this; @@ -592,8 +538,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -636,37 +581,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataTaxonomyId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getDataTaxonomyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + dataTaxonomyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getDataTaxonomyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -676,29 +618,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -707,25 +644,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -733,43 +667,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -779,25 +702,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -807,8 +724,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataTaxonomyId_ = ""; /** - * - * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -819,13 +734,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataTaxonomyId. */ public java.lang.String getDataTaxonomyId() { java.lang.Object ref = dataTaxonomyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataTaxonomyId_ = s; return s; @@ -834,8 +749,6 @@ public java.lang.String getDataTaxonomyId() { } } /** - * - * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -846,14 +759,15 @@ public java.lang.String getDataTaxonomyId() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataTaxonomyId. */ - public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { + public com.google.protobuf.ByteString + getDataTaxonomyIdBytes() { java.lang.Object ref = dataTaxonomyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataTaxonomyId_ = b; return b; } else { @@ -861,8 +775,6 @@ public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { } } /** - * - * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -873,22 +785,18 @@ public com.google.protobuf.ByteString getDataTaxonomyIdBytes() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dataTaxonomyId to set. * @return This builder for chaining. */ - public Builder setDataTaxonomyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataTaxonomyId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataTaxonomyId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -899,7 +807,6 @@ public Builder setDataTaxonomyId(java.lang.String value) {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataTaxonomyId() { @@ -909,8 +816,6 @@ public Builder clearDataTaxonomyId() { return this; } /** - * - * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -921,14 +826,12 @@ public Builder clearDataTaxonomyId() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dataTaxonomyId to set. * @return This builder for chaining. */ - public Builder setDataTaxonomyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataTaxonomyIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataTaxonomyId_ = value; bitField0_ |= 0x00000002; @@ -938,58 +841,39 @@ public Builder setDataTaxonomyIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> - dataTaxonomyBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomyBuilder_; /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ public boolean hasDataTaxonomy() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { if (dataTaxonomyBuilder_ == null) { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } else { return dataTaxonomyBuilder_.getMessage(); } } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { @@ -1005,15 +889,11 @@ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) return this; } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataTaxonomy( com.google.cloud.dataplex.v1.DataTaxonomy.Builder builderForValue) { @@ -1027,21 +907,17 @@ public Builder setDataTaxonomy( return this; } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && dataTaxonomy_ != null - && dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + dataTaxonomy_ != null && + dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { getDataTaxonomyBuilder().mergeFrom(value); } else { dataTaxonomy_ = value; @@ -1054,15 +930,11 @@ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataTaxonomy() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1075,15 +947,11 @@ public Builder clearDataTaxonomy() { return this; } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder() { bitField0_ |= 0x00000004; @@ -1091,64 +959,49 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder( return getDataTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { if (dataTaxonomyBuilder_ != null) { return dataTaxonomyBuilder_.getMessageOrBuilder(); } else { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? + com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } } /** - * - * *
      * Required. DataTaxonomy resource.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomyFieldBuilder() { if (dataTaxonomyBuilder_ == null) { - dataTaxonomyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( - getDataTaxonomy(), getParentForChildren(), isClean()); + dataTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + getDataTaxonomy(), + getParentForChildren(), + isClean()); dataTaxonomy_ = null; } return dataTaxonomyBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1156,15 +1009,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1176,15 +1026,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1193,9 +1040,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(); } @@ -1219,27 +1066,27 @@ public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1254,4 +1101,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java index b269faefcddd..7e18e046f3f8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataTaxonomyRequestOrBuilder - extends +public interface CreateDataTaxonomyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -69,13 +42,10 @@ public interface CreateDataTaxonomyRequestOrBuilder
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataTaxonomyId. */ java.lang.String getDataTaxonomyId(); /** - * - * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -86,62 +56,45 @@ public interface CreateDataTaxonomyRequestOrBuilder
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataTaxonomyId. */ - com.google.protobuf.ByteString getDataTaxonomyIdBytes(); + com.google.protobuf.ByteString + getDataTaxonomyIdBytes(); /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ boolean hasDataTaxonomy(); /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(); /** - * - * *
    * Required. DataTaxonomy resource.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java index 4945b88a4459..6378938f711d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create a metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEntityRequest} */ -public final class CreateEntityRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEntityRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateEntityRequest) CreateEntityRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEntityRequest.newBuilder() to construct. private CreateEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEntityRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEntityRequest.class, - com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEntityRequest.class, com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,15 +95,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTITY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Entity entity_; /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ @java.lang.Override @@ -138,15 +107,11 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ @java.lang.Override @@ -154,14 +119,11 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { @@ -171,15 +133,12 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -188,7 +147,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,10 +182,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEntity()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,20 +197,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateEntityRequest other = - (com.google.cloud.dataplex.v1.CreateEntityRequest) obj; + com.google.cloud.dataplex.v1.CreateEntityRequest other = (com.google.cloud.dataplex.v1.CreateEntityRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,142 +231,139 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create a metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEntityRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateEntityRequest) com.google.cloud.dataplex.v1.CreateEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEntityRequest.class, - com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEntityRequest.class, com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateEntityRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override @@ -440,11 +400,8 @@ public com.google.cloud.dataplex.v1.CreateEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateEntityRequest result = - new com.google.cloud.dataplex.v1.CreateEntityRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateEntityRequest result = new com.google.cloud.dataplex.v1.CreateEntityRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -455,7 +412,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEntityRequest resu result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null + ? entity_ + : entityBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -466,39 +425,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEntityRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateEntityRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateEntityRequest)other); } else { super.mergeFrom(other); return this; @@ -506,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateEntityRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -545,31 +502,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getEntityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,28 +534,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -609,24 +559,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -634,41 +581,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -678,24 +614,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,35 +635,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ public com.google.cloud.dataplex.v1.Entity getEntity() { @@ -744,14 +663,11 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { } } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { @@ -767,16 +683,14 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder setEntity( + com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -787,20 +701,17 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForV return this; } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && entity_ != null - && entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + entity_ != null && + entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -813,14 +724,11 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntity() { bitField0_ = (bitField0_ & ~0x00000002); @@ -833,14 +741,11 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { bitField0_ |= 0x00000002; @@ -848,60 +753,49 @@ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? + com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -909,15 +803,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -929,15 +820,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -946,9 +834,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -958,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateEntityRequest) private static final com.google.cloud.dataplex.v1.CreateEntityRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateEntityRequest(); } @@ -972,27 +860,27 @@ public static com.google.cloud.dataplex.v1.CreateEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +895,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java index 4cc5f739001a..f7930c10d95d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java @@ -1,107 +1,68 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface CreateEntityRequestOrBuilder - extends +public interface CreateEntityRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateEntityRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ com.google.cloud.dataplex.v1.Entity getEntity(); /** - * - * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java index 46c8ff5d6ad6..7067c70c2061 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEnvironmentRequest() { parent_ = ""; environmentId_ = ""; @@ -44,41 +26,34 @@ private CreateEnvironmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENVIRONMENT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object environmentId_ = ""; /** - * - * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -137,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The environmentId. */ @java.lang.Override @@ -146,15 +115,14 @@ public java.lang.String getEnvironmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; } } /** - * - * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -165,15 +133,16 @@ public java.lang.String getEnvironmentId() {
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for environmentId. */ @java.lang.Override - public com.google.protobuf.ByteString getEnvironmentIdBytes() { + public com.google.protobuf.ByteString + getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); environmentId_ = b; return b; } else { @@ -184,16 +153,11 @@ public com.google.protobuf.ByteString getEnvironmentIdBytes() { public static final int ENVIRONMENT_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Environment environment_; /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ @java.lang.Override @@ -201,54 +165,38 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -257,7 +205,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,10 +246,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, environmentId_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEnvironment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEnvironment()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,21 +261,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateEnvironmentRequest other = - (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.CreateEnvironmentRequest other = (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEnvironmentId().equals(other.getEnvironmentId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEnvironmentId() + .equals(other.getEnvironmentId())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,143 +299,139 @@ public int hashCode() { hash = (53 * hash) + getEnvironment().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateEnvironmentRequest) com.google.cloud.dataplex.v1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateEnvironmentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override @@ -520,11 +469,8 @@ public com.google.cloud.dataplex.v1.CreateEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateEnvironmentRequest result = - new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateEnvironmentRequest result = new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -538,8 +484,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEnvironmentRequest result.environmentId_ = environmentId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.environment_ = - environmentBuilder_ == null ? environment_ : environmentBuilder_.build(); + result.environment_ = environmentBuilder_ == null + ? environment_ + : environmentBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -550,39 +497,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEnvironmentRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateEnvironmentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; @@ -590,8 +536,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +579,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - environmentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEnvironmentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + environmentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEnvironmentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,28 +616,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -704,24 +641,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -729,41 +663,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -773,24 +696,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -800,8 +717,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object environmentId_ = ""; /** - * - * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -812,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The environmentId. */ public java.lang.String getEnvironmentId() { java.lang.Object ref = environmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; @@ -827,8 +742,6 @@ public java.lang.String getEnvironmentId() { } } /** - * - * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -839,14 +752,15 @@ public java.lang.String getEnvironmentId() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for environmentId. */ - public com.google.protobuf.ByteString getEnvironmentIdBytes() { + public com.google.protobuf.ByteString + getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); environmentId_ = b; return b; } else { @@ -854,8 +768,6 @@ public com.google.protobuf.ByteString getEnvironmentIdBytes() { } } /** - * - * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -866,22 +778,18 @@ public com.google.protobuf.ByteString getEnvironmentIdBytes() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The environmentId to set. * @return This builder for chaining. */ - public Builder setEnvironmentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEnvironmentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } environmentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -892,7 +800,6 @@ public Builder setEnvironmentId(java.lang.String value) {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEnvironmentId() { @@ -902,8 +809,6 @@ public Builder clearEnvironmentId() { return this; } /** - * - * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -914,14 +819,12 @@ public Builder clearEnvironmentId() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for environmentId to set. * @return This builder for chaining. */ - public Builder setEnvironmentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEnvironmentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); environmentId_ = value; bitField0_ |= 0x00000002; @@ -931,58 +834,39 @@ public Builder setEnvironmentIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ public boolean hasEnvironment() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ public com.google.cloud.dataplex.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { @@ -998,15 +882,11 @@ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { return this; } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEnvironment( com.google.cloud.dataplex.v1.Environment.Builder builderForValue) { @@ -1020,21 +900,17 @@ public Builder setEnvironment( return this; } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && environment_ != null - && environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + environment_ != null && + environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { getEnvironmentBuilder().mergeFrom(value); } else { environment_ = value; @@ -1047,15 +923,11 @@ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) return this; } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEnvironment() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1068,15 +940,11 @@ public Builder clearEnvironment() { return this; } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() { bitField0_ |= 0x00000004; @@ -1084,64 +952,49 @@ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() return getEnvironmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? + com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } } /** - * - * *
      * Required. Environment resource.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - getEnvironment(), getParentForChildren(), isClean()); + environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + getEnvironment(), + getParentForChildren(), + isClean()); environment_ = null; } return environmentBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1149,15 +1002,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1169,15 +1019,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1186,9 +1033,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1198,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateEnvironmentRequest) private static final com.google.cloud.dataplex.v1.CreateEnvironmentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(); } @@ -1212,27 +1059,27 @@ public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1247,4 +1094,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java similarity index 60% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java index 6923e94ca631..98adf87bea0a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateEnvironmentRequestOrBuilder - extends +public interface CreateEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -67,13 +40,10 @@ public interface CreateEnvironmentRequestOrBuilder
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The environmentId. */ java.lang.String getEnvironmentId(); /** - * - * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -84,62 +54,45 @@ public interface CreateEnvironmentRequestOrBuilder
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for environmentId. */ - com.google.protobuf.ByteString getEnvironmentIdBytes(); + com.google.protobuf.ByteString + getEnvironmentIdBytes(); /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ com.google.cloud.dataplex.v1.Environment getEnvironment(); /** - * - * *
    * Required. Environment resource.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java index 6b420ac2d758..30a154993a2e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateLakeRequest} */ -public final class CreateLakeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateLakeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateLakeRequest) CreateLakeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateLakeRequest.newBuilder() to construct. private CreateLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateLakeRequest() { parent_ = ""; lakeId_ = ""; @@ -44,42 +26,35 @@ private CreateLakeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateLakeRequest.class, - com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateLakeRequest.class, com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int LAKE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object lakeId_ = ""; /** - * - * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -141,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lakeId. */ @java.lang.Override @@ -150,15 +119,14 @@ public java.lang.String getLakeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; } } /** - * - * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -171,15 +139,16 @@ public java.lang.String getLakeId() {
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for lakeId. */ @java.lang.Override - public com.google.protobuf.ByteString getLakeIdBytes() { + public com.google.protobuf.ByteString + getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lakeId_ = b; return b; } else { @@ -190,14 +159,11 @@ public com.google.protobuf.ByteString getLakeIdBytes() { public static final int LAKE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Lake lake_; /** - * - * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the lake field is set. */ @java.lang.Override @@ -205,14 +171,11 @@ public boolean hasLake() { return lake_ != null; } /** - * - * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lake. */ @java.lang.Override @@ -220,8 +183,6 @@ public com.google.cloud.dataplex.v1.Lake getLake() { return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } /** - * - * *
    * Required. Lake resource
    * 
@@ -236,15 +197,12 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -253,7 +211,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -294,10 +252,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lakeId_); } if (lake_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLake()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLake()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,21 +267,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateLakeRequest other = - (com.google.cloud.dataplex.v1.CreateLakeRequest) obj; + com.google.cloud.dataplex.v1.CreateLakeRequest other = (com.google.cloud.dataplex.v1.CreateLakeRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getLakeId().equals(other.getLakeId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getLakeId() + .equals(other.getLakeId())) return false; if (hasLake() != other.hasLake()) return false; if (hasLake()) { - if (!getLake().equals(other.getLake())) return false; + if (!getLake() + .equals(other.getLake())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,142 +305,139 @@ public int hashCode() { hash = (53 * hash) + getLake().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateLakeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateLakeRequest) com.google.cloud.dataplex.v1.CreateLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateLakeRequest.class, - com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateLakeRequest.class, com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateLakeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override @@ -515,11 +475,8 @@ public com.google.cloud.dataplex.v1.CreateLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateLakeRequest result = - new com.google.cloud.dataplex.v1.CreateLakeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateLakeRequest result = new com.google.cloud.dataplex.v1.CreateLakeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -533,7 +490,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateLakeRequest result result.lakeId_ = lakeId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.lake_ = lakeBuilder_ == null ? lake_ : lakeBuilder_.build(); + result.lake_ = lakeBuilder_ == null + ? lake_ + : lakeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -544,39 +503,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateLakeRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateLakeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateLakeRequest)other); } else { super.mergeFrom(other); return this; @@ -627,37 +585,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - lakeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getLakeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + lakeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getLakeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,29 +622,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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; @@ -698,25 +648,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -724,43 +671,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -770,25 +706,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -798,8 +728,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object lakeId_ = ""; /** - * - * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -812,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lakeId. */ public java.lang.String getLakeId() { java.lang.Object ref = lakeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; @@ -827,8 +755,6 @@ public java.lang.String getLakeId() { } } /** - * - * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -841,14 +767,15 @@ public java.lang.String getLakeId() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for lakeId. */ - public com.google.protobuf.ByteString getLakeIdBytes() { + public com.google.protobuf.ByteString + getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lakeId_ = b; return b; } else { @@ -856,8 +783,6 @@ public com.google.protobuf.ByteString getLakeIdBytes() { } } /** - * - * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -870,22 +795,18 @@ public com.google.protobuf.ByteString getLakeIdBytes() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The lakeId to set. * @return This builder for chaining. */ - public Builder setLakeId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLakeId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } lakeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -898,7 +819,6 @@ public Builder setLakeId(java.lang.String value) {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLakeId() { @@ -908,8 +828,6 @@ public Builder clearLakeId() { return this; } /** - * - * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -922,14 +840,12 @@ public Builder clearLakeId() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for lakeId to set. * @return This builder for chaining. */ - public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLakeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lakeId_ = value; bitField0_ |= 0x00000002; @@ -939,35 +855,24 @@ public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Lake lake_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> - lakeBuilder_; + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakeBuilder_; /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the lake field is set. */ public boolean hasLake() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The lake. */ public com.google.cloud.dataplex.v1.Lake getLake() { @@ -978,14 +883,11 @@ public com.google.cloud.dataplex.v1.Lake getLake() { } } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { @@ -1001,16 +903,14 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLake( + com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakeBuilder_ == null) { lake_ = builderForValue.build(); } else { @@ -1021,20 +921,17 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue return this; } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && lake_ != null - && lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + lake_ != null && + lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { getLakeBuilder().mergeFrom(value); } else { lake_ = value; @@ -1047,14 +944,11 @@ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLake() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1067,14 +961,11 @@ public Builder clearLake() { return this; } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { bitField0_ |= 0x00000004; @@ -1082,60 +973,49 @@ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { return getLakeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { if (lakeBuilder_ != null) { return lakeBuilder_.getMessageOrBuilder(); } else { - return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; + return lake_ == null ? + com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } } /** - * - * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> getLakeFieldBuilder() { if (lakeBuilder_ == null) { - lakeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder>( - getLake(), getParentForChildren(), isClean()); + lakeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( + getLake(), + getParentForChildren(), + isClean()); lake_ = null; } return lakeBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1143,15 +1023,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1163,15 +1040,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1180,9 +1054,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1192,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateLakeRequest) private static final com.google.cloud.dataplex.v1.CreateLakeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateLakeRequest(); } @@ -1206,27 +1080,27 @@ public static com.google.cloud.dataplex.v1.CreateLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1241,4 +1115,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java index 5ea731774170..7773cb8ee3f6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateLakeRequestOrBuilder - extends +public interface CreateLakeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateLakeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -71,13 +44,10 @@ public interface CreateLakeRequestOrBuilder
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lakeId. */ java.lang.String getLakeId(); /** - * - * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -90,38 +60,30 @@ public interface CreateLakeRequestOrBuilder
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for lakeId. */ - com.google.protobuf.ByteString getLakeIdBytes(); + com.google.protobuf.ByteString + getLakeIdBytes(); /** - * - * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the lake field is set. */ boolean hasLake(); /** - * - * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lake. */ com.google.cloud.dataplex.v1.Lake getLake(); /** - * - * *
    * Required. Lake resource
    * 
@@ -131,15 +93,12 @@ public interface CreateLakeRequestOrBuilder com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java index 05ada1c2549f..0889060b8621 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreatePartitionRequest} */ -public final class CreatePartitionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePartitionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreatePartitionRequest) CreatePartitionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePartitionRequest.newBuilder() to construct. private CreatePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePartitionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreatePartitionRequest.class, - com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.CreatePartitionRequest.class, com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,16 +95,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Partition partition_; /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the partition field is set. */ @java.lang.Override @@ -139,54 +107,38 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The partition. */ @java.lang.Override public com.google.cloud.dataplex.v1.Partition getPartition() { - return partition_ == null - ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; } /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -195,7 +147,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -230,10 +182,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPartition()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -243,20 +197,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreatePartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreatePartitionRequest other = - (com.google.cloud.dataplex.v1.CreatePartitionRequest) obj; + com.google.cloud.dataplex.v1.CreatePartitionRequest other = (com.google.cloud.dataplex.v1.CreatePartitionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,142 +231,139 @@ public int hashCode() { hash = (53 * hash) + getPartition().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreatePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreatePartitionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreatePartitionRequest) com.google.cloud.dataplex.v1.CreatePartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreatePartitionRequest.class, - com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.CreatePartitionRequest.class, com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreatePartitionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override @@ -447,11 +400,8 @@ public com.google.cloud.dataplex.v1.CreatePartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreatePartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.CreatePartitionRequest result = - new com.google.cloud.dataplex.v1.CreatePartitionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreatePartitionRequest result = new com.google.cloud.dataplex.v1.CreatePartitionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -462,7 +412,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreatePartitionRequest r result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build(); + result.partition_ = partitionBuilder_ == null + ? partition_ + : partitionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -473,39 +425,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreatePartitionRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreatePartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreatePartitionRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreatePartitionRequest)other); } else { super.mergeFrom(other); return this; @@ -513,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreatePartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +502,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getPartitionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,28 +534,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -616,24 +559,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -641,41 +581,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -685,24 +614,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -712,58 +635,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Partition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder> - partitionBuilder_; + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> partitionBuilder_; /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The partition. */ public com.google.cloud.dataplex.v1.Partition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPartition(com.google.cloud.dataplex.v1.Partition value) { if (partitionBuilder_ == null) { @@ -779,17 +683,14 @@ public Builder setPartition(com.google.cloud.dataplex.v1.Partition value) { return this; } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPartition(com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { + public Builder setPartition( + com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -800,21 +701,17 @@ public Builder setPartition(com.google.cloud.dataplex.v1.Partition.Builder build return this; } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePartition(com.google.cloud.dataplex.v1.Partition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && partition_ != null - && partition_ != com.google.cloud.dataplex.v1.Partition.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + partition_ != null && + partition_ != com.google.cloud.dataplex.v1.Partition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -827,15 +724,11 @@ public Builder mergePartition(com.google.cloud.dataplex.v1.Partition value) { return this; } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPartition() { bitField0_ = (bitField0_ & ~0x00000002); @@ -848,15 +741,11 @@ public Builder clearPartition() { return this; } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Partition.Builder getPartitionBuilder() { bitField0_ |= 0x00000002; @@ -864,64 +753,49 @@ public com.google.cloud.dataplex.v1.Partition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; } } /** - * - * *
      * Required. Partition resource.
      * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder> + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -929,15 +803,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -949,15 +820,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -966,9 +834,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreatePartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreatePartitionRequest) private static final com.google.cloud.dataplex.v1.CreatePartitionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreatePartitionRequest(); } @@ -992,27 +860,27 @@ public static com.google.cloud.dataplex.v1.CreatePartitionRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +895,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreatePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java similarity index 51% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java index 42ad9808d9ce..f3280cfaa776 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java @@ -1,110 +1,68 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface CreatePartitionRequestOrBuilder - extends +public interface CreatePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreatePartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The partition. */ com.google.cloud.dataplex.v1.Partition getPartition(); /** - * - * *
    * Required. Partition resource.
    * 
* - * - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java index d1d0bb63a147..d8cf05ffd940 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; taskId_ = ""; @@ -44,41 +26,34 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateTaskRequest.class, - com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateTaskRequest.class, com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,18 +94,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TASK_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** - * - * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The taskId. */ @java.lang.Override @@ -141,29 +110,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** - * - * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -174,14 +143,11 @@ public com.google.protobuf.ByteString getTaskIdBytes() { public static final int TASK_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Task task_; /** - * - * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ @java.lang.Override @@ -189,14 +155,11 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ @java.lang.Override @@ -204,8 +167,6 @@ public com.google.cloud.dataplex.v1.Task getTask() { return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. Task resource.
    * 
@@ -220,15 +181,12 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -237,7 +195,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,10 +236,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskId_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,21 +251,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateTaskRequest other = - (com.google.cloud.dataplex.v1.CreateTaskRequest) obj; + com.google.cloud.dataplex.v1.CreateTaskRequest other = (com.google.cloud.dataplex.v1.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTaskId().equals(other.getTaskId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTaskId() + .equals(other.getTaskId())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,142 +289,139 @@ public int hashCode() { hash = (53 * hash) + getTask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateTaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateTaskRequest) com.google.cloud.dataplex.v1.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateTaskRequest.class, - com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateTaskRequest.class, com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateTaskRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override @@ -499,11 +459,8 @@ public com.google.cloud.dataplex.v1.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateTaskRequest result = - new com.google.cloud.dataplex.v1.CreateTaskRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateTaskRequest result = new com.google.cloud.dataplex.v1.CreateTaskRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -517,7 +474,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateTaskRequest result result.taskId_ = taskId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.task_ = taskBuilder_ == null ? task_ : taskBuilder_.build(); + result.task_ = taskBuilder_ == null + ? task_ + : taskBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -528,39 +487,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateTaskRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -611,37 +569,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - taskId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getTaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getTaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,28 +606,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -681,24 +631,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -706,41 +653,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -750,24 +686,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -777,20 +707,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object taskId_ = ""; /** - * - * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -799,21 +727,20 @@ public java.lang.String getTaskId() { } } /** - * - * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString getTaskIdBytes() { + public com.google.protobuf.ByteString + getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taskId_ = b; return b; } else { @@ -821,35 +748,28 @@ public com.google.protobuf.ByteString getTaskIdBytes() { } } /** - * - * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaskId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } taskId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTaskId() { @@ -859,21 +779,17 @@ public Builder clearTaskId() { return this; } /** - * - * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaskIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taskId_ = value; bitField0_ |= 0x00000002; @@ -883,35 +799,24 @@ public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> - taskBuilder_; + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.dataplex.v1.Task getTask() { @@ -922,14 +827,11 @@ public com.google.cloud.dataplex.v1.Task getTask() { } } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { @@ -945,16 +847,14 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); } else { @@ -965,20 +865,17 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue return this; } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && task_ != null - && task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + task_ != null && + task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { getTaskBuilder().mergeFrom(value); } else { task_ = value; @@ -991,14 +888,11 @@ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1011,14 +905,11 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { bitField0_ |= 0x00000004; @@ -1026,60 +917,49 @@ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1087,15 +967,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1107,15 +984,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1124,9 +998,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - 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 +1010,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateTaskRequest) private static final com.google.cloud.dataplex.v1.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateTaskRequest(); } @@ -1150,27 +1024,27 @@ public static com.google.cloud.dataplex.v1.CreateTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1185,4 +1059,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java index 892ac5c3e5b2..b1cd7a8fefe8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java @@ -1,111 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The taskId. */ java.lang.String getTaskId(); /** - * - * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for taskId. */ - com.google.protobuf.ByteString getTaskIdBytes(); + com.google.protobuf.ByteString + getTaskIdBytes(); /** - * - * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ com.google.cloud.dataplex.v1.Task getTask(); /** - * - * *
    * Required. Task resource.
    * 
@@ -115,15 +77,12 @@ public interface CreateTaskRequestOrBuilder com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java index 8013d0e6abcf..7be14ccc4be6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Create zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateZoneRequest} */ -public final class CreateZoneRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateZoneRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateZoneRequest) CreateZoneRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateZoneRequest.newBuilder() to construct. private CreateZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateZoneRequest() { parent_ = ""; zoneId_ = ""; @@ -44,41 +26,34 @@ private CreateZoneRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateZoneRequest.class, - com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateZoneRequest.class, com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ZONE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object zoneId_ = ""; /** - * - * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zoneId. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -171,15 +139,16 @@ public java.lang.String getZoneId() {
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -190,14 +159,11 @@ public com.google.protobuf.ByteString getZoneIdBytes() { public static final int ZONE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Zone zone_; /** - * - * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the zone field is set. */ @java.lang.Override @@ -205,14 +171,11 @@ public boolean hasZone() { return zone_ != null; } /** - * - * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -220,8 +183,6 @@ public com.google.cloud.dataplex.v1.Zone getZone() { return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } /** - * - * *
    * Required. Zone resource.
    * 
@@ -236,15 +197,12 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -253,7 +211,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -294,10 +252,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zoneId_); } if (zone_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getZone()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getZone()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,21 +267,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateZoneRequest other = - (com.google.cloud.dataplex.v1.CreateZoneRequest) obj; + com.google.cloud.dataplex.v1.CreateZoneRequest other = (com.google.cloud.dataplex.v1.CreateZoneRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getZoneId().equals(other.getZoneId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; if (hasZone() != other.hasZone()) return false; if (hasZone()) { - if (!getZone().equals(other.getZone())) return false; + if (!getZone() + .equals(other.getZone())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,142 +305,139 @@ public int hashCode() { hash = (53 * hash) + getZone().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateZoneRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateZoneRequest) com.google.cloud.dataplex.v1.CreateZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateZoneRequest.class, - com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateZoneRequest.class, com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateZoneRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override @@ -515,11 +475,8 @@ public com.google.cloud.dataplex.v1.CreateZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateZoneRequest result = - new com.google.cloud.dataplex.v1.CreateZoneRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.CreateZoneRequest result = new com.google.cloud.dataplex.v1.CreateZoneRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -533,7 +490,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateZoneRequest result result.zoneId_ = zoneId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.zone_ = zoneBuilder_ == null ? zone_ : zoneBuilder_.build(); + result.zone_ = zoneBuilder_ == null + ? zone_ + : zoneBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -544,39 +503,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateZoneRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateZoneRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateZoneRequest)other); } else { super.mergeFrom(other); return this; @@ -627,37 +585,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - zoneId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getZoneFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + zoneId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getZoneFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,28 +622,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -697,24 +647,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -722,41 +669,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -766,24 +702,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -793,8 +723,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object zoneId_ = ""; /** - * - * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -808,13 +736,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -823,8 +751,6 @@ public java.lang.String getZoneId() { } } /** - * - * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -838,14 +764,15 @@ public java.lang.String getZoneId() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -853,8 +780,6 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -868,22 +793,18 @@ public com.google.protobuf.ByteString getZoneIdBytes() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -897,7 +818,6 @@ public Builder setZoneId(java.lang.String value) {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -907,8 +827,6 @@ public Builder clearZoneId() { return this; } /** - * - * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -922,14 +840,12 @@ public Builder clearZoneId() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000002; @@ -939,35 +855,24 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Zone zone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> - zoneBuilder_; + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zoneBuilder_; /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the zone field is set. */ public boolean hasZone() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The zone. */ public com.google.cloud.dataplex.v1.Zone getZone() { @@ -978,14 +883,11 @@ public com.google.cloud.dataplex.v1.Zone getZone() { } } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { @@ -1001,16 +903,14 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZone( + com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zoneBuilder_ == null) { zone_ = builderForValue.build(); } else { @@ -1021,20 +921,17 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue return this; } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && zone_ != null - && zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + zone_ != null && + zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { getZoneBuilder().mergeFrom(value); } else { zone_ = value; @@ -1047,14 +944,11 @@ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearZone() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1067,14 +961,11 @@ public Builder clearZone() { return this; } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { bitField0_ |= 0x00000004; @@ -1082,60 +973,49 @@ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { return getZoneFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { if (zoneBuilder_ != null) { return zoneBuilder_.getMessageOrBuilder(); } else { - return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; + return zone_ == null ? + com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } } /** - * - * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> getZoneFieldBuilder() { if (zoneBuilder_ == null) { - zoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder>( - getZone(), getParentForChildren(), isClean()); + zoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( + getZone(), + getParentForChildren(), + isClean()); zone_ = null; } return zoneBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1143,15 +1023,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1163,15 +1040,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1180,9 +1054,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1192,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateZoneRequest) private static final com.google.cloud.dataplex.v1.CreateZoneRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateZoneRequest(); } @@ -1206,27 +1080,27 @@ public static com.google.cloud.dataplex.v1.CreateZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1241,4 +1115,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java index 9abf25ca3fc4..f85e70eb598d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateZoneRequestOrBuilder - extends +public interface CreateZoneRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateZoneRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -70,13 +43,10 @@ public interface CreateZoneRequestOrBuilder
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -90,38 +60,30 @@ public interface CreateZoneRequestOrBuilder
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the zone field is set. */ boolean hasZone(); /** - * - * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ com.google.cloud.dataplex.v1.Zone getZone(); /** - * - * *
    * Required. Zone resource.
    * 
@@ -131,15 +93,12 @@ public interface CreateZoneRequestOrBuilder com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java index 88b53944fb32..5e79188e9025 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataAccessSpec holds the access control configuration to be enforced on data
  * stored within resources (eg: rows, columns in BigQuery Tables). When
@@ -31,49 +14,45 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAccessSpec}
  */
-public final class DataAccessSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataAccessSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAccessSpec)
     DataAccessSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataAccessSpec.newBuilder() to construct.
   private DataAccessSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataAccessSpec() {
-    readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    readers_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataAccessSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.SecurityProto
-        .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.SecurityProto
-        .internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAccessSpec.class,
-            com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
+            com.google.cloud.dataplex.v1.DataAccessSpec.class, com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
   }
 
   public static final int READERS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList readers_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -82,15 +61,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList getReadersList() { + public com.google.protobuf.ProtocolStringList + getReadersList() { return readers_; } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -99,15 +76,12 @@ public com.google.protobuf.ProtocolStringList getReadersList() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -116,7 +90,6 @@ public int getReadersCount() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -124,8 +97,6 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -134,16 +105,15 @@ public java.lang.String getReaders(int index) {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString getReadersBytes(int index) { + public com.google.protobuf.ByteString + getReadersBytes(int index) { return readers_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +125,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < readers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readers_.getRaw(i)); } @@ -184,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAccessSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAccessSpec other = - (com.google.cloud.dataplex.v1.DataAccessSpec) obj; + com.google.cloud.dataplex.v1.DataAccessSpec other = (com.google.cloud.dataplex.v1.DataAccessSpec) obj; - if (!getReadersList().equals(other.getReadersList())) return false; + if (!getReadersList() + .equals(other.getReadersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,104 +184,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAccessSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataAccessSpec holds the access control configuration to be enforced on data
    * stored within resources (eg: rows, columns in BigQuery Tables). When
@@ -321,44 +287,46 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAccessSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAccessSpec)
       com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAccessSpec.class,
-              com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
+              com.google.cloud.dataplex.v1.DataAccessSpec.class, com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAccessSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      readers_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
     }
 
     @java.lang.Override
@@ -377,11 +345,8 @@ public com.google.cloud.dataplex.v1.DataAccessSpec build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAccessSpec buildPartial() {
-      com.google.cloud.dataplex.v1.DataAccessSpec result =
-          new com.google.cloud.dataplex.v1.DataAccessSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataAccessSpec result = new com.google.cloud.dataplex.v1.DataAccessSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -398,39 +363,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAccessSpec result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAccessSpec) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAccessSpec) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAccessSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -475,20 +439,18 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureReadersIsMutable();
-                readers_.add(s);
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureReadersIsMutable();
+              readers_.add(s);
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -498,12 +460,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList readers_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureReadersIsMutable() {
       if (!readers_.isModifiable()) {
         readers_ = new com.google.protobuf.LazyStringArrayList(readers_);
@@ -511,8 +471,6 @@ private void ensureReadersIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -521,16 +479,14 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList getReadersList() { + public com.google.protobuf.ProtocolStringList + getReadersList() { readers_.makeImmutable(); return readers_; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -539,15 +495,12 @@ public com.google.protobuf.ProtocolStringList getReadersList() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -556,7 +509,6 @@ public int getReadersCount() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -564,8 +516,6 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -574,16 +524,14 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString getReadersBytes(int index) { + public com.google.protobuf.ByteString + getReadersBytes(int index) { return readers_.getByteString(index); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -592,15 +540,13 @@ public com.google.protobuf.ByteString getReadersBytes(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The readers to set. * @return This builder for chaining. */ - public Builder setReaders(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReaders( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadersIsMutable(); readers_.set(index, value); bitField0_ |= 0x00000001; @@ -608,8 +554,6 @@ public Builder setReaders(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -618,14 +562,12 @@ public Builder setReaders(int index, java.lang.String value) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The readers to add. * @return This builder for chaining. */ - public Builder addReaders(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReaders( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadersIsMutable(); readers_.add(value); bitField0_ |= 0x00000001; @@ -633,8 +575,6 @@ public Builder addReaders(java.lang.String value) { return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -643,20 +583,19 @@ public Builder addReaders(java.lang.String value) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The readers to add. * @return This builder for chaining. */ - public Builder addAllReaders(java.lang.Iterable values) { + public Builder addAllReaders( + java.lang.Iterable values) { ensureReadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, readers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, readers_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -665,19 +604,16 @@ public Builder addAllReaders(java.lang.Iterable values) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearReaders() { - readers_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + readers_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -686,14 +622,12 @@ public Builder clearReaders() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the readers to add. * @return This builder for chaining. */ - public Builder addReadersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReadersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReadersIsMutable(); readers_.add(value); @@ -701,9 +635,9 @@ public Builder addReadersBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,12 +647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAccessSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAccessSpec) private static final com.google.cloud.dataplex.v1.DataAccessSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAccessSpec(); } @@ -727,27 +661,27 @@ public static com.google.cloud.dataplex.v1.DataAccessSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAccessSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAccessSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -762,4 +696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAccessSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java index 0227c8ee3ff7..b1b2fcabc7fd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; -public interface DataAccessSpecOrBuilder - extends +public interface DataAccessSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAccessSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -34,13 +16,11 @@ public interface DataAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - java.util.List getReadersList(); + java.util.List + getReadersList(); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -49,13 +29,10 @@ public interface DataAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ int getReadersCount(); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -64,14 +41,11 @@ public interface DataAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ java.lang.String getReaders(int index); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -80,9 +54,9 @@ public interface DataAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - com.google.protobuf.ByteString getReadersBytes(int index); + com.google.protobuf.ByteString + getReadersBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java index 5f3e4a2605c3..df64899d7c08 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Denotes one dataAttribute in a dataTaxonomy, for example, PII.
  * DataAttribute resources can be defined in a hierarchy.
@@ -37,16 +20,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAttribute}
  */
-public final class DataAttribute extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataAttribute extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttribute)
     DataAttributeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataAttribute.newBuilder() to construct.
   private DataAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataAttribute() {
     name_ = "";
     uid_ = "";
@@ -58,52 +40,46 @@ private DataAttribute() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataAttribute();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 7:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAttribute.class,
-            com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
+            com.google.cloud.dataplex.v1.DataAttribute.class, com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -112,32 +88,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; } } /** - * - * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -146,12 +120,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -159,7 +130,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -168,15 +138,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -184,15 +153,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -203,15 +173,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -219,15 +185,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -235,14 +197,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -252,15 +211,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -268,15 +223,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -284,14 +235,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -299,18 +247,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -319,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; } } /** - * - * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -350,18 +294,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -370,29 +310,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -401,34 +341,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -436,21 +374,20 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -462,8 +399,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -471,19 +406,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -491,11 +424,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -503,12 +436,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int PARENT_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object parentId_ = ""; /** - * - * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -516,10 +446,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The parentId. */ @java.lang.Override @@ -528,15 +455,14 @@ public java.lang.String getParentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentId_ = s; return s; } } /** - * - * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -544,18 +470,17 @@ public java.lang.String getParentId() {
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for parentId. */ @java.lang.Override - public com.google.protobuf.ByteString getParentIdBytes() { + public com.google.protobuf.ByteString + getParentIdBytes() { java.lang.Object ref = parentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentId_ = b; return b; } else { @@ -566,14 +491,11 @@ public com.google.protobuf.ByteString getParentIdBytes() { public static final int ATTRIBUTE_COUNT_FIELD_NUMBER = 9; private int attributeCount_ = 0; /** - * - * *
    * Output only. The number of child attributes present for this attribute.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ @java.lang.Override @@ -582,12 +504,9 @@ public int getAttributeCount() { } public static final int ETAG_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -595,7 +514,6 @@ public int getAttributeCount() {
    * 
* * string etag = 10; - * * @return The etag. */ @java.lang.Override @@ -604,15 +522,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -620,15 +537,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 10; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -639,17 +557,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int RESOURCE_ACCESS_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.ResourceAccessSpec resourceAccessSpec_; /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceAccessSpec field is set. */ @java.lang.Override @@ -657,58 +570,40 @@ public boolean hasResourceAccessSpec() { return resourceAccessSpec_ != null; } /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceAccessSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec() { - return resourceAccessSpec_ == null - ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() - : resourceAccessSpec_; + return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; } /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder() { - return resourceAccessSpec_ == null - ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() - : resourceAccessSpec_; + return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; } public static final int DATA_ACCESS_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.DataAccessSpec dataAccessSpec_; /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dataAccessSpec field is set. */ @java.lang.Override @@ -716,46 +611,32 @@ public boolean hasDataAccessSpec() { return dataAccessSpec_ != null; } /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The dataAccessSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec() { - return dataAccessSpec_ == null - ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() - : dataAccessSpec_; + return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; } /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder() { - return dataAccessSpec_ == null - ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() - : dataAccessSpec_; + return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,7 +648,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -786,8 +668,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, parentId_); } @@ -819,10 +705,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -830,31 +718,33 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, parentId_); } if (attributeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, attributeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, attributeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (resourceAccessSpec_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(100, getResourceAccessSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getResourceAccessSpec()); } if (dataAccessSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getDataAccessSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getDataAccessSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -864,37 +754,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttribute)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttribute other = - (com.google.cloud.dataplex.v1.DataAttribute) obj; + com.google.cloud.dataplex.v1.DataAttribute other = (com.google.cloud.dataplex.v1.DataAttribute) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getParentId().equals(other.getParentId())) return false; - if (getAttributeCount() != other.getAttributeCount()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getParentId() + .equals(other.getParentId())) return false; + if (getAttributeCount() + != other.getAttributeCount()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (hasResourceAccessSpec() != other.hasResourceAccessSpec()) return false; if (hasResourceAccessSpec()) { - if (!getResourceAccessSpec().equals(other.getResourceAccessSpec())) return false; + if (!getResourceAccessSpec() + .equals(other.getResourceAccessSpec())) return false; } if (hasDataAccessSpec() != other.hasDataAccessSpec()) return false; if (hasDataAccessSpec()) { - if (!getDataAccessSpec().equals(other.getDataAccessSpec())) return false; + if (!getDataAccessSpec() + .equals(other.getDataAccessSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -946,104 +847,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Denotes one dataAttribute in a dataTaxonomy, for example, PII.
    * DataAttribute resources can be defined in a hierarchy.
@@ -1060,52 +956,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttribute}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttribute)
       com.google.cloud.dataplex.v1.DataAttributeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttribute.class,
-              com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttribute.class, com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAttribute.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1142,9 +1041,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
     }
 
     @java.lang.Override
@@ -1163,11 +1062,8 @@ public com.google.cloud.dataplex.v1.DataAttribute build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAttribute buildPartial() {
-      com.google.cloud.dataplex.v1.DataAttribute result =
-          new com.google.cloud.dataplex.v1.DataAttribute(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataAttribute result = new com.google.cloud.dataplex.v1.DataAttribute(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1181,10 +1077,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -1206,14 +1106,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
         result.etag_ = etag_;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.resourceAccessSpec_ =
-            resourceAccessSpecBuilder_ == null
-                ? resourceAccessSpec_
-                : resourceAccessSpecBuilder_.build();
+        result.resourceAccessSpec_ = resourceAccessSpecBuilder_ == null
+            ? resourceAccessSpec_
+            : resourceAccessSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.dataAccessSpec_ =
-            dataAccessSpecBuilder_ == null ? dataAccessSpec_ : dataAccessSpecBuilder_.build();
+        result.dataAccessSpec_ = dataAccessSpecBuilder_ == null
+            ? dataAccessSpec_
+            : dataAccessSpecBuilder_.build();
       }
     }
 
@@ -1221,39 +1121,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAttribute) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAttribute) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAttribute)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1288,7 +1187,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttribute other) {
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getParentId().isEmpty()) {
         parentId_ = other.parentId_;
@@ -1335,92 +1235,84 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                parentId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            case 72:
-              {
-                attributeCount_ = input.readInt32();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 802:
-              {
-                input.readMessage(
-                    getResourceAccessSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 802
-            case 810:
-              {
-                input.readMessage(getDataAccessSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 810
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              parentId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            case 72: {
+              attributeCount_ = input.readInt32();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 802: {
+              input.readMessage(
+                  getResourceAccessSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 802
+            case 810: {
+              input.readMessage(
+                  getDataAccessSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 810
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1430,28 +1322,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1460,24 +1347,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1485,41 +1369,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1529,24 +1402,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1556,8 +1423,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1565,13 +1430,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1580,8 +1445,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1589,14 +1452,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1604,8 +1468,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1613,22 +1475,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1636,7 +1494,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -1646,8 +1503,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1655,14 +1510,12 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1672,58 +1525,39 @@ public Builder setUidBytes(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 time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1739,17 +1573,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1760,21 +1591,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1787,15 +1614,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1808,15 +1631,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1824,48 +1643,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1873,58 +1680,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 time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1940,17 +1728,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -1961,21 +1746,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1988,15 +1769,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2009,15 +1786,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -2025,48 +1798,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttribute was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> 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_; @@ -2074,20 +1835,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2096,21 +1855,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2118,35 +1876,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2156,21 +1907,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -2180,20 +1927,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2202,21 +1947,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2224,35 +1968,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2262,21 +1999,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -2284,19 +2017,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2305,13 +2040,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2319,21 +2051,20 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2345,8 +2076,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2354,19 +2083,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2374,83 +2101,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private java.lang.Object parentId_ = ""; /** - * - * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2458,16 +2181,14 @@ public Builder putAllLabels(java.util.Map va
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The parentId. */ public java.lang.String getParentId() { java.lang.Object ref = parentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentId_ = s; return s; @@ -2476,8 +2197,6 @@ public java.lang.String getParentId() { } } /** - * - * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2485,17 +2204,16 @@ public java.lang.String getParentId() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for parentId. */ - public com.google.protobuf.ByteString getParentIdBytes() { + public com.google.protobuf.ByteString + getParentIdBytes() { java.lang.Object ref = parentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentId_ = b; return b; } else { @@ -2503,8 +2221,6 @@ public com.google.protobuf.ByteString getParentIdBytes() { } } /** - * - * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2512,25 +2228,19 @@ public com.google.protobuf.ByteString getParentIdBytes() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The parentId to set. * @return This builder for chaining. */ - public Builder setParentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2538,10 +2248,7 @@ public Builder setParentId(java.lang.String value) {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParentId() { @@ -2551,8 +2258,6 @@ public Builder clearParentId() { return this; } /** - * - * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2560,17 +2265,13 @@ public Builder clearParentId() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for parentId to set. * @return This builder for chaining. */ - public Builder setParentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentId_ = value; bitField0_ |= 0x00000080; @@ -2578,16 +2279,13 @@ public Builder setParentIdBytes(com.google.protobuf.ByteString value) { return this; } - private int attributeCount_; + private int attributeCount_ ; /** - * - * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ @java.lang.Override @@ -2595,14 +2293,11 @@ public int getAttributeCount() { return attributeCount_; } /** - * - * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The attributeCount to set. * @return This builder for chaining. */ @@ -2614,14 +2309,11 @@ public Builder setAttributeCount(int value) { return this; } /** - * - * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAttributeCount() { @@ -2633,8 +2325,6 @@ public Builder clearAttributeCount() { private java.lang.Object etag_ = ""; /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2642,13 +2332,13 @@ public Builder clearAttributeCount() {
      * 
* * string etag = 10; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2657,8 +2347,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2666,14 +2354,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2681,8 +2370,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2690,22 +2377,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 10; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2713,7 +2396,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 10; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2723,8 +2405,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2732,14 +2412,12 @@ public Builder clearEtag() {
      * 
* * string etag = 10; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000200; @@ -2749,61 +2427,42 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.ResourceAccessSpec resourceAccessSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, - com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, - com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> - resourceAccessSpecBuilder_; + com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> resourceAccessSpecBuilder_; /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceAccessSpec field is set. */ public boolean hasResourceAccessSpec() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceAccessSpec. */ public com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec() { if (resourceAccessSpecBuilder_ == null) { - return resourceAccessSpec_ == null - ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() - : resourceAccessSpec_; + return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; } else { return resourceAccessSpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccessSpec value) { if (resourceAccessSpecBuilder_ == null) { @@ -2819,16 +2478,12 @@ public Builder setResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccess return this; } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setResourceAccessSpec( com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder builderForValue) { @@ -2842,23 +2497,18 @@ public Builder setResourceAccessSpec( return this; } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccessSpec value) { if (resourceAccessSpecBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && resourceAccessSpec_ != null - && resourceAccessSpec_ - != com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + resourceAccessSpec_ != null && + resourceAccessSpec_ != com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) { getResourceAccessSpecBuilder().mergeFrom(value); } else { resourceAccessSpec_ = value; @@ -2871,16 +2521,12 @@ public Builder mergeResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAcce return this; } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearResourceAccessSpec() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2893,16 +2539,12 @@ public Builder clearResourceAccessSpec() { return this; } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder getResourceAccessSpecBuilder() { bitField0_ |= 0x00000400; @@ -2910,51 +2552,38 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder getResourceAccess return getResourceAccessSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder - getResourceAccessSpecOrBuilder() { + public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder() { if (resourceAccessSpecBuilder_ != null) { return resourceAccessSpecBuilder_.getMessageOrBuilder(); } else { - return resourceAccessSpec_ == null - ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() - : resourceAccessSpec_; + return resourceAccessSpec_ == null ? + com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; } } /** - * - * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, - com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, - com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> + com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> getResourceAccessSpecFieldBuilder() { if (resourceAccessSpecBuilder_ == null) { - resourceAccessSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, - com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, - com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder>( - getResourceAccessSpec(), getParentForChildren(), isClean()); + resourceAccessSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder>( + getResourceAccessSpec(), + getParentForChildren(), + isClean()); resourceAccessSpec_ = null; } return resourceAccessSpecBuilder_; @@ -2962,61 +2591,42 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder getResourceAccess private com.google.cloud.dataplex.v1.DataAccessSpec dataAccessSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, - com.google.cloud.dataplex.v1.DataAccessSpec.Builder, - com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> - dataAccessSpecBuilder_; + com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> dataAccessSpecBuilder_; /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dataAccessSpec field is set. */ public boolean hasDataAccessSpec() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The dataAccessSpec. */ public com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec() { if (dataAccessSpecBuilder_ == null) { - return dataAccessSpec_ == null - ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() - : dataAccessSpec_; + return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; } else { return dataAccessSpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec value) { if (dataAccessSpecBuilder_ == null) { @@ -3032,16 +2642,12 @@ public Builder setDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec val return this; } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDataAccessSpec( com.google.cloud.dataplex.v1.DataAccessSpec.Builder builderForValue) { @@ -3055,23 +2661,18 @@ public Builder setDataAccessSpec( return this; } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec value) { if (dataAccessSpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && dataAccessSpec_ != null - && dataAccessSpec_ - != com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + dataAccessSpec_ != null && + dataAccessSpec_ != com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance()) { getDataAccessSpecBuilder().mergeFrom(value); } else { dataAccessSpec_ = value; @@ -3084,16 +2685,12 @@ public Builder mergeDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec v return this; } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDataAccessSpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3106,16 +2703,12 @@ public Builder clearDataAccessSpec() { return this; } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAccessSpec.Builder getDataAccessSpecBuilder() { bitField0_ |= 0x00000800; @@ -3123,57 +2716,45 @@ public com.google.cloud.dataplex.v1.DataAccessSpec.Builder getDataAccessSpecBuil return getDataAccessSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder() { if (dataAccessSpecBuilder_ != null) { return dataAccessSpecBuilder_.getMessageOrBuilder(); } else { - return dataAccessSpec_ == null - ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() - : dataAccessSpec_; + return dataAccessSpec_ == null ? + com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; } } /** - * - * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, - com.google.cloud.dataplex.v1.DataAccessSpec.Builder, - com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> + com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> getDataAccessSpecFieldBuilder() { if (dataAccessSpecBuilder_ == null) { - dataAccessSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, - com.google.cloud.dataplex.v1.DataAccessSpec.Builder, - com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder>( - getDataAccessSpec(), getParentForChildren(), isClean()); + dataAccessSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder>( + getDataAccessSpec(), + getParentForChildren(), + isClean()); dataAccessSpec_ = null; } return dataAccessSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3183,12 +2764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttribute) private static final com.google.cloud.dataplex.v1.DataAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttribute(); } @@ -3197,27 +2778,27 @@ public static com.google.cloud.dataplex.v1.DataAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3232,4 +2813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java index 99bd587bab4d..6c0b84cde0ff 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataAttributeBinding represents binding of attributes to resources. Eg: Bind
  * 'CustomerInfo' entity with 'PII' attribute.
@@ -28,160 +11,134 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding}
  */
-public final class DataAttributeBinding extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataAttributeBinding extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttributeBinding)
     DataAttributeBindingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataAttributeBinding.newBuilder() to construct.
   private DataAttributeBinding(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataAttributeBinding() {
     name_ = "";
     uid_ = "";
     description_ = "";
     displayName_ = "";
     etag_ = "";
-    attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    attributes_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     paths_ = 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 DataAttributeBinding();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 7:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAttributeBinding.class,
-            com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
+            com.google.cloud.dataplex.v1.DataAttributeBinding.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
   }
 
-  public interface PathOrBuilder
-      extends
+  public interface PathOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttributeBinding.Path)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - java.util.List getAttributesList(); + java.util.List + getAttributesList(); /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ int getAttributesCount(); /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ java.lang.String getAttributes(int index); /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - com.google.protobuf.ByteString getAttributesBytes(int index); + com.google.protobuf.ByteString + getAttributesBytes(int index); } /** - * - * *
    * Represents a subresource of the given resource, and associated bindings
    * with it. Currently supported subresources are column and partition schema
@@ -190,56 +147,51 @@ public interface PathOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding.Path}
    */
-  public static final class Path extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Path extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttributeBinding.Path)
       PathOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Path.newBuilder() to construct.
     private Path(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Path() {
       name_ = "";
-      attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      attributes_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Path();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class,
-              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -248,30 +200,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. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * 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 { @@ -280,59 +232,44 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ATTRIBUTES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList getAttributesList() { + public com.google.protobuf.ProtocolStringList + getAttributesList() { return attributes_; } /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -340,27 +277,22 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** - * - * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString getAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAttributesBytes(int index) { return attributes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,7 +304,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -407,16 +340,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttributeBinding.Path)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttributeBinding.Path other = - (com.google.cloud.dataplex.v1.DataAttributeBinding.Path) obj; + com.google.cloud.dataplex.v1.DataAttributeBinding.Path other = (com.google.cloud.dataplex.v1.DataAttributeBinding.Path) obj; - if (!getName().equals(other.getName())) return false; - if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -440,94 +374,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataAttributeBinding.Path prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.Path prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -537,8 +466,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a subresource of the given resource, and associated bindings
      * with it. Currently supported subresources are column and partition schema
@@ -547,46 +474,47 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding.Path}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttributeBinding.Path)
         com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto
-            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto
-            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class,
-                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
+                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.DataAttributeBinding.Path.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         name_ = "";
-        attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        attributes_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto
-            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
       }
 
       @java.lang.Override
@@ -605,11 +533,8 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataAttributeBinding.Path buildPartial() {
-        com.google.cloud.dataplex.v1.DataAttributeBinding.Path result =
-            new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.DataAttributeBinding.Path result = new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -629,41 +554,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttributeBinding.Pat
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.DataAttributeBinding.Path) {
-          return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding.Path) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding.Path)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -671,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding.Path other) {
-        if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -714,26 +635,23 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  name_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureAttributesIsMutable();
-                  attributes_.add(s);
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAttributesIsMutable();
+                attributes_.add(s);
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -743,26 +661,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * 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; @@ -771,22 +686,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * 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 { @@ -794,37 +708,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -834,22 +741,18 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -859,7 +762,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAttributesIsMutable() { if (!attributes_.isModifiable()) { attributes_ = new com.google.protobuf.LazyStringArrayList(attributes_); @@ -867,55 +769,41 @@ private void ensureAttributesIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList getAttributesList() { + public com.google.protobuf.ProtocolStringList + getAttributesList() { attributes_.makeImmutable(); return attributes_; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -923,45 +811,35 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString getAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAttributesBytes(int index) { return attributes_.getByteString(index); } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The attributes to set. * @return This builder for chaining. */ - public Builder setAttributes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttributes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); bitField0_ |= 0x00000002; @@ -969,25 +847,19 @@ public Builder setAttributes(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The attributes to add. * @return This builder for chaining. */ - public Builder addAttributes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAttributes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); bitField0_ |= 0x00000002; @@ -995,70 +867,56 @@ public Builder addAttributes(java.lang.String value) { return this; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param values The attributes to add. * @return This builder for chaining. */ - public Builder addAllAttributes(java.lang.Iterable values) { + public Builder addAllAttributes( + java.lang.Iterable values) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAttributes() { - attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + attributes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes of the attributes to add. * @return This builder for chaining. */ - public Builder addAttributesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAttributesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAttributesIsMutable(); attributes_.add(value); @@ -1066,7 +924,6 @@ public Builder addAttributesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1079,12 +936,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttributeBinding.Path) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttributeBinding.Path) private static final com.google.cloud.dataplex.v1.DataAttributeBinding.Path DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(); } @@ -1093,28 +950,27 @@ public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Path parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Path parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,21 +985,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourceReferenceCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object resourceReference_; - public enum ResourceReferenceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESOURCE(100), RESOURCEREFERENCE_NOT_SET(0); private final int value; - private ResourceReferenceCase(int value) { this.value = value; } @@ -1159,41 +1012,33 @@ public static ResourceReferenceCase valueOf(int value) { public static ResourceReferenceCase forNumber(int value) { switch (value) { - case 100: - return RESOURCE; - case 0: - return RESOURCEREFERENCE_NOT_SET; - default: - return null; + case 100: return RESOURCE; + case 0: return RESOURCEREFERENCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourceReferenceCase getResourceReferenceCase() { - return ResourceReferenceCase.forNumber(resourceReferenceCase_); + public ResourceReferenceCase + getResourceReferenceCase() { + return ResourceReferenceCase.forNumber( + resourceReferenceCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1202,33 +1047,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; } } /** - * - * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1237,12 +1080,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -1250,7 +1090,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -1259,15 +1098,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -1275,15 +1113,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1294,15 +1133,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1310,15 +1145,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1326,14 +1157,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1343,15 +1171,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1359,15 +1183,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1375,14 +1195,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1390,18 +1207,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1410,29 +1223,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; } } /** - * - * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1441,18 +1254,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -1461,29 +1270,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1492,34 +1301,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1527,21 +1334,20 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1553,8 +1359,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1562,19 +1366,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1582,11 +1384,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -1594,12 +1396,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ETAG_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1609,7 +1408,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * string etag = 8; - * * @return The etag. */ @java.lang.Override @@ -1618,15 +1416,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1636,15 +1433,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 8; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1654,8 +1452,6 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int RESOURCE_FIELD_NUMBER = 100; /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1664,18 +1460,13 @@ public com.google.protobuf.ByteString getEtagBytes() {
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the resource field is set. */ public boolean hasResource() { return resourceReferenceCase_ == 100; } /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1684,10 +1475,7 @@ public boolean hasResource() {
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The resource. */ public java.lang.String getResource() { @@ -1698,7 +1486,8 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resourceReferenceCase_ == 100) { resourceReference_ = s; @@ -1707,8 +1496,6 @@ public java.lang.String getResource() { } } /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1717,20 +1504,19 @@ public java.lang.String getResource() {
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = ""; if (resourceReferenceCase_ == 100) { ref = resourceReference_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (resourceReferenceCase_ == 100) { resourceReference_ = b; } @@ -1741,59 +1527,44 @@ public com.google.protobuf.ByteString getResourceBytes() { } public static final int ATTRIBUTES_FIELD_NUMBER = 110; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList getAttributesList() { + public com.google.protobuf.ProtocolStringList + getAttributesList() { return attributes_; } /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -1801,105 +1572,80 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString getAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAttributesBytes(int index) { return attributes_.getByteString(index); } public static final int PATHS_FIELD_NUMBER = 120; - @SuppressWarnings("serial") private java.util.List paths_; /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getPathsList() { return paths_; } /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getPathsOrBuilderList() { return paths_; } /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getPathsCount() { return paths_.size(); } /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index) { return paths_.get(index); } /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( @@ -1908,7 +1654,6 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1920,7 +1665,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1939,8 +1685,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } @@ -1969,10 +1719,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -1980,15 +1732,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); @@ -2005,7 +1757,8 @@ public int getSerializedSize() { size += 2 * getAttributesList().size(); } for (int i = 0; i < paths_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(120, paths_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(120, paths_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2015,34 +1768,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttributeBinding)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttributeBinding other = - (com.google.cloud.dataplex.v1.DataAttributeBinding) obj; + com.google.cloud.dataplex.v1.DataAttributeBinding other = (com.google.cloud.dataplex.v1.DataAttributeBinding) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getAttributesList().equals(other.getAttributesList())) return false; - if (!getPathsList().equals(other.getPathsList())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; if (!getResourceReferenceCase().equals(other.getResourceReferenceCase())) return false; switch (resourceReferenceCase_) { case 100: - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; break; case 0: default: @@ -2102,103 +1865,98 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataAttributeBinding represents binding of attributes to resources. Eg: Bind
    * 'CustomerInfo' entity with 'PII' attribute.
@@ -2206,52 +1964,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttributeBinding)
       com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttributeBinding.class,
-              com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttributeBinding.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAttributeBinding.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2272,7 +2033,8 @@ public Builder clear() {
       displayName_ = "";
       internalGetMutableLabels().clear();
       etag_ = "";
-      attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      attributes_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       if (pathsBuilder_ == null) {
         paths_ = java.util.Collections.emptyList();
       } else {
@@ -2286,9 +2048,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
     }
 
     @java.lang.Override
@@ -2307,19 +2069,15 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAttributeBinding buildPartial() {
-      com.google.cloud.dataplex.v1.DataAttributeBinding result =
-          new com.google.cloud.dataplex.v1.DataAttributeBinding(this);
+      com.google.cloud.dataplex.v1.DataAttributeBinding result = new com.google.cloud.dataplex.v1.DataAttributeBinding(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.dataplex.v1.DataAttributeBinding result) {
+    private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataAttributeBinding result) {
       if (pathsBuilder_ == null) {
         if (((bitField0_ & 0x00000400) != 0)) {
           paths_ = java.util.Collections.unmodifiableList(paths_);
@@ -2340,10 +2098,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttributeBinding res
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -2373,39 +2135,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataAttributeBindin
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAttributeBinding) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2413,8 +2174,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other) {
-      if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -2441,7 +2201,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -2476,27 +2237,24 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other
             pathsBuilder_ = null;
             paths_ = other.paths_;
             bitField0_ = (bitField0_ & ~0x00000400);
-            pathsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPathsFieldBuilder()
-                    : null;
+            pathsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPathsFieldBuilder() : null;
           } else {
             pathsBuilder_.addAllMessages(other.paths_);
           }
         }
       }
       switch (other.getResourceReferenceCase()) {
-        case RESOURCE:
-          {
-            resourceReferenceCase_ = 100;
-            resourceReference_ = other.resourceReference_;
-            onChanged();
-            break;
-          }
-        case RESOURCEREFERENCE_NOT_SET:
-          {
-            break;
-          }
+        case RESOURCE: {
+          resourceReferenceCase_ = 100;
+          resourceReference_ = other.resourceReference_;
+          onChanged();
+          break;
+        }
+        case RESOURCEREFERENCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2524,95 +2282,85 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            case 802:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                resourceReferenceCase_ = 100;
-                resourceReference_ = s;
-                break;
-              } // case 802
-            case 882:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAttributesIsMutable();
-                attributes_.add(s);
-                break;
-              } // case 882
-            case 962:
-              {
-                com.google.cloud.dataplex.v1.DataAttributeBinding.Path m =
-                    input.readMessage(
-                        com.google.cloud.dataplex.v1.DataAttributeBinding.Path.parser(),
-                        extensionRegistry);
-                if (pathsBuilder_ == null) {
-                  ensurePathsIsMutable();
-                  paths_.add(m);
-                } else {
-                  pathsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 962
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            case 802: {
+              java.lang.String s = input.readStringRequireUtf8();
+              resourceReferenceCase_ = 100;
+              resourceReference_ = s;
+              break;
+            } // case 802
+            case 882: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAttributesIsMutable();
+              attributes_.add(s);
+              break;
+            } // case 882
+            case 962: {
+              com.google.cloud.dataplex.v1.DataAttributeBinding.Path m =
+                  input.readMessage(
+                      com.google.cloud.dataplex.v1.DataAttributeBinding.Path.parser(),
+                      extensionRegistry);
+              if (pathsBuilder_ == null) {
+                ensurePathsIsMutable();
+                paths_.add(m);
+              } else {
+                pathsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 962
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2622,12 +2370,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int resourceReferenceCase_ = 0;
     private java.lang.Object resourceReference_;
-
-    public ResourceReferenceCase getResourceReferenceCase() {
-      return ResourceReferenceCase.forNumber(resourceReferenceCase_);
+    public ResourceReferenceCase
+        getResourceReferenceCase() {
+      return ResourceReferenceCase.forNumber(
+          resourceReferenceCase_);
     }
 
     public Builder clearResourceReference() {
@@ -2641,24 +2389,20 @@ public Builder clearResourceReference() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -2667,25 +2411,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2693,43 +2434,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -2739,25 +2469,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2767,8 +2491,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2776,13 +2498,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2791,8 +2513,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2800,14 +2520,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2815,8 +2536,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2824,22 +2543,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2847,7 +2562,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -2857,8 +2571,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2866,14 +2578,12 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -2883,58 +2593,39 @@ public Builder setUidBytes(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 time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2950,17 +2641,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2971,21 +2659,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2998,15 +2682,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3019,15 +2699,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -3035,48 +2711,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3084,58 +2748,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 time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3151,17 +2796,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -3172,21 +2814,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3199,15 +2837,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3220,15 +2854,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3236,48 +2866,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttributeBinding was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> 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_; @@ -3285,20 +2903,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3307,21 +2923,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3329,35 +2944,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3367,21 +2975,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -3391,20 +2995,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3413,21 +3015,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3435,35 +3036,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3473,21 +3067,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -3495,19 +3085,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3516,13 +3108,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3530,21 +3119,20 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3556,8 +3144,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3565,19 +3151,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3585,83 +3169,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private java.lang.Object etag_ = ""; /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3671,13 +3251,13 @@ public Builder putAllLabels(java.util.Map va
      * 
* * string etag = 8; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3686,8 +3266,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3697,14 +3275,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 8; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3712,8 +3291,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3723,22 +3300,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 8; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3748,7 +3321,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 8; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3758,8 +3330,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3769,14 +3339,12 @@ public Builder clearEtag() {
      * 
* * string etag = 8; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000080; @@ -3785,8 +3353,6 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3795,10 +3361,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the resource field is set. */ @java.lang.Override @@ -3806,8 +3369,6 @@ public boolean hasResource() { return resourceReferenceCase_ == 100; } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3816,10 +3377,7 @@ public boolean hasResource() {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The resource. */ @java.lang.Override @@ -3829,7 +3387,8 @@ public java.lang.String getResource() { ref = resourceReference_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (resourceReferenceCase_ == 100) { resourceReference_ = s; @@ -3840,8 +3399,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3850,21 +3407,20 @@ public java.lang.String getResource() {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = ""; if (resourceReferenceCase_ == 100) { ref = resourceReference_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (resourceReferenceCase_ == 100) { resourceReference_ = b; } @@ -3874,8 +3430,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3884,25 +3438,19 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceReferenceCase_ = 100; resourceReference_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3911,10 +3459,7 @@ public Builder setResource(java.lang.String value) {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearResource() { @@ -3926,8 +3471,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3936,17 +3479,13 @@ public Builder clearResource() {
      * there can only exist one active binding for a resource.
      * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceReferenceCase_ = 100; resourceReference_ = value; @@ -3956,7 +3495,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAttributesIsMutable() { if (!attributes_.isModifiable()) { attributes_ = new com.google.protobuf.LazyStringArrayList(attributes_); @@ -3964,55 +3502,41 @@ private void ensureAttributesIsMutable() { bitField0_ |= 0x00000200; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList getAttributesList() { + public com.google.protobuf.ProtocolStringList + getAttributesList() { attributes_.makeImmutable(); return attributes_; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -4020,45 +3544,35 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString getAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAttributesBytes(int index) { return attributes_.getByteString(index); } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The attributes to set. * @return This builder for chaining. */ - public Builder setAttributes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttributes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); bitField0_ |= 0x00000200; @@ -4066,25 +3580,19 @@ public Builder setAttributes(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The attributes to add. * @return This builder for chaining. */ - public Builder addAttributes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAttributes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); bitField0_ |= 0x00000200; @@ -4092,70 +3600,56 @@ public Builder addAttributes(java.lang.String value) { return this; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param values The attributes to add. * @return This builder for chaining. */ - public Builder addAllAttributes(java.lang.Iterable values) { + public Builder addAllAttributes( + java.lang.Iterable values) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAttributes() { - attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); - ; + attributes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** - * - * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes of the attributes to add. * @return This builder for chaining. */ - public Builder addAttributesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAttributesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAttributesIsMutable(); attributes_.add(value); @@ -4165,33 +3659,24 @@ public Builder addAttributesBytes(com.google.protobuf.ByteString value) { } private java.util.List paths_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - paths_ = - new java.util.ArrayList(paths_); + paths_ = new java.util.ArrayList(paths_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, - com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, - com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> - pathsBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> pathsBuilder_; /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getPathsList() { if (pathsBuilder_ == null) { @@ -4201,16 +3686,12 @@ public java.util.List ge } } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPathsCount() { if (pathsBuilder_ == null) { @@ -4220,16 +3701,12 @@ public int getPathsCount() { } } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index) { if (pathsBuilder_ == null) { @@ -4239,16 +3716,12 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index } } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { @@ -4265,16 +3738,12 @@ public Builder setPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -4288,16 +3757,12 @@ public Builder setPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPaths(com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { if (pathsBuilder_ == null) { @@ -4313,16 +3778,12 @@ public Builder addPaths(com.google.cloud.dataplex.v1.DataAttributeBinding.Path v return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { @@ -4339,16 +3800,12 @@ public Builder addPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPaths( com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -4362,16 +3819,12 @@ public Builder addPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -4385,23 +3838,19 @@ public Builder addPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllPaths( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (pathsBuilder_ == null) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); onChanged(); } else { pathsBuilder_.addAllMessages(values); @@ -4409,16 +3858,12 @@ public Builder addAllPaths( return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPaths() { if (pathsBuilder_ == null) { @@ -4431,16 +3876,12 @@ public Builder clearPaths() { return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removePaths(int index) { if (pathsBuilder_ == null) { @@ -4453,55 +3894,42 @@ public Builder removePaths(int index) { return this; } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder getPathsBuilder( int index) { return getPathsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( int index) { if (pathsBuilder_ == null) { - return paths_.get(index); - } else { + return paths_.get(index); } else { return pathsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPathsOrBuilderList() { + public java.util.List + getPathsOrBuilderList() { if (pathsBuilder_ != null) { return pathsBuilder_.getMessageOrBuilderList(); } else { @@ -4509,75 +3937,59 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsO } } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder addPathsBuilder() { - return getPathsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); + return getPathsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder addPathsBuilder( int index) { - return getPathsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); + return getPathsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); } /** - * - * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPathsBuilderList() { + public java.util.List + getPathsBuilderList() { return getPathsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, - com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, - com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> getPathsFieldBuilder() { if (pathsBuilder_ == null) { - pathsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, - com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, - com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder>( - paths_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); + pathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder>( + paths_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); paths_ = null; } return pathsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4587,12 +3999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttributeBinding) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttributeBinding) private static final com.google.cloud.dataplex.v1.DataAttributeBinding DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttributeBinding(); } @@ -4601,27 +4013,27 @@ public static com.google.cloud.dataplex.v1.DataAttributeBinding getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAttributeBinding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAttributeBinding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4636,4 +4048,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttributeBinding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java index 1345c675ad38..77d42fce6fc3 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataAttributeBindingOrBuilder - extends +public interface DataAttributeBindingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttributeBinding) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -66,13 +39,10 @@ public interface DataAttributeBindingOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -80,140 +50,106 @@ public interface DataAttributeBindingOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -222,31 +158,30 @@ public interface DataAttributeBindingOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -254,24 +189,21 @@ public interface DataAttributeBindingOrBuilder * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -281,13 +213,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 8; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -297,14 +226,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 8; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -313,16 +240,11 @@ java.lang.String getLabelsOrDefault(
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -331,16 +253,11 @@ java.lang.String getLabelsOrDefault(
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -349,148 +266,109 @@ java.lang.String getLabelsOrDefault(
    * there can only exist one active binding for a resource.
    * 
* - * - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return A list containing the attributes. */ - java.util.List getAttributesList(); + java.util.List + getAttributesList(); /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The count of attributes. */ int getAttributesCount(); /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The attributes at the given index. */ java.lang.String getAttributes(int index); /** - * - * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - com.google.protobuf.ByteString getAttributesBytes(int index); + com.google.protobuf.ByteString + getAttributesBytes(int index); /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getPathsList(); + java.util.List + getPathsList(); /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index); /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ int getPathsCount(); /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getPathsOrBuilderList(); /** - * - * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder(int index); + com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( + int index); - com.google.cloud.dataplex.v1.DataAttributeBinding.ResourceReferenceCase - getResourceReferenceCase(); + com.google.cloud.dataplex.v1.DataAttributeBinding.ResourceReferenceCase getResourceReferenceCase(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java index dd56e398b5f1..4033db7d3199 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataAttributeOrBuilder - extends +public interface DataAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -64,13 +37,10 @@ public interface DataAttributeOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -78,140 +48,106 @@ public interface DataAttributeOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -220,31 +156,30 @@ public interface DataAttributeOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -252,24 +187,21 @@ public interface DataAttributeOrBuilder * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -277,16 +209,11 @@ java.lang.String getLabelsOrDefault(
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The parentId. */ java.lang.String getParentId(); /** - * - * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -294,30 +221,23 @@ java.lang.String getLabelsOrDefault(
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for parentId. */ - com.google.protobuf.ByteString getParentIdBytes(); + com.google.protobuf.ByteString + getParentIdBytes(); /** - * - * *
    * Output only. The number of child attributes present for this attribute.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ int getAttributeCount(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -325,13 +245,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 10; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -339,96 +256,68 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 10; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceAccessSpec field is set. */ boolean hasResourceAccessSpec(); /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceAccessSpec. */ com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec(); /** - * - * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder(); /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dataAccessSpec field is set. */ boolean hasDataAccessSpec(); /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The dataAccessSpec. */ com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec(); /** - * - * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java new file mode 100644 index 000000000000..233236444048 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_profile.proto + +package com.google.cloud.dataplex.v1; + +public final class DataProfileProto { + private DataProfileProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/dataplex/v1/data_profile." + + "proto\022\030google.cloud.dataplex.v1\032\037google/" + + "api/field_behavior.proto\032)google/cloud/d" + + "ataplex/v1/processing.proto\"\260\004\n\017DataProf" + + "ileSpec\022\036\n\020sampling_percent\030\002 \001(\002B\004\342A\001\001\022" + + "\030\n\nrow_filter\030\003 \001(\tB\004\342A\001\001\022Z\n\021post_scan_a" + + "ctions\030\004 \001(\01329.google.cloud.dataplex.v1." + + "DataProfileSpec.PostScanActionsB\004\342A\001\001\022V\n" + + "\016include_fields\030\005 \001(\01328.google.cloud.dat" + + "aplex.v1.DataProfileSpec.SelectedFieldsB" + + "\004\342A\001\001\022V\n\016exclude_fields\030\006 \001(\01328.google.c" + + "loud.dataplex.v1.DataProfileSpec.Selecte" + + "dFieldsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017big" + + "query_export\030\001 \001(\0132H.google.cloud.datapl" + + "ex.v1.DataProfileSpec.PostScanActions.Bi" + + "gQueryExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\r" + + "results_table\030\001 \001(\tB\004\342A\001\001\032+\n\016SelectedFie" + + "lds\022\031\n\013field_names\030\001 \003(\tB\004\342A\001\001\"\350\r\n\021DataP" + + "rofileResult\022\021\n\trow_count\030\003 \001(\003\022D\n\007profi" + + "le\030\004 \001(\01323.google.cloud.dataplex.v1.Data" + + "ProfileResult.Profile\022;\n\014scanned_data\030\005 " + + "\001(\0132%.google.cloud.dataplex.v1.ScannedDa" + + "ta\022i\n\030post_scan_actions_result\030\006 \001(\0132A.g" + + "oogle.cloud.dataplex.v1.DataProfileResul" + + "t.PostScanActionsResultB\004\342A\001\003\032\316\010\n\007Profil" + + "e\022I\n\006fields\030\002 \003(\01329.google.cloud.dataple" + + "x.v1.DataProfileResult.Profile.Field\032\367\007\n" + + "\005Field\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mo" + + "de\030\003 \001(\t\022V\n\007profile\030\004 \001(\0132E.google.cloud" + + ".dataplex.v1.DataProfileResult.Profile.F" + + "ield.ProfileInfo\032\353\006\n\013ProfileInfo\022\022\n\nnull" + + "_ratio\030\002 \001(\001\022\026\n\016distinct_ratio\030\003 \001(\001\022e\n\014" + + "top_n_values\030\004 \003(\0132O.google.cloud.datapl" + + "ex.v1.DataProfileResult.Profile.Field.Pr" + + "ofileInfo.TopNValue\022o\n\016string_profile\030e " + + "\001(\0132U.google.cloud.dataplex.v1.DataProfi" + + "leResult.Profile.Field.ProfileInfo.Strin" + + "gFieldInfoH\000\022q\n\017integer_profile\030f \001(\0132V." + + "google.cloud.dataplex.v1.DataProfileResu" + + "lt.Profile.Field.ProfileInfo.IntegerFiel" + + "dInfoH\000\022o\n\016double_profile\030g \001(\0132U.google" + + ".cloud.dataplex.v1.DataProfileResult.Pro" + + "file.Field.ProfileInfo.DoubleFieldInfoH\000" + + "\032Q\n\017StringFieldInfo\022\022\n\nmin_length\030\001 \001(\003\022" + + "\022\n\nmax_length\030\002 \001(\003\022\026\n\016average_length\030\003 " + + "\001(\001\032l\n\020IntegerFieldInfo\022\017\n\007average\030\001 \001(\001" + + "\022\032\n\022standard_deviation\030\003 \001(\001\022\013\n\003min\030\004 \001(" + + "\003\022\021\n\tquartiles\030\006 \003(\003\022\013\n\003max\030\005 \001(\003\032k\n\017Dou" + + "bleFieldInfo\022\017\n\007average\030\001 \001(\001\022\032\n\022standar" + + "d_deviation\030\003 \001(\001\022\013\n\003min\030\004 \001(\001\022\021\n\tquarti" + + "les\030\006 \003(\001\022\013\n\003max\030\005 \001(\001\0328\n\tTopNValue\022\r\n\005v" + + "alue\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\r\n\005ratio\030\003 \001(\001" + + "B\014\n\nfield_info\032\200\003\n\025PostScanActionsResult" + + "\022|\n\026bigquery_export_result\030\001 \001(\0132V.googl" + + "e.cloud.dataplex.v1.DataProfileResult.Po" + + "stScanActionsResult.BigQueryExportResult" + + "B\004\342A\001\003\032\350\001\n\024BigQueryExportResult\022q\n\005state" + + "\030\001 \001(\0162\\.google.cloud.dataplex.v1.DataPr" + + "ofileResult.PostScanActionsResult.BigQue" + + "ryExportResult.StateB\004\342A\001\003\022\025\n\007message\030\002 " + + "\001(\tB\004\342A\001\003\"F\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + + "\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\013\n\007SKIPPED\020" + + "\003Bl\n\034com.google.cloud.dataplex.v1B\020DataP" + + "rofileProtoP\001Z8cloud.google.com/go/datap" + + "lex/apiv1/dataplexpb;dataplexpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor, + new java.lang.String[] { "SamplingPercent", "RowFilter", "PostScanActions", "IncludeFields", "ExcludeFields", }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor, + new java.lang.String[] { "BigqueryExport", }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor, + new java.lang.String[] { "ResultsTable", }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor, + new java.lang.String[] { "FieldNames", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor, + new java.lang.String[] { "RowCount", "Profile", "ScannedData", "PostScanActionsResult", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor, + new java.lang.String[] { "Name", "Type", "Mode", "Profile", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor, + new java.lang.String[] { "NullRatio", "DistinctRatio", "TopNValues", "StringProfile", "IntegerProfile", "DoubleProfile", "FieldInfo", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor, + new java.lang.String[] { "MinLength", "MaxLength", "AverageLength", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor, + new java.lang.String[] { "Average", "StandardDeviation", "Min", "Quartiles", "Max", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor, + new java.lang.String[] { "Average", "StandardDeviation", "Min", "Quartiles", "Max", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor, + new java.lang.String[] { "Value", "Count", "Ratio", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor, + new java.lang.String[] { "BigqueryExportResult", }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { "State", "Message", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java index 1da01e63cbb7..a0446837817f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataProfileResult defines the output of DataProfileScan. Each field of the
  * table will have field type specific profile result.
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult}
  */
-public final class DataProfileResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataProfileResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult)
     DataProfileResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataProfileResult.newBuilder() to construct.
   private DataProfileResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DataProfileResult() {}
+  private DataProfileResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataProfileResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataProfileProto
-        .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataProfileProto
-        .internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataProfileResult.class,
-            com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataProfileResult.class, com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
   }
 
-  public interface ProfileOrBuilder
-      extends
+  public interface ProfileOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * List of fields with structural and profile information for each field.
      * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -87,8 +65,6 @@ public interface ProfileOrBuilder */ com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(int index); /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -97,19 +73,15 @@ public interface ProfileOrBuilder */ int getFieldsCount(); /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -120,82 +92,70 @@ com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder getFieldsO int index); } /** - * - * *
    * Contains name, type, mode and field type specific profile information.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile} */ - public static final class Profile extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Profile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile) ProfileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Profile.newBuilder() to construct. private Profile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Profile() { 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 Profile(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); } - public interface FieldOrBuilder - extends + public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The name of the field.
        * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The name of the field.
        * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -205,13 +165,10 @@ public interface FieldOrBuilder
        * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -221,14 +178,12 @@ public interface FieldOrBuilder
        * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
        * The mode of the field. Possible values include:
        *
@@ -238,13 +193,10 @@ public interface FieldOrBuilder
        * 
* * string mode = 3; - * * @return The mode. */ java.lang.String getMode(); /** - * - * *
        * The mode of the field. Possible values include:
        *
@@ -254,69 +206,54 @@ public interface FieldOrBuilder
        * 
* * string mode = 3; - * * @return The bytes for mode. */ - com.google.protobuf.ByteString getModeBytes(); + com.google.protobuf.ByteString + getModeBytes(); /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return Whether the profile field is set. */ boolean hasProfile(); /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return The profile. */ com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile(); /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder - getProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder(); } /** - * - * *
      * A field within a table.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field} */ - public static final class Field extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Field extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) FieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Field() { name_ = ""; type_ = ""; @@ -325,46 +262,39 @@ private Field() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Field(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); } - public interface ProfileInfoOrBuilder - extends + public interface ProfileInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Ratio of rows with null value against total scanned rows.
          * 
* * double null_ratio = 2; - * * @return The nullRatio. */ double getNullRatio(); /** - * - * *
          * Ratio of rows with distinct values against total scanned rows.
          * Not available for complex non-groupable field type RECORD and fields
@@ -372,14 +302,11 @@ public interface ProfileInfoOrBuilder
          * 
* * double distinct_ratio = 3; - * * @return The distinctRatio. */ double getDistinctRatio(); /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -388,16 +315,11 @@ public interface ProfileInfoOrBuilder
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> + java.util.List getTopNValuesList(); /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -406,15 +328,10 @@ public interface ProfileInfoOrBuilder
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - getTopNValues(int index); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index); /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -423,14 +340,10 @@ public interface ProfileInfoOrBuilder
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ int getTopNValuesCount(); /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -439,18 +352,11 @@ public interface ProfileInfoOrBuilder
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - java.util.List< - ? extends - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder> + java.util.List getTopNValuesOrBuilderList(); /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -459,293 +365,215 @@ public interface ProfileInfoOrBuilder
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder - getTopNValuesOrBuilder(int index); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( + int index); /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return Whether the stringProfile field is set. */ boolean hasStringProfile(); /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return The stringProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo - getStringProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile(); /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder - getStringProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder(); /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return Whether the integerProfile field is set. */ boolean hasIntegerProfile(); /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return The integerProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo - getIntegerProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile(); /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder - getIntegerProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder(); /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return Whether the doubleProfile field is set. */ boolean hasDoubleProfile(); /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return The doubleProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo - getDoubleProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile(); /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder - getDoubleProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder(); - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase - getFieldInfoCase(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase getFieldInfoCase(); } /** - * - * *
        * The profile information for each field type.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} */ - public static final class ProfileInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProfileInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) ProfileInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProfileInfo.newBuilder() to construct. private ProfileInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProfileInfo() { topNValues_ = 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 ProfileInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder - .class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder.class); } - public interface StringFieldInfoOrBuilder - extends + public interface StringFieldInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
            * Minimum length of non-null values in the scanned data.
            * 
* * int64 min_length = 1; - * * @return The minLength. */ long getMinLength(); /** - * - * *
            * Maximum length of non-null values in the scanned data.
            * 
* * int64 max_length = 2; - * * @return The maxLength. */ long getMaxLength(); /** - * - * *
            * Average length of non-null values in the scanned data.
            * 
* * double average_length = 3; - * * @return The averageLength. */ double getAverageLength(); } /** - * - * *
          * The profile information for a string type field.
          * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} */ - public static final class StringFieldInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringFieldInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) StringFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFieldInfo.newBuilder() to construct. private StringFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StringFieldInfo() {} + private StringFieldInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder.class); } public static final int MIN_LENGTH_FIELD_NUMBER = 1; private long minLength_ = 0L; /** - * - * *
            * Minimum length of non-null values in the scanned data.
            * 
* * int64 min_length = 1; - * * @return The minLength. */ @java.lang.Override @@ -756,14 +584,11 @@ public long getMinLength() { public static final int MAX_LENGTH_FIELD_NUMBER = 2; private long maxLength_ = 0L; /** - * - * *
            * Maximum length of non-null values in the scanned data.
            * 
* * int64 max_length = 2; - * * @return The maxLength. */ @java.lang.Override @@ -774,14 +599,11 @@ public long getMaxLength() { public static final int AVERAGE_LENGTH_FIELD_NUMBER = 3; private double averageLength_ = 0D; /** - * - * *
            * Average length of non-null values in the scanned data.
            * 
* * double average_length = 3; - * * @return The averageLength. */ @java.lang.Override @@ -790,7 +612,6 @@ public double getAverageLength() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -803,7 +624,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 (minLength_ != 0L) { output.writeInt64(1, minLength_); } @@ -823,13 +644,16 @@ public int getSerializedSize() { size = 0; if (minLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, minLength_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, minLength_); } if (maxLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxLength_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, maxLength_); } if (java.lang.Double.doubleToRawLongBits(averageLength_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, averageLength_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, averageLength_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -839,24 +663,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo - other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) obj; - if (getMinLength() != other.getMinLength()) return false; - if (getMaxLength() != other.getMaxLength()) return false; + if (getMinLength() + != other.getMinLength()) return false; + if (getMaxLength() + != other.getMaxLength()) return false; if (java.lang.Double.doubleToLongBits(getAverageLength()) - != java.lang.Double.doubleToLongBits(other.getAverageLength())) return false; + != java.lang.Double.doubleToLongBits( + other.getAverageLength())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -869,132 +689,103 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinLength()); hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxLength()); hash = (37 * hash) + AVERAGE_LENGTH_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverageLength())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverageLength())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1004,46 +795,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
            * The profile information for a string type field.
            * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1055,26 +839,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1082,25 +859,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.minLength_ = minLength_; @@ -1117,60 +883,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance()) return this; if (other.getMinLength() != 0L) { setMinLength(other.getMinLength()); } @@ -1206,31 +958,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minLength_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - maxLength_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: - { - averageLength_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minLength_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxLength_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: { + averageLength_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1240,19 +988,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long minLength_; + private long minLength_ ; /** - * - * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; - * * @return The minLength. */ @java.lang.Override @@ -1260,14 +1004,11 @@ public long getMinLength() { return minLength_; } /** - * - * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; - * * @param value The minLength to set. * @return This builder for chaining. */ @@ -1279,14 +1020,11 @@ public Builder setMinLength(long value) { return this; } /** - * - * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; - * * @return This builder for chaining. */ public Builder clearMinLength() { @@ -1296,16 +1034,13 @@ public Builder clearMinLength() { return this; } - private long maxLength_; + private long maxLength_ ; /** - * - * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; - * * @return The maxLength. */ @java.lang.Override @@ -1313,14 +1048,11 @@ public long getMaxLength() { return maxLength_; } /** - * - * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; - * * @param value The maxLength to set. * @return This builder for chaining. */ @@ -1332,14 +1064,11 @@ public Builder setMaxLength(long value) { return this; } /** - * - * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; - * * @return This builder for chaining. */ public Builder clearMaxLength() { @@ -1349,16 +1078,13 @@ public Builder clearMaxLength() { return this; } - private double averageLength_; + private double averageLength_ ; /** - * - * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; - * * @return The averageLength. */ @java.lang.Override @@ -1366,14 +1092,11 @@ public double getAverageLength() { return averageLength_; } /** - * - * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; - * * @param value The averageLength to set. * @return This builder for chaining. */ @@ -1385,14 +1108,11 @@ public Builder setAverageLength(double value) { return this; } /** - * - * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; - * * @return This builder for chaining. */ public Builder clearAverageLength() { @@ -1401,7 +1121,6 @@ public Builder clearAverageLength() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1414,48 +1133,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.StringFieldInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1467,63 +1179,50 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IntegerFieldInfoOrBuilder - extends + public interface IntegerFieldInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; - * * @return The average. */ double getAverage(); /** - * - * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ double getStandardDeviation(); /** - * - * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 min = 4; - * * @return The min. */ long getMin(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1540,13 +1239,10 @@ public interface IntegerFieldInfoOrBuilder
            * 
* * repeated int64 quartiles = 6; - * * @return A list containing the quartiles. */ java.util.List getQuartilesList(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1563,13 +1259,10 @@ public interface IntegerFieldInfoOrBuilder
            * 
* * repeated int64 quartiles = 6; - * * @return The count of quartiles. */ int getQuartilesCount(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1586,85 +1279,71 @@ public interface IntegerFieldInfoOrBuilder
            * 
* * repeated int64 quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ long getQuartiles(int index); /** - * - * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 max = 5; - * * @return The max. */ long getMax(); } /** - * - * *
          * The profile information for an integer type field.
          * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} */ - public static final class IntegerFieldInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IntegerFieldInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) IntegerFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerFieldInfo.newBuilder() to construct. private IntegerFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IntegerFieldInfo() { quartiles_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IntegerFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder.class); } public static final int AVERAGE_FIELD_NUMBER = 1; private double average_ = 0D; /** - * - * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; - * * @return The average. */ @java.lang.Override @@ -1675,15 +1354,12 @@ public double getAverage() { public static final int STANDARD_DEVIATION_FIELD_NUMBER = 3; private double standardDeviation_ = 0D; /** - * - * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ @java.lang.Override @@ -1694,15 +1370,12 @@ public double getStandardDeviation() { public static final int MIN_FIELD_NUMBER = 4; private long min_ = 0L; /** - * - * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 min = 4; - * * @return The min. */ @java.lang.Override @@ -1711,12 +1384,9 @@ public long getMin() { } public static final int QUARTILES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList quartiles_; /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1733,16 +1403,14 @@ public long getMin() {
            * 
* * repeated int64 quartiles = 6; - * * @return A list containing the quartiles. */ @java.lang.Override - public java.util.List getQuartilesList() { + public java.util.List + getQuartilesList() { return quartiles_; } /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1759,15 +1427,12 @@ public java.util.List getQuartilesList() {
            * 
* * repeated int64 quartiles = 6; - * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1784,28 +1449,23 @@ public int getQuartilesCount() {
            * 
* * repeated int64 quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ public long getQuartiles(int index) { return quartiles_.getLong(index); } - private int quartilesMemoizedSerializedSize = -1; public static final int MAX_FIELD_NUMBER = 5; private long max_ = 0L; /** - * - * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 max = 5; - * * @return The max. */ @java.lang.Override @@ -1814,7 +1474,6 @@ public long getMax() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1827,7 +1486,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (java.lang.Double.doubleToRawLongBits(average_) != 0) { output.writeDouble(1, average_); @@ -1858,29 +1517,32 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(average_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, average_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, average_); } if (java.lang.Double.doubleToRawLongBits(standardDeviation_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(3, standardDeviation_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, standardDeviation_); } if (min_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, min_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, min_); } if (max_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, max_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, max_); } { int dataSize = 0; for (int i = 0; i < quartiles_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag( - quartiles_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(quartiles_.getLong(i)); } size += dataSize; if (!getQuartilesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } quartilesMemoizedSerializedSize = dataSize; } @@ -1892,28 +1554,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) obj; if (java.lang.Double.doubleToLongBits(getAverage()) - != java.lang.Double.doubleToLongBits(other.getAverage())) return false; + != java.lang.Double.doubleToLongBits( + other.getAverage())) return false; if (java.lang.Double.doubleToLongBits(getStandardDeviation()) - != java.lang.Double.doubleToLongBits(other.getStandardDeviation())) return false; - if (getMin() != other.getMin()) return false; - if (!getQuartilesList().equals(other.getQuartilesList())) return false; - if (getMax() != other.getMax()) return false; + != java.lang.Double.doubleToLongBits( + other.getStandardDeviation())) return false; + if (getMin() + != other.getMin()) return false; + if (!getQuartilesList() + .equals(other.getQuartilesList())) return false; + if (getMax() + != other.getMax()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1926,141 +1585,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVERAGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverage())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverage())); hash = (37 * hash) + STANDARD_DEVIATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStandardDeviation())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStandardDeviation())); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMin()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMin()); if (getQuartilesCount() > 0) { hash = (37 * hash) + QUARTILES_FIELD_NUMBER; hash = (53 * hash) + getQuartilesList().hashCode(); } hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMax()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMax()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2070,46 +1698,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
            * The profile information for an integer type field.
            * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2123,26 +1744,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2150,26 +1764,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result) { if (((bitField0_ & 0x00000008) != 0)) { quartiles_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2177,10 +1780,7 @@ private void buildPartialRepeatedFields( result.quartiles_ = quartiles_; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.average_ = average_; @@ -2200,60 +1800,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance()) return this; if (other.getAverage() != 0D) { setAverage(other.getAverage()); } @@ -2302,55 +1888,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - average_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 25: - { - standardDeviation_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 32: - { - min_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: - { - max_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - long v = input.readInt64(); - ensureQuartilesIsMutable(); - quartiles_.addLong(v); - break; - } // case 48 - case 50: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureQuartilesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - quartiles_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + average_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 25: { + standardDeviation_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 32: { + min_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: { + max_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + long v = input.readInt64(); + ensureQuartilesIsMutable(); + quartiles_.addLong(v); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureQuartilesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + quartiles_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2360,20 +1939,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private double average_; + private double average_ ; /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @return The average. */ @java.lang.Override @@ -2381,15 +1956,12 @@ public double getAverage() { return average_; } /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @param value The average to set. * @return This builder for chaining. */ @@ -2401,15 +1973,12 @@ public Builder setAverage(double value) { return this; } /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @return This builder for chaining. */ public Builder clearAverage() { @@ -2419,17 +1988,14 @@ public Builder clearAverage() { return this; } - private double standardDeviation_; + private double standardDeviation_ ; /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ @java.lang.Override @@ -2437,15 +2003,12 @@ public double getStandardDeviation() { return standardDeviation_; } /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @param value The standardDeviation to set. * @return This builder for chaining. */ @@ -2457,15 +2020,12 @@ public Builder setStandardDeviation(double value) { return this; } /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @return This builder for chaining. */ public Builder clearStandardDeviation() { @@ -2475,17 +2035,14 @@ public Builder clearStandardDeviation() { return this; } - private long min_; + private long min_ ; /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; - * * @return The min. */ @java.lang.Override @@ -2493,15 +2050,12 @@ public long getMin() { return min_; } /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; - * * @param value The min to set. * @return This builder for chaining. */ @@ -2513,15 +2067,12 @@ public Builder setMin(long value) { return this; } /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; - * * @return This builder for chaining. */ public Builder clearMin() { @@ -2532,7 +2083,6 @@ public Builder clearMin() { } private com.google.protobuf.Internal.LongList quartiles_ = emptyLongList(); - private void ensureQuartilesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { quartiles_ = mutableCopy(quartiles_); @@ -2540,8 +2090,6 @@ private void ensureQuartilesIsMutable() { } } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2558,17 +2106,14 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated int64 quartiles = 6; - * * @return A list containing the quartiles. */ - public java.util.List getQuartilesList() { - return ((bitField0_ & 0x00000008) != 0) - ? java.util.Collections.unmodifiableList(quartiles_) - : quartiles_; + public java.util.List + getQuartilesList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(quartiles_) : quartiles_; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2585,15 +2130,12 @@ public java.util.List getQuartilesList() {
              * 
* * repeated int64 quartiles = 6; - * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2610,7 +2152,6 @@ public int getQuartilesCount() {
              * 
* * repeated int64 quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ @@ -2618,8 +2159,6 @@ public long getQuartiles(int index) { return quartiles_.getLong(index); } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2636,12 +2175,12 @@ public long getQuartiles(int index) {
              * 
* * repeated int64 quartiles = 6; - * * @param index The index to set the value at. * @param value The quartiles to set. * @return This builder for chaining. */ - public Builder setQuartiles(int index, long value) { + public Builder setQuartiles( + int index, long value) { ensureQuartilesIsMutable(); quartiles_.setLong(index, value); @@ -2649,8 +2188,6 @@ public Builder setQuartiles(int index, long value) { return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2667,7 +2204,6 @@ public Builder setQuartiles(int index, long value) {
              * 
* * repeated int64 quartiles = 6; - * * @param value The quartiles to add. * @return This builder for chaining. */ @@ -2679,8 +2215,6 @@ public Builder addQuartiles(long value) { return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2697,19 +2231,18 @@ public Builder addQuartiles(long value) {
              * 
* * repeated int64 quartiles = 6; - * * @param values The quartiles to add. * @return This builder for chaining. */ - public Builder addAllQuartiles(java.lang.Iterable values) { + public Builder addAllQuartiles( + java.lang.Iterable values) { ensureQuartilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quartiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quartiles_); onChanged(); return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2726,7 +2259,6 @@ public Builder addAllQuartiles(java.lang.Iterable valu
              * 
* * repeated int64 quartiles = 6; - * * @return This builder for chaining. */ public Builder clearQuartiles() { @@ -2736,17 +2268,14 @@ public Builder clearQuartiles() { return this; } - private long max_; + private long max_ ; /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; - * * @return The max. */ @java.lang.Override @@ -2754,15 +2283,12 @@ public long getMax() { return max_; } /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; - * * @param value The max to set. * @return This builder for chaining. */ @@ -2774,15 +2300,12 @@ public Builder setMax(long value) { return this; } /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; - * * @return This builder for chaining. */ public Builder clearMax() { @@ -2791,7 +2314,6 @@ public Builder clearMax() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2804,48 +2326,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.IntegerFieldInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2857,63 +2372,50 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DoubleFieldInfoOrBuilder - extends + public interface DoubleFieldInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; - * * @return The average. */ double getAverage(); /** - * - * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ double getStandardDeviation(); /** - * - * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double min = 4; - * * @return The min. */ double getMin(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2929,13 +2431,10 @@ public interface DoubleFieldInfoOrBuilder
            * 
* * repeated double quartiles = 6; - * * @return A list containing the quartiles. */ java.util.List getQuartilesList(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2951,13 +2450,10 @@ public interface DoubleFieldInfoOrBuilder
            * 
* * repeated double quartiles = 6; - * * @return The count of quartiles. */ int getQuartilesCount(); /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2973,85 +2469,71 @@ public interface DoubleFieldInfoOrBuilder
            * 
* * repeated double quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ double getQuartiles(int index); /** - * - * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double max = 5; - * * @return The max. */ double getMax(); } /** - * - * *
          * The profile information for a double type field.
          * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} */ - public static final class DoubleFieldInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DoubleFieldInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) DoubleFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DoubleFieldInfo.newBuilder() to construct. private DoubleFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DoubleFieldInfo() { quartiles_ = emptyDoubleList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DoubleFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder.class); } public static final int AVERAGE_FIELD_NUMBER = 1; private double average_ = 0D; /** - * - * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; - * * @return The average. */ @java.lang.Override @@ -3062,15 +2544,12 @@ public double getAverage() { public static final int STANDARD_DEVIATION_FIELD_NUMBER = 3; private double standardDeviation_ = 0D; /** - * - * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ @java.lang.Override @@ -3081,15 +2560,12 @@ public double getStandardDeviation() { public static final int MIN_FIELD_NUMBER = 4; private double min_ = 0D; /** - * - * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double min = 4; - * * @return The min. */ @java.lang.Override @@ -3098,12 +2574,9 @@ public double getMin() { } public static final int QUARTILES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.Internal.DoubleList quartiles_; /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -3119,16 +2592,14 @@ public double getMin() {
            * 
* * repeated double quartiles = 6; - * * @return A list containing the quartiles. */ @java.lang.Override - public java.util.List getQuartilesList() { + public java.util.List + getQuartilesList() { return quartiles_; } /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -3144,15 +2615,12 @@ public java.util.List getQuartilesList() {
            * 
* * repeated double quartiles = 6; - * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** - * - * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -3168,28 +2636,23 @@ public int getQuartilesCount() {
            * 
* * repeated double quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ public double getQuartiles(int index) { return quartiles_.getDouble(index); } - private int quartilesMemoizedSerializedSize = -1; public static final int MAX_FIELD_NUMBER = 5; private double max_ = 0D; /** - * - * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double max = 5; - * * @return The max. */ @java.lang.Override @@ -3198,7 +2661,6 @@ public double getMax() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3211,7 +2673,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (java.lang.Double.doubleToRawLongBits(average_) != 0) { output.writeDouble(1, average_); @@ -3242,17 +2704,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(average_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, average_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, average_); } if (java.lang.Double.doubleToRawLongBits(standardDeviation_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(3, standardDeviation_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, standardDeviation_); } if (java.lang.Double.doubleToRawLongBits(min_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, min_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, min_); } if (java.lang.Double.doubleToRawLongBits(max_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, max_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, max_); } { int dataSize = 0; @@ -3260,7 +2725,8 @@ public int getSerializedSize() { size += dataSize; if (!getQuartilesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } quartilesMemoizedSerializedSize = dataSize; } @@ -3272,29 +2738,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo - other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) obj; if (java.lang.Double.doubleToLongBits(getAverage()) - != java.lang.Double.doubleToLongBits(other.getAverage())) return false; + != java.lang.Double.doubleToLongBits( + other.getAverage())) return false; if (java.lang.Double.doubleToLongBits(getStandardDeviation()) - != java.lang.Double.doubleToLongBits(other.getStandardDeviation())) return false; + != java.lang.Double.doubleToLongBits( + other.getStandardDeviation())) return false; if (java.lang.Double.doubleToLongBits(getMin()) - != java.lang.Double.doubleToLongBits(other.getMin())) return false; - if (!getQuartilesList().equals(other.getQuartilesList())) return false; + != java.lang.Double.doubleToLongBits( + other.getMin())) return false; + if (!getQuartilesList() + .equals(other.getQuartilesList())) return false; if (java.lang.Double.doubleToLongBits(getMax()) - != java.lang.Double.doubleToLongBits(other.getMax())) return false; + != java.lang.Double.doubleToLongBits( + other.getMax())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3307,147 +2771,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVERAGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverage())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverage())); hash = (37 * hash) + STANDARD_DEVIATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStandardDeviation())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStandardDeviation())); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMin())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMin())); if (getQuartilesCount() > 0) { hash = (37 * hash) + QUARTILES_FIELD_NUMBER; hash = (53 * hash) + getQuartilesList().hashCode(); } hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMax())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3457,46 +2884,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
            * The profile information for a double type field.
            * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3510,26 +2930,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3537,26 +2950,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result) { if (((bitField0_ & 0x00000008) != 0)) { quartiles_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); @@ -3564,10 +2966,7 @@ private void buildPartialRepeatedFields( result.quartiles_ = quartiles_; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.average_ = average_; @@ -3587,60 +2986,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance()) return this; if (other.getAverage() != 0D) { setAverage(other.getAverage()); } @@ -3689,55 +3074,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - average_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 25: - { - standardDeviation_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 33: - { - min_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 33 - case 41: - { - max_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 49: - { - double v = input.readDouble(); - ensureQuartilesIsMutable(); - quartiles_.addDouble(v); - break; - } // case 49 - case 50: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureQuartilesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - quartiles_.addDouble(input.readDouble()); - } - input.popLimit(limit); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + average_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 25: { + standardDeviation_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 33: { + min_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 33 + case 41: { + max_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: { + double v = input.readDouble(); + ensureQuartilesIsMutable(); + quartiles_.addDouble(v); + break; + } // case 49 + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureQuartilesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + quartiles_.addDouble(input.readDouble()); + } + input.popLimit(limit); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3747,20 +3125,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private double average_; + private double average_ ; /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @return The average. */ @java.lang.Override @@ -3768,15 +3142,12 @@ public double getAverage() { return average_; } /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @param value The average to set. * @return This builder for chaining. */ @@ -3788,15 +3159,12 @@ public Builder setAverage(double value) { return this; } /** - * - * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; - * * @return This builder for chaining. */ public Builder clearAverage() { @@ -3806,17 +3174,14 @@ public Builder clearAverage() { return this; } - private double standardDeviation_; + private double standardDeviation_ ; /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @return The standardDeviation. */ @java.lang.Override @@ -3824,15 +3189,12 @@ public double getStandardDeviation() { return standardDeviation_; } /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @param value The standardDeviation to set. * @return This builder for chaining. */ @@ -3844,15 +3206,12 @@ public Builder setStandardDeviation(double value) { return this; } /** - * - * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; - * * @return This builder for chaining. */ public Builder clearStandardDeviation() { @@ -3862,17 +3221,14 @@ public Builder clearStandardDeviation() { return this; } - private double min_; + private double min_ ; /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; - * * @return The min. */ @java.lang.Override @@ -3880,15 +3236,12 @@ public double getMin() { return min_; } /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; - * * @param value The min to set. * @return This builder for chaining. */ @@ -3900,15 +3253,12 @@ public Builder setMin(double value) { return this; } /** - * - * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; - * * @return This builder for chaining. */ public Builder clearMin() { @@ -3919,7 +3269,6 @@ public Builder clearMin() { } private com.google.protobuf.Internal.DoubleList quartiles_ = emptyDoubleList(); - private void ensureQuartilesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { quartiles_ = mutableCopy(quartiles_); @@ -3927,8 +3276,6 @@ private void ensureQuartilesIsMutable() { } } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3944,17 +3291,14 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated double quartiles = 6; - * * @return A list containing the quartiles. */ - public java.util.List getQuartilesList() { - return ((bitField0_ & 0x00000008) != 0) - ? java.util.Collections.unmodifiableList(quartiles_) - : quartiles_; + public java.util.List + getQuartilesList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(quartiles_) : quartiles_; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3970,15 +3314,12 @@ public java.util.List getQuartilesList() {
              * 
* * repeated double quartiles = 6; - * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3994,7 +3335,6 @@ public int getQuartilesCount() {
              * 
* * repeated double quartiles = 6; - * * @param index The index of the element to return. * @return The quartiles at the given index. */ @@ -4002,8 +3342,6 @@ public double getQuartiles(int index) { return quartiles_.getDouble(index); } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -4019,12 +3357,12 @@ public double getQuartiles(int index) {
              * 
* * repeated double quartiles = 6; - * * @param index The index to set the value at. * @param value The quartiles to set. * @return This builder for chaining. */ - public Builder setQuartiles(int index, double value) { + public Builder setQuartiles( + int index, double value) { ensureQuartilesIsMutable(); quartiles_.setDouble(index, value); @@ -4032,8 +3370,6 @@ public Builder setQuartiles(int index, double value) { return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -4049,7 +3385,6 @@ public Builder setQuartiles(int index, double value) {
              * 
* * repeated double quartiles = 6; - * * @param value The quartiles to add. * @return This builder for chaining. */ @@ -4061,8 +3396,6 @@ public Builder addQuartiles(double value) { return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -4078,19 +3411,18 @@ public Builder addQuartiles(double value) {
              * 
* * repeated double quartiles = 6; - * * @param values The quartiles to add. * @return This builder for chaining. */ - public Builder addAllQuartiles(java.lang.Iterable values) { + public Builder addAllQuartiles( + java.lang.Iterable values) { ensureQuartilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quartiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quartiles_); onChanged(); return this; } /** - * - * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -4106,7 +3438,6 @@ public Builder addAllQuartiles(java.lang.Iterable va
              * 
* * repeated double quartiles = 6; - * * @return This builder for chaining. */ public Builder clearQuartiles() { @@ -4116,17 +3447,14 @@ public Builder clearQuartiles() { return this; } - private double max_; + private double max_ ; /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; - * * @return The max. */ @java.lang.Override @@ -4134,15 +3462,12 @@ public double getMax() { return max_; } /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; - * * @param value The max to set. * @return This builder for chaining. */ @@ -4154,15 +3479,12 @@ public Builder setMax(double value) { return this; } /** - * - * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; - * * @return This builder for chaining. */ public Builder clearMax() { @@ -4171,7 +3493,6 @@ public Builder clearMax() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4184,48 +3505,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.DoubleFieldInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DoubleFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DoubleFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4237,130 +3551,106 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TopNValueOrBuilder - extends + public interface TopNValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
            * String value of a top N non-null value.
            * 
* * string value = 1; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
            * String value of a top N non-null value.
            * 
* * string value = 1; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
            * Count of the corresponding value in the scanned data.
            * 
* * int64 count = 2; - * * @return The count. */ long getCount(); /** - * - * *
            * Ratio of the corresponding value in the field against the total
            * number of rows in the scanned data.
            * 
* * double ratio = 3; - * * @return The ratio. */ double getRatio(); } /** - * - * *
          * Top N non-null values in the scanned data.
          * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} */ - public static final class TopNValue extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TopNValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) TopNValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TopNValue.newBuilder() to construct. private TopNValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TopNValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TopNValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
            * String value of a top N non-null value.
            * 
* * string value = 1; - * * @return The value. */ @java.lang.Override @@ -4369,29 +3659,29 @@ 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(); value_ = s; return s; } } /** - * - * *
            * String value of a top N non-null value.
            * 
* * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -4402,14 +3692,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int COUNT_FIELD_NUMBER = 2; private long count_ = 0L; /** - * - * *
            * Count of the corresponding value in the scanned data.
            * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -4420,15 +3707,12 @@ public long getCount() { public static final int RATIO_FIELD_NUMBER = 3; private double ratio_ = 0D; /** - * - * *
            * Ratio of the corresponding value in the field against the total
            * number of rows in the scanned data.
            * 
* * double ratio = 3; - * * @return The ratio. */ @java.lang.Override @@ -4437,7 +3721,6 @@ public double getRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4450,7 +3733,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -4473,10 +3756,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, count_); } if (java.lang.Double.doubleToRawLongBits(ratio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, ratio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, ratio_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4486,24 +3771,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue) - obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) obj; - if (!getValue().equals(other.getValue())) return false; - if (getCount() != other.getCount()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getCount() + != other.getCount()) return false; if (java.lang.Double.doubleToLongBits(getRatio()) - != java.lang.Double.doubleToLongBits(other.getRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getRatio())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4518,129 +3799,100 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; 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 = (37 * hash) + RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRatio())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4650,46 +3902,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
            * Top N non-null values in the scanned data.
            * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4701,25 +3946,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4727,23 +3966,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = value_; @@ -4760,59 +3990,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -4850,31 +4067,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - count_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: - { - ratio_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + count_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: { + ratio_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4884,25 +4097,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object value_ = ""; /** - * - * *
              * String value of a top N non-null value.
              * 
* * string value = 1; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -4911,21 +4121,20 @@ public java.lang.String getValue() { } } /** - * - * *
              * String value of a top N non-null value.
              * 
* * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -4933,35 +4142,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
              * String value of a top N non-null value.
              * 
* * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
              * String value of a top N non-null value.
              * 
* * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -4971,21 +4173,17 @@ public Builder clearValue() { return this; } /** - * - * *
              * String value of a top N non-null value.
              * 
* * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; @@ -4993,16 +4191,13 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { return this; } - private long count_; + private long count_ ; /** - * - * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -5010,14 +4205,11 @@ public long getCount() { return count_; } /** - * - * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ @@ -5029,14 +4221,11 @@ public Builder setCount(long value) { return this; } /** - * - * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -5046,17 +4235,14 @@ public Builder clearCount() { return this; } - private double ratio_; + private double ratio_ ; /** - * - * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; - * * @return The ratio. */ @java.lang.Override @@ -5064,15 +4250,12 @@ public double getRatio() { return ratio_; } /** - * - * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; - * * @param value The ratio to set. * @return This builder for chaining. */ @@ -5084,15 +4267,12 @@ public Builder setRatio(double value) { return this; } /** - * - * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; - * * @return This builder for chaining. */ public Builder clearRatio() { @@ -5101,7 +4281,6 @@ public Builder clearRatio() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5114,48 +4293,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.TopNValue - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TopNValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TopNValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5167,27 +4339,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int fieldInfoCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object fieldInfo_; - public enum FieldInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_PROFILE(101), INTEGER_PROFILE(102), DOUBLE_PROFILE(103), FIELDINFO_NOT_SET(0); private final int value; - private FieldInfoCase(int value) { this.value = value; } @@ -5203,39 +4371,32 @@ public static FieldInfoCase valueOf(int value) { public static FieldInfoCase forNumber(int value) { switch (value) { - case 101: - return STRING_PROFILE; - case 102: - return INTEGER_PROFILE; - case 103: - return DOUBLE_PROFILE; - case 0: - return FIELDINFO_NOT_SET; - default: - return null; + case 101: return STRING_PROFILE; + case 102: return INTEGER_PROFILE; + case 103: return DOUBLE_PROFILE; + case 0: return FIELDINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FieldInfoCase getFieldInfoCase() { - return FieldInfoCase.forNumber(fieldInfoCase_); + public FieldInfoCase + getFieldInfoCase() { + return FieldInfoCase.forNumber( + fieldInfoCase_); } public static final int NULL_RATIO_FIELD_NUMBER = 2; private double nullRatio_ = 0D; /** - * - * *
          * Ratio of rows with null value against total scanned rows.
          * 
* * double null_ratio = 2; - * * @return The nullRatio. */ @java.lang.Override @@ -5246,8 +4407,6 @@ public double getNullRatio() { public static final int DISTINCT_RATIO_FIELD_NUMBER = 3; private double distinctRatio_ = 0D; /** - * - * *
          * Ratio of rows with distinct values against total scanned rows.
          * Not available for complex non-groupable field type RECORD and fields
@@ -5255,7 +4414,6 @@ public double getNullRatio() {
          * 
* * double distinct_ratio = 3; - * * @return The distinctRatio. */ @java.lang.Override @@ -5264,14 +4422,9 @@ public double getDistinctRatio() { } public static final int TOP_N_VALUES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> - topNValues_; + private java.util.List topNValues_; /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -5280,19 +4433,13 @@ public double getDistinctRatio() {
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> - getTopNValuesList() { + public java.util.List getTopNValuesList() { return topNValues_; } /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -5301,21 +4448,14 @@ public double getDistinctRatio() {
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder> + public java.util.List getTopNValuesOrBuilderList() { return topNValues_; } /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -5324,17 +4464,13 @@ public double getDistinctRatio() {
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ @java.lang.Override public int getTopNValuesCount() { return topNValues_.size(); } /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -5343,18 +4479,13 @@ public int getTopNValuesCount() {
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - getTopNValues(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index) { return topNValues_.get(index); } /** - * - * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -5363,29 +4494,21 @@ public int getTopNValuesCount() {
          * mode.
          * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder - getTopNValuesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( + int index) { return topNValues_.get(index); } public static final int STRING_PROFILE_FIELD_NUMBER = 101; /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return Whether the stringProfile field is set. */ @java.lang.Override @@ -5393,66 +4516,42 @@ public boolean hasStringProfile() { return fieldInfoCase_ == 101; } /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return The stringProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - getStringProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile() { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } /** - * - * *
          * String type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder - getStringProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder() { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } public static final int INTEGER_PROFILE_FIELD_NUMBER = 102; /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return Whether the integerProfile field is set. */ @java.lang.Override @@ -5460,66 +4559,42 @@ public boolean hasIntegerProfile() { return fieldInfoCase_ == 102; } /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return The integerProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - getIntegerProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile() { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } /** - * - * *
          * Integer type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder - getIntegerProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder() { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } public static final int DOUBLE_PROFILE_FIELD_NUMBER = 103; /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return Whether the doubleProfile field is set. */ @java.lang.Override @@ -5527,56 +4602,36 @@ public boolean hasDoubleProfile() { return fieldInfoCase_ == 103; } /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return The doubleProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - getDoubleProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile() { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } /** - * - * *
          * Double type field information.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder - getDoubleProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder() { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5589,7 +4644,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 (java.lang.Double.doubleToRawLongBits(nullRatio_) != 0) { output.writeDouble(2, nullRatio_); } @@ -5600,25 +4655,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, topNValues_.get(i)); } if (fieldInfoCase_ == 101) { - output.writeMessage( - 101, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_); + output.writeMessage(101, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_); } if (fieldInfoCase_ == 102) { - output.writeMessage( - 102, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_); + output.writeMessage(102, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_); } if (fieldInfoCase_ == 103) { - output.writeMessage( - 103, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_); + output.writeMessage(103, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_); } getUnknownFields().writeTo(output); } @@ -5630,37 +4673,28 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(nullRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, nullRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, nullRatio_); } if (java.lang.Double.doubleToRawLongBits(distinctRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, distinctRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, distinctRatio_); } for (int i = 0; i < topNValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, topNValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, topNValues_.get(i)); } if (fieldInfoCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_); } if (fieldInfoCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_); } if (fieldInfoCase_ == 103) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 103, - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(103, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5670,31 +4704,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) obj; if (java.lang.Double.doubleToLongBits(getNullRatio()) - != java.lang.Double.doubleToLongBits(other.getNullRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getNullRatio())) return false; if (java.lang.Double.doubleToLongBits(getDistinctRatio()) - != java.lang.Double.doubleToLongBits(other.getDistinctRatio())) return false; - if (!getTopNValuesList().equals(other.getTopNValuesList())) return false; + != java.lang.Double.doubleToLongBits( + other.getDistinctRatio())) return false; + if (!getTopNValuesList() + .equals(other.getTopNValuesList())) return false; if (!getFieldInfoCase().equals(other.getFieldInfoCase())) return false; switch (fieldInfoCase_) { case 101: - if (!getStringProfile().equals(other.getStringProfile())) return false; + if (!getStringProfile() + .equals(other.getStringProfile())) return false; break; case 102: - if (!getIntegerProfile().equals(other.getIntegerProfile())) return false; + if (!getIntegerProfile() + .equals(other.getIntegerProfile())) return false; break; case 103: - if (!getDoubleProfile().equals(other.getDoubleProfile())) return false; + if (!getDoubleProfile() + .equals(other.getDoubleProfile())) return false; break; case 0: default: @@ -5711,15 +4748,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NULL_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getNullRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getNullRatio())); hash = (37 * hash) + DISTINCT_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistinctRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistinctRatio())); if (getTopNValuesCount() > 0) { hash = (37 * hash) + TOP_N_VALUES_FIELD_NUMBER; hash = (53 * hash) + getTopNValuesList().hashCode(); @@ -5745,105 +4778,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5853,44 +4871,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * The profile information for each field type.
          * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder - .class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5919,22 +4932,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = - buildPartial(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5942,21 +4952,16 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { if (topNValuesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { topNValues_ = java.util.Collections.unmodifiableList(topNValues_); @@ -5968,8 +4973,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.nullRatio_ = nullRatio_; @@ -5979,17 +4983,19 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { result.fieldInfoCase_ = fieldInfoCase_; result.fieldInfo_ = this.fieldInfo_; - if (fieldInfoCase_ == 101 && stringProfileBuilder_ != null) { + if (fieldInfoCase_ == 101 && + stringProfileBuilder_ != null) { result.fieldInfo_ = stringProfileBuilder_.build(); } - if (fieldInfoCase_ == 102 && integerProfileBuilder_ != null) { + if (fieldInfoCase_ == 102 && + integerProfileBuilder_ != null) { result.fieldInfo_ = integerProfileBuilder_.build(); } - if (fieldInfoCase_ == 103 && doubleProfileBuilder_ != null) { + if (fieldInfoCase_ == 103 && + doubleProfileBuilder_ != null) { result.fieldInfo_ = doubleProfileBuilder_.build(); } } @@ -5998,55 +5004,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance()) return this; if (other.getNullRatio() != 0D) { setNullRatio(other.getNullRatio()); } @@ -6071,35 +5068,30 @@ public Builder mergeFrom( topNValuesBuilder_ = null; topNValues_ = other.topNValues_; bitField0_ = (bitField0_ & ~0x00000004); - topNValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTopNValuesFieldBuilder() - : null; + topNValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTopNValuesFieldBuilder() : null; } else { topNValuesBuilder_.addAllMessages(other.topNValues_); } } } switch (other.getFieldInfoCase()) { - case STRING_PROFILE: - { - mergeStringProfile(other.getStringProfile()); - break; - } - case INTEGER_PROFILE: - { - mergeIntegerProfile(other.getIntegerProfile()); - break; - } - case DOUBLE_PROFILE: - { - mergeDoubleProfile(other.getDoubleProfile()); - break; - } - case FIELDINFO_NOT_SET: - { - break; - } + case STRING_PROFILE: { + mergeStringProfile(other.getStringProfile()); + break; + } + case INTEGER_PROFILE: { + mergeIntegerProfile(other.getIntegerProfile()); + break; + } + case DOUBLE_PROFILE: { + mergeDoubleProfile(other.getDoubleProfile()); + break; + } + case FIELDINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6127,63 +5119,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 17: - { - nullRatio_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 17 - case 25: - { - distinctRatio_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 34: - { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue - m = - input.readMessage( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.TopNValue.parser(), - extensionRegistry); - if (topNValuesBuilder_ == null) { - ensureTopNValuesIsMutable(); - topNValues_.add(m); - } else { - topNValuesBuilder_.addMessage(m); - } - break; - } // case 34 - case 810: - { - input.readMessage( - getStringProfileFieldBuilder().getBuilder(), extensionRegistry); - fieldInfoCase_ = 101; - break; - } // case 810 - case 818: - { - input.readMessage( - getIntegerProfileFieldBuilder().getBuilder(), extensionRegistry); - fieldInfoCase_ = 102; - break; - } // case 818 - case 826: - { - input.readMessage( - getDoubleProfileFieldBuilder().getBuilder(), extensionRegistry); - fieldInfoCase_ = 103; - break; - } // case 826 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 17: { + nullRatio_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 17 + case 25: { + distinctRatio_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 34: { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue m = + input.readMessage( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.parser(), + extensionRegistry); + if (topNValuesBuilder_ == null) { + ensureTopNValuesIsMutable(); + topNValues_.add(m); + } else { + topNValuesBuilder_.addMessage(m); + } + break; + } // case 34 + case 810: { + input.readMessage( + getStringProfileFieldBuilder().getBuilder(), + extensionRegistry); + fieldInfoCase_ = 101; + break; + } // case 810 + case 818: { + input.readMessage( + getIntegerProfileFieldBuilder().getBuilder(), + extensionRegistry); + fieldInfoCase_ = 102; + break; + } // case 818 + case 826: { + input.readMessage( + getDoubleProfileFieldBuilder().getBuilder(), + extensionRegistry); + fieldInfoCase_ = 103; + break; + } // case 826 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6193,12 +5178,12 @@ public Builder mergeFrom( } // finally return this; } - private int fieldInfoCase_ = 0; private java.lang.Object fieldInfo_; - - public FieldInfoCase getFieldInfoCase() { - return FieldInfoCase.forNumber(fieldInfoCase_); + public FieldInfoCase + getFieldInfoCase() { + return FieldInfoCase.forNumber( + fieldInfoCase_); } public Builder clearFieldInfo() { @@ -6210,16 +5195,13 @@ public Builder clearFieldInfo() { private int bitField0_; - private double nullRatio_; + private double nullRatio_ ; /** - * - * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; - * * @return The nullRatio. */ @java.lang.Override @@ -6227,14 +5209,11 @@ public double getNullRatio() { return nullRatio_; } /** - * - * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; - * * @param value The nullRatio to set. * @return This builder for chaining. */ @@ -6246,14 +5225,11 @@ public Builder setNullRatio(double value) { return this; } /** - * - * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; - * * @return This builder for chaining. */ public Builder clearNullRatio() { @@ -6263,10 +5239,8 @@ public Builder clearNullRatio() { return this; } - private double distinctRatio_; + private double distinctRatio_ ; /** - * - * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -6274,7 +5248,6 @@ public Builder clearNullRatio() {
            * 
* * double distinct_ratio = 3; - * * @return The distinctRatio. */ @java.lang.Override @@ -6282,8 +5255,6 @@ public double getDistinctRatio() { return distinctRatio_; } /** - * - * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -6291,7 +5262,6 @@ public double getDistinctRatio() {
            * 
* * double distinct_ratio = 3; - * * @param value The distinctRatio to set. * @return This builder for chaining. */ @@ -6303,8 +5273,6 @@ public Builder setDistinctRatio(double value) { return this; } /** - * - * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -6312,7 +5280,6 @@ public Builder setDistinctRatio(double value) {
            * 
* * double distinct_ratio = 3; - * * @return This builder for chaining. */ public Builder clearDistinctRatio() { @@ -6322,33 +5289,19 @@ public Builder clearDistinctRatio() { return this; } - private java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue> - topNValues_ = java.util.Collections.emptyList(); - + private java.util.List topNValues_ = + java.util.Collections.emptyList(); private void ensureTopNValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - topNValues_ = - new java.util.ArrayList< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue>(topNValues_); + topNValues_ = new java.util.ArrayList(topNValues_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder> - topNValuesBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder> topNValuesBuilder_; /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6357,14 +5310,9 @@ private void ensureTopNValuesIsMutable() {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue> - getTopNValuesList() { + public java.util.List getTopNValuesList() { if (topNValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(topNValues_); } else { @@ -6372,8 +5320,6 @@ private void ensureTopNValuesIsMutable() { } } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6382,9 +5328,7 @@ private void ensureTopNValuesIsMutable() {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public int getTopNValuesCount() { if (topNValuesBuilder_ == null) { @@ -6394,8 +5338,6 @@ public int getTopNValuesCount() { } } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6404,12 +5346,9 @@ public int getTopNValuesCount() {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - getTopNValues(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index) { if (topNValuesBuilder_ == null) { return topNValues_.get(index); } else { @@ -6417,8 +5356,6 @@ public int getTopNValuesCount() { } } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6427,14 +5364,10 @@ public int getTopNValuesCount() {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder setTopNValues( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - value) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6448,8 +5381,6 @@ public Builder setTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6458,15 +5389,10 @@ public Builder setTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder setTopNValues( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - builderForValue) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.set(index, builderForValue.build()); @@ -6477,8 +5403,6 @@ public Builder setTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6487,13 +5411,9 @@ public Builder setTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public Builder addTopNValues( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - value) { + public Builder addTopNValues(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6507,8 +5427,6 @@ public Builder addTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6517,14 +5435,10 @@ public Builder addTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder addTopNValues( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - value) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6538,8 +5452,6 @@ public Builder addTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6548,14 +5460,10 @@ public Builder addTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder addTopNValues( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.add(builderForValue.build()); @@ -6566,8 +5474,6 @@ public Builder addTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6576,15 +5482,10 @@ public Builder addTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder addTopNValues( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - builderForValue) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.add(index, builderForValue.build()); @@ -6595,8 +5496,6 @@ public Builder addTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6605,19 +5504,14 @@ public Builder addTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder addAllTopNValues( - java.lang.Iterable< - ? extends - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue> - values) { + java.lang.Iterable values) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topNValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, topNValues_); onChanged(); } else { topNValuesBuilder_.addAllMessages(values); @@ -6625,8 +5519,6 @@ public Builder addAllTopNValues( return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6635,9 +5527,7 @@ public Builder addAllTopNValues(
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder clearTopNValues() { if (topNValuesBuilder_ == null) { @@ -6650,8 +5540,6 @@ public Builder clearTopNValues() { return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6660,9 +5548,7 @@ public Builder clearTopNValues() {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ public Builder removeTopNValues(int index) { if (topNValuesBuilder_ == null) { @@ -6675,8 +5561,6 @@ public Builder removeTopNValues(int index) { return this; } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6685,18 +5569,13 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - getTopNValuesBuilder(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder getTopNValuesBuilder( + int index) { return getTopNValuesFieldBuilder().getBuilder(index); } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6705,22 +5584,16 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder - getTopNValuesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( + int index) { if (topNValuesBuilder_ == null) { - return topNValues_.get(index); - } else { + return topNValues_.get(index); } else { return topNValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6729,15 +5602,10 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public java.util.List< - ? extends - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder> - getTopNValuesOrBuilderList() { + public java.util.List + getTopNValuesOrBuilderList() { if (topNValuesBuilder_ != null) { return topNValuesBuilder_.getMessageOrBuilderList(); } else { @@ -6745,8 +5613,6 @@ public Builder removeTopNValues(int index) { } } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6755,21 +5621,13 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - addTopNValuesBuilder() { - return getTopNValuesFieldBuilder() - .addBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder addTopNValuesBuilder() { + return getTopNValuesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()); } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6778,22 +5636,14 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder - addTopNValuesBuilder(int index) { - return getTopNValuesFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder addTopNValuesBuilder( + int index) { + return getTopNValuesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()); } /** - * - * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -6802,34 +5652,18 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; - * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; */ - public java.util.List< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder> - getTopNValuesBuilderList() { + public java.util.List + getTopNValuesBuilderList() { return getTopNValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue - .Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder> getTopNValuesFieldBuilder() { if (topNValuesBuilder_ == null) { - topNValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValue.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .TopNValueOrBuilder>( + topNValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder>( topNValues_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -6840,24 +5674,13 @@ public Builder removeTopNValues(int index) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder> - stringProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder> stringProfileBuilder_; /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return Whether the stringProfile field is set. */ @java.lang.Override @@ -6865,53 +5688,35 @@ public boolean hasStringProfile() { return fieldInfoCase_ == 101; } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; * @return The stringProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - getStringProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile() { if (stringProfileBuilder_ == null) { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 101) { return stringProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ - public Builder setStringProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - value) { + public Builder setStringProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo value) { if (stringProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6925,20 +5730,14 @@ public Builder setStringProfile( return this; } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ public Builder setStringProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder builderForValue) { if (stringProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -6949,33 +5748,18 @@ public Builder setStringProfile( return this; } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ - public Builder mergeStringProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo - value) { + public Builder mergeStringProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo value) { if (stringProfileBuilder_ == null) { - if (fieldInfoCase_ == 101 - && fieldInfo_ - != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance()) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.StringFieldInfo) - fieldInfo_) - .mergeFrom(value) - .buildPartial(); + if (fieldInfoCase_ == 101 && + fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance()) { + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_) + .mergeFrom(value).buildPartial(); } else { fieldInfo_ = value; } @@ -6991,15 +5775,11 @@ public Builder mergeStringProfile( return this; } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ public Builder clearStringProfile() { if (stringProfileBuilder_ == null) { @@ -7018,84 +5798,50 @@ public Builder clearStringProfile() { return this; } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder - getStringProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder getStringProfileBuilder() { return getStringProfileFieldBuilder().getBuilder(); } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder - getStringProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder() { if ((fieldInfoCase_ == 101) && (stringProfileBuilder_ != null)) { return stringProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } } /** - * - * *
            * String type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder> getStringProfileFieldBuilder() { if (stringProfileBuilder_ == null) { if (!(fieldInfoCase_ == 101)) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.getDefaultInstance(); + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); } - stringProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .StringFieldInfo) - fieldInfo_, + stringProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -7106,24 +5852,13 @@ public Builder clearStringProfile() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder> - integerProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder> integerProfileBuilder_; /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return Whether the integerProfile field is set. */ @java.lang.Override @@ -7131,53 +5866,35 @@ public boolean hasIntegerProfile() { return fieldInfoCase_ == 102; } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; * @return The integerProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - getIntegerProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile() { if (integerProfileBuilder_ == null) { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 102) { return integerProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ - public Builder setIntegerProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - value) { + public Builder setIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo value) { if (integerProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7191,20 +5908,14 @@ public Builder setIntegerProfile( return this; } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ public Builder setIntegerProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder builderForValue) { if (integerProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -7215,33 +5926,18 @@ public Builder setIntegerProfile( return this; } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ - public Builder mergeIntegerProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo - value) { + public Builder mergeIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo value) { if (integerProfileBuilder_ == null) { - if (fieldInfoCase_ == 102 - && fieldInfo_ - != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance()) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.IntegerFieldInfo) - fieldInfo_) - .mergeFrom(value) - .buildPartial(); + if (fieldInfoCase_ == 102 && + fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance()) { + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_) + .mergeFrom(value).buildPartial(); } else { fieldInfo_ = value; } @@ -7257,15 +5953,11 @@ public Builder mergeIntegerProfile( return this; } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ public Builder clearIntegerProfile() { if (integerProfileBuilder_ == null) { @@ -7284,84 +5976,50 @@ public Builder clearIntegerProfile() { return this; } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder - getIntegerProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder getIntegerProfileBuilder() { return getIntegerProfileFieldBuilder().getBuilder(); } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder - getIntegerProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder() { if ((fieldInfoCase_ == 102) && (integerProfileBuilder_ != null)) { return integerProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } } /** - * - * *
            * Integer type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder> getIntegerProfileFieldBuilder() { if (integerProfileBuilder_ == null) { if (!(fieldInfoCase_ == 102)) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.getDefaultInstance(); + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); } - integerProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .IntegerFieldInfo) - fieldInfo_, + integerProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -7372,24 +6030,13 @@ public Builder clearIntegerProfile() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder> - doubleProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder> doubleProfileBuilder_; /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return Whether the doubleProfile field is set. */ @java.lang.Override @@ -7397,53 +6044,35 @@ public boolean hasDoubleProfile() { return fieldInfoCase_ == 103; } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; * @return The doubleProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - getDoubleProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile() { if (doubleProfileBuilder_ == null) { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 103) { return doubleProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ - public Builder setDoubleProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - value) { + public Builder setDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo value) { if (doubleProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7457,20 +6086,14 @@ public Builder setDoubleProfile( return this; } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ public Builder setDoubleProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder builderForValue) { if (doubleProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -7481,33 +6104,18 @@ public Builder setDoubleProfile( return this; } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ - public Builder mergeDoubleProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo - value) { + public Builder mergeDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo value) { if (doubleProfileBuilder_ == null) { - if (fieldInfoCase_ == 103 - && fieldInfo_ - != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance()) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo.DoubleFieldInfo) - fieldInfo_) - .mergeFrom(value) - .buildPartial(); + if (fieldInfoCase_ == 103 && + fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance()) { + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_) + .mergeFrom(value).buildPartial(); } else { fieldInfo_ = value; } @@ -7523,15 +6131,11 @@ public Builder mergeDoubleProfile( return this; } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ public Builder clearDoubleProfile() { if (doubleProfileBuilder_ == null) { @@ -7550,84 +6154,50 @@ public Builder clearDoubleProfile() { return this; } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder - getDoubleProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder getDoubleProfileBuilder() { return getDoubleProfileFieldBuilder().getBuilder(); } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder - getDoubleProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder() { if ((fieldInfoCase_ == 103) && (doubleProfileBuilder_ != null)) { return doubleProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } } /** - * - * *
            * Double type field information.
            * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder> getDoubleProfileFieldBuilder() { if (doubleProfileBuilder_ == null) { if (!(fieldInfoCase_ == 103)) { - fieldInfo_ = - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.getDefaultInstance(); + fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); } - doubleProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .DoubleFieldInfo) - fieldInfo_, + doubleProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -7636,7 +6206,6 @@ public Builder clearDoubleProfile() { onChanged(); return doubleProfileBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7649,46 +6218,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProfileInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProfileInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7700,25 +6264,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
        * The name of the field.
        * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -7727,29 +6287,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 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 { @@ -7758,12 +6318,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7773,7 +6330,6 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -7782,15 +6338,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7800,15 +6355,16 @@ public java.lang.String getType() {
        * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -7817,12 +6373,9 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int MODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** - * - * *
        * The mode of the field. Possible values include:
        *
@@ -7832,7 +6385,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
        * 
* * string mode = 3; - * * @return The mode. */ @java.lang.Override @@ -7841,15 +6393,14 @@ public java.lang.String getMode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; } } /** - * - * *
        * The mode of the field. Possible values include:
        *
@@ -7859,15 +6410,16 @@ public java.lang.String getMode() {
        * 
* * string mode = 3; - * * @return The bytes for mode. */ @java.lang.Override - public com.google.protobuf.ByteString getModeBytes() { + public com.google.protobuf.ByteString + getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mode_ = b; return b; } else { @@ -7878,15 +6430,11 @@ public com.google.protobuf.ByteString getModeBytes() { public static final int PROFILE_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile_; /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return Whether the profile field is set. */ @java.lang.Override @@ -7894,45 +6442,30 @@ public boolean hasProfile() { return profile_ != null; } /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return The profile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile() { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance() - : profile_; + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; } /** - * - * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder - getProfileOrBuilder() { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance() - : profile_; + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder() { + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7944,7 +6477,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7976,7 +6510,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mode_); } if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProfile()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7986,20 +6521,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) obj; - if (!getName().equals(other.getName())) return false; - if (!getType().equals(other.getType())) return false; - if (!getMode().equals(other.getMode())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getMode() + .equals(other.getMode())) return false; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile().equals(other.getProfile())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -8028,94 +6566,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8125,41 +6658,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A field within a table.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8176,14 +6707,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance(); } @@ -8198,17 +6728,13 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -8220,7 +6746,9 @@ private void buildPartial0( result.mode_ = mode_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.profile_ = profileBuilder_ == null ? profile_ : profileBuilder_.build(); + result.profile_ = profileBuilder_ == null + ? profile_ + : profileBuilder_.build(); } } @@ -8228,52 +6756,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -8318,37 +6840,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - mode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8358,25 +6877,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
          * The name of 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; @@ -8385,21 +6901,20 @@ public java.lang.String getName() { } } /** - * - * *
          * The name of 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 { @@ -8407,35 +6922,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The name of the field.
          * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * The name of the field.
          * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -8445,21 +6953,17 @@ public Builder clearName() { return this; } /** - * - * *
          * The name of 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -8469,8 +6973,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -8480,13 +6982,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
          * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -8495,8 +6997,6 @@ public java.lang.String getType() { } } /** - * - * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -8506,14 +7006,15 @@ public java.lang.String getType() {
          * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -8521,8 +7022,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -8532,22 +7031,18 @@ public com.google.protobuf.ByteString getTypeBytes() {
          * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -8557,7 +7052,6 @@ public Builder setType(java.lang.String value) {
          * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -8567,8 +7061,6 @@ public Builder clearType() { return this; } /** - * - * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -8578,14 +7070,12 @@ public Builder clearType() {
          * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -8595,8 +7085,6 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object mode_ = ""; /** - * - * *
          * The mode of the field. Possible values include:
          *
@@ -8606,13 +7094,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
          * 
* * string mode = 3; - * * @return The mode. */ public java.lang.String getMode() { java.lang.Object ref = mode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; @@ -8621,8 +7109,6 @@ public java.lang.String getMode() { } } /** - * - * *
          * The mode of the field. Possible values include:
          *
@@ -8632,14 +7118,15 @@ public java.lang.String getMode() {
          * 
* * string mode = 3; - * * @return The bytes for mode. */ - public com.google.protobuf.ByteString getModeBytes() { + public com.google.protobuf.ByteString + getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mode_ = b; return b; } else { @@ -8647,8 +7134,6 @@ public com.google.protobuf.ByteString getModeBytes() { } } /** - * - * *
          * The mode of the field. Possible values include:
          *
@@ -8658,22 +7143,18 @@ public com.google.protobuf.ByteString getModeBytes() {
          * 
* * string mode = 3; - * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } mode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * The mode of the field. Possible values include:
          *
@@ -8683,7 +7164,6 @@ public Builder setMode(java.lang.String value) {
          * 
* * string mode = 3; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -8693,8 +7173,6 @@ public Builder clearMode() { return this; } /** - * - * *
          * The mode of the field. Possible values include:
          *
@@ -8704,14 +7182,12 @@ public Builder clearMode() {
          * 
* * string mode = 3; - * * @param value The bytes for mode to set. * @return This builder for chaining. */ - public Builder setModeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setModeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mode_ = value; bitField0_ |= 0x00000004; @@ -8721,60 +7197,41 @@ public Builder setModeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> - profileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> profileBuilder_; /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return Whether the profile field is set. */ public boolean hasProfile() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; * @return The profile. */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - getProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile() { if (profileBuilder_ == null) { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance() - : profile_; + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; } else { return profileBuilder_.getMessage(); } } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ - public Builder setProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { + public Builder setProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { if (profileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8788,18 +7245,14 @@ public Builder setProfile( return this; } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ public Builder setProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue) { if (profileBuilder_ == null) { profile_ = builderForValue.build(); } else { @@ -8810,23 +7263,17 @@ public Builder setProfile( return this; } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ - public Builder mergeProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { + public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { if (profileBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && profile_ != null - && profile_ - != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + profile_ != null && + profile_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance()) { getProfileBuilder().mergeFrom(value); } else { profile_ = value; @@ -8839,14 +7286,11 @@ public Builder mergeProfile( return this; } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ public Builder clearProfile() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8859,70 +7303,52 @@ public Builder clearProfile() { return this; } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder - getProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder getProfileBuilder() { bitField0_ |= 0x00000008; onChanged(); return getProfileFieldBuilder().getBuilder(); } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder - getProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder() { if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .getDefaultInstance() - : profile_; + return profile_ == null ? + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; } } /** - * - * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; - * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { - profileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo - .Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - .ProfileInfoOrBuilder>(getProfile(), getParentForChildren(), isClean()); + profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder>( + getProfile(), + getParentForChildren(), + isClean()); profile_ = null; } return profileBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8935,44 +7361,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Field parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Field parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8984,19 +7407,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int FIELDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -9004,13 +7424,10 @@ public com.google.protobuf.Parser getParserForType() { * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ @java.lang.Override - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { return fields_; } /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -9018,14 +7435,11 @@ public com.google.protobuf.Parser getParserForType() { * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -9037,8 +7451,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -9050,8 +7462,6 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(in return fields_.get(index); } /** - * - * *
      * List of fields with structural and profile information for each field.
      * 
@@ -9065,7 +7475,6 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder get } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9077,7 +7486,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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(2, fields_.get(i)); } @@ -9091,7 +7501,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9101,15 +7512,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile other = - (com.google.cloud.dataplex.v1.DataProfileResult.Profile) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile) obj; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9131,94 +7542,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9228,41 +7634,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains name, type, mode and field type specific profile information.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile) com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -9278,9 +7682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override @@ -9299,18 +7703,14 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile result = - new com.google.cloud.dataplex.v1.DataProfileResult.Profile(this); + com.google.cloud.dataplex.v1.DataProfileResult.Profile result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.DataProfileResult.Profile result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -9330,41 +7730,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile)other); } else { super.mergeFrom(other); return this; @@ -9372,8 +7769,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -9392,10 +7788,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile 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_); } @@ -9427,27 +7822,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field m = - input.readMessage( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field m = + input.readMessage( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9457,38 +7850,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> - fieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> fieldsBuilder_; /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -9496,8 +7879,6 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9512,8 +7893,6 @@ public int getFieldsCount() { } } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9528,8 +7907,6 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(in } } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9551,8 +7928,6 @@ public Builder setFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9560,8 +7935,7 @@ public Builder setFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder setFields( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -9572,8 +7946,6 @@ public Builder setFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9594,8 +7966,6 @@ public Builder addFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile. return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9617,8 +7987,6 @@ public Builder addFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9637,8 +8005,6 @@ public Builder addFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9646,8 +8012,7 @@ public Builder addFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder addFields( - int index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { + int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -9658,8 +8023,6 @@ public Builder addFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9667,11 +8030,11 @@ public Builder addFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder addAllFields( - java.lang.Iterable - values) { + 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); @@ -9679,8 +8042,6 @@ public Builder addAllFields( return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9698,8 +8059,6 @@ public Builder clearFields() { return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9717,8 +8076,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9730,34 +8087,28 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder getF return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder - getFieldsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List< - ? extends com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -9765,23 +8116,17 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder getF } } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder - addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder addFieldsBuilder() { + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
@@ -9790,42 +8135,34 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder getF */ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); } /** - * - * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9838,12 +8175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile) private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile(); } @@ -9852,28 +8189,27 @@ public static com.google.cloud.dataplex.v1.DataProfileResult.Profile getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Profile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Profile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9888,180 +8224,138 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileResult.Profile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PostScanActionsResultOrBuilder - extends + public interface PostScanActionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); } /** - * - * *
    * The result of post scan actions of DataProfileScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult} */ - public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PostScanActionsResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PostScanActionsResult() {} + private PostScanActionsResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder - extends + public interface BigQueryExportResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - .State - getState(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState(); /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryExportResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -10069,41 +8363,34 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder.class); } /** - * - * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code - * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The exporting state is unspecified.
          * 
@@ -10112,8 +8399,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The exporting completed successfully.
          * 
@@ -10122,8 +8407,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -10132,8 +8415,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -10146,8 +8427,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * The exporting state is unspecified.
          * 
@@ -10156,8 +8435,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The exporting completed successfully.
          * 
@@ -10166,8 +8443,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -10176,8 +8451,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -10187,6 +8460,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int SKIPPED_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -10211,55 +8485,50 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0:
-              return STATE_UNSPECIFIED;
-            case 1:
-              return SUCCEEDED;
-            case 2:
-              return FAILED;
-            case 3:
-              return SKIPPED;
-            default:
-              return null;
+            case 0: return STATE_UNSPECIFIED;
+            case 1: return SUCCEEDED;
+            case 2: return FAILED;
+            case 3: return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult
-              .BigQueryExportResult.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.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.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -10279,63 +8548,38 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
-       *
-       *
        * 
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State - getState() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - .State - result = - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ @java.lang.Override @@ -10344,29 +8588,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -10375,7 +8619,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10387,11 +8630,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -10406,11 +8647,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -10423,22 +8662,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - other = - (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult) - obj; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10459,116 +8692,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10578,46 +8785,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -10628,25 +8828,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - build() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult build() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10654,24 +8848,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - result = - new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -10685,60 +8869,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -10773,25 +8943,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10801,38 +8968,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -10843,50 +8998,28 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State - getState() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - .State - result = - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State.UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.State - value) { + public Builder setState(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State value) { if (value == null) { throw new NullPointerException(); } @@ -10896,16 +9029,11 @@ public Builder setState( return this; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -10917,20 +9045,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -10939,21 +9065,20 @@ public java.lang.String getMessage() { } } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -10961,35 +9086,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -10999,28 +9117,23 @@ public Builder clearMessage() { return this; } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11033,48 +9146,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11086,28 +9192,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -11115,49 +9213,30 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11169,7 +9248,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -11183,8 +9263,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -11194,17 +9274,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other = - (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult() + .equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -11227,95 +9307,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11325,42 +9399,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The result of post scan actions of DataProfileScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -11374,22 +9445,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult build() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = - buildPartial(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11398,23 +9466,18 @@ public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult buil @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = - new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = - bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -11422,53 +9485,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other) { + if (other == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -11498,20 +9554,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11521,75 +9576,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder> - bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult - getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - value) { + public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11603,20 +9628,14 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - .Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -11627,25 +9646,17 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBigqueryExportResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult - value) { + public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryExportResult_ != null - && bigqueryExportResult_ - != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryExportResult_ != null && + bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -11658,15 +9669,11 @@ public Builder mergeBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -11679,80 +9686,52 @@ public Builder clearBigqueryExportResult() { return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder - getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), getParentForChildren(), isClean()); + bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), + getParentForChildren(), + isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11765,44 +9744,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11814,23 +9790,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ROW_COUNT_FIELD_NUMBER = 3; private long rowCount_ = 0L; /** - * - * *
    * The count of rows scanned.
    * 
* * int64 row_count = 3; - * * @return The rowCount. */ @java.lang.Override @@ -11841,14 +9814,11 @@ public long getRowCount() { public static final int PROFILE_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileResult.Profile profile_; /** - * - * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return Whether the profile field is set. */ @java.lang.Override @@ -11856,25 +9826,18 @@ public boolean hasProfile() { return profile_ != null; } /** - * - * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return The profile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() - : profile_; + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; } /** - * - * *
    * The profile information per field.
    * 
@@ -11883,22 +9846,17 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfileOrBuilder() { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() - : profile_; + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; } public static final int SCANNED_DATA_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.ScannedData scannedData_; /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return Whether the scannedData field is set. */ @java.lang.Override @@ -11906,25 +9864,18 @@ public boolean hasScannedData() { return scannedData_ != null; } /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return The scannedData. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData getScannedData() { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } /** - * - * *
    * The data scanned for this result.
    * 
@@ -11933,25 +9884,17 @@ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 6; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult postScanActionsResult_; /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -11959,46 +9902,30 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - getPostScanActionsResult() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12010,7 +9937,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(3, rowCount_); } @@ -12033,17 +9961,20 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, rowCount_); } if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProfile()); } if (scannedData_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScannedData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScannedData()); } if (postScanActionsResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPostScanActionsResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPostScanActionsResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12053,26 +9984,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult other = - (com.google.cloud.dataplex.v1.DataProfileResult) obj; + com.google.cloud.dataplex.v1.DataProfileResult other = (com.google.cloud.dataplex.v1.DataProfileResult) obj; - if (getRowCount() != other.getRowCount()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile().equals(other.getProfile())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; } if (hasScannedData() != other.hasScannedData()) return false; if (hasScannedData()) { - if (!getScannedData().equals(other.getScannedData())) return false; + if (!getScannedData() + .equals(other.getScannedData())) return false; } if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult() + .equals(other.getPostScanActionsResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -12086,7 +10020,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); 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()); if (hasProfile()) { hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); @@ -12104,104 +10039,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataProfileResult defines the output of DataProfileScan. Each field of the
    * table will have field type specific profile result.
@@ -12209,32 +10139,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult)
       com.google.cloud.dataplex.v1.DataProfileResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataProfileProto
-          .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataProfileProto
-          .internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataProfileResult.class,
-              com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataProfileResult.class, com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataProfileResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -12259,9 +10190,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataProfileProto
-          .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
     }
 
     @java.lang.Override
@@ -12280,11 +10211,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataProfileResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataProfileResult result =
-          new com.google.cloud.dataplex.v1.DataProfileResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataProfileResult result = new com.google.cloud.dataplex.v1.DataProfileResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -12295,17 +10223,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult result
         result.rowCount_ = rowCount_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.profile_ = profileBuilder_ == null ? profile_ : profileBuilder_.build();
+        result.profile_ = profileBuilder_ == null
+            ? profile_
+            : profileBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.scannedData_ =
-            scannedDataBuilder_ == null ? scannedData_ : scannedDataBuilder_.build();
+        result.scannedData_ = scannedDataBuilder_ == null
+            ? scannedData_
+            : scannedDataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.postScanActionsResult_ =
-            postScanActionsResultBuilder_ == null
-                ? postScanActionsResult_
-                : postScanActionsResultBuilder_.build();
+        result.postScanActionsResult_ = postScanActionsResultBuilder_ == null
+            ? postScanActionsResult_
+            : postScanActionsResultBuilder_.build();
       }
     }
 
@@ -12313,39 +10243,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -12392,38 +10321,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 24:
-              {
-                rowCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getProfileFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getScannedDataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 24: {
+              rowCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getProfileFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getScannedDataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getPostScanActionsResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12433,19 +10362,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long rowCount_;
+    private long rowCount_ ;
     /**
-     *
-     *
      * 
      * The count of rows scanned.
      * 
* * int64 row_count = 3; - * * @return The rowCount. */ @java.lang.Override @@ -12453,14 +10378,11 @@ public long getRowCount() { return rowCount_; } /** - * - * *
      * The count of rows scanned.
      * 
* * int64 row_count = 3; - * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -12472,14 +10394,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * The count of rows scanned.
      * 
* * int64 row_count = 3; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -12491,47 +10410,34 @@ public Builder clearRowCount() { private com.google.cloud.dataplex.v1.DataProfileResult.Profile profile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> - profileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> profileBuilder_; /** - * - * *
      * The profile information per field.
      * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return Whether the profile field is set. */ public boolean hasProfile() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The profile information per field.
      * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return The profile. */ public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { if (profileBuilder_ == null) { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() - : profile_; + return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; } else { return profileBuilder_.getMessage(); } } /** - * - * *
      * The profile information per field.
      * 
@@ -12552,8 +10458,6 @@ public Builder setProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile return this; } /** - * - * *
      * The profile information per field.
      * 
@@ -12572,8 +10476,6 @@ public Builder setProfile( return this; } /** - * - * *
      * The profile information per field.
      * 
@@ -12582,10 +10484,9 @@ public Builder setProfile( */ public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile value) { if (profileBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && profile_ != null - && profile_ - != com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + profile_ != null && + profile_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) { getProfileBuilder().mergeFrom(value); } else { profile_ = value; @@ -12598,8 +10499,6 @@ public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profi return this; } /** - * - * *
      * The profile information per field.
      * 
@@ -12617,8 +10516,6 @@ public Builder clearProfile() { return this; } /** - * - * *
      * The profile information per field.
      * 
@@ -12631,8 +10528,6 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder getProfile return getProfileFieldBuilder().getBuilder(); } /** - * - * *
      * The profile information per field.
      * 
@@ -12643,14 +10538,11 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { - return profile_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() - : profile_; + return profile_ == null ? + com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; } } /** - * - * *
      * The profile information per field.
      * 
@@ -12658,17 +10550,14 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { - profileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder>( - getProfile(), getParentForChildren(), isClean()); + profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder>( + getProfile(), + getParentForChildren(), + isClean()); profile_ = null; } return profileBuilder_; @@ -12676,47 +10565,34 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil private com.google.cloud.dataplex.v1.ScannedData scannedData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder> - scannedDataBuilder_; + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> scannedDataBuilder_; /** - * - * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return Whether the scannedData field is set. */ public boolean hasScannedData() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return The scannedData. */ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { if (scannedDataBuilder_ == null) { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } else { return scannedDataBuilder_.getMessage(); } } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12737,8 +10613,6 @@ public Builder setScannedData(com.google.cloud.dataplex.v1.ScannedData value) { return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12757,8 +10631,6 @@ public Builder setScannedData( return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12767,9 +10639,9 @@ public Builder setScannedData( */ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && scannedData_ != null - && scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + scannedData_ != null && + scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { getScannedDataBuilder().mergeFrom(value); } else { scannedData_ = value; @@ -12782,8 +10654,6 @@ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12801,8 +10671,6 @@ public Builder clearScannedData() { return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12815,8 +10683,6 @@ public com.google.cloud.dataplex.v1.ScannedData.Builder getScannedDataBuilder() return getScannedDataFieldBuilder().getBuilder(); } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12827,14 +10693,11 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder if (scannedDataBuilder_ != null) { return scannedDataBuilder_.getMessageOrBuilder(); } else { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? + com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } } /** - * - * *
      * The data scanned for this result.
      * 
@@ -12842,82 +10705,56 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> getScannedDataFieldBuilder() { if (scannedDataBuilder_ == null) { - scannedDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( - getScannedData(), getParentForChildren(), isClean()); + scannedDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( + getScannedData(), + getParentForChildren(), + isClean()); scannedData_ = null; } return scannedDataBuilder_; } - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> - postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { + public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12931,19 +10768,14 @@ public Builder setPostScanActionsResult( return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { @@ -12954,24 +10786,17 @@ public Builder setPostScanActionsResult( return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergePostScanActionsResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { + public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && postScanActionsResult_ != null - && postScanActionsResult_ - != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + postScanActionsResult_ != null && + postScanActionsResult_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -12984,15 +10809,11 @@ public Builder mergePostScanActionsResult( return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00000008); @@ -13005,74 +10826,55 @@ public Builder clearPostScanActionsResult() { return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder - getPostScanActionsResultBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult - .getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), getParentForChildren(), isClean()); + postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), + getParentForChildren(), + isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -13082,12 +10884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult) private static final com.google.cloud.dataplex.v1.DataProfileResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult(); } @@ -13096,27 +10898,27 @@ public static com.google.cloud.dataplex.v1.DataProfileResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13131,4 +10933,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java index 9c446bc41705..2d98ab2d2114 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; -public interface DataProfileResultOrBuilder - extends +public interface DataProfileResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The count of rows scanned.
    * 
* * int64 row_count = 3; - * * @return The rowCount. */ long getRowCount(); /** - * - * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return Whether the profile field is set. */ boolean hasProfile(); /** - * - * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; - * * @return The profile. */ com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile(); /** - * - * *
    * The profile information per field.
    * 
@@ -72,32 +45,24 @@ public interface DataProfileResultOrBuilder com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfileOrBuilder(); /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return Whether the scannedData field is set. */ boolean hasScannedData(); /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; - * * @return The scannedData. */ com.google.cloud.dataplex.v1.ScannedData getScannedData(); /** - * - * *
    * The data scanned for this result.
    * 
@@ -107,44 +72,29 @@ public interface DataProfileResultOrBuilder com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java index da4c3ebe9fe9..09c461581a48 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java @@ -1,167 +1,126 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataProfileScan related setting.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec} */ -public final class DataProfileSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfileSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec) DataProfileSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfileSpec.newBuilder() to construct. private DataProfileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileSpec() { rowFilter_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.class, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.class, com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); } - public interface PostScanActionsOrBuilder - extends + public interface PostScanActionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ boolean hasBigqueryExport(); /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport(); /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder(); } /** - * - * *
    * The configuration of post scan actions of DataProfileScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions} */ - public static final class PostScanActions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PostScanActions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) PostScanActionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActions.newBuilder() to construct. private PostScanActions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PostScanActions() {} + private PostScanActions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PostScanActions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); } - public interface BigQueryExportOrBuilder - extends + public interface BigQueryExportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -169,13 +128,10 @@ public interface BigQueryExportOrBuilder
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ java.lang.String getResultsTable(); /** - * - * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -183,63 +139,55 @@ public interface BigQueryExportOrBuilder
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ - com.google.protobuf.ByteString getResultsTableBytes(); + com.google.protobuf.ByteString + getResultsTableBytes(); } /** - * - * *
      * The configuration of BigQuery export post scan action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} */ - public static final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryExport extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) BigQueryExportOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExport.newBuilder() to construct. private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExport() { resultsTable_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExport(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder - .class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder.class); } public static final int RESULTS_TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object resultsTable_ = ""; /** - * - * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -247,7 +195,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ @java.lang.Override @@ -256,15 +203,14 @@ public java.lang.String getResultsTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; } } /** - * - * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -272,15 +218,16 @@ public java.lang.String getResultsTable() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ @java.lang.Override - public com.google.protobuf.ByteString getResultsTableBytes() { + public com.google.protobuf.ByteString + getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -289,7 +236,6 @@ public com.google.protobuf.ByteString getResultsTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultsTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resultsTable_); } @@ -325,17 +272,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other = - (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other = (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) obj; - if (!getResultsTable().equals(other.getResultsTable())) return false; + if (!getResultsTable() + .equals(other.getResultsTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -354,103 +299,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -460,44 +392,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The configuration of BigQuery export post scan action.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} + * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -507,22 +434,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport build() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = - buildPartial(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -530,19 +454,14 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExpo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = - new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport buildPartial() { + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultsTable_ = resultsTable_; @@ -553,56 +472,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) { + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other) { + if (other == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance()) return this; if (!other.getResultsTable().isEmpty()) { resultsTable_ = other.resultsTable_; bitField0_ |= 0x00000001; @@ -634,19 +543,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resultsTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resultsTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -656,13 +563,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resultsTable_ = ""; /** - * - * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -670,13 +574,13 @@ public Builder mergeFrom(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ public java.lang.String getResultsTable() { java.lang.Object ref = resultsTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; @@ -685,8 +589,6 @@ public java.lang.String getResultsTable() { } } /** - * - * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -694,14 +596,15 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ - public com.google.protobuf.ByteString getResultsTableBytes() { + public com.google.protobuf.ByteString + getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -709,8 +612,6 @@ public com.google.protobuf.ByteString getResultsTableBytes() { } } /** - * - * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -718,22 +619,18 @@ public com.google.protobuf.ByteString getResultsTableBytes() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResultsTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -741,7 +638,6 @@ public Builder setResultsTable(java.lang.String value) {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearResultsTable() { @@ -751,8 +647,6 @@ public Builder clearResultsTable() { return this; } /** - * - * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -760,21 +654,18 @@ public Builder clearResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResultsTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -787,46 +678,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - .BigQueryExport - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,27 +724,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_EXPORT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - bigqueryExport_; + private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigqueryExport_; /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ @java.lang.Override @@ -866,50 +746,32 @@ public boolean hasBigqueryExport() { return bigqueryExport_ != null; } /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - getBigqueryExport() { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport() { + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder() { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -921,7 +783,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryExport_ != null) { output.writeMessage(1, getBigqueryExport()); } @@ -935,7 +798,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryExport()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -945,17 +809,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other = - (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other = (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) obj; if (hasBigqueryExport() != other.hasBigqueryExport()) return false; if (hasBigqueryExport()) { - if (!getBigqueryExport().equals(other.getBigqueryExport())) return false; + if (!getBigqueryExport() + .equals(other.getBigqueryExport())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -978,94 +842,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1075,41 +934,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The configuration of post scan actions of DataProfileScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1123,14 +980,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance(); } @@ -1145,21 +1001,18 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result = - new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExport_ = - bigqueryExportBuilder_ == null ? bigqueryExport_ : bigqueryExportBuilder_.build(); + result.bigqueryExport_ = bigqueryExportBuilder_ == null + ? bigqueryExport_ + : bigqueryExportBuilder_.build(); } } @@ -1167,41 +1020,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)other); } else { super.mergeFrom(other); return this; @@ -1209,9 +1059,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) return this; if (other.hasBigqueryExport()) { mergeBigqueryExport(other.getBigqueryExport()); } @@ -1241,20 +1089,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryExportFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryExportFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1264,72 +1111,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - bigqueryExport_; + private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigqueryExport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> - bigqueryExportBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> bigqueryExportBuilder_; /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ public boolean hasBigqueryExport() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - getBigqueryExport() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport() { if (bigqueryExportBuilder_ == null) { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } else { return bigqueryExportBuilder_.getMessage(); } } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { + public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1343,20 +1166,15 @@ public Builder setBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder builderForValue) { if (bigqueryExportBuilder_ == null) { bigqueryExport_ = builderForValue.build(); } else { @@ -1367,25 +1185,18 @@ public Builder setBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeBigqueryExport( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { + public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryExport_ != null - && bigqueryExport_ - != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryExport_ != null && + bigqueryExport_ != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance()) { getBigqueryExportBuilder().mergeFrom(value); } else { bigqueryExport_ = value; @@ -1398,16 +1209,12 @@ public Builder mergeBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearBigqueryExport() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1420,77 +1227,55 @@ public Builder clearBigqueryExport() { return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder - getBigqueryExportBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder getBigqueryExportBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { if (bigqueryExportBuilder_ != null) { return bigqueryExportBuilder_.getMessageOrBuilder(); } else { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + return bigqueryExport_ == null ? + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> getBigqueryExportFieldBuilder() { if (bigqueryExportBuilder_ == null) { - bigqueryExportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport - .Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - .BigQueryExportOrBuilder>( - getBigqueryExport(), getParentForChildren(), isClean()); + bigqueryExportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder>( + getBigqueryExport(), + getParentForChildren(), + isClean()); bigqueryExport_ = null; } return bigqueryExportBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1503,44 +1288,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1552,20 +1334,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SelectedFieldsOrBuilder - extends + public interface SelectedFieldsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1577,13 +1356,11 @@ public interface SelectedFieldsOrBuilder
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fieldNames. */ - java.util.List getFieldNamesList(); + java.util.List + getFieldNamesList(); /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1595,13 +1372,10 @@ public interface SelectedFieldsOrBuilder
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fieldNames. */ int getFieldNamesCount(); /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1613,14 +1387,11 @@ public interface SelectedFieldsOrBuilder
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ java.lang.String getFieldNames(int index); /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1632,64 +1403,58 @@ public interface SelectedFieldsOrBuilder
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - com.google.protobuf.ByteString getFieldNamesBytes(int index); + com.google.protobuf.ByteString + getFieldNamesBytes(int index); } /** - * - * *
    * The specification for fields to include or exclude in data profile scan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields} */ - public static final class SelectedFields extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SelectedFields extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) SelectedFieldsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SelectedFields.newBuilder() to construct. private SelectedFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SelectedFields() { - fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fieldNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SelectedFields(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); } public static final int FIELD_NAMES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1701,15 +1466,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { + public com.google.protobuf.ProtocolStringList + getFieldNamesList() { return fieldNames_; } /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1721,15 +1484,12 @@ public com.google.protobuf.ProtocolStringList getFieldNamesList() {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1741,7 +1501,6 @@ public int getFieldNamesCount() {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -1749,8 +1508,6 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** - * - * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1762,16 +1519,15 @@ public java.lang.String getFieldNames(int index) {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString + getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1783,7 +1539,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < fieldNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i)); } @@ -1812,15 +1569,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other = - (com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other = (com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) obj; - if (!getFieldNamesList().equals(other.getFieldNamesList())) return false; + if (!getFieldNamesList() + .equals(other.getFieldNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1842,94 +1599,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1939,58 +1691,56 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The specification for fields to include or exclude in data profile scan.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fieldNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance(); } @@ -2005,17 +1755,13 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result = - new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result = new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { fieldNames_.makeImmutable(); @@ -2027,41 +1773,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)other); } else { super.mergeFrom(other); return this; @@ -2069,9 +1812,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other) { - if (other - == com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) return this; if (!other.fieldNames_.isEmpty()) { if (fieldNames_.isEmpty()) { fieldNames_ = other.fieldNames_; @@ -2108,20 +1849,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFieldNamesIsMutable(); - fieldNames_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFieldNamesIsMutable(); + fieldNames_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2131,12 +1870,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFieldNamesIsMutable() { if (!fieldNames_.isModifiable()) { fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_); @@ -2144,8 +1881,6 @@ private void ensureFieldNamesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2157,16 +1892,14 @@ private void ensureFieldNamesIsMutable() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { + public com.google.protobuf.ProtocolStringList + getFieldNamesList() { fieldNames_.makeImmutable(); return fieldNames_; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2178,15 +1911,12 @@ public com.google.protobuf.ProtocolStringList getFieldNamesList() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2198,7 +1928,6 @@ public int getFieldNamesCount() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -2206,8 +1935,6 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2219,16 +1946,14 @@ public java.lang.String getFieldNames(int index) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString + getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2240,15 +1965,13 @@ public com.google.protobuf.ByteString getFieldNamesBytes(int index) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The fieldNames to set. * @return This builder for chaining. */ - public Builder setFieldNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2256,8 +1979,6 @@ public Builder setFieldNames(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2269,14 +1990,12 @@ public Builder setFieldNames(int index, java.lang.String value) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFieldNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); bitField0_ |= 0x00000001; @@ -2284,8 +2003,6 @@ public Builder addFieldNames(java.lang.String value) { return this; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2297,20 +2014,19 @@ public Builder addFieldNames(java.lang.String value) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The fieldNames to add. * @return This builder for chaining. */ - public Builder addAllFieldNames(java.lang.Iterable values) { + public Builder addAllFieldNames( + java.lang.Iterable values) { ensureFieldNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2322,19 +2038,16 @@ public Builder addAllFieldNames(java.lang.Iterable values) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFieldNames() { - fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + fieldNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2346,14 +2059,12 @@ public Builder clearFieldNames() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFieldNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFieldNamesIsMutable(); fieldNames_.add(value); @@ -2361,7 +2072,6 @@ public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2374,13 +2084,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(); } @@ -2389,28 +2098,27 @@ public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SelectedFields parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelectedFields parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2425,13 +2133,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 2; private float samplingPercent_ = 0F; /** - * - * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -2443,7 +2150,6 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultIns
    * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ @java.lang.Override @@ -2452,12 +2158,9 @@ public float getSamplingPercent() { } public static final int ROW_FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object rowFilter_ = ""; /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2466,7 +2169,6 @@ public float getSamplingPercent() {
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ @java.lang.Override @@ -2475,15 +2177,14 @@ public java.lang.String getRowFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; } } /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2492,15 +2193,16 @@ public java.lang.String getRowFilter() {
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getRowFilterBytes() { + public com.google.protobuf.ByteString + getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -2511,16 +2213,11 @@ public com.google.protobuf.ByteString getRowFilterBytes() { public static final int POST_SCAN_ACTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions postScanActions_; /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ @java.lang.Override @@ -2528,48 +2225,32 @@ public boolean hasPostScanActions() { return postScanActions_ != null; } /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions() { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; } /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder() { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() - : postScanActions_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; } public static final int INCLUDE_FIELDS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields includeFields_; /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -2577,10 +2258,7 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanA
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the includeFields field is set. */ @java.lang.Override @@ -2588,8 +2266,6 @@ public boolean hasIncludeFields() { return includeFields_ != null; } /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -2597,21 +2273,14 @@ public boolean hasIncludeFields() {
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The includeFields. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields() { - return includeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : includeFields_; + return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; } /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -2619,23 +2288,16 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFie
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder - getIncludeFieldsOrBuilder() { - return includeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : includeFields_; + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder() { + return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; } public static final int EXCLUDE_FIELDS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields excludeFields_; /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2643,10 +2305,7 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFie
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the excludeFields field is set. */ @java.lang.Override @@ -2654,8 +2313,6 @@ public boolean hasExcludeFields() { return excludeFields_ != null; } /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2663,21 +2320,14 @@ public boolean hasExcludeFields() {
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeFields. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields() { - return excludeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : excludeFields_; + return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; } /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2685,20 +2335,14 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFie
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder - getExcludeFieldsOrBuilder() { - return excludeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : excludeFields_; + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder() { + return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2710,7 +2354,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(samplingPercent_) != 0) { output.writeFloat(2, samplingPercent_); } @@ -2736,19 +2381,23 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, samplingPercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, samplingPercent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, rowFilter_); } if (postScanActions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPostScanActions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPostScanActions()); } if (includeFields_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIncludeFields()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getIncludeFields()); } if (excludeFields_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExcludeFields()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExcludeFields()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2758,28 +2407,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec other = - (com.google.cloud.dataplex.v1.DataProfileSpec) obj; + com.google.cloud.dataplex.v1.DataProfileSpec other = (com.google.cloud.dataplex.v1.DataProfileSpec) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; - if (!getRowFilter().equals(other.getRowFilter())) return false; + != java.lang.Float.floatToIntBits( + other.getSamplingPercent())) return false; + if (!getRowFilter() + .equals(other.getRowFilter())) return false; if (hasPostScanActions() != other.hasPostScanActions()) return false; if (hasPostScanActions()) { - if (!getPostScanActions().equals(other.getPostScanActions())) return false; + if (!getPostScanActions() + .equals(other.getPostScanActions())) return false; } if (hasIncludeFields() != other.hasIncludeFields()) return false; if (hasIncludeFields()) { - if (!getIncludeFields().equals(other.getIncludeFields())) return false; + if (!getIncludeFields() + .equals(other.getIncludeFields())) return false; } if (hasExcludeFields() != other.hasExcludeFields()) return false; if (hasExcludeFields()) { - if (!getExcludeFields().equals(other.getExcludeFields())) return false; + if (!getExcludeFields() + .equals(other.getExcludeFields())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2793,7 +2446,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_FIELD_NUMBER; hash = (53 * hash) + getRowFilter().hashCode(); if (hasPostScanActions()) { @@ -2813,136 +2467,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataProfileScan related setting.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec) com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.class, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.class, com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2968,9 +2618,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto - .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override @@ -2989,11 +2639,8 @@ public com.google.cloud.dataplex.v1.DataProfileSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec result = - new com.google.cloud.dataplex.v1.DataProfileSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataProfileSpec result = new com.google.cloud.dataplex.v1.DataProfileSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3007,16 +2654,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec result) result.rowFilter_ = rowFilter_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.postScanActions_ = - postScanActionsBuilder_ == null ? postScanActions_ : postScanActionsBuilder_.build(); + result.postScanActions_ = postScanActionsBuilder_ == null + ? postScanActions_ + : postScanActionsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.includeFields_ = - includeFieldsBuilder_ == null ? includeFields_ : includeFieldsBuilder_.build(); + result.includeFields_ = includeFieldsBuilder_ == null + ? includeFields_ + : includeFieldsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.excludeFields_ = - excludeFieldsBuilder_ == null ? excludeFields_ : excludeFieldsBuilder_.build(); + result.excludeFields_ = excludeFieldsBuilder_ == null + ? excludeFields_ + : excludeFieldsBuilder_.build(); } } @@ -3024,39 +2674,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec)other); } else { super.mergeFrom(other); return this; @@ -3108,43 +2757,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 21: - { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 21 - case 26: - { - rowFilter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - input.readMessage(getPostScanActionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - input.readMessage(getIncludeFieldsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - input.readMessage(getExcludeFieldsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 21: { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 21 + case 26: { + rowFilter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + input.readMessage( + getPostScanActionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + input.readMessage( + getIncludeFieldsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getExcludeFieldsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3154,13 +2803,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float samplingPercent_; + private float samplingPercent_ ; /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -3172,7 +2818,6 @@ public Builder mergeFrom(
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ @java.lang.Override @@ -3180,8 +2825,6 @@ public float getSamplingPercent() { return samplingPercent_; } /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -3193,7 +2836,6 @@ public float getSamplingPercent() {
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -3205,8 +2847,6 @@ public Builder setSamplingPercent(float value) { return this; } /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -3218,7 +2858,6 @@ public Builder setSamplingPercent(float value) {
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -3230,8 +2869,6 @@ public Builder clearSamplingPercent() { private java.lang.Object rowFilter_ = ""; /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -3240,13 +2877,13 @@ public Builder clearSamplingPercent() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ public java.lang.String getRowFilter() { java.lang.Object ref = rowFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; @@ -3255,8 +2892,6 @@ public java.lang.String getRowFilter() { } } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -3265,14 +2900,15 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ - public com.google.protobuf.ByteString getRowFilterBytes() { + public com.google.protobuf.ByteString + getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -3280,8 +2916,6 @@ public com.google.protobuf.ByteString getRowFilterBytes() { } } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -3290,22 +2924,18 @@ public com.google.protobuf.ByteString getRowFilterBytes() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rowFilter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -3314,7 +2944,6 @@ public Builder setRowFilter(java.lang.String value) {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRowFilter() { @@ -3324,8 +2953,6 @@ public Builder clearRowFilter() { return this; } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -3334,14 +2961,12 @@ public Builder clearRowFilter() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rowFilter_ = value; bitField0_ |= 0x00000002; @@ -3351,61 +2976,41 @@ public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions postScanActions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> - postScanActionsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> postScanActionsBuilder_; /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ public boolean hasPostScanActions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions() { if (postScanActionsBuilder_ == null) { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; } else { return postScanActionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setPostScanActions( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { + public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3419,15 +3024,11 @@ public Builder setPostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPostScanActions( com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder builderForValue) { @@ -3441,24 +3042,17 @@ public Builder setPostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergePostScanActions( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { + public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && postScanActions_ != null - && postScanActions_ - != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + postScanActions_ != null && + postScanActions_ != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) { getPostScanActionsBuilder().mergeFrom(value); } else { postScanActions_ = value; @@ -3471,15 +3065,11 @@ public Builder mergePostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPostScanActions() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3492,66 +3082,48 @@ public Builder clearPostScanActions() { return this; } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder - getPostScanActionsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder getPostScanActionsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPostScanActionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { if (postScanActionsBuilder_ != null) { return postScanActionsBuilder_.getMessageOrBuilder(); } else { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; } } /** - * - * *
      * Optional. Actions to take upon job completion..
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> getPostScanActionsFieldBuilder() { if (postScanActionsBuilder_ == null) { - postScanActionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder>( - getPostScanActions(), getParentForChildren(), isClean()); + postScanActionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder>( + getPostScanActions(), + getParentForChildren(), + isClean()); postScanActions_ = null; } return postScanActionsBuilder_; @@ -3559,13 +3131,8 @@ public Builder clearPostScanActions() { private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields includeFields_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> - includeFieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> includeFieldsBuilder_; /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3573,18 +3140,13 @@ public Builder clearPostScanActions() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the includeFields field is set. */ public boolean hasIncludeFields() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3592,24 +3154,17 @@ public boolean hasIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The includeFields. */ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields() { if (includeFieldsBuilder_ == null) { - return includeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : includeFields_; + return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; } else { return includeFieldsBuilder_.getMessage(); } } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3617,12 +3172,9 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFie
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIncludeFields( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder setIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (includeFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3636,8 +3188,6 @@ public Builder setIncludeFields( return this; } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3645,9 +3195,7 @@ public Builder setIncludeFields(
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIncludeFields( com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder builderForValue) { @@ -3661,8 +3209,6 @@ public Builder setIncludeFields( return this; } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3670,18 +3216,13 @@ public Builder setIncludeFields(
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeIncludeFields( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder mergeIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (includeFieldsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && includeFields_ != null - && includeFields_ - != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + includeFields_ != null && + includeFields_ != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) { getIncludeFieldsBuilder().mergeFrom(value); } else { includeFields_ = value; @@ -3694,8 +3235,6 @@ public Builder mergeIncludeFields( return this; } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3703,9 +3242,7 @@ public Builder mergeIncludeFields(
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIncludeFields() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3718,8 +3255,6 @@ public Builder clearIncludeFields() { return this; } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3727,19 +3262,14 @@ public Builder clearIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder - getIncludeFieldsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getIncludeFieldsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getIncludeFieldsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3747,23 +3277,17 @@ public Builder clearIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder - getIncludeFieldsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder() { if (includeFieldsBuilder_ != null) { return includeFieldsBuilder_.getMessageOrBuilder(); } else { - return includeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : includeFields_; + return includeFields_ == null ? + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; } } /** - * - * *
      * Optional. The fields to include in data profile.
      *
@@ -3771,22 +3295,17 @@ public Builder clearIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> getIncludeFieldsFieldBuilder() { if (includeFieldsBuilder_ == null) { - includeFieldsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( - getIncludeFields(), getParentForChildren(), isClean()); + includeFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( + getIncludeFields(), + getParentForChildren(), + isClean()); includeFields_ = null; } return includeFieldsBuilder_; @@ -3794,13 +3313,8 @@ public Builder clearIncludeFields() { private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields excludeFields_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> - excludeFieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> excludeFieldsBuilder_; /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3808,18 +3322,13 @@ public Builder clearIncludeFields() {
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the excludeFields field is set. */ public boolean hasExcludeFields() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3827,24 +3336,17 @@ public boolean hasExcludeFields() {
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeFields. */ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields() { if (excludeFieldsBuilder_ == null) { - return excludeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : excludeFields_; + return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; } else { return excludeFieldsBuilder_.getMessage(); } } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3852,12 +3354,9 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFie
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setExcludeFields( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder setExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (excludeFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3871,8 +3370,6 @@ public Builder setExcludeFields( return this; } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3880,9 +3377,7 @@ public Builder setExcludeFields(
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExcludeFields( com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder builderForValue) { @@ -3896,8 +3391,6 @@ public Builder setExcludeFields( return this; } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3905,18 +3398,13 @@ public Builder setExcludeFields(
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeExcludeFields( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder mergeExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (excludeFieldsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && excludeFields_ != null - && excludeFields_ - != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + excludeFields_ != null && + excludeFields_ != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) { getExcludeFieldsBuilder().mergeFrom(value); } else { excludeFields_ = value; @@ -3929,8 +3417,6 @@ public Builder mergeExcludeFields( return this; } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3938,9 +3424,7 @@ public Builder mergeExcludeFields(
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExcludeFields() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3953,8 +3437,6 @@ public Builder clearExcludeFields() { return this; } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3962,19 +3444,14 @@ public Builder clearExcludeFields() {
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder - getExcludeFieldsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getExcludeFieldsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExcludeFieldsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3982,23 +3459,17 @@ public Builder clearExcludeFields() {
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder - getExcludeFieldsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder() { if (excludeFieldsBuilder_ != null) { return excludeFieldsBuilder_.getMessageOrBuilder(); } else { - return excludeFields_ == null - ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() - : excludeFields_; + return excludeFields_ == null ? + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; } } /** - * - * *
      * Optional. The fields to exclude from data profile.
      *
@@ -4006,29 +3477,24 @@ public Builder clearExcludeFields() {
      * `include_fields` value.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> getExcludeFieldsFieldBuilder() { if (excludeFieldsBuilder_ == null) { - excludeFieldsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( - getExcludeFields(), getParentForChildren(), isClean()); + excludeFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( + getExcludeFields(), + getParentForChildren(), + isClean()); excludeFields_ = null; } return excludeFieldsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4038,12 +3504,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec) private static final com.google.cloud.dataplex.v1.DataProfileSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec(); } @@ -4052,27 +3518,27 @@ public static com.google.cloud.dataplex.v1.DataProfileSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4087,4 +3553,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java index 7224d785b885..f758244acca7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; -public interface DataProfileSpecOrBuilder - extends +public interface DataProfileSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -37,14 +19,11 @@ public interface DataProfileSpecOrBuilder
    * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ float getSamplingPercent(); /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -53,13 +32,10 @@ public interface DataProfileSpecOrBuilder
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ java.lang.String getRowFilter(); /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -68,56 +44,39 @@ public interface DataProfileSpecOrBuilder
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ - com.google.protobuf.ByteString getRowFilterBytes(); + com.google.protobuf.ByteString + getRowFilterBytes(); /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ boolean hasPostScanActions(); /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions(); /** - * - * *
    * Optional. Actions to take upon job completion..
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder(); /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -125,16 +84,11 @@ public interface DataProfileSpecOrBuilder
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the includeFields field is set. */ boolean hasIncludeFields(); /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -142,16 +96,11 @@ public interface DataProfileSpecOrBuilder
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The includeFields. */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields(); /** - * - * *
    * Optional. The fields to include in data profile.
    *
@@ -159,15 +108,11 @@ public interface DataProfileSpecOrBuilder
    * included, except for ones listed in `exclude_fields`.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder(); /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -175,16 +120,11 @@ public interface DataProfileSpecOrBuilder
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the excludeFields field is set. */ boolean hasExcludeFields(); /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -192,16 +132,11 @@ public interface DataProfileSpecOrBuilder
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeFields. */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields(); /** - * - * *
    * Optional. The fields to exclude from data profile.
    *
@@ -209,9 +144,7 @@ public interface DataProfileSpecOrBuilder
    * `include_fields` value.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java new file mode 100644 index 000000000000..71390211ad9b --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java @@ -0,0 +1,720 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_quality.proto + +package com.google.cloud.dataplex.v1; + +/** + *
+ * DataQualityColumnResult provides a more detailed, per-column view of
+ * the results.
+ * 
+ * + * Protobuf type {@code google.cloud.dataplex.v1.DataQualityColumnResult} + */ +public final class DataQualityColumnResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityColumnResult) + DataQualityColumnResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use DataQualityColumnResult.newBuilder() to construct. + private DataQualityColumnResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DataQualityColumnResult() { + column_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DataQualityColumnResult(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataplex.v1.DataQualityColumnResult.class, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class); + } + + private int bitField0_; + public static final int COLUMN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object column_ = ""; + /** + *
+   * Output only. The column specified in the DataQualityRule.
+   * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The column. + */ + @java.lang.Override + public java.lang.String getColumn() { + java.lang.Object ref = column_; + 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(); + column_ = s; + return s; + } + } + /** + *
+   * Output only. The column specified in the DataQualityRule.
+   * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for column. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getColumnBytes() { + java.lang.Object ref = column_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + column_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCORE_FIELD_NUMBER = 2; + private float score_ = 0F; + /** + *
+   * Output only. The column-level data quality score for this data scan job if
+   * and only if the 'column' field is set.
+   *
+   * The score ranges between between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+   * Output only. The column-level data quality score for this data scan job if
+   * and only if the 'column' field is set.
+   *
+   * The score ranges between between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + + 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(column_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeFloat(2, score_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, column_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, score_); + } + size += getUnknownFields().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.cloud.dataplex.v1.DataQualityColumnResult)) { + return super.equals(obj); + } + com.google.cloud.dataplex.v1.DataQualityColumnResult other = (com.google.cloud.dataplex.v1.DataQualityColumnResult) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (hasScore() != other.hasScore()) return false; + if (hasScore()) { + if (java.lang.Float.floatToIntBits(getScore()) + != java.lang.Float.floatToIntBits( + other.getScore())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + COLUMN_FIELD_NUMBER; + hash = (53 * hash) + getColumn().hashCode(); + if (hasScore()) { + hash = (37 * hash) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScore()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult 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.cloud.dataplex.v1.DataQualityColumnResult 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; + } + /** + *
+   * DataQualityColumnResult provides a more detailed, per-column view of
+   * the results.
+   * 
+ * + * Protobuf type {@code google.cloud.dataplex.v1.DataQualityColumnResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityColumnResult) + com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataplex.v1.DataQualityColumnResult.class, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class); + } + + // Construct using com.google.cloud.dataplex.v1.DataQualityColumnResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + column_ = ""; + score_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityColumnResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityColumnResult build() { + com.google.cloud.dataplex.v1.DataQualityColumnResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityColumnResult buildPartial() { + com.google.cloud.dataplex.v1.DataQualityColumnResult result = new com.google.cloud.dataplex.v1.DataQualityColumnResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityColumnResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.column_ = column_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.score_ = score_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @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.cloud.dataplex.v1.DataQualityColumnResult) { + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityColumnResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityColumnResult other) { + if (other == com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()) return this; + if (!other.getColumn().isEmpty()) { + column_ = other.column_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasScore()) { + setScore(other.getScore()); + } + this.mergeUnknownFields(other.getUnknownFields()); + 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 { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + column_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object column_ = ""; + /** + *
+     * Output only. The column specified in the DataQualityRule.
+     * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The column. + */ + public java.lang.String getColumn() { + java.lang.Object ref = column_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + column_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The column specified in the DataQualityRule.
+     * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for column. + */ + public com.google.protobuf.ByteString + getColumnBytes() { + java.lang.Object ref = column_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + column_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The column specified in the DataQualityRule.
+     * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The column to set. + * @return This builder for chaining. + */ + public Builder setColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + column_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. The column specified in the DataQualityRule.
+     * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearColumn() { + column_ = getDefaultInstance().getColumn(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Output only. The column specified in the DataQualityRule.
+     * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for column to set. + * @return This builder for chaining. + */ + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + column_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private float score_ ; + /** + *
+     * Output only. The column-level data quality score for this data scan job if
+     * and only if the 'column' field is set.
+     *
+     * The score ranges between between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Output only. The column-level data quality score for this data scan job if
+     * and only if the 'column' field is set.
+     *
+     * The score ranges between between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + /** + *
+     * Output only. The column-level data quality score for this data scan job if
+     * and only if the 'column' field is set.
+     *
+     * The score ranges between between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(float value) { + + score_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. The column-level data quality score for this data scan job if
+     * and only if the 'column' field is set.
+     *
+     * The score ranges between between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearScore() { + bitField0_ = (bitField0_ & ~0x00000002); + score_ = 0F; + 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.cloud.dataplex.v1.DataQualityColumnResult) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityColumnResult) + private static final com.google.cloud.dataplex.v1.DataQualityColumnResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityColumnResult(); + } + + public static com.google.cloud.dataplex.v1.DataQualityColumnResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityColumnResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + 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.cloud.dataplex.v1.DataQualityColumnResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java new file mode 100644 index 000000000000..8b66cb04d394 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_quality.proto + +package com.google.cloud.dataplex.v1; + +public interface DataQualityColumnResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityColumnResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The column specified in the DataQualityRule.
+   * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The column. + */ + java.lang.String getColumn(); + /** + *
+   * Output only. The column specified in the DataQualityRule.
+   * 
+ * + * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for column. + */ + com.google.protobuf.ByteString + getColumnBytes(); + + /** + *
+   * Output only. The column-level data quality score for this data scan job if
+   * and only if the 'column' field is set.
+   *
+   * The score ranges between between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + boolean hasScore(); + /** + *
+   * Output only. The column-level data quality score for this data scan job if
+   * and only if the 'column' field is set.
+   *
+   * The score ranges between between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + float getScore(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java index 9a17a8e8f296..d2a7b630dbde 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A dimension captures data quality intent about a defined subset of the rules
  * specified.
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimension}
  */
-public final class DataQualityDimension extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataQualityDimension extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityDimension)
     DataQualityDimensionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataQualityDimension.newBuilder() to construct.
   private DataQualityDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataQualityDimension() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataQualityDimension();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataQualityProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataQualityProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityDimension.class,
-            com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityDimension.class, com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -102,15 +78,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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityDimension)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityDimension other = - (com.google.cloud.dataplex.v1.DataQualityDimension) obj; + com.google.cloud.dataplex.v1.DataQualityDimension other = (com.google.cloud.dataplex.v1.DataQualityDimension) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,103 +160,98 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimension captures data quality intent about a defined subset of the rules
    * specified.
@@ -287,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimension}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityDimension)
       com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityDimension.class,
-              com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityDimension.class, com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityDimension.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -322,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +316,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimension build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityDimension buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityDimension result =
-          new com.google.cloud.dataplex.v1.DataQualityDimension(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataQualityDimension result = new com.google.cloud.dataplex.v1.DataQualityDimension(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +333,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityDimension res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityDimension) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimension) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimension)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityDimension other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -436,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -458,13 +424,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -472,13 +435,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; @@ -487,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -496,14 +457,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 { @@ -511,8 +473,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -520,22 +480,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -543,7 +499,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -553,8 +508,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -562,23 +515,21 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityDimension) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityDimension) private static final com.google.cloud.dataplex.v1.DataQualityDimension DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityDimension(); } @@ -602,27 +553,27 @@ public static com.google.cloud.dataplex.v1.DataQualityDimension getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityDimension parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityDimension parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java similarity index 53% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java index 9105b848a7c3..49eed1b07b93 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityDimensionOrBuilder - extends +public interface DataQualityDimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityDimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -33,13 +15,10 @@ public interface DataQualityDimensionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -47,8 +26,8 @@ public interface DataQualityDimensionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java similarity index 55% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java index eace2e080182..150e46417918 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataQualityDimensionResult provides a more detailed, per-dimension view of
  * the results.
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimensionResult}
  */
-public final class DataQualityDimensionResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataQualityDimensionResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityDimensionResult)
     DataQualityDimensionResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataQualityDimensionResult.newBuilder() to construct.
   private DataQualityDimensionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DataQualityDimensionResult() {}
+  private DataQualityDimensionResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataQualityDimensionResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataQualityProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataQualityProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult.class,
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult.class, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
   }
 
+  private int bitField0_;
   public static final int DIMENSION_FIELD_NUMBER = 1;
   private com.google.cloud.dataplex.v1.DataQualityDimension dimension_;
   /**
-   *
-   *
    * 
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dimension field is set. */ @java.lang.Override @@ -81,53 +59,37 @@ public boolean hasDimension() { return dimension_ != null; } /** - * - * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dimension. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimension getDimension() { - return dimension_ == null - ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() - : dimension_; + return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; } /** - * - * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder() { - return dimension_ == null - ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() - : dimension_; + return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; } public static final int PASSED_FIELD_NUMBER = 3; private boolean passed_ = false; /** - * - * *
    * Whether the dimension passed or failed.
    * 
* * bool passed = 3; - * * @return The passed. */ @java.lang.Override @@ -135,8 +97,42 @@ public boolean getPassed() { return passed_; } - private byte memoizedIsInitialized = -1; + public static final int SCORE_FIELD_NUMBER = 4; + private float score_ = 0F; + /** + *
+   * Output only. The dimension-level data quality score for this data scan job
+   * if and only if the 'dimension' field is set.
+   *
+   * The score ranges between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+   * Output only. The dimension-level data quality score for this data scan job
+   * if and only if the 'dimension' field is set.
+   *
+   * The score ranges between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,13 +144,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dimension_ != null) { output.writeMessage(1, getDimension()); } if (passed_ != false) { output.writeBool(3, passed_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeFloat(4, score_); + } getUnknownFields().writeTo(output); } @@ -165,10 +165,16 @@ public int getSerializedSize() { size = 0; if (dimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDimension()); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, passed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, passed_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, score_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,19 +184,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityDimensionResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityDimensionResult other = - (com.google.cloud.dataplex.v1.DataQualityDimensionResult) obj; + com.google.cloud.dataplex.v1.DataQualityDimensionResult other = (com.google.cloud.dataplex.v1.DataQualityDimensionResult) obj; if (hasDimension() != other.hasDimension()) return false; if (hasDimension()) { - if (!getDimension().equals(other.getDimension())) return false; + if (!getDimension() + .equals(other.getDimension())) return false; + } + if (getPassed() + != other.getPassed()) return false; + if (hasScore() != other.hasScore()) return false; + if (hasScore()) { + if (java.lang.Float.floatToIntBits(getScore()) + != java.lang.Float.floatToIntBits( + other.getScore())) return false; } - if (getPassed() != other.getPassed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -207,111 +220,111 @@ public int hashCode() { hash = (53 * hash) + getDimension().hashCode(); } hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassed()); + if (hasScore()) { + hash = (37 * hash) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScore()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityDimensionResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityDimensionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataQualityDimensionResult provides a more detailed, per-dimension view of
    * the results.
@@ -319,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimensionResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityDimensionResult)
       com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityDimensionResult.class,
-              com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityDimensionResult.class, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityDimensionResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -355,13 +369,14 @@ public Builder clear() {
         dimensionBuilder_ = null;
       }
       passed_ = false;
+      score_ = 0F;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
     }
 
     @java.lang.Override
@@ -380,11 +395,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityDimensionResult result =
-          new com.google.cloud.dataplex.v1.DataQualityDimensionResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataQualityDimensionResult result = new com.google.cloud.dataplex.v1.DataQualityDimensionResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -392,50 +404,57 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult buildPartial() {
     private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityDimensionResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.dimension_ = dimensionBuilder_ == null ? dimension_ : dimensionBuilder_.build();
+        result.dimension_ = dimensionBuilder_ == null
+            ? dimension_
+            : dimensionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.passed_ = passed_;
       }
+      int to_bitField0_ = 0;
+      if (((from_bitField0_ & 0x00000004) != 0)) {
+        result.score_ = score_;
+        to_bitField0_ |= 0x00000001;
+      }
+      result.bitField0_ |= to_bitField0_;
     }
 
     @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) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityDimensionResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimensionResult) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimensionResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -443,14 +462,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityDimensionResult other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance()) return this;
       if (other.hasDimension()) {
         mergeDimension(other.getDimension());
       }
       if (other.getPassed() != false) {
         setPassed(other.getPassed());
       }
+      if (other.hasScore()) {
+        setScore(other.getScore());
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -477,25 +498,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDimensionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 24:
-              {
-                passed_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDimensionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 24: {
+              passed_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            case 37: {
+              score_ = input.readFloat();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 37
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -505,63 +530,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.dataplex.v1.DataQualityDimension dimension_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityDimension,
-            com.google.cloud.dataplex.v1.DataQualityDimension.Builder,
-            com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>
-        dimensionBuilder_;
+        com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> dimensionBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dimension field is set. */ public boolean hasDimension() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dimension. */ public com.google.cloud.dataplex.v1.DataQualityDimension getDimension() { if (dimensionBuilder_ == null) { - return dimension_ == null - ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() - : dimension_; + return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; } else { return dimensionBuilder_.getMessage(); } } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDimension(com.google.cloud.dataplex.v1.DataQualityDimension value) { if (dimensionBuilder_ == null) { @@ -577,15 +582,11 @@ public Builder setDimension(com.google.cloud.dataplex.v1.DataQualityDimension va return this; } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDimension( com.google.cloud.dataplex.v1.DataQualityDimension.Builder builderForValue) { @@ -599,22 +600,17 @@ public Builder setDimension( return this; } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDimension(com.google.cloud.dataplex.v1.DataQualityDimension value) { if (dimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dimension_ != null - && dimension_ - != com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dimension_ != null && + dimension_ != com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) { getDimensionBuilder().mergeFrom(value); } else { dimension_ = value; @@ -627,15 +623,11 @@ public Builder mergeDimension(com.google.cloud.dataplex.v1.DataQualityDimension return this; } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDimension() { bitField0_ = (bitField0_ & ~0x00000001); @@ -648,15 +640,11 @@ public Builder clearDimension() { return this; } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataQualityDimension.Builder getDimensionBuilder() { bitField0_ |= 0x00000001; @@ -664,63 +652,48 @@ public com.google.cloud.dataplex.v1.DataQualityDimension.Builder getDimensionBui return getDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder() { if (dimensionBuilder_ != null) { return dimensionBuilder_.getMessageOrBuilder(); } else { - return dimension_ == null - ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() - : dimension_; + return dimension_ == null ? + com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; } } /** - * - * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimension, - com.google.cloud.dataplex.v1.DataQualityDimension.Builder, - com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> + com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { - dimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimension, - com.google.cloud.dataplex.v1.DataQualityDimension.Builder, - com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>( - getDimension(), getParentForChildren(), isClean()); + dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>( + getDimension(), + getParentForChildren(), + isClean()); dimension_ = null; } return dimensionBuilder_; } - private boolean passed_; + private boolean passed_ ; /** - * - * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; - * * @return The passed. */ @java.lang.Override @@ -728,14 +701,11 @@ public boolean getPassed() { return passed_; } /** - * - * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; - * * @param value The passed to set. * @return This builder for chaining. */ @@ -747,14 +717,11 @@ public Builder setPassed(boolean value) { return this; } /** - * - * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; - * * @return This builder for chaining. */ public Builder clearPassed() { @@ -764,8 +731,80 @@ public Builder clearPassed() { return this; } + private float score_ ; + /** + *
+     * Output only. The dimension-level data quality score for this data scan job
+     * if and only if the 'dimension' field is set.
+     *
+     * The score ranges between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Output only. The dimension-level data quality score for this data scan job
+     * if and only if the 'dimension' field is set.
+     *
+     * The score ranges between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + /** + *
+     * Output only. The dimension-level data quality score for this data scan job
+     * if and only if the 'dimension' field is set.
+     *
+     * The score ranges between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(float value) { + + score_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. The dimension-level data quality score for this data scan job
+     * if and only if the 'dimension' field is set.
+     *
+     * The score ranges between [0, 100] (up to two decimal
+     * points).
+     * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearScore() { + bitField0_ = (bitField0_ & ~0x00000004); + score_ = 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); } @@ -775,12 +814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityDimensionResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityDimensionResult) private static final com.google.cloud.dataplex.v1.DataQualityDimensionResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityDimensionResult(); } @@ -789,27 +828,27 @@ public static com.google.cloud.dataplex.v1.DataQualityDimensionResult getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityDimensionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityDimensionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +863,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java new file mode 100644 index 000000000000..ea4c354a1643 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_quality.proto + +package com.google.cloud.dataplex.v1; + +public interface DataQualityDimensionResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityDimensionResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The dimension config specified in the DataQualitySpec, as is.
+   * 
+ * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the dimension field is set. + */ + boolean hasDimension(); + /** + *
+   * Output only. The dimension config specified in the DataQualitySpec, as is.
+   * 
+ * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The dimension. + */ + com.google.cloud.dataplex.v1.DataQualityDimension getDimension(); + /** + *
+   * Output only. The dimension config specified in the DataQualitySpec, as is.
+   * 
+ * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder(); + + /** + *
+   * Whether the dimension passed or failed.
+   * 
+ * + * bool passed = 3; + * @return The passed. + */ + boolean getPassed(); + + /** + *
+   * Output only. The dimension-level data quality score for this data scan job
+   * if and only if the 'dimension' field is set.
+   *
+   * The score ranges between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + boolean hasScore(); + /** + *
+   * Output only. The dimension-level data quality score for this data scan job
+   * if and only if the 'dimension' field is set.
+   *
+   * The score ranges between [0, 100] (up to two decimal
+   * points).
+   * 
+ * + * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + float getScore(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java new file mode 100644 index 000000000000..ebf08c3c556b --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java @@ -0,0 +1,351 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_quality.proto + +package com.google.cloud.dataplex.v1; + +public final class DataQualityProto { + private DataQualityProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/dataplex/v1/data_quality." + + "proto\022\030google.cloud.dataplex.v1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032)google/cloud/dataplex/v1/pr" + + "ocessing.proto\"\223\003\n\017DataQualitySpec\022>\n\005ru" + + "les\030\001 \003(\0132).google.cloud.dataplex.v1.Dat" + + "aQualityRuleB\004\342A\001\002\022\036\n\020sampling_percent\030\004" + + " \001(\002B\004\342A\001\001\022\030\n\nrow_filter\030\005 \001(\tB\004\342A\001\001\022Z\n\021" + + "post_scan_actions\030\006 \001(\01329.google.cloud.d" + + "ataplex.v1.DataQualitySpec.PostScanActio" + + "nsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017bigquery" + + "_export\030\001 \001(\0132H.google.cloud.dataplex.v1" + + ".DataQualitySpec.PostScanActions.BigQuer" + + "yExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\rresul" + + "ts_table\030\001 \001(\tB\004\342A\001\001\"\331\006\n\021DataQualityResu" + + "lt\022\016\n\006passed\030\005 \001(\010\022\030\n\005score\030\t \001(\002B\004\342A\001\003H" + + "\000\210\001\001\022H\n\ndimensions\030\002 \003(\01324.google.cloud." + + "dataplex.v1.DataQualityDimensionResult\022H" + + "\n\007columns\030\n \003(\01321.google.cloud.dataplex." + + "v1.DataQualityColumnResultB\004\342A\001\003\022>\n\005rule" + + "s\030\003 \003(\0132/.google.cloud.dataplex.v1.DataQ" + + "ualityRuleResult\022\021\n\trow_count\030\004 \001(\003\022;\n\014s" + + "canned_data\030\007 \001(\0132%.google.cloud.dataple" + + "x.v1.ScannedData\022i\n\030post_scan_actions_re" + + "sult\030\010 \001(\0132A.google.cloud.dataplex.v1.Da" + + "taQualityResult.PostScanActionsResultB\004\342" + + "A\001\003\032\200\003\n\025PostScanActionsResult\022|\n\026bigquer" + + "y_export_result\030\001 \001(\0132V.google.cloud.dat" + + "aplex.v1.DataQualityResult.PostScanActio" + + "nsResult.BigQueryExportResultB\004\342A\001\003\032\350\001\n\024" + + "BigQueryExportResult\022q\n\005state\030\001 \001(\0162\\.go" + + "ogle.cloud.dataplex.v1.DataQualityResult" + + ".PostScanActionsResult.BigQueryExportRes" + + "ult.StateB\004\342A\001\003\022\025\n\007message\030\002 \001(\tB\004\342A\001\003\"F" + + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEE" + + "DED\020\001\022\n\n\006FAILED\020\002\022\013\n\007SKIPPED\020\003B\010\n\006_score" + + "\"\323\001\n\025DataQualityRuleResult\0227\n\004rule\030\001 \001(\013" + + "2).google.cloud.dataplex.v1.DataQualityR" + + "ule\022\016\n\006passed\030\007 \001(\010\022\027\n\017evaluated_count\030\t" + + " \001(\003\022\024\n\014passed_count\030\010 \001(\003\022\022\n\nnull_count" + + "\030\005 \001(\003\022\022\n\npass_ratio\030\006 \001(\001\022\032\n\022failing_ro" + + "ws_query\030\n \001(\t\"\231\001\n\032DataQualityDimensionR" + + "esult\022G\n\tdimension\030\001 \001(\0132..google.cloud." + + "dataplex.v1.DataQualityDimensionB\004\342A\001\003\022\016" + + "\n\006passed\030\003 \001(\010\022\030\n\005score\030\004 \001(\002B\004\342A\001\003H\000\210\001\001" + + "B\010\n\006_score\"$\n\024DataQualityDimension\022\014\n\004na" + + "me\030\001 \001(\t\"\211\r\n\017DataQualityRule\022W\n\021range_ex" + + "pectation\030\001 \001(\0132:.google.cloud.dataplex." + + "v1.DataQualityRule.RangeExpectationH\000\022\\\n" + + "\024non_null_expectation\030\002 \001(\0132<.google.clo" + + "ud.dataplex.v1.DataQualityRule.NonNullEx" + + "pectationH\000\022S\n\017set_expectation\030\003 \001(\01328.g" + + "oogle.cloud.dataplex.v1.DataQualityRule." + + "SetExpectationH\000\022W\n\021regex_expectation\030\004 " + + "\001(\0132:.google.cloud.dataplex.v1.DataQuali" + + "tyRule.RegexExpectationH\000\022a\n\026uniqueness_" + + "expectation\030d \001(\0132?.google.cloud.dataple" + + "x.v1.DataQualityRule.UniquenessExpectati" + + "onH\000\022j\n\033statistic_range_expectation\030e \001(" + + "\0132C.google.cloud.dataplex.v1.DataQuality" + + "Rule.StatisticRangeExpectationH\000\022g\n\031row_" + + "condition_expectation\030\310\001 \001(\0132A.google.cl" + + "oud.dataplex.v1.DataQualityRule.RowCondi" + + "tionExpectationH\000\022k\n\033table_condition_exp" + + "ectation\030\311\001 \001(\0132C.google.cloud.dataplex." + + "v1.DataQualityRule.TableConditionExpecta" + + "tionH\000\022\025\n\006column\030\364\003 \001(\tB\004\342A\001\001\022\032\n\013ignore_" + + "null\030\365\003 \001(\010B\004\342A\001\001\022\030\n\tdimension\030\366\003 \001(\tB\004\342" + + "A\001\002\022\030\n\tthreshold\030\367\003 \001(\001B\004\342A\001\001\022\023\n\004name\030\370\003" + + " \001(\tB\004\342A\001\001\022\032\n\013description\030\371\003 \001(\tB\004\342A\001\001\032\210" + + "\001\n\020RangeExpectation\022\027\n\tmin_value\030\001 \001(\tB\004" + + "\342A\001\001\022\027\n\tmax_value\030\002 \001(\tB\004\342A\001\001\022 \n\022strict_" + + "min_enabled\030\003 \001(\010B\004\342A\001\001\022 \n\022strict_max_en" + + "abled\030\004 \001(\010B\004\342A\001\001\032\024\n\022NonNullExpectation\032" + + "&\n\016SetExpectation\022\024\n\006values\030\001 \003(\tB\004\342A\001\001\032" + + "\'\n\020RegexExpectation\022\023\n\005regex\030\001 \001(\tB\004\342A\001\001" + + "\032\027\n\025UniquenessExpectation\032\307\002\n\031StatisticR" + + "angeExpectation\022l\n\tstatistic\030\001 \001(\0162S.goo" + + "gle.cloud.dataplex.v1.DataQualityRule.St" + + "atisticRangeExpectation.ColumnStatisticB" + + "\004\342A\001\001\022\027\n\tmin_value\030\002 \001(\tB\004\342A\001\001\022\027\n\tmax_va" + + "lue\030\003 \001(\tB\004\342A\001\001\022 \n\022strict_min_enabled\030\004 " + + "\001(\010B\004\342A\001\001\022 \n\022strict_max_enabled\030\005 \001(\010B\004\342" + + "A\001\001\"F\n\017ColumnStatistic\022\027\n\023STATISTIC_UNDE" + + "FINED\020\000\022\010\n\004MEAN\020\001\022\007\n\003MIN\020\002\022\007\n\003MAX\020\003\0327\n\027R" + + "owConditionExpectation\022\034\n\016sql_expression" + + "\030\001 \001(\tB\004\342A\001\001\0329\n\031TableConditionExpectatio" + + "n\022\034\n\016sql_expression\030\001 \001(\tB\004\342A\001\001B\013\n\trule_" + + "type\"S\n\027DataQualityColumnResult\022\024\n\006colum" + + "n\030\001 \001(\tB\004\342A\001\003\022\030\n\005score\030\002 \001(\002B\004\342A\001\003H\000\210\001\001B" + + "\010\n\006_scoreB\304\001\n\034com.google.cloud.dataplex." + + "v1B\020DataQualityProtoP\001Z8cloud.google.com" + + "/go/dataplex/apiv1/dataplexpb;dataplexpb" + + "\352AU\n\035bigquery.googleapis.com/Table\0224proj" + + "ects/{project}/datasets/{dataset}/tables" + + "/{table}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor, + new java.lang.String[] { "Rules", "SamplingPercent", "RowFilter", "PostScanActions", }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor, + new java.lang.String[] { "BigqueryExport", }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor, + new java.lang.String[] { "ResultsTable", }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor, + new java.lang.String[] { "Passed", "Score", "Dimensions", "Columns", "Rules", "RowCount", "ScannedData", "PostScanActionsResult", "Score", }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor, + new java.lang.String[] { "BigqueryExportResult", }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { "State", "Message", }); + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor, + new java.lang.String[] { "Rule", "Passed", "EvaluatedCount", "PassedCount", "NullCount", "PassRatio", "FailingRowsQuery", }); + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor, + new java.lang.String[] { "Dimension", "Passed", "Score", "Score", }); + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor, + new java.lang.String[] { "RangeExpectation", "NonNullExpectation", "SetExpectation", "RegexExpectation", "UniquenessExpectation", "StatisticRangeExpectation", "RowConditionExpectation", "TableConditionExpectation", "Column", "IgnoreNull", "Dimension", "Threshold", "Name", "Description", "RuleType", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor, + new java.lang.String[] { "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor, + new java.lang.String[] { "Values", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor, + new java.lang.String[] { "Regex", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor, + new java.lang.String[] { "Statistic", "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor, + new java.lang.String[] { "SqlExpression", }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor, + new java.lang.String[] { "SqlExpression", }); + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor, + new java.lang.String[] { "Column", "Score", "Score", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceDefinition); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java index 279f78986cf5..d4c44e5395de 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java @@ -1,240 +1,179 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The output of a DataQualityScan.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ -public final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataQualityResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult) DataQualityResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataQualityResult.newBuilder() to construct. private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualityResult() { dimensions_ = java.util.Collections.emptyList(); + columns_ = java.util.Collections.emptyList(); rules_ = 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 DataQualityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } - public interface PostScanActionsResultOrBuilder - extends + public interface PostScanActionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); } /** - * - * *
    * The result of post scan actions of DataQualityScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ - public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PostScanActionsResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PostScanActionsResult() {} + private PostScanActionsResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder - extends + public interface BigQueryExportResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - .State - getState(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState(); /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryExportResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -242,41 +181,34 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder.class); } /** - * - * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code - * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The exporting state is unspecified.
          * 
@@ -285,8 +217,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The exporting completed successfully.
          * 
@@ -295,8 +225,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -305,8 +233,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -319,8 +245,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * The exporting state is unspecified.
          * 
@@ -329,8 +253,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The exporting completed successfully.
          * 
@@ -339,8 +261,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -349,8 +269,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -360,6 +278,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int SKIPPED_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -384,55 +303,50 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0:
-              return STATE_UNSPECIFIED;
-            case 1:
-              return SUCCEEDED;
-            case 2:
-              return FAILED;
-            case 3:
-              return SKIPPED;
-            default:
-              return null;
+            case 0: return STATE_UNSPECIFIED;
+            case 1: return SUCCEEDED;
+            case 2: return FAILED;
+            case 3: return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
-              .BigQueryExportResult.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.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.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -452,63 +366,38 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
-       *
-       *
        * 
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State - getState() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - .State - result = - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ @java.lang.Override @@ -517,29 +406,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -548,7 +437,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -560,11 +448,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -579,11 +465,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -596,22 +480,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - other = - (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult) - obj; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -632,116 +510,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -751,46 +603,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -801,25 +646,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - build() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult build() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -827,24 +666,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - result = - new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult buildPartial() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -858,60 +687,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) { + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult other) { + if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -946,25 +761,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -974,38 +786,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1016,50 +816,28 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State - getState() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - .State - result = - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State.UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.State - value) { + public Builder setState(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State value) { if (value == null) { throw new NullPointerException(); } @@ -1069,16 +847,11 @@ public Builder setState( return this; } /** - * - * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1090,20 +863,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1112,21 +883,20 @@ public java.lang.String getMessage() { } } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1134,35 +904,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1172,28 +935,23 @@ public Builder clearMessage() { return this; } /** - * - * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1206,48 +964,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,28 +1010,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -1288,49 +1031,30 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } /** - * - * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1342,7 +1066,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -1356,8 +1081,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1367,17 +1092,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other = - (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult() + .equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1400,95 +1125,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1498,42 +1217,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The result of post scan actions of DataQualityScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1547,22 +1263,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult build() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = - buildPartial(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1571,23 +1284,18 @@ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult buil @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = - new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = - bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -1595,53 +1303,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other) { + if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -1671,20 +1372,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1694,75 +1394,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder> - bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult - getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - value) { + public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1776,20 +1446,14 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - .Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -1800,25 +1464,17 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBigqueryExportResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult - value) { + public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryExportResult_ != null - && bigqueryExportResult_ - != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryExportResult_ != null && + bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -1831,15 +1487,11 @@ public Builder mergeBigqueryExportResult( return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1852,80 +1504,52 @@ public Builder clearBigqueryExportResult() { return this; } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder - getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } } /** - * - * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), getParentForChildren(), isClean()); + bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), + getParentForChildren(), + isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1938,44 +1562,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1987,23 +1608,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + private int bitField0_; public static final int PASSED_FIELD_NUMBER = 5; private boolean passed_ = false; /** - * - * *
    * Overall data quality result -- `true` if all rules passed.
    * 
* * bool passed = 5; - * * @return The passed. */ @java.lang.Override @@ -2011,13 +1630,41 @@ public boolean getPassed() { return passed_; } - public static final int DIMENSIONS_FIELD_NUMBER = 2; + public static final int SCORE_FIELD_NUMBER = 9; + private float score_ = 0F; + /** + *
+   * Output only. The overall data quality score.
+   *
+   * The score ranges between [0, 100] (up to two decimal points).
+   * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+   * Output only. The overall data quality score.
+   *
+   * The score ranges between [0, 100] (up to two decimal points).
+   * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + public static final int DIMENSIONS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List dimensions_; /** - * - * *
    * A list of results at the dimension level.
    *
@@ -2028,13 +1675,10 @@ public boolean getPassed() {
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getDimensionsList() {
+  public java.util.List getDimensionsList() {
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -2045,13 +1689,11 @@ public boolean getPassed() {
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -2066,8 +1708,6 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -2082,8 +1722,6 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int
     return dimensions_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -2099,13 +1737,86 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
     return dimensions_.get(index);
   }
 
-  public static final int RULES_FIELD_NUMBER = 3;
-
+  public static final int COLUMNS_FIELD_NUMBER = 10;
   @SuppressWarnings("serial")
-  private java.util.List rules_;
+  private java.util.List columns_;
+  /**
+   * 
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List getColumnsList() { + return columns_; + } + /** + *
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List + getColumnsOrBuilderList() { + return columns_; + } + /** + *
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public int getColumnsCount() { + return columns_.size(); + } + /** + *
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { + return columns_.get(index); + } /** + *
+   * Output only. A list of results at the column level.
    *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( + int index) { + return columns_.get(index); + } + + public static final int RULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List rules_; + /** *
    * A list of all the rules in a job, and their results.
    * 
@@ -2117,8 +1828,6 @@ public java.util.List getRul return rules_; } /** - * - * *
    * A list of all the rules in a job, and their results.
    * 
@@ -2126,13 +1835,11 @@ public java.util.List getRul * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * A list of all the rules in a job, and their results.
    * 
@@ -2144,8 +1851,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
    * A list of all the rules in a job, and their results.
    * 
@@ -2157,8 +1862,6 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { return rules_.get(index); } /** - * - * *
    * A list of all the rules in a job, and their results.
    * 
@@ -2166,21 +1869,19 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 4; private long rowCount_ = 0L; /** - * - * *
    * The count of rows processed.
    * 
* * int64 row_count = 4; - * * @return The rowCount. */ @java.lang.Override @@ -2191,14 +1892,11 @@ public long getRowCount() { public static final int SCANNED_DATA_FIELD_NUMBER = 7; private com.google.cloud.dataplex.v1.ScannedData scannedData_; /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return Whether the scannedData field is set. */ @java.lang.Override @@ -2206,25 +1904,18 @@ public boolean hasScannedData() { return scannedData_ != null; } /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return The scannedData. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData getScannedData() { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } /** - * - * *
    * The data scanned for this result.
    * 
@@ -2233,25 +1924,17 @@ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 8; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -2259,46 +1942,30 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - getPostScanActionsResult() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2310,7 +1977,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dimensions_.size(); i++) { output.writeMessage(2, dimensions_.get(i)); } @@ -2329,6 +1997,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (postScanActionsResult_ != null) { output.writeMessage(8, getPostScanActionsResult()); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeFloat(9, score_); + } + for (int i = 0; i < columns_.size(); i++) { + output.writeMessage(10, columns_.get(i)); + } getUnknownFields().writeTo(output); } @@ -2339,23 +2013,36 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rules_.get(i)); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, rowCount_); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, passed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, passed_); } if (scannedData_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getScannedData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getScannedData()); } if (postScanActionsResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPostScanActionsResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPostScanActionsResult()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(9, score_); + } + for (int i = 0; i < columns_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2365,25 +2052,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult other = - (com.google.cloud.dataplex.v1.DataQualityResult) obj; - - if (getPassed() != other.getPassed()) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; - if (getRowCount() != other.getRowCount()) return false; + com.google.cloud.dataplex.v1.DataQualityResult other = (com.google.cloud.dataplex.v1.DataQualityResult) obj; + + if (getPassed() + != other.getPassed()) return false; + if (hasScore() != other.hasScore()) return false; + if (hasScore()) { + if (java.lang.Float.floatToIntBits(getScore()) + != java.lang.Float.floatToIntBits( + other.getScore())) return false; + } + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; + if (getRowCount() + != other.getRowCount()) return false; if (hasScannedData() != other.hasScannedData()) return false; if (hasScannedData()) { - if (!getScannedData().equals(other.getScannedData())) return false; + if (!getScannedData() + .equals(other.getScannedData())) return false; } if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult() + .equals(other.getPostScanActionsResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2397,17 +2097,28 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassed()); + if (hasScore()) { + hash = (37 * hash) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getScore()); + } if (getDimensionsCount() > 0) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDimensionsList().hashCode(); } + if (getColumnsCount() > 0) { + hash = (37 * hash) + COLUMNS_FIELD_NUMBER; + hash = (53 * hash) + getColumnsList().hashCode(); + } if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } 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()); if (hasScannedData()) { hash = (37 * hash) + SCANNED_DATA_FIELD_NUMBER; hash = (53 * hash) + getScannedData().hashCode(); @@ -2421,155 +2132,159 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 output of a DataQualityScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult) com.google.cloud.dataplex.v1.DataQualityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.class, - com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; passed_ = false; + score_ = 0F; if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); } else { dimensions_ = null; dimensionsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); + if (columnsBuilder_ == null) { + columns_ = java.util.Collections.emptyList(); + } else { + columns_ = null; + columnsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); } else { rules_ = null; rulesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); rowCount_ = 0L; scannedData_ = null; if (scannedDataBuilder_ != null) { @@ -2585,9 +2300,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override @@ -2606,30 +2321,36 @@ public com.google.cloud.dataplex.v1.DataQualityResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult result = - new com.google.cloud.dataplex.v1.DataQualityResult(this); + com.google.cloud.dataplex.v1.DataQualityResult result = new com.google.cloud.dataplex.v1.DataQualityResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataQualityResult result) { if (dimensionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } result.dimensions_ = dimensions_; } else { result.dimensions_ = dimensionsBuilder_.build(); } + if (columnsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + columns_ = java.util.Collections.unmodifiableList(columns_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.columns_ = columns_; + } else { + result.columns_ = columnsBuilder_.build(); + } if (rulesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } result.rules_ = rules_; } else { @@ -2642,58 +2363,63 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult result if (((from_bitField0_ & 0x00000001) != 0)) { result.passed_ = passed_; } - if (((from_bitField0_ & 0x00000008) != 0)) { + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.score_ = score_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.rowCount_ = rowCount_; } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.scannedData_ = - scannedDataBuilder_ == null ? scannedData_ : scannedDataBuilder_.build(); + if (((from_bitField0_ & 0x00000040) != 0)) { + result.scannedData_ = scannedDataBuilder_ == null + ? scannedData_ + : scannedDataBuilder_.build(); } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.postScanActionsResult_ = - postScanActionsResultBuilder_ == null - ? postScanActionsResult_ - : postScanActionsResultBuilder_.build(); + if (((from_bitField0_ & 0x00000080) != 0)) { + result.postScanActionsResult_ = postScanActionsResultBuilder_ == null + ? postScanActionsResult_ + : postScanActionsResultBuilder_.build(); } + result.bitField0_ |= to_bitField0_; } @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) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult)other); } else { super.mergeFrom(other); return this; @@ -2705,11 +2431,14 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { if (other.getPassed() != false) { setPassed(other.getPassed()); } + if (other.hasScore()) { + setScore(other.getScore()); + } if (dimensionsBuilder_ == null) { if (!other.dimensions_.isEmpty()) { if (dimensions_.isEmpty()) { dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDimensionsIsMutable(); dimensions_.addAll(other.dimensions_); @@ -2722,21 +2451,46 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { dimensionsBuilder_.dispose(); dimensionsBuilder_ = null; dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000002); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + bitField0_ = (bitField0_ & ~0x00000004); + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } } } + if (columnsBuilder_ == null) { + if (!other.columns_.isEmpty()) { + if (columns_.isEmpty()) { + columns_ = other.columns_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureColumnsIsMutable(); + columns_.addAll(other.columns_); + } + onChanged(); + } + } else { + if (!other.columns_.isEmpty()) { + if (columnsBuilder_.isEmpty()) { + columnsBuilder_.dispose(); + columnsBuilder_ = null; + columns_ = other.columns_; + bitField0_ = (bitField0_ & ~0x00000008); + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnsFieldBuilder() : null; + } else { + columnsBuilder_.addAllMessages(other.columns_); + } + } + } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); @@ -2749,11 +2503,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000004); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + bitField0_ = (bitField0_ & ~0x00000010); + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -2794,66 +2547,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.cloud.dataplex.v1.DataQualityDimensionResult m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityDimensionResult.parser(), - extensionRegistry); - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(m); - } else { - dimensionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.cloud.dataplex.v1.DataQualityRuleResult m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityRuleResult.parser(), - extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - passed_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 40 - case 58: - { - input.readMessage(getScannedDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - input.readMessage( - getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + com.google.cloud.dataplex.v1.DataQualityDimensionResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityDimensionResult.parser(), + extensionRegistry); + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(m); + } else { + dimensionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.cloud.dataplex.v1.DataQualityRuleResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityRuleResult.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 32 + case 40: { + passed_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 40 + case 58: { + input.readMessage( + getScannedDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getPostScanActionsResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 77: { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 77 + case 82: { + com.google.cloud.dataplex.v1.DataQualityColumnResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityColumnResult.parser(), + extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.addMessage(m); + } + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2863,19 +2630,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean passed_; + private boolean passed_ ; /** - * - * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; - * * @return The passed. */ @java.lang.Override @@ -2883,14 +2646,11 @@ public boolean getPassed() { return passed_; } /** - * - * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; - * * @param value The passed to set. * @return This builder for chaining. */ @@ -2902,14 +2662,11 @@ public Builder setPassed(boolean value) { return this; } /** - * - * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; - * * @return This builder for chaining. */ public Builder clearPassed() { @@ -2919,27 +2676,83 @@ public Builder clearPassed() { return this; } - private java.util.List dimensions_ = - java.util.Collections.emptyList(); + private float score_ ; + /** + *
+     * Output only. The overall data quality score.
+     *
+     * The score ranges between [0, 100] (up to two decimal points).
+     * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + @java.lang.Override + public boolean hasScore() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Output only. The overall data quality score.
+     *
+     * The score ranges between [0, 100] (up to two decimal points).
+     * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + /** + *
+     * Output only. The overall data quality score.
+     *
+     * The score ranges between [0, 100] (up to two decimal points).
+     * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(float value) { + score_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. The overall data quality score.
+     *
+     * The score ranges between [0, 100] (up to two decimal points).
+     * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearScore() { + bitField0_ = (bitField0_ & ~0x00000002); + score_ = 0F; + onChanged(); + return this; + } + + private java.util.List dimensions_ = + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - dimensions_ = - new java.util.ArrayList( - dimensions_); - bitField0_ |= 0x00000002; - } + if (!((bitField0_ & 0x00000004) != 0)) { + dimensions_ = new java.util.ArrayList(dimensions_); + bitField0_ |= 0x00000004; + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimensionResult, - com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, - com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> - dimensionsBuilder_; + com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> dimensionsBuilder_; /** - * - * *
      * A list of results at the dimension level.
      *
@@ -2949,8 +2762,7 @@ private void ensureDimensionsIsMutable() {
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List
-        getDimensionsList() {
+    public java.util.List getDimensionsList() {
       if (dimensionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensions_);
       } else {
@@ -2958,8 +2770,6 @@ private void ensureDimensionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -2977,8 +2787,6 @@ public int getDimensionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -2996,8 +2804,6 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int
       }
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3022,8 +2828,6 @@ public Builder setDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3034,8 +2838,7 @@ public Builder setDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder setDimensions(
-        int index,
-        com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
+        int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
         dimensions_.set(index, builderForValue.build());
@@ -3046,8 +2849,6 @@ public Builder setDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3071,8 +2872,6 @@ public Builder addDimensions(com.google.cloud.dataplex.v1.DataQualityDimensionRe
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3097,8 +2896,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3120,8 +2917,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3132,8 +2927,7 @@ public Builder addDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder addDimensions(
-        int index,
-        com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
+        int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
         dimensions_.add(index, builderForValue.build());
@@ -3144,8 +2938,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3156,11 +2948,11 @@ public Builder addDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder addAllDimensions(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -3168,8 +2960,6 @@ public Builder addAllDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3182,7 +2972,7 @@ public Builder addAllDimensions(
     public Builder clearDimensions() {
       if (dimensionsBuilder_ == null) {
         dimensions_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000002);
+        bitField0_ = (bitField0_ & ~0x00000004);
         onChanged();
       } else {
         dimensionsBuilder_.clear();
@@ -3190,8 +2980,6 @@ public Builder clearDimensions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3212,8 +3000,6 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3228,8 +3014,6 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder getDimens
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3242,14 +3026,11 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder getDimens
     public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOrBuilder(
         int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);
-      } else {
+        return dimensions_.get(index);  } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3259,9 +3040,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List<
-            ? extends com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>
-        getDimensionsOrBuilderList() {
+    public java.util.List 
+         getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3269,8 +3049,6 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
       }
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3281,12 +3059,10 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder()
-          .addBuilder(com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
+      return getDimensionsFieldBuilder().addBuilder(
+          com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3298,13 +3074,10 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimens
      */
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder(
         int index) {
-      return getDimensionsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
+      return getDimensionsFieldBuilder().addBuilder(
+          index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of results at the dimension level.
      *
@@ -3314,48 +3087,404 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimens
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List
-        getDimensionsBuilderList() {
+    public java.util.List 
+         getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult,
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder,
-            com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>
+        com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> 
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.dataplex.v1.DataQualityDimensionResult,
-                com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder,
-                com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>(
-                dimensions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>(
+                dimensions_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
-    private java.util.List rules_ =
-        java.util.Collections.emptyList();
-
-    private void ensureRulesIsMutable() {
-      if (!((bitField0_ & 0x00000004) != 0)) {
-        rules_ =
-            new java.util.ArrayList(rules_);
-        bitField0_ |= 0x00000004;
-      }
+    private java.util.List columns_ =
+      java.util.Collections.emptyList();
+    private void ensureColumnsIsMutable() {
+      if (!((bitField0_ & 0x00000008) != 0)) {
+        columns_ = new java.util.ArrayList(columns_);
+        bitField0_ |= 0x00000008;
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityRuleResult,
-            com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder,
-            com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>
-        rulesBuilder_;
+        com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> columnsBuilder_;
 
     /**
+     * 
+     * Output only. A list of results at the column level.
      *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
* + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List getColumnsList() { + if (columnsBuilder_ == null) { + return java.util.Collections.unmodifiableList(columns_); + } else { + return columnsBuilder_.getMessageList(); + } + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public int getColumnsCount() { + if (columnsBuilder_ == null) { + return columns_.size(); + } else { + return columnsBuilder_.getCount(); + } + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { + if (columnsBuilder_ == null) { + return columns_.get(index); + } else { + return columnsBuilder_.getMessage(index); + } + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setColumns( + int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.set(index, value); + onChanged(); + } else { + columnsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setColumns( + int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.set(index, builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addColumns(com.google.cloud.dataplex.v1.DataQualityColumnResult value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.add(value); + onChanged(); + } else { + columnsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addColumns( + int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.add(index, value); + onChanged(); + } else { + columnsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addColumns( + com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addColumns( + int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(index, builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addAllColumns( + java.lang.Iterable values) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); + onChanged(); + } else { + columnsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearColumns() { + if (columnsBuilder_ == null) { + columns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + columnsBuilder_.clear(); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder removeColumns(int index) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.remove(index); + onChanged(); + } else { + columnsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder getColumnsBuilder( + int index) { + return getColumnsFieldBuilder().getBuilder(index); + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( + int index) { + if (columnsBuilder_ == null) { + return columns_.get(index); } else { + return columnsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getColumnsOrBuilderList() { + if (columnsBuilder_ != null) { + return columnsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(columns_); + } + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder() { + return getColumnsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); + } + /** + *
+     * Output only. A list of results at the column level.
+     *
+     * A column will have a corresponding `DataQualityColumnResult` if and only if
+     * there is at least one rule with the 'column' field set to it.
+     * 
+ * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getColumnsBuilderList() { + return getColumnsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> + getColumnsFieldBuilder() { + if (columnsBuilder_ == null) { + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder>( + columns_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + columns_ = null; + } + return columnsBuilder_; + } + + private java.util.List rules_ = + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + rules_ = new java.util.ArrayList(rules_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> rulesBuilder_; + + /** *
      * A list of all the rules in a job, and their results.
      * 
@@ -3370,8 +3499,6 @@ public java.util.List getRul } } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3386,8 +3513,6 @@ public int getRulesCount() { } } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3402,15 +3527,14 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { } } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { + public Builder setRules( + int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3424,8 +3548,6 @@ public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleR return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3444,8 +3566,6 @@ public Builder setRules( return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3466,15 +3586,14 @@ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRuleResult value return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { + public Builder addRules( + int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3488,8 +3607,6 @@ public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleR return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3508,8 +3625,6 @@ public Builder addRules( return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3528,8 +3643,6 @@ public Builder addRules( return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3540,7 +3653,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); @@ -3548,8 +3662,6 @@ public Builder addAllRules( return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3559,7 +3671,7 @@ public Builder addAllRules( public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { rulesBuilder_.clear(); @@ -3567,8 +3679,6 @@ public Builder clearRules() { return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3586,20 +3696,17 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilder(int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3609,22 +3716,19 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilde public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -3632,8 +3736,6 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBui } } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3641,64 +3743,54 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBui * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder( - index, com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** - * - * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRuleResult, - com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRuleResult, - com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>( - rules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>( + rules_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; - * * @return The rowCount. */ @java.lang.Override @@ -3706,37 +3798,31 @@ public long getRowCount() { return rowCount_; } /** - * - * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { rowCount_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; - * * @return This builder for chaining. */ public Builder clearRowCount() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); rowCount_ = 0L; onChanged(); return this; @@ -3744,47 +3830,34 @@ public Builder clearRowCount() { private com.google.cloud.dataplex.v1.ScannedData scannedData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder> - scannedDataBuilder_; + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> scannedDataBuilder_; /** - * - * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return Whether the scannedData field is set. */ public boolean hasScannedData() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return The scannedData. */ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { if (scannedDataBuilder_ == null) { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } else { return scannedDataBuilder_.getMessage(); } } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3800,13 +3873,11 @@ public Builder setScannedData(com.google.cloud.dataplex.v1.ScannedData value) { } else { scannedDataBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3820,13 +3891,11 @@ public Builder setScannedData( } else { scannedDataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3835,9 +3904,9 @@ public Builder setScannedData( */ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && scannedData_ != null - && scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + scannedData_ != null && + scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { getScannedDataBuilder().mergeFrom(value); } else { scannedData_ = value; @@ -3845,13 +3914,11 @@ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) } else { scannedDataBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3859,7 +3926,7 @@ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public Builder clearScannedData() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); scannedData_ = null; if (scannedDataBuilder_ != null) { scannedDataBuilder_.dispose(); @@ -3869,8 +3936,6 @@ public Builder clearScannedData() { return this; } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3878,13 +3943,11 @@ public Builder clearScannedData() { * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public com.google.cloud.dataplex.v1.ScannedData.Builder getScannedDataBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return getScannedDataFieldBuilder().getBuilder(); } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3895,14 +3958,11 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder if (scannedDataBuilder_ != null) { return scannedDataBuilder_.getMessageOrBuilder(); } else { - return scannedData_ == null - ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() - : scannedData_; + return scannedData_ == null ? + com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } } /** - * - * *
      * The data scanned for this result.
      * 
@@ -3910,82 +3970,56 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> getScannedDataFieldBuilder() { if (scannedDataBuilder_ == null) { - scannedDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, - com.google.cloud.dataplex.v1.ScannedData.Builder, - com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( - getScannedData(), getParentForChildren(), isClean()); + scannedDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( + getScannedData(), + getParentForChildren(), + isClean()); scannedData_ = null; } return scannedDataBuilder_; } - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> - postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { + public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3994,52 +4028,40 @@ public Builder setPostScanActionsResult( } else { postScanActionsResultBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { postScanActionsResultBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergePostScanActionsResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { + public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && postScanActionsResult_ != null - && postScanActionsResult_ - != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + postScanActionsResult_ != null && + postScanActionsResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -4047,23 +4069,19 @@ public Builder mergePostScanActionsResult( } else { postScanActionsResultBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostScanActionsResult() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); postScanActionsResult_ = null; if (postScanActionsResultBuilder_ != null) { postScanActionsResultBuilder_.dispose(); @@ -4073,74 +4091,55 @@ public Builder clearPostScanActionsResult() { return this; } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder - getPostScanActionsResultBuilder() { - bitField0_ |= 0x00000020; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { + bitField0_ |= 0x00000080; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult - .getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } } /** - * - * *
      * Output only. The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), getParentForChildren(), isClean()); + postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), + getParentForChildren(), + isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4150,12 +4149,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult) private static final com.google.cloud.dataplex.v1.DataQualityResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult(); } @@ -4164,27 +4163,27 @@ public static com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4199,4 +4198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java similarity index 59% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java index df95bd6a1765..722d0839bff9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java @@ -1,44 +1,46 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityResultOrBuilder - extends +public interface DataQualityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Overall data quality result -- `true` if all rules passed.
    * 
* * bool passed = 5; - * * @return The passed. */ boolean getPassed(); /** + *
+   * Output only. The overall data quality score.
+   *
+   * The score ranges between [0, 100] (up to two decimal points).
+   * 
+ * + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the score field is set. + */ + boolean hasScore(); + /** + *
+   * Output only. The overall data quality score.
    *
+   * The score ranges between [0, 100] (up to two decimal points).
+   * 
* + * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The score. + */ + float getScore(); + + /** *
    * A list of results at the dimension level.
    *
@@ -48,10 +50,9 @@ public interface DataQualityResultOrBuilder
    *
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
-  java.util.List getDimensionsList();
+  java.util.List 
+      getDimensionsList();
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -63,8 +64,6 @@ public interface DataQualityResultOrBuilder
    */
   com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int index);
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -76,8 +75,6 @@ public interface DataQualityResultOrBuilder
    */
   int getDimensionsCount();
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -87,11 +84,9 @@ public interface DataQualityResultOrBuilder
    *
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
-  java.util.List
+  java.util.List 
       getDimensionsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of results at the dimension level.
    *
@@ -105,97 +100,137 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
       int index);
 
   /**
+   * 
+   * Output only. A list of results at the column level.
    *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getColumnsList(); + /** *
-   * A list of all the rules in a job, and their results.
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getRulesList(); + com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index); /** + *
+   * Output only. A list of results at the column level.
    *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getColumnsCount(); + /** *
-   * A list of all the rules in a job, and their results.
+   * Output only. A list of results at the column level.
+   *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index); + java.util.List + getColumnsOrBuilderList(); /** + *
+   * Output only. A list of results at the column level.
    *
+   * A column will have a corresponding `DataQualityColumnResult` if and only if
+   * there is at least one rule with the 'column' field set to it.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( + int index); + + /** *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - int getRulesCount(); + java.util.List + getRulesList(); /** + *
+   * A list of all the rules in a job, and their results.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; + */ + com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index); + /** + *
+   * A list of all the rules in a job, and their results.
+   * 
* + * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; + */ + int getRulesCount(); + /** *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder(int index); + com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( + int index); /** - * - * *
    * The count of rows processed.
    * 
* * int64 row_count = 4; - * * @return The rowCount. */ long getRowCount(); /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return Whether the scannedData field is set. */ boolean hasScannedData(); /** - * - * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; - * * @return The scannedData. */ com.google.cloud.dataplex.v1.ScannedData getScannedData(); /** - * - * *
    * The data scanned for this result.
    * 
@@ -205,44 +240,29 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult(); /** - * - * *
    * Output only. The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java index eb002478d12f..9a604de8279f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A rule captures data quality intent about a data source.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule} */ -public final class DataQualityRule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataQualityRule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule) DataQualityRuleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataQualityRule.newBuilder() to construct. private DataQualityRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualityRule() { column_ = ""; dimension_ = ""; @@ -46,33 +28,29 @@ private DataQualityRule() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataQualityRule(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.class, - com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.class, com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); } - public interface RangeExpectationOrBuilder - extends + public interface RangeExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -80,13 +58,10 @@ public interface RangeExpectationOrBuilder
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ java.lang.String getMinValue(); /** - * - * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -94,14 +69,12 @@ public interface RangeExpectationOrBuilder
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ - com.google.protobuf.ByteString getMinValueBytes(); + com.google.protobuf.ByteString + getMinValueBytes(); /** - * - * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -109,13 +82,10 @@ public interface RangeExpectationOrBuilder
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ java.lang.String getMaxValue(); /** - * - * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -123,14 +93,12 @@ public interface RangeExpectationOrBuilder
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ - com.google.protobuf.ByteString getMaxValueBytes(); + com.google.protobuf.ByteString + getMaxValueBytes(); /** - * - * *
      * Optional. Whether each value needs to be strictly greater than ('>') the
      * minimum, or if equality is allowed.
@@ -139,14 +107,11 @@ public interface RangeExpectationOrBuilder
      * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ boolean getStrictMinEnabled(); /** - * - * *
      * Optional. Whether each value needs to be strictly lesser than ('<') the
      * maximum, or if equality is allowed.
@@ -155,30 +120,26 @@ public interface RangeExpectationOrBuilder
      * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ boolean getStrictMaxEnabled(); } /** - * - * *
    * Evaluates whether each column value lies between a specified range.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RangeExpectation} */ - public static final class RangeExpectation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RangeExpectation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) RangeExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RangeExpectation.newBuilder() to construct. private RangeExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RangeExpectation() { minValue_ = ""; maxValue_ = ""; @@ -186,32 +147,28 @@ private RangeExpectation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RangeExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object minValue_ = ""; /** - * - * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -219,7 +176,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ @java.lang.Override @@ -228,15 +184,14 @@ public java.lang.String getMinValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; } } /** - * - * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -244,15 +199,16 @@ public java.lang.String getMinValue() {
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ @java.lang.Override - public com.google.protobuf.ByteString getMinValueBytes() { + public com.google.protobuf.ByteString + getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minValue_ = b; return b; } else { @@ -261,12 +217,9 @@ public com.google.protobuf.ByteString getMinValueBytes() { } public static final int MAX_VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object maxValue_ = ""; /** - * - * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -274,7 +227,6 @@ public com.google.protobuf.ByteString getMinValueBytes() {
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ @java.lang.Override @@ -283,15 +235,14 @@ public java.lang.String getMaxValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; } } /** - * - * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -299,15 +250,16 @@ public java.lang.String getMaxValue() {
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ @java.lang.Override - public com.google.protobuf.ByteString getMaxValueBytes() { + public com.google.protobuf.ByteString + getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maxValue_ = b; return b; } else { @@ -318,8 +270,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() { public static final int STRICT_MIN_ENABLED_FIELD_NUMBER = 3; private boolean strictMinEnabled_ = false; /** - * - * *
      * Optional. Whether each value needs to be strictly greater than ('>') the
      * minimum, or if equality is allowed.
@@ -328,7 +278,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() {
      * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ @java.lang.Override @@ -339,8 +288,6 @@ public boolean getStrictMinEnabled() { public static final int STRICT_MAX_ENABLED_FIELD_NUMBER = 4; private boolean strictMaxEnabled_ = false; /** - * - * *
      * Optional. Whether each value needs to be strictly lesser than ('<') the
      * maximum, or if equality is allowed.
@@ -349,7 +296,6 @@ public boolean getStrictMinEnabled() {
      * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ @java.lang.Override @@ -358,7 +304,6 @@ public boolean getStrictMaxEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,7 +315,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, minValue_); } @@ -399,10 +345,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, maxValue_); } if (strictMinEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, strictMinEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, strictMinEnabled_); } if (strictMaxEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, strictMaxEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, strictMaxEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -412,18 +360,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) obj; - if (!getMinValue().equals(other.getMinValue())) return false; - if (!getMaxValue().equals(other.getMaxValue())) return false; - if (getStrictMinEnabled() != other.getStrictMinEnabled()) return false; - if (getStrictMaxEnabled() != other.getStrictMaxEnabled()) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; + if (getStrictMinEnabled() + != other.getStrictMinEnabled()) return false; + if (getStrictMaxEnabled() + != other.getStrictMaxEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -440,103 +391,100 @@ public int hashCode() { hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER; hash = (53 * hash) + getMaxValue().hashCode(); hash = (37 * hash) + STRICT_MIN_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMinEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictMinEnabled()); hash = (37 * hash) + STRICT_MAX_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMaxEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictMaxEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -546,41 +494,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether each column value lies between a specified range.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RangeExpectation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -593,14 +539,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); } @@ -615,17 +560,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result = - new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.minValue_ = minValue_; @@ -645,52 +586,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other) { + if (other == com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) return this; if (!other.getMinValue().isEmpty()) { minValue_ = other.minValue_; bitField0_ |= 0x00000001; @@ -733,37 +668,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - minValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - maxValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - strictMinEnabled_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - strictMaxEnabled_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + minValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + maxValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + strictMinEnabled_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + strictMaxEnabled_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -773,13 +703,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object minValue_ = ""; /** - * - * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -787,13 +714,13 @@ public Builder mergeFrom(
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ public java.lang.String getMinValue() { java.lang.Object ref = minValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; @@ -802,8 +729,6 @@ public java.lang.String getMinValue() { } } /** - * - * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -811,14 +736,15 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ - public com.google.protobuf.ByteString getMinValueBytes() { + public com.google.protobuf.ByteString + getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minValue_ = b; return b; } else { @@ -826,8 +752,6 @@ public com.google.protobuf.ByteString getMinValueBytes() { } } /** - * - * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -835,22 +759,18 @@ public com.google.protobuf.ByteString getMinValueBytes() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The minValue to set. * @return This builder for chaining. */ - public Builder setMinValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMinValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } minValue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -858,7 +778,6 @@ public Builder setMinValue(java.lang.String value) {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMinValue() { @@ -868,8 +787,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -877,14 +794,12 @@ public Builder clearMinValue() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for minValue to set. * @return This builder for chaining. */ - public Builder setMinValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMinValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); minValue_ = value; bitField0_ |= 0x00000001; @@ -894,8 +809,6 @@ public Builder setMinValueBytes(com.google.protobuf.ByteString value) { private java.lang.Object maxValue_ = ""; /** - * - * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -903,13 +816,13 @@ public Builder setMinValueBytes(com.google.protobuf.ByteString value) {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ public java.lang.String getMaxValue() { java.lang.Object ref = maxValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; @@ -918,8 +831,6 @@ public java.lang.String getMaxValue() { } } /** - * - * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -927,14 +838,15 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ - public com.google.protobuf.ByteString getMaxValueBytes() { + public com.google.protobuf.ByteString + getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maxValue_ = b; return b; } else { @@ -942,8 +854,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() { } } /** - * - * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -951,22 +861,18 @@ public com.google.protobuf.ByteString getMaxValueBytes() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMaxValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } maxValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -974,7 +880,6 @@ public Builder setMaxValue(java.lang.String value) {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxValue() { @@ -984,8 +889,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -993,14 +896,12 @@ public Builder clearMaxValue() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMaxValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); maxValue_ = value; bitField0_ |= 0x00000002; @@ -1008,10 +909,8 @@ public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { return this; } - private boolean strictMinEnabled_; + private boolean strictMinEnabled_ ; /** - * - * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -1020,7 +919,6 @@ public Builder setMaxValueBytes(com.google.protobuf.ByteString value) {
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ @java.lang.Override @@ -1028,8 +926,6 @@ public boolean getStrictMinEnabled() { return strictMinEnabled_; } /** - * - * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -1038,7 +934,6 @@ public boolean getStrictMinEnabled() {
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The strictMinEnabled to set. * @return This builder for chaining. */ @@ -1050,8 +945,6 @@ public Builder setStrictMinEnabled(boolean value) { return this; } /** - * - * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -1060,7 +953,6 @@ public Builder setStrictMinEnabled(boolean value) {
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStrictMinEnabled() { @@ -1070,10 +962,8 @@ public Builder clearStrictMinEnabled() { return this; } - private boolean strictMaxEnabled_; + private boolean strictMaxEnabled_ ; /** - * - * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -1082,7 +972,6 @@ public Builder clearStrictMinEnabled() {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ @java.lang.Override @@ -1090,8 +979,6 @@ public boolean getStrictMaxEnabled() { return strictMaxEnabled_; } /** - * - * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -1100,7 +987,6 @@ public boolean getStrictMaxEnabled() {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The strictMaxEnabled to set. * @return This builder for chaining. */ @@ -1112,8 +998,6 @@ public Builder setStrictMaxEnabled(boolean value) { return this; } /** - * - * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -1122,7 +1006,6 @@ public Builder setStrictMaxEnabled(boolean value) {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStrictMaxEnabled() { @@ -1131,7 +1014,6 @@ public Builder clearStrictMaxEnabled() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1144,44 +1026,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RangeExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RangeExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1193,60 +1072,56 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NonNullExpectationOrBuilder - extends + public interface NonNullExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Evaluates whether each column value is null.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation} */ - public static final class NonNullExpectation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NonNullExpectation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) NonNullExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NonNullExpectation.newBuilder() to construct. private NonNullExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NonNullExpectation() {} + private NonNullExpectation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NonNullExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1258,7 +1133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -1276,13 +1152,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1301,95 +1176,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1399,42 +1268,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether each column value is null.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1442,14 +1308,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } @@ -1464,8 +1329,7 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation result = - new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(this); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(this); onBuilt(); return result; } @@ -1474,52 +1338,46 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other) { + if (other == com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1546,13 +1404,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1562,7 +1419,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1575,44 +1431,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NonNullExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NonNullExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1624,154 +1477,131 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SetExpectationOrBuilder - extends + public interface SetExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); } /** - * - * *
    * Evaluates whether each column value is contained by a specified set.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.SetExpectation} */ - public static final class SetExpectation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SetExpectation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) SetExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetExpectation.newBuilder() to construct. private SetExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetExpectation() { - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1779,23 +1609,20 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1807,7 +1634,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1836,15 +1664,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) obj; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1866,94 +1694,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1963,58 +1786,56 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether each column value is contained by a specified set.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.SetExpectation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance(); } @@ -2029,17 +1850,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result = - new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { values_.makeImmutable(); @@ -2051,41 +1868,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation)other); } else { super.mergeFrom(other); return this; @@ -2093,9 +1907,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -2132,20 +1944,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValuesIsMutable(); - values_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValuesIsMutable(); + values_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2155,12 +1965,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -2168,43 +1976,35 @@ private void ensureValuesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { values_.makeImmutable(); return values_; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -2212,37 +2012,31 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); bitField0_ |= 0x00000001; @@ -2250,21 +2044,17 @@ public Builder setValues(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); bitField0_ |= 0x00000001; @@ -2272,58 +2062,50 @@ public Builder addValues(java.lang.String value) { return this; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValues() { - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -2331,7 +2113,6 @@ public Builder addValuesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2344,13 +2125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(); } @@ -2359,28 +2139,27 @@ public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2395,95 +2174,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RegexExpectationOrBuilder - extends + public interface RegexExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The regex. */ java.lang.String getRegex(); /** - * - * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for regex. */ - com.google.protobuf.ByteString getRegexBytes(); + com.google.protobuf.ByteString + getRegexBytes(); } /** - * - * *
    * Evaluates whether each column value matches a specified regex.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RegexExpectation} */ - public static final class RegexExpectation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RegexExpectation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) RegexExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegexExpectation.newBuilder() to construct. private RegexExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegexExpectation() { regex_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegexExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); } public static final int REGEX_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object regex_ = ""; /** - * - * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The regex. */ @java.lang.Override @@ -2492,29 +2258,29 @@ public java.lang.String getRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } } /** - * - * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for regex. */ @java.lang.Override - public com.google.protobuf.ByteString getRegexBytes() { + public com.google.protobuf.ByteString + getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regex_ = b; return b; } else { @@ -2523,7 +2289,6 @@ public com.google.protobuf.ByteString getRegexBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2535,7 +2300,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regex_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regex_); } @@ -2559,15 +2325,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) obj; - if (!getRegex().equals(other.getRegex())) return false; + if (!getRegex() + .equals(other.getRegex())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2587,94 +2353,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2684,41 +2445,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether each column value matches a specified regex.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RegexExpectation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2728,14 +2487,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); } @@ -2750,17 +2508,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result = - new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.regex_ = regex_; @@ -2771,52 +2525,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other) { + if (other == com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) return this; if (!other.getRegex().isEmpty()) { regex_ = other.regex_; bitField0_ |= 0x00000001; @@ -2848,19 +2596,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - regex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + regex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2870,25 +2616,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object regex_ = ""; /** - * - * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The regex. */ public java.lang.String getRegex() { java.lang.Object ref = regex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; @@ -2897,21 +2640,20 @@ public java.lang.String getRegex() { } } /** - * - * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for regex. */ - public com.google.protobuf.ByteString getRegexBytes() { + public com.google.protobuf.ByteString + getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regex_ = b; return b; } else { @@ -2919,35 +2661,28 @@ public com.google.protobuf.ByteString getRegexBytes() { } } /** - * - * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The regex to set. * @return This builder for chaining. */ - public Builder setRegex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } regex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRegex() { @@ -2957,28 +2692,23 @@ public Builder clearRegex() { return this; } /** - * - * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for regex to set. * @return This builder for chaining. */ - public Builder setRegexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2991,44 +2721,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegexExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegexExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3040,60 +2767,56 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UniquenessExpectationOrBuilder - extends + public interface UniquenessExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Evaluates whether the column has duplicates.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation} */ - public static final class UniquenessExpectation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UniquenessExpectation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) UniquenessExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UniquenessExpectation.newBuilder() to construct. private UniquenessExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UniquenessExpectation() {} + private UniquenessExpectation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UniquenessExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3105,7 +2828,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -3123,13 +2847,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3148,95 +2871,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3246,42 +2963,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether the column has duplicates.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3289,16 +3003,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } @java.lang.Override @@ -3312,8 +3024,7 @@ public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation build( @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation result = - new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(this); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(this); onBuilt(); return result; } @@ -3322,53 +3033,46 @@ public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other) { - if (other - == com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other) { + if (other == com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3395,13 +3099,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3411,7 +3114,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3424,44 +3126,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniquenessExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniquenessExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3473,50 +3172,36 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface StatisticRangeExpectationOrBuilder - extends + public interface StatisticRangeExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for statistic. */ int getStatisticValue(); /** - * - * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The statistic. */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - getStatistic(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic(); /** - * - * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3525,13 +3210,10 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ java.lang.String getMinValue(); /** - * - * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3540,14 +3222,12 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ - com.google.protobuf.ByteString getMinValueBytes(); + com.google.protobuf.ByteString + getMinValueBytes(); /** - * - * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3556,13 +3236,10 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ java.lang.String getMaxValue(); /** - * - * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3571,14 +3248,12 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ - com.google.protobuf.ByteString getMaxValueBytes(); + com.google.protobuf.ByteString + getMaxValueBytes(); /** - * - * *
      * Optional. Whether column statistic needs to be strictly greater than
      * ('>') the minimum, or if equality is allowed.
@@ -3587,14 +3262,11 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ boolean getStrictMinEnabled(); /** - * - * *
      * Optional. Whether column statistic needs to be strictly lesser than ('<')
      * the maximum, or if equality is allowed.
@@ -3603,14 +3275,11 @@ public interface StatisticRangeExpectationOrBuilder
      * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ boolean getStrictMaxEnabled(); } /** - * - * *
    * Evaluates whether the column aggregate statistic lies between a specified
    * range.
@@ -3618,16 +3287,15 @@ public interface StatisticRangeExpectationOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation}
    */
-  public static final class StatisticRangeExpectation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class StatisticRangeExpectation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)
       StatisticRangeExpectationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use StatisticRangeExpectation.newBuilder() to construct.
     private StatisticRangeExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private StatisticRangeExpectation() {
       statistic_ = 0;
       minValue_ = "";
@@ -3636,39 +3304,34 @@ private StatisticRangeExpectation() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new StatisticRangeExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class,
-              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The list of aggregate metrics a rule can be evaluated against.
      * 
* - * Protobuf enum {@code - * google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic} + * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic} */ - public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { + public enum ColumnStatistic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified statistic type
        * 
@@ -3677,8 +3340,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ STATISTIC_UNDEFINED(0), /** - * - * *
        * Evaluate the column mean
        * 
@@ -3687,8 +3348,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ MEAN(1), /** - * - * *
        * Evaluate the column min
        * 
@@ -3697,8 +3356,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ MIN(2), /** - * - * *
        * Evaluate the column max
        * 
@@ -3710,8 +3367,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified statistic type
        * 
@@ -3720,8 +3375,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATISTIC_UNDEFINED_VALUE = 0; /** - * - * *
        * Evaluate the column mean
        * 
@@ -3730,8 +3383,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEAN_VALUE = 1; /** - * - * *
        * Evaluate the column min
        * 
@@ -3740,8 +3391,6 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MIN_VALUE = 2; /** - * - * *
        * Evaluate the column max
        * 
@@ -3750,6 +3399,7 @@ public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAX_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3774,16 +3424,11 @@ public static ColumnStatistic valueOf(int value) { */ public static ColumnStatistic forNumber(int value) { switch (value) { - case 0: - return STATISTIC_UNDEFINED; - case 1: - return MEAN; - case 2: - return MIN; - case 3: - return MAX; - default: - return null; + case 0: return STATISTIC_UNDEFINED; + case 1: return MEAN; + case 2: return MIN; + case 3: return MAX; + default: return null; } } @@ -3791,32 +3436,29 @@ public static ColumnStatistic forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ColumnStatistic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ColumnStatistic findValueByNumber(int number) { + return ColumnStatistic.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ColumnStatistic findValueByNumber(int number) { - return ColumnStatistic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDescriptor().getEnumTypes().get(0); } private static final ColumnStatistic[] VALUES = values(); @@ -3824,7 +3466,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ColumnStatistic 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; @@ -3844,55 +3487,33 @@ private ColumnStatistic(int value) { public static final int STATISTIC_FIELD_NUMBER = 1; private int statistic_ = 0; /** - * - * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for statistic. */ - @java.lang.Override - public int getStatisticValue() { + @java.lang.Override public int getStatisticValue() { return statistic_; } /** - * - * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The statistic. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - getStatistic() { - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - result = - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - .forNumber(statistic_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic() { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic result = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.forNumber(statistic_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.UNRECOGNIZED : result; } public static final int MIN_VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object minValue_ = ""; /** - * - * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3901,7 +3522,6 @@ public int getStatisticValue() {
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ @java.lang.Override @@ -3910,15 +3530,14 @@ public java.lang.String getMinValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; } } /** - * - * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3927,15 +3546,16 @@ public java.lang.String getMinValue() {
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ @java.lang.Override - public com.google.protobuf.ByteString getMinValueBytes() { + public com.google.protobuf.ByteString + getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minValue_ = b; return b; } else { @@ -3944,12 +3564,9 @@ public com.google.protobuf.ByteString getMinValueBytes() { } public static final int MAX_VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object maxValue_ = ""; /** - * - * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3958,7 +3575,6 @@ public com.google.protobuf.ByteString getMinValueBytes() {
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ @java.lang.Override @@ -3967,15 +3583,14 @@ public java.lang.String getMaxValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; } } /** - * - * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3984,15 +3599,16 @@ public java.lang.String getMaxValue() {
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ @java.lang.Override - public com.google.protobuf.ByteString getMaxValueBytes() { + public com.google.protobuf.ByteString + getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maxValue_ = b; return b; } else { @@ -4003,8 +3619,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() { public static final int STRICT_MIN_ENABLED_FIELD_NUMBER = 4; private boolean strictMinEnabled_ = false; /** - * - * *
      * Optional. Whether column statistic needs to be strictly greater than
      * ('>') the minimum, or if equality is allowed.
@@ -4013,7 +3627,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() {
      * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ @java.lang.Override @@ -4024,8 +3637,6 @@ public boolean getStrictMinEnabled() { public static final int STRICT_MAX_ENABLED_FIELD_NUMBER = 5; private boolean strictMaxEnabled_ = false; /** - * - * *
      * Optional. Whether column statistic needs to be strictly lesser than ('<')
      * the maximum, or if equality is allowed.
@@ -4034,7 +3645,6 @@ public boolean getStrictMinEnabled() {
      * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ @java.lang.Override @@ -4043,7 +3653,6 @@ public boolean getStrictMaxEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4055,11 +3664,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (statistic_ - != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - .STATISTIC_UNDEFINED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (statistic_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.STATISTIC_UNDEFINED.getNumber()) { output.writeEnum(1, statistic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { @@ -4083,11 +3690,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (statistic_ - != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - .STATISTIC_UNDEFINED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, statistic_); + if (statistic_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.STATISTIC_UNDEFINED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, statistic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, minValue_); @@ -4096,10 +3701,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, maxValue_); } if (strictMinEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, strictMinEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, strictMinEnabled_); } if (strictMaxEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, strictMaxEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, strictMaxEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4109,20 +3716,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) obj; if (statistic_ != other.statistic_) return false; - if (!getMinValue().equals(other.getMinValue())) return false; - if (!getMaxValue().equals(other.getMaxValue())) return false; - if (getStrictMinEnabled() != other.getStrictMinEnabled()) return false; - if (getStrictMaxEnabled() != other.getStrictMaxEnabled()) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; + if (getStrictMinEnabled() + != other.getStrictMinEnabled()) return false; + if (getStrictMaxEnabled() + != other.getStrictMaxEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4141,104 +3750,100 @@ public int hashCode() { hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER; hash = (53 * hash) + getMaxValue().hashCode(); hash = (37 * hash) + STRICT_MIN_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMinEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictMinEnabled()); hash = (37 * hash) + STRICT_MAX_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMaxEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictMaxEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4248,8 +3853,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether the column aggregate statistic lies between a specified
      * range.
@@ -4257,35 +3860,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class,
-                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder
-                    .class);
+                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4299,22 +3900,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
-            .getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result =
-            buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4323,17 +3921,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation bu
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result =
-            new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result) {
+      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.statistic_ = statistic_;
@@ -4356,54 +3950,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) {
-          return mergeFrom(
-              (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) other);
+        if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) {
+          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other) {
-        if (other
-            == com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other) {
+        if (other == com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance()) return this;
         if (other.statistic_ != 0) {
           setStatisticValue(other.getStatisticValue());
         }
@@ -4449,43 +4035,37 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  statistic_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  minValue_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  maxValue_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 32:
-                {
-                  strictMinEnabled_ = input.readBool();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 32
-              case 40:
-                {
-                  strictMaxEnabled_ = input.readBool();
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 40
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                statistic_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                minValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                maxValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 32: {
+                strictMinEnabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+              case 40: {
+                strictMaxEnabled_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4495,38 +4075,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int statistic_ = 0;
       /**
-       *
-       *
        * 
        * Optional. The aggregate metric to evaluate.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for statistic. */ - @java.lang.Override - public int getStatisticValue() { + @java.lang.Override public int getStatisticValue() { return statistic_; } - /** - * - * + /** *
        * Optional. The aggregate metric to evaluate.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for statistic to set. * @return This builder for chaining. */ @@ -4537,47 +4105,28 @@ public Builder setStatisticValue(int value) { return this; } /** - * - * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The statistic. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - getStatistic() { - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - result = - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .ColumnStatistic.forNumber(statistic_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - .UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic() { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic result = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.forNumber(statistic_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.UNRECOGNIZED : result; } /** - * - * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The statistic to set. * @return This builder for chaining. */ - public Builder setStatistic( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic - value) { + public Builder setStatistic(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic value) { if (value == null) { throw new NullPointerException(); } @@ -4587,16 +4136,11 @@ public Builder setStatistic( return this; } /** - * - * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearStatistic() { @@ -4608,8 +4152,6 @@ public Builder clearStatistic() { private java.lang.Object minValue_ = ""; /** - * - * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4618,13 +4160,13 @@ public Builder clearStatistic() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minValue. */ public java.lang.String getMinValue() { java.lang.Object ref = minValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; @@ -4633,8 +4175,6 @@ public java.lang.String getMinValue() { } } /** - * - * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4643,14 +4183,15 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for minValue. */ - public com.google.protobuf.ByteString getMinValueBytes() { + public com.google.protobuf.ByteString + getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minValue_ = b; return b; } else { @@ -4658,8 +4199,6 @@ public com.google.protobuf.ByteString getMinValueBytes() { } } /** - * - * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4668,22 +4207,18 @@ public com.google.protobuf.ByteString getMinValueBytes() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The minValue to set. * @return This builder for chaining. */ - public Builder setMinValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMinValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } minValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4692,7 +4227,6 @@ public Builder setMinValue(java.lang.String value) {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMinValue() { @@ -4702,8 +4236,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4712,14 +4244,12 @@ public Builder clearMinValue() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for minValue to set. * @return This builder for chaining. */ - public Builder setMinValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMinValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); minValue_ = value; bitField0_ |= 0x00000002; @@ -4729,8 +4259,6 @@ public Builder setMinValueBytes(com.google.protobuf.ByteString value) { private java.lang.Object maxValue_ = ""; /** - * - * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4739,13 +4267,13 @@ public Builder setMinValueBytes(com.google.protobuf.ByteString value) {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxValue. */ public java.lang.String getMaxValue() { java.lang.Object ref = maxValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; @@ -4754,8 +4282,6 @@ public java.lang.String getMaxValue() { } } /** - * - * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4764,14 +4290,15 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for maxValue. */ - public com.google.protobuf.ByteString getMaxValueBytes() { + public com.google.protobuf.ByteString + getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maxValue_ = b; return b; } else { @@ -4779,8 +4306,6 @@ public com.google.protobuf.ByteString getMaxValueBytes() { } } /** - * - * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4789,22 +4314,18 @@ public com.google.protobuf.ByteString getMaxValueBytes() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMaxValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } maxValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4813,7 +4334,6 @@ public Builder setMaxValue(java.lang.String value) {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxValue() { @@ -4823,8 +4343,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4833,14 +4351,12 @@ public Builder clearMaxValue() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMaxValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); maxValue_ = value; bitField0_ |= 0x00000004; @@ -4848,10 +4364,8 @@ public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { return this; } - private boolean strictMinEnabled_; + private boolean strictMinEnabled_ ; /** - * - * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4860,7 +4374,6 @@ public Builder setMaxValueBytes(com.google.protobuf.ByteString value) {
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMinEnabled. */ @java.lang.Override @@ -4868,8 +4381,6 @@ public boolean getStrictMinEnabled() { return strictMinEnabled_; } /** - * - * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4878,7 +4389,6 @@ public boolean getStrictMinEnabled() {
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The strictMinEnabled to set. * @return This builder for chaining. */ @@ -4890,8 +4400,6 @@ public Builder setStrictMinEnabled(boolean value) { return this; } /** - * - * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4900,7 +4408,6 @@ public Builder setStrictMinEnabled(boolean value) {
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStrictMinEnabled() { @@ -4910,10 +4417,8 @@ public Builder clearStrictMinEnabled() { return this; } - private boolean strictMaxEnabled_; + private boolean strictMaxEnabled_ ; /** - * - * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4922,7 +4427,6 @@ public Builder clearStrictMinEnabled() {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The strictMaxEnabled. */ @java.lang.Override @@ -4930,8 +4434,6 @@ public boolean getStrictMaxEnabled() { return strictMaxEnabled_; } /** - * - * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4940,7 +4442,6 @@ public boolean getStrictMaxEnabled() {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The strictMaxEnabled to set. * @return This builder for chaining. */ @@ -4952,8 +4453,6 @@ public Builder setStrictMaxEnabled(boolean value) { return this; } /** - * - * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4962,7 +4461,6 @@ public Builder setStrictMaxEnabled(boolean value) {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStrictMaxEnabled() { @@ -4971,7 +4469,6 @@ public Builder clearStrictMaxEnabled() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4984,45 +4481,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatisticRangeExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticRangeExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5034,45 +4527,37 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RowConditionExpectationOrBuilder - extends + public interface RowConditionExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ java.lang.String getSqlExpression(); /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ - com.google.protobuf.ByteString getSqlExpressionBytes(); + com.google.protobuf.ByteString + getSqlExpressionBytes(); } /** - * - * *
    * Evaluates whether each row passes the specified condition.
    *
@@ -5084,54 +4569,48 @@ public interface RowConditionExpectationOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation}
    */
-  public static final class RowConditionExpectation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class RowConditionExpectation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)
       RowConditionExpectationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use RowConditionExpectation.newBuilder() to construct.
     private RowConditionExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private RowConditionExpectation() {
       sqlExpression_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new RowConditionExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class,
-              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
     }
 
     public static final int SQL_EXPRESSION_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object sqlExpression_ = "";
     /**
-     *
-     *
      * 
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ @java.lang.Override @@ -5140,29 +4619,29 @@ public java.lang.String getSqlExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; } } /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlExpressionBytes() { + public com.google.protobuf.ByteString + getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5171,7 +4650,6 @@ public com.google.protobuf.ByteString getSqlExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5183,7 +4661,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlExpression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlExpression_); } @@ -5207,15 +4686,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) obj; - if (!getSqlExpression().equals(other.getSqlExpression())) return false; + if (!getSqlExpression() + .equals(other.getSqlExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5235,95 +4714,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5333,8 +4806,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether each row passes the specified condition.
      *
@@ -5346,34 +4817,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class,
-                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
+                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5383,22 +4853,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
-            .getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result =
-            buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5407,17 +4874,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation buil
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result =
-            new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result) {
+      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.sqlExpression_ = sqlExpression_;
@@ -5428,53 +4891,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) {
-          return mergeFrom(
-              (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other) {
-        if (other
-            == com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other) {
+        if (other == com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance()) return this;
         if (!other.getSqlExpression().isEmpty()) {
           sqlExpression_ = other.sqlExpression_;
           bitField0_ |= 0x00000001;
@@ -5506,19 +4962,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  sqlExpression_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                sqlExpression_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5528,25 +4982,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object sqlExpression_ = "";
       /**
-       *
-       *
        * 
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ public java.lang.String getSqlExpression() { java.lang.Object ref = sqlExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; @@ -5555,21 +5006,20 @@ public java.lang.String getSqlExpression() { } } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ - public com.google.protobuf.ByteString getSqlExpressionBytes() { + public com.google.protobuf.ByteString + getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5577,35 +5027,28 @@ public com.google.protobuf.ByteString getSqlExpressionBytes() { } } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlExpression( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSqlExpression() { @@ -5615,28 +5058,23 @@ public Builder clearSqlExpression() { return this; } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5649,44 +5087,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowConditionExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowConditionExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5698,45 +5133,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TableConditionExpectationOrBuilder - extends + public interface TableConditionExpectationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ java.lang.String getSqlExpression(); /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ - com.google.protobuf.ByteString getSqlExpressionBytes(); + com.google.protobuf.ByteString + getSqlExpressionBytes(); } /** - * - * *
    * Evaluates whether the provided expression is true.
    *
@@ -5748,54 +5175,48 @@ public interface TableConditionExpectationOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation}
    */
-  public static final class TableConditionExpectation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TableConditionExpectation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)
       TableConditionExpectationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TableConditionExpectation.newBuilder() to construct.
     private TableConditionExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private TableConditionExpectation() {
       sqlExpression_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TableConditionExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class,
-              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
     }
 
     public static final int SQL_EXPRESSION_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object sqlExpression_ = "";
     /**
-     *
-     *
      * 
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ @java.lang.Override @@ -5804,29 +5225,29 @@ public java.lang.String getSqlExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; } } /** - * - * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlExpressionBytes() { + public com.google.protobuf.ByteString + getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5835,7 +5256,6 @@ public com.google.protobuf.ByteString getSqlExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5847,7 +5267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlExpression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlExpression_); } @@ -5871,16 +5292,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other = - (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) obj; - if (!getSqlExpression().equals(other.getSqlExpression())) return false; + if (!getSqlExpression() + .equals(other.getSqlExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5900,95 +5320,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5998,8 +5412,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Evaluates whether the provided expression is true.
      *
@@ -6011,35 +5423,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class,
-                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder
-                    .class);
+                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6049,22 +5459,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto
-            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
-            .getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result =
-            buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -6073,17 +5480,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation bu
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result =
-            new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result) {
+      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.sqlExpression_ = sqlExpression_;
@@ -6094,54 +5497,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) {
-          return mergeFrom(
-              (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) other);
+        if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) {
+          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other) {
-        if (other
-            == com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other) {
+        if (other == com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance()) return this;
         if (!other.getSqlExpression().isEmpty()) {
           sqlExpression_ = other.sqlExpression_;
           bitField0_ |= 0x00000001;
@@ -6173,19 +5568,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  sqlExpression_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                sqlExpression_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6195,25 +5588,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object sqlExpression_ = "";
       /**
-       *
-       *
        * 
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sqlExpression. */ public java.lang.String getSqlExpression() { java.lang.Object ref = sqlExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; @@ -6222,21 +5612,20 @@ public java.lang.String getSqlExpression() { } } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for sqlExpression. */ - public com.google.protobuf.ByteString getSqlExpressionBytes() { + public com.google.protobuf.ByteString + getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -6244,35 +5633,28 @@ public com.google.protobuf.ByteString getSqlExpressionBytes() { } } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlExpression( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSqlExpression() { @@ -6282,28 +5664,23 @@ public Builder clearSqlExpression() { return this; } /** - * - * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6316,45 +5693,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableConditionExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableConditionExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6366,20 +5739,17 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int ruleTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object ruleType_; - public enum RuleTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RANGE_EXPECTATION(1), NON_NULL_EXPECTATION(2), @@ -6391,7 +5761,6 @@ public enum RuleTypeCase TABLE_CONDITION_EXPECTATION(201), RULETYPE_NOT_SET(0); private final int value; - private RuleTypeCase(int value) { this.value = value; } @@ -6407,49 +5776,37 @@ public static RuleTypeCase valueOf(int value) { public static RuleTypeCase forNumber(int value) { switch (value) { - case 1: - return RANGE_EXPECTATION; - case 2: - return NON_NULL_EXPECTATION; - case 3: - return SET_EXPECTATION; - case 4: - return REGEX_EXPECTATION; - case 100: - return UNIQUENESS_EXPECTATION; - case 101: - return STATISTIC_RANGE_EXPECTATION; - case 200: - return ROW_CONDITION_EXPECTATION; - case 201: - return TABLE_CONDITION_EXPECTATION; - case 0: - return RULETYPE_NOT_SET; - default: - return null; + case 1: return RANGE_EXPECTATION; + case 2: return NON_NULL_EXPECTATION; + case 3: return SET_EXPECTATION; + case 4: return REGEX_EXPECTATION; + case 100: return UNIQUENESS_EXPECTATION; + case 101: return STATISTIC_RANGE_EXPECTATION; + case 200: return ROW_CONDITION_EXPECTATION; + case 201: return TABLE_CONDITION_EXPECTATION; + case 0: return RULETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuleTypeCase getRuleTypeCase() { - return RuleTypeCase.forNumber(ruleTypeCase_); + public RuleTypeCase + getRuleTypeCase() { + return RuleTypeCase.forNumber( + ruleTypeCase_); } public static final int RANGE_EXPECTATION_FIELD_NUMBER = 1; /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * * @return Whether the rangeExpectation field is set. */ @java.lang.Override @@ -6457,27 +5814,22 @@ public boolean hasRangeExpectation() { return ruleTypeCase_ == 1; } /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * * @return The rangeExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExpectation() { if (ruleTypeCase_ == 1) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
@@ -6486,25 +5838,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExp
    * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder
-      getRangeExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder() {
     if (ruleTypeCase_ == 1) {
-      return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_;
+       return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance();
   }
 
   public static final int NON_NULL_EXPECTATION_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return Whether the nonNullExpectation field is set. */ @java.lang.Override @@ -6512,54 +5859,43 @@ public boolean hasNonNullExpectation() { return ruleTypeCase_ == 2; } /** - * - * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return The nonNullExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNullExpectation() { if (ruleTypeCase_ == 2) { - return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder - getNonNullExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder() { if (ruleTypeCase_ == 2) { - return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } public static final int SET_EXPECTATION_FIELD_NUMBER = 3; /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return Whether the setExpectation field is set. */ @java.lang.Override @@ -6567,27 +5903,22 @@ public boolean hasSetExpectation() { return ruleTypeCase_ == 3; } /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return The setExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpectation() { if (ruleTypeCase_ == 3) { - return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
@@ -6596,25 +5927,21 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta
    * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder
-      getSetExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder() {
     if (ruleTypeCase_ == 3) {
-      return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_;
+       return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
   }
 
   public static final int REGEX_EXPECTATION_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * * @return Whether the regexExpectation field is set. */ @java.lang.Override @@ -6622,27 +5949,22 @@ public boolean hasRegexExpectation() { return ruleTypeCase_ == 4; } /** - * - * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * * @return The regexExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExpectation() { if (ruleTypeCase_ == 4) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
@@ -6651,26 +5973,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExp
    * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder
-      getRegexExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder() {
     if (ruleTypeCase_ == 4) {
-      return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_;
+       return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance();
   }
 
   public static final int UNIQUENESS_EXPECTATION_FIELD_NUMBER = 100;
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return Whether the uniquenessExpectation field is set. */ @java.lang.Override @@ -6678,59 +5994,43 @@ public boolean hasUniquenessExpectation() { return ruleTypeCase_ == 100; } /** - * - * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return The uniquenessExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - getUniquenessExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation() { if (ruleTypeCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder - getUniquenessExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder() { if (ruleTypeCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } public static final int STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER = 101; /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return Whether the statisticRangeExpectation field is set. */ @java.lang.Override @@ -6738,63 +6038,45 @@ public boolean hasStatisticRangeExpectation() { return ruleTypeCase_ == 101; } /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return The statisticRangeExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - getStatisticRangeExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation() { if (ruleTypeCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); } /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder - getStatisticRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder() { if (ruleTypeCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); } public static final int ROW_CONDITION_EXPECTATION_FIELD_NUMBER = 200; /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return Whether the rowConditionExpectation field is set. */ @java.lang.Override @@ -6802,63 +6084,45 @@ public boolean hasRowConditionExpectation() { return ruleTypeCase_ == 200; } /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return The rowConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - getRowConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation() { if (ruleTypeCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); } /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder - getRowConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder() { if (ruleTypeCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); } public static final int TABLE_CONDITION_EXPECTATION_FIELD_NUMBER = 201; /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return Whether the tableConditionExpectation field is set. */ @java.lang.Override @@ -6866,63 +6130,46 @@ public boolean hasTableConditionExpectation() { return ruleTypeCase_ == 201; } /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return The tableConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - getTableConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation() { if (ruleTypeCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); } /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder - getTableConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder() { if (ruleTypeCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); } public static final int COLUMN_FIELD_NUMBER = 500; - @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** - * - * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ @java.lang.Override @@ -6931,29 +6178,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** - * - * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -6964,8 +6211,6 @@ public com.google.protobuf.ByteString getColumnBytes() { public static final int IGNORE_NULL_FIELD_NUMBER = 501; private boolean ignoreNull_ = false; /** - * - * *
    * Optional. Rows with `null` values will automatically fail a rule, unless
    * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -6975,7 +6220,6 @@ public com.google.protobuf.ByteString getColumnBytes() {
    * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreNull. */ @java.lang.Override @@ -6984,12 +6228,9 @@ public boolean getIgnoreNull() { } public static final int DIMENSION_FIELD_NUMBER = 502; - @SuppressWarnings("serial") private volatile java.lang.Object dimension_ = ""; /** - * - * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -6997,7 +6238,6 @@ public boolean getIgnoreNull() {
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dimension. */ @java.lang.Override @@ -7006,15 +6246,14 @@ public java.lang.String getDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; } } /** - * - * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -7022,15 +6261,16 @@ public java.lang.String getDimension() {
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dimension. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionBytes() { + public com.google.protobuf.ByteString + getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimension_ = b; return b; } else { @@ -7041,8 +6281,6 @@ public com.google.protobuf.ByteString getDimensionBytes() { public static final int THRESHOLD_FIELD_NUMBER = 503; private double threshold_ = 0D; /** - * - * *
    * Optional. The minimum ratio of **passing_rows / total_rows** required to
    * pass this rule, with a range of [0.0, 1.0].
@@ -7053,7 +6291,6 @@ public com.google.protobuf.ByteString getDimensionBytes() {
    * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The threshold. */ @java.lang.Override @@ -7062,12 +6299,9 @@ public double getThreshold() { } public static final int NAME_FIELD_NUMBER = 504; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Optional. A mutable name for the rule.
    *
@@ -7079,7 +6313,6 @@ public double getThreshold() {
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The name. */ @java.lang.Override @@ -7088,15 +6321,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; } } /** - * - * *
    * Optional. A mutable name for the rule.
    *
@@ -7108,15 +6340,16 @@ public java.lang.String getName() {
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -7125,12 +6358,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 505; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the rule.
    *
@@ -7138,7 +6368,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -7147,15 +6376,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the rule.
    *
@@ -7163,15 +6391,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -7180,7 +6409,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7192,38 +6420,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (ruleTypeCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); + output.writeMessage(1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); } if (ruleTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); + output.writeMessage(2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); } if (ruleTypeCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); + output.writeMessage(3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); } if (ruleTypeCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); + output.writeMessage(4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); } if (ruleTypeCase_ == 100) { - output.writeMessage( - 100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); + output.writeMessage(100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); } if (ruleTypeCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); + output.writeMessage(101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); } if (ruleTypeCase_ == 200) { - output.writeMessage( - 200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); + output.writeMessage(200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); } if (ruleTypeCase_ == 201) { - output.writeMessage( - 201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); + output.writeMessage(201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 500, column_); @@ -7253,59 +6474,50 @@ public int getSerializedSize() { size = 0; if (ruleTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); } if (ruleTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); } if (ruleTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); } if (ruleTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); } if (ruleTypeCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); } if (ruleTypeCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, - (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); } if (ruleTypeCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, - (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); } if (ruleTypeCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, - (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(500, column_); } if (ignoreNull_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(501, ignoreNull_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(501, ignoreNull_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimension_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(502, dimension_); } if (java.lang.Double.doubleToRawLongBits(threshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(503, threshold_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(503, threshold_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(504, name_); @@ -7321,48 +6533,59 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule other = - (com.google.cloud.dataplex.v1.DataQualityRule) obj; + com.google.cloud.dataplex.v1.DataQualityRule other = (com.google.cloud.dataplex.v1.DataQualityRule) obj; - if (!getColumn().equals(other.getColumn())) return false; - if (getIgnoreNull() != other.getIgnoreNull()) return false; - if (!getDimension().equals(other.getDimension())) return false; + if (!getColumn() + .equals(other.getColumn())) return false; + if (getIgnoreNull() + != other.getIgnoreNull()) return false; + if (!getDimension() + .equals(other.getDimension())) return false; if (java.lang.Double.doubleToLongBits(getThreshold()) - != java.lang.Double.doubleToLongBits(other.getThreshold())) return false; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + != java.lang.Double.doubleToLongBits( + other.getThreshold())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getRuleTypeCase().equals(other.getRuleTypeCase())) return false; switch (ruleTypeCase_) { case 1: - if (!getRangeExpectation().equals(other.getRangeExpectation())) return false; + if (!getRangeExpectation() + .equals(other.getRangeExpectation())) return false; break; case 2: - if (!getNonNullExpectation().equals(other.getNonNullExpectation())) return false; + if (!getNonNullExpectation() + .equals(other.getNonNullExpectation())) return false; break; case 3: - if (!getSetExpectation().equals(other.getSetExpectation())) return false; + if (!getSetExpectation() + .equals(other.getSetExpectation())) return false; break; case 4: - if (!getRegexExpectation().equals(other.getRegexExpectation())) return false; + if (!getRegexExpectation() + .equals(other.getRegexExpectation())) return false; break; case 100: - if (!getUniquenessExpectation().equals(other.getUniquenessExpectation())) return false; + if (!getUniquenessExpectation() + .equals(other.getUniquenessExpectation())) return false; break; case 101: - if (!getStatisticRangeExpectation().equals(other.getStatisticRangeExpectation())) - return false; + if (!getStatisticRangeExpectation() + .equals(other.getStatisticRangeExpectation())) return false; break; case 200: - if (!getRowConditionExpectation().equals(other.getRowConditionExpectation())) return false; + if (!getRowConditionExpectation() + .equals(other.getRowConditionExpectation())) return false; break; case 201: - if (!getTableConditionExpectation().equals(other.getTableConditionExpectation())) - return false; + if (!getTableConditionExpectation() + .equals(other.getTableConditionExpectation())) return false; break; case 0: default: @@ -7381,14 +6604,13 @@ public int hashCode() { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn().hashCode(); hash = (37 * hash) + IGNORE_NULL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreNull()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreNull()); hash = (37 * hash) + DIMENSION_FIELD_NUMBER; hash = (53 * hash) + getDimension().hashCode(); hash = (37 * hash) + THRESHOLD_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThreshold())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThreshold())); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -7434,136 +6656,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 captures data quality intent about a data source.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule) com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.class, - com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.class, com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7604,9 +6822,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override @@ -7625,11 +6843,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule result = - new com.google.cloud.dataplex.v1.DataQualityRule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityRule result = new com.google.cloud.dataplex.v1.DataQualityRule(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -7660,28 +6875,36 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule result) private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataQualityRule result) { result.ruleTypeCase_ = ruleTypeCase_; result.ruleType_ = this.ruleType_; - if (ruleTypeCase_ == 1 && rangeExpectationBuilder_ != null) { + if (ruleTypeCase_ == 1 && + rangeExpectationBuilder_ != null) { result.ruleType_ = rangeExpectationBuilder_.build(); } - if (ruleTypeCase_ == 2 && nonNullExpectationBuilder_ != null) { + if (ruleTypeCase_ == 2 && + nonNullExpectationBuilder_ != null) { result.ruleType_ = nonNullExpectationBuilder_.build(); } - if (ruleTypeCase_ == 3 && setExpectationBuilder_ != null) { + if (ruleTypeCase_ == 3 && + setExpectationBuilder_ != null) { result.ruleType_ = setExpectationBuilder_.build(); } - if (ruleTypeCase_ == 4 && regexExpectationBuilder_ != null) { + if (ruleTypeCase_ == 4 && + regexExpectationBuilder_ != null) { result.ruleType_ = regexExpectationBuilder_.build(); } - if (ruleTypeCase_ == 100 && uniquenessExpectationBuilder_ != null) { + if (ruleTypeCase_ == 100 && + uniquenessExpectationBuilder_ != null) { result.ruleType_ = uniquenessExpectationBuilder_.build(); } - if (ruleTypeCase_ == 101 && statisticRangeExpectationBuilder_ != null) { + if (ruleTypeCase_ == 101 && + statisticRangeExpectationBuilder_ != null) { result.ruleType_ = statisticRangeExpectationBuilder_.build(); } - if (ruleTypeCase_ == 200 && rowConditionExpectationBuilder_ != null) { + if (ruleTypeCase_ == 200 && + rowConditionExpectationBuilder_ != null) { result.ruleType_ = rowConditionExpectationBuilder_.build(); } - if (ruleTypeCase_ == 201 && tableConditionExpectationBuilder_ != null) { + if (ruleTypeCase_ == 201 && + tableConditionExpectationBuilder_ != null) { result.ruleType_ = tableConditionExpectationBuilder_.build(); } } @@ -7690,39 +6913,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataQualityRule res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule)other); } else { super.mergeFrom(other); return this; @@ -7758,50 +6980,41 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule other) { onChanged(); } switch (other.getRuleTypeCase()) { - case RANGE_EXPECTATION: - { - mergeRangeExpectation(other.getRangeExpectation()); - break; - } - case NON_NULL_EXPECTATION: - { - mergeNonNullExpectation(other.getNonNullExpectation()); - break; - } - case SET_EXPECTATION: - { - mergeSetExpectation(other.getSetExpectation()); - break; - } - case REGEX_EXPECTATION: - { - mergeRegexExpectation(other.getRegexExpectation()); - break; - } - case UNIQUENESS_EXPECTATION: - { - mergeUniquenessExpectation(other.getUniquenessExpectation()); - break; - } - case STATISTIC_RANGE_EXPECTATION: - { - mergeStatisticRangeExpectation(other.getStatisticRangeExpectation()); - break; - } - case ROW_CONDITION_EXPECTATION: - { - mergeRowConditionExpectation(other.getRowConditionExpectation()); - break; - } - case TABLE_CONDITION_EXPECTATION: - { - mergeTableConditionExpectation(other.getTableConditionExpectation()); - break; - } - case RULETYPE_NOT_SET: - { - break; - } + case RANGE_EXPECTATION: { + mergeRangeExpectation(other.getRangeExpectation()); + break; + } + case NON_NULL_EXPECTATION: { + mergeNonNullExpectation(other.getNonNullExpectation()); + break; + } + case SET_EXPECTATION: { + mergeSetExpectation(other.getSetExpectation()); + break; + } + case REGEX_EXPECTATION: { + mergeRegexExpectation(other.getRegexExpectation()); + break; + } + case UNIQUENESS_EXPECTATION: { + mergeUniquenessExpectation(other.getUniquenessExpectation()); + break; + } + case STATISTIC_RANGE_EXPECTATION: { + mergeStatisticRangeExpectation(other.getStatisticRangeExpectation()); + break; + } + case ROW_CONDITION_EXPECTATION: { + mergeRowConditionExpectation(other.getRowConditionExpectation()); + break; + } + case TABLE_CONDITION_EXPECTATION: { + mergeTableConditionExpectation(other.getTableConditionExpectation()); + break; + } + case RULETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -7829,104 +7042,98 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getRangeExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getNonNullExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getSetExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getRegexExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 4; - break; - } // case 34 - case 802: - { - input.readMessage( - getUniquenessExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 100; - break; - } // case 802 - case 810: - { - input.readMessage( - getStatisticRangeExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 101; - break; - } // case 810 - case 1602: - { - input.readMessage( - getRowConditionExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 200; - break; - } // case 1602 - case 1610: - { - input.readMessage( - getTableConditionExpectationFieldBuilder().getBuilder(), extensionRegistry); - ruleTypeCase_ = 201; - break; - } // case 1610 - case 4002: - { - column_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 4002 - case 4008: - { - ignoreNull_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 4008 - case 4018: - { - dimension_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 4018 - case 4025: - { - threshold_ = input.readDouble(); - bitField0_ |= 0x00000800; - break; - } // case 4025 - case 4034: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 4034 - case 4042: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 4042 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRangeExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getNonNullExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getSetExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getRegexExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 4; + break; + } // case 34 + case 802: { + input.readMessage( + getUniquenessExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 100; + break; + } // case 802 + case 810: { + input.readMessage( + getStatisticRangeExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 101; + break; + } // case 810 + case 1602: { + input.readMessage( + getRowConditionExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 200; + break; + } // case 1602 + case 1610: { + input.readMessage( + getTableConditionExpectationFieldBuilder().getBuilder(), + extensionRegistry); + ruleTypeCase_ = 201; + break; + } // case 1610 + case 4002: { + column_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 4002 + case 4008: { + ignoreNull_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 4008 + case 4018: { + dimension_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 4018 + case 4025: { + threshold_ = input.readDouble(); + bitField0_ |= 0x00000800; + break; + } // case 4025 + case 4034: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 4034 + case 4042: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 4042 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7936,12 +7143,12 @@ public Builder mergeFrom( } // finally return this; } - private int ruleTypeCase_ = 0; private java.lang.Object ruleType_; - - public RuleTypeCase getRuleTypeCase() { - return RuleTypeCase.forNumber(ruleTypeCase_); + public RuleTypeCase + getRuleTypeCase() { + return RuleTypeCase.forNumber( + ruleTypeCase_); } public Builder clearRuleType() { @@ -7954,21 +7161,14 @@ public Builder clearRuleType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> - rangeExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> rangeExpectationBuilder_; /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; * @return Whether the rangeExpectation field is set. */ @java.lang.Override @@ -7976,16 +7176,12 @@ public boolean hasRangeExpectation() { return ruleTypeCase_ == 1; } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; * @return The rangeExpectation. */ @java.lang.Override @@ -8003,18 +7199,14 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExp } } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ - public Builder setRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { + public Builder setRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { if (rangeExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8028,15 +7220,12 @@ public Builder setRangeExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ public Builder setRangeExpectation( com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder builderForValue) { @@ -8050,28 +7239,19 @@ public Builder setRangeExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ - public Builder mergeRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { + public Builder mergeRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { if (rangeExpectationBuilder_ == null) { - if (ruleTypeCase_ == 1 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 1 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -8087,15 +7267,12 @@ public Builder mergeRangeExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ public Builder clearRangeExpectation() { if (rangeExpectationBuilder_ == null) { @@ -8114,34 +7291,26 @@ public Builder clearRangeExpectation() { return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder - getRangeExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder getRangeExpectationBuilder() { return getRangeExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder - getRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder() { if ((ruleTypeCase_ == 1) && (rangeExpectationBuilder_ != null)) { return rangeExpectationBuilder_.getMessageOrBuilder(); } else { @@ -8152,31 +7321,22 @@ public Builder clearRangeExpectation() { } } /** - * - * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> getRangeExpectationFieldBuilder() { if (rangeExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 1)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); - } - rangeExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); + } + rangeExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8188,20 +7348,13 @@ public Builder clearRangeExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> - nonNullExpectationBuilder_; - /** - * - * + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> nonNullExpectationBuilder_; + /** *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return Whether the nonNullExpectation field is set. */ @java.lang.Override @@ -8209,15 +7362,11 @@ public boolean hasNonNullExpectation() { return ruleTypeCase_ == 2; } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return The nonNullExpectation. */ @java.lang.Override @@ -8235,17 +7384,13 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNul } } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ - public Builder setNonNullExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { + public Builder setNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { if (nonNullExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8259,14 +7404,11 @@ public Builder setNonNullExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ public Builder setNonNullExpectation( com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder builderForValue) { @@ -8280,27 +7422,18 @@ public Builder setNonNullExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ - public Builder mergeNonNullExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { + public Builder mergeNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { if (nonNullExpectationBuilder_ == null) { - if (ruleTypeCase_ == 2 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 2 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -8316,14 +7449,11 @@ public Builder mergeNonNullExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ public Builder clearNonNullExpectation() { if (nonNullExpectationBuilder_ == null) { @@ -8342,32 +7472,24 @@ public Builder clearNonNullExpectation() { return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder - getNonNullExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder getNonNullExpectationBuilder() { return getNonNullExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder - getNonNullExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder() { if ((ruleTypeCase_ == 2) && (nonNullExpectationBuilder_ != null)) { return nonNullExpectationBuilder_.getMessageOrBuilder(); } else { @@ -8378,30 +7500,21 @@ public Builder clearNonNullExpectation() { } } /** - * - * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> getNonNullExpectationFieldBuilder() { if (nonNullExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 2)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); - } - nonNullExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); + } + nonNullExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8413,20 +7526,14 @@ public Builder clearNonNullExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> - setExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> setExpectationBuilder_; /** - * - * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return Whether the setExpectation field is set. */ @java.lang.Override @@ -8434,15 +7541,12 @@ public boolean hasSetExpectation() { return ruleTypeCase_ == 3; } /** - * - * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return The setExpectation. */ @java.lang.Override @@ -8460,8 +7564,6 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta } } /** - * - * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8469,8 +7571,7 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public Builder setSetExpectation(
-        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
+    public Builder setSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
       if (setExpectationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8484,8 +7585,6 @@ public Builder setSetExpectation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8505,8 +7604,6 @@ public Builder setSetExpectation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8514,18 +7611,12 @@ public Builder setSetExpectation(
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public Builder mergeSetExpectation(
-        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
+    public Builder mergeSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
       if (setExpectationBuilder_ == null) {
-        if (ruleTypeCase_ == 3
-            && ruleType_
-                != com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation
-                    .getDefaultInstance()) {
-          ruleType_ =
-              com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder(
-                      (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (ruleTypeCase_ == 3 &&
+            ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) {
+          ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_)
+              .mergeFrom(value).buildPartial();
         } else {
           ruleType_ = value;
         }
@@ -8541,8 +7632,6 @@ public Builder mergeSetExpectation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8567,8 +7656,6 @@ public Builder clearSetExpectation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8576,13 +7663,10 @@ public Builder clearSetExpectation() {
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder
-        getSetExpectationBuilder() {
+    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder getSetExpectationBuilder() {
       return getSetExpectationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8591,8 +7675,7 @@ public Builder clearSetExpectation() {
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
     @java.lang.Override
-    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder
-        getSetExpectationOrBuilder() {
+    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder() {
       if ((ruleTypeCase_ == 3) && (setExpectationBuilder_ != null)) {
         return setExpectationBuilder_.getMessageOrBuilder();
       } else {
@@ -8603,8 +7686,6 @@ public Builder clearSetExpectation() {
       }
     }
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -8613,20 +7694,14 @@ public Builder clearSetExpectation() {
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation,
-            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder,
-            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>
+        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> 
         getSetExpectationFieldBuilder() {
       if (setExpectationBuilder_ == null) {
         if (!(ruleTypeCase_ == 3)) {
-          ruleType_ =
-              com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
-        }
-        setExpectationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation,
-                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder,
-                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>(
+          ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
+        }
+        setExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>(
                 (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_,
                 getParentForChildren(),
                 isClean());
@@ -8638,21 +7713,14 @@ public Builder clearSetExpectation() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation,
-            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder,
-            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>
-        regexExpectationBuilder_;
+        com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> regexExpectationBuilder_;
     /**
-     *
-     *
      * 
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; * @return Whether the regexExpectation field is set. */ @java.lang.Override @@ -8660,16 +7728,12 @@ public boolean hasRegexExpectation() { return ruleTypeCase_ == 4; } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; * @return The regexExpectation. */ @java.lang.Override @@ -8687,18 +7751,14 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExp } } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ - public Builder setRegexExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { + public Builder setRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { if (regexExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8712,15 +7772,12 @@ public Builder setRegexExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ public Builder setRegexExpectation( com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder builderForValue) { @@ -8734,28 +7791,19 @@ public Builder setRegexExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ - public Builder mergeRegexExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { + public Builder mergeRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { if (regexExpectationBuilder_ == null) { - if (ruleTypeCase_ == 4 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 4 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -8771,15 +7819,12 @@ public Builder mergeRegexExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ public Builder clearRegexExpectation() { if (regexExpectationBuilder_ == null) { @@ -8798,34 +7843,26 @@ public Builder clearRegexExpectation() { return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder - getRegexExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder getRegexExpectationBuilder() { return getRegexExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder - getRegexExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder() { if ((ruleTypeCase_ == 4) && (regexExpectationBuilder_ != null)) { return regexExpectationBuilder_.getMessageOrBuilder(); } else { @@ -8836,31 +7873,22 @@ public Builder clearRegexExpectation() { } } /** - * - * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> getRegexExpectationFieldBuilder() { if (regexExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 4)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); - } - regexExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); + } + regexExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8872,21 +7900,13 @@ public Builder clearRegexExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> - uniquenessExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> uniquenessExpectationBuilder_; /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return Whether the uniquenessExpectation field is set. */ @java.lang.Override @@ -8894,48 +7914,35 @@ public boolean hasUniquenessExpectation() { return ruleTypeCase_ == 100; } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return The uniquenessExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - getUniquenessExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation() { if (uniquenessExpectationBuilder_ == null) { if (ruleTypeCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } else { if (ruleTypeCase_ == 100) { return uniquenessExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ - public Builder setUniquenessExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { + public Builder setUniquenessExpectation(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { if (uniquenessExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8949,19 +7956,14 @@ public Builder setUniquenessExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ public Builder setUniquenessExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder builderForValue) { if (uniquenessExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -8972,29 +7974,18 @@ public Builder setUniquenessExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ - public Builder mergeUniquenessExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { + public Builder mergeUniquenessExpectation(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { if (uniquenessExpectationBuilder_ == null) { - if (ruleTypeCase_ == 100 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) - ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 100 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -9010,15 +8001,11 @@ public Builder mergeUniquenessExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ public Builder clearUniquenessExpectation() { if (uniquenessExpectationBuilder_ == null) { @@ -9037,71 +8024,49 @@ public Builder clearUniquenessExpectation() { return this; } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder - getUniquenessExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder getUniquenessExpectationBuilder() { return getUniquenessExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder - getUniquenessExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder() { if ((ruleTypeCase_ == 100) && (uniquenessExpectationBuilder_ != null)) { return uniquenessExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } } /** - * - * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> getUniquenessExpectationFieldBuilder() { if (uniquenessExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 100)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation - .getDefaultInstance(); - } - uniquenessExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); + } + uniquenessExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_, getParentForChildren(), isClean()); @@ -9113,22 +8078,14 @@ public Builder clearUniquenessExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> - statisticRangeExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> statisticRangeExpectationBuilder_; /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return Whether the statisticRangeExpectation field is set. */ @java.lang.Override @@ -9136,50 +8093,37 @@ public boolean hasStatisticRangeExpectation() { return ruleTypeCase_ == 101; } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return The statisticRangeExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - getStatisticRangeExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation() { if (statisticRangeExpectationBuilder_ == null) { if (ruleTypeCase_ == 101) { return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); } else { if (ruleTypeCase_ == 101) { return statisticRangeExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); } } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ - public Builder setStatisticRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { + public Builder setStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { if (statisticRangeExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9193,20 +8137,15 @@ public Builder setStatisticRangeExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ public Builder setStatisticRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder builderForValue) { if (statisticRangeExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -9217,30 +8156,19 @@ public Builder setStatisticRangeExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ - public Builder mergeStatisticRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { + public Builder mergeStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { if (statisticRangeExpectationBuilder_ == null) { - if (ruleTypeCase_ == 101 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) - ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 101 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -9256,16 +8184,12 @@ public Builder mergeStatisticRangeExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ public Builder clearStatisticRangeExpectation() { if (statisticRangeExpectationBuilder_ == null) { @@ -9284,74 +8208,52 @@ public Builder clearStatisticRangeExpectation() { return this; } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder - getStatisticRangeExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder getStatisticRangeExpectationBuilder() { return getStatisticRangeExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder - getStatisticRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder() { if ((ruleTypeCase_ == 101) && (statisticRangeExpectationBuilder_ != null)) { return statisticRangeExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 101) { return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); } } /** - * - * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> getStatisticRangeExpectationFieldBuilder() { if (statisticRangeExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 101)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - .getDefaultInstance(); - } - statisticRangeExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + } + statisticRangeExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_, getParentForChildren(), isClean()); @@ -9363,22 +8265,14 @@ public Builder clearStatisticRangeExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> - rowConditionExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> rowConditionExpectationBuilder_; /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return Whether the rowConditionExpectation field is set. */ @java.lang.Override @@ -9386,50 +8280,37 @@ public boolean hasRowConditionExpectation() { return ruleTypeCase_ == 200; } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return The rowConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - getRowConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation() { if (rowConditionExpectationBuilder_ == null) { if (ruleTypeCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); } else { if (ruleTypeCase_ == 200) { return rowConditionExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); } } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ - public Builder setRowConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { + public Builder setRowConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { if (rowConditionExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9443,20 +8324,15 @@ public Builder setRowConditionExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ public Builder setRowConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder builderForValue) { if (rowConditionExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -9467,30 +8343,19 @@ public Builder setRowConditionExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ - public Builder mergeRowConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { + public Builder mergeRowConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { if (rowConditionExpectationBuilder_ == null) { - if (ruleTypeCase_ == 200 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) - ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 200 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -9506,16 +8371,12 @@ public Builder mergeRowConditionExpectation( return this; } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ public Builder clearRowConditionExpectation() { if (rowConditionExpectationBuilder_ == null) { @@ -9534,74 +8395,52 @@ public Builder clearRowConditionExpectation() { return this; } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder - getRowConditionExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder getRowConditionExpectationBuilder() { return getRowConditionExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder - getRowConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder() { if ((ruleTypeCase_ == 200) && (rowConditionExpectationBuilder_ != null)) { return rowConditionExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); } } /** - * - * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> getRowConditionExpectationFieldBuilder() { if (rowConditionExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 200)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation - .getDefaultInstance(); - } - rowConditionExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + } + rowConditionExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_, getParentForChildren(), isClean()); @@ -9613,22 +8452,14 @@ public Builder clearRowConditionExpectation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> - tableConditionExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> tableConditionExpectationBuilder_; /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return Whether the tableConditionExpectation field is set. */ @java.lang.Override @@ -9636,50 +8467,37 @@ public boolean hasTableConditionExpectation() { return ruleTypeCase_ == 201; } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return The tableConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - getTableConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation() { if (tableConditionExpectationBuilder_ == null) { if (ruleTypeCase_ == 201) { return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); } else { if (ruleTypeCase_ == 201) { return tableConditionExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); } } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ - public Builder setTableConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { + public Builder setTableConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { if (tableConditionExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9693,20 +8511,15 @@ public Builder setTableConditionExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ public Builder setTableConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder builderForValue) { if (tableConditionExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -9717,30 +8530,19 @@ public Builder setTableConditionExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ - public Builder mergeTableConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { + public Builder mergeTableConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { if (tableConditionExpectationBuilder_ == null) { - if (ruleTypeCase_ == 201 - && ruleType_ - != com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance()) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) - ruleType_) - .mergeFrom(value) - .buildPartial(); + if (ruleTypeCase_ == 201 && + ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance()) { + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_) + .mergeFrom(value).buildPartial(); } else { ruleType_ = value; } @@ -9756,16 +8558,12 @@ public Builder mergeTableConditionExpectation( return this; } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ public Builder clearTableConditionExpectation() { if (tableConditionExpectationBuilder_ == null) { @@ -9784,74 +8582,52 @@ public Builder clearTableConditionExpectation() { return this; } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder - getTableConditionExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder getTableConditionExpectationBuilder() { return getTableConditionExpectationFieldBuilder().getBuilder(); } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder - getTableConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder() { if ((ruleTypeCase_ == 201) && (tableConditionExpectationBuilder_ != null)) { return tableConditionExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 201) { return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); } } /** - * - * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> getTableConditionExpectationFieldBuilder() { if (tableConditionExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 201)) { - ruleType_ = - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - .getDefaultInstance(); - } - tableConditionExpectationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder>( + ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + } + tableConditionExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_, getParentForChildren(), isClean()); @@ -9864,20 +8640,18 @@ public Builder clearTableConditionExpectation() { private java.lang.Object column_ = ""; /** - * - * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -9886,21 +8660,20 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -9908,35 +8681,28 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } column_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -9946,21 +8712,17 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000100; @@ -9968,10 +8730,8 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { return this; } - private boolean ignoreNull_; + private boolean ignoreNull_ ; /** - * - * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -9981,7 +8741,6 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) {
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreNull. */ @java.lang.Override @@ -9989,8 +8748,6 @@ public boolean getIgnoreNull() { return ignoreNull_; } /** - * - * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -10000,7 +8757,6 @@ public boolean getIgnoreNull() {
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The ignoreNull to set. * @return This builder for chaining. */ @@ -10012,8 +8768,6 @@ public Builder setIgnoreNull(boolean value) { return this; } /** - * - * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -10023,7 +8777,6 @@ public Builder setIgnoreNull(boolean value) {
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearIgnoreNull() { @@ -10035,8 +8788,6 @@ public Builder clearIgnoreNull() { private java.lang.Object dimension_ = ""; /** - * - * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -10044,13 +8795,13 @@ public Builder clearIgnoreNull() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dimension. */ public java.lang.String getDimension() { java.lang.Object ref = dimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; @@ -10059,8 +8810,6 @@ public java.lang.String getDimension() { } } /** - * - * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -10068,14 +8817,15 @@ public java.lang.String getDimension() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dimension. */ - public com.google.protobuf.ByteString getDimensionBytes() { + public com.google.protobuf.ByteString + getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimension_ = b; return b; } else { @@ -10083,8 +8833,6 @@ public com.google.protobuf.ByteString getDimensionBytes() { } } /** - * - * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -10092,22 +8840,18 @@ public com.google.protobuf.ByteString getDimensionBytes() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The dimension to set. * @return This builder for chaining. */ - public Builder setDimension(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimension( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dimension_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -10115,7 +8859,6 @@ public Builder setDimension(java.lang.String value) {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDimension() { @@ -10125,8 +8868,6 @@ public Builder clearDimension() { return this; } /** - * - * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -10134,14 +8875,12 @@ public Builder clearDimension() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for dimension to set. * @return This builder for chaining. */ - public Builder setDimensionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dimension_ = value; bitField0_ |= 0x00000400; @@ -10149,10 +8888,8 @@ public Builder setDimensionBytes(com.google.protobuf.ByteString value) { return this; } - private double threshold_; + private double threshold_ ; /** - * - * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -10163,7 +8900,6 @@ public Builder setDimensionBytes(com.google.protobuf.ByteString value) {
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The threshold. */ @java.lang.Override @@ -10171,8 +8907,6 @@ public double getThreshold() { return threshold_; } /** - * - * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -10183,7 +8917,6 @@ public double getThreshold() {
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The threshold to set. * @return This builder for chaining. */ @@ -10195,8 +8928,6 @@ public Builder setThreshold(double value) { return this; } /** - * - * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -10207,7 +8938,6 @@ public Builder setThreshold(double value) {
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearThreshold() { @@ -10219,8 +8949,6 @@ public Builder clearThreshold() { private java.lang.Object name_ = ""; /** - * - * *
      * Optional. A mutable name for the rule.
      *
@@ -10232,13 +8960,13 @@ public Builder clearThreshold() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -10247,8 +8975,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optional. A mutable name for the rule.
      *
@@ -10260,14 +8986,15 @@ public java.lang.String getName() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -10275,8 +9002,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optional. A mutable name for the rule.
      *
@@ -10288,22 +9013,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Optional. A mutable name for the rule.
      *
@@ -10315,7 +9036,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -10325,8 +9045,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Optional. A mutable name for the rule.
      *
@@ -10338,14 +9056,12 @@ public Builder clearName() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00001000; @@ -10355,8 +9071,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the rule.
      *
@@ -10364,13 +9078,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -10379,8 +9093,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the rule.
      *
@@ -10388,14 +9100,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -10403,8 +9116,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the rule.
      *
@@ -10412,22 +9123,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Optional. Description of the rule.
      *
@@ -10435,7 +9142,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -10445,8 +9151,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the rule.
      *
@@ -10454,23 +9158,21 @@ public Builder clearDescription() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10480,12 +9182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule) private static final com.google.cloud.dataplex.v1.DataQualityRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule(); } @@ -10494,27 +9196,27 @@ public static com.google.cloud.dataplex.v1.DataQualityRule getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10529,4 +9231,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java similarity index 74% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java index 8a9a9e5926c3..dab367797082 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityRuleOrBuilder - extends +public interface DataQualityRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * * @return Whether the rangeExpectation field is set. */ boolean hasRangeExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; - * * @return The rangeExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
@@ -59,77 +35,56 @@ public interface DataQualityRuleOrBuilder
    *
    * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    */
-  com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder
-      getRangeExpectationOrBuilder();
+  com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return Whether the nonNullExpectation field is set. */ boolean hasNonNullExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; * @return The nonNullExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNullExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; - * + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; */ - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder - getNonNullExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder(); /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return Whether the setExpectation field is set. */ boolean hasSetExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; - * * @return The setExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
@@ -140,34 +95,26 @@ public interface DataQualityRuleOrBuilder
   com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * * @return Whether the regexExpectation field is set. */ boolean hasRegexExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; - * * @return The regexExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
@@ -175,216 +122,146 @@ public interface DataQualityRuleOrBuilder
    *
    * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    */
-  com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder
-      getRegexExpectationOrBuilder();
+  com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return Whether the uniquenessExpectation field is set. */ boolean hasUniquenessExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; * @return The uniquenessExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; - * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; */ - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder - getUniquenessExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder(); /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return Whether the statisticRangeExpectation field is set. */ boolean hasStatisticRangeExpectation(); /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; * @return The statisticRangeExpectation. */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation - getStatisticRangeExpectation(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation(); /** - * - * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; - * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder - getStatisticRangeExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder(); /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return Whether the rowConditionExpectation field is set. */ boolean hasRowConditionExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; * @return The rowConditionExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation(); /** - * - * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; - * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; */ - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder - getRowConditionExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder(); /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return Whether the tableConditionExpectation field is set. */ boolean hasTableConditionExpectation(); /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; * @return The tableConditionExpectation. */ - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation - getTableConditionExpectation(); + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation(); /** - * - * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; - * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; */ - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder - getTableConditionExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder(); /** - * - * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * Optional. Rows with `null` values will automatically fail a rule, unless
    * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -394,14 +271,11 @@ public interface DataQualityRuleOrBuilder
    * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreNull. */ boolean getIgnoreNull(); /** - * - * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -409,13 +283,10 @@ public interface DataQualityRuleOrBuilder
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dimension. */ java.lang.String getDimension(); /** - * - * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -423,14 +294,12 @@ public interface DataQualityRuleOrBuilder
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dimension. */ - com.google.protobuf.ByteString getDimensionBytes(); + com.google.protobuf.ByteString + getDimensionBytes(); /** - * - * *
    * Optional. The minimum ratio of **passing_rows / total_rows** required to
    * pass this rule, with a range of [0.0, 1.0].
@@ -441,14 +310,11 @@ public interface DataQualityRuleOrBuilder
    * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The threshold. */ double getThreshold(); /** - * - * *
    * Optional. A mutable name for the rule.
    *
@@ -460,13 +326,10 @@ public interface DataQualityRuleOrBuilder
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optional. A mutable name for the rule.
    *
@@ -478,14 +341,12 @@ public interface DataQualityRuleOrBuilder
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the rule.
    *
@@ -493,13 +354,10 @@ public interface DataQualityRuleOrBuilder
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the rule.
    *
@@ -507,10 +365,10 @@ public interface DataQualityRuleOrBuilder
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); com.google.cloud.dataplex.v1.DataQualityRule.RuleTypeCase getRuleTypeCase(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java index 7c2adc3f7a7a..fb1af308692b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java @@ -1,78 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataQualityRuleResult provides a more detailed, per-rule view of the results.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRuleResult} */ -public final class DataQualityRuleResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataQualityRuleResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRuleResult) DataQualityRuleResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataQualityRuleResult.newBuilder() to construct. private DataQualityRuleResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualityRuleResult() { failingRowsQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataQualityRuleResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRuleResult.class, - com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRuleResult.class, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); } public static final int RULE_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataQualityRule rule_; /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return Whether the rule field is set. */ @java.lang.Override @@ -80,25 +58,18 @@ public boolean hasRule() { return rule_ != null; } /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return The rule. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule getRule() { - return rule_ == null - ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() - : rule_; + return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; } /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
@@ -107,22 +78,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule getRule() { */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() { - return rule_ == null - ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() - : rule_; + return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; } public static final int PASSED_FIELD_NUMBER = 7; private boolean passed_ = false; /** - * - * *
    * Whether the rule passed or failed.
    * 
* * bool passed = 7; - * * @return The passed. */ @java.lang.Override @@ -133,8 +99,6 @@ public boolean getPassed() { public static final int EVALUATED_COUNT_FIELD_NUMBER = 9; private long evaluatedCount_ = 0L; /** - * - * *
    * The number of rows a rule was evaluated against.
    *
@@ -149,7 +113,6 @@ public boolean getPassed() {
    * 
* * int64 evaluated_count = 9; - * * @return The evaluatedCount. */ @java.lang.Override @@ -160,8 +123,6 @@ public long getEvaluatedCount() { public static final int PASSED_COUNT_FIELD_NUMBER = 8; private long passedCount_ = 0L; /** - * - * *
    * The number of rows which passed a rule evaluation.
    *
@@ -169,7 +130,6 @@ public long getEvaluatedCount() {
    * 
* * int64 passed_count = 8; - * * @return The passedCount. */ @java.lang.Override @@ -180,14 +140,11 @@ public long getPassedCount() { public static final int NULL_COUNT_FIELD_NUMBER = 5; private long nullCount_ = 0L; /** - * - * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_count = 5; - * * @return The nullCount. */ @java.lang.Override @@ -198,8 +155,6 @@ public long getNullCount() { public static final int PASS_RATIO_FIELD_NUMBER = 6; private double passRatio_ = 0D; /** - * - * *
    * The ratio of **passed_count / evaluated_count**.
    *
@@ -207,7 +162,6 @@ public long getNullCount() {
    * 
* * double pass_ratio = 6; - * * @return The passRatio. */ @java.lang.Override @@ -216,12 +170,9 @@ public double getPassRatio() { } public static final int FAILING_ROWS_QUERY_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object failingRowsQuery_ = ""; /** - * - * *
    * The query to find rows that did not pass this rule.
    *
@@ -229,7 +180,6 @@ public double getPassRatio() {
    * 
* * string failing_rows_query = 10; - * * @return The failingRowsQuery. */ @java.lang.Override @@ -238,15 +188,14 @@ public java.lang.String getFailingRowsQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failingRowsQuery_ = s; return s; } } /** - * - * *
    * The query to find rows that did not pass this rule.
    *
@@ -254,15 +203,16 @@ public java.lang.String getFailingRowsQuery() {
    * 
* * string failing_rows_query = 10; - * * @return The bytes for failingRowsQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getFailingRowsQueryBytes() { + public com.google.protobuf.ByteString + getFailingRowsQueryBytes() { java.lang.Object ref = failingRowsQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failingRowsQuery_ = b; return b; } else { @@ -271,7 +221,6 @@ public com.google.protobuf.ByteString getFailingRowsQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rule_ != null) { output.writeMessage(1, getRule()); } @@ -315,22 +265,28 @@ public int getSerializedSize() { size = 0; if (rule_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRule()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRule()); } if (nullCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, nullCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, nullCount_); } if (java.lang.Double.doubleToRawLongBits(passRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, passRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(6, passRatio_); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, passed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, passed_); } if (passedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, passedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, passedCount_); } if (evaluatedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, evaluatedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, evaluatedCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failingRowsQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, failingRowsQuery_); @@ -343,25 +299,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRuleResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRuleResult other = - (com.google.cloud.dataplex.v1.DataQualityRuleResult) obj; + com.google.cloud.dataplex.v1.DataQualityRuleResult other = (com.google.cloud.dataplex.v1.DataQualityRuleResult) obj; if (hasRule() != other.hasRule()) return false; if (hasRule()) { - if (!getRule().equals(other.getRule())) return false; - } - if (getPassed() != other.getPassed()) return false; - if (getEvaluatedCount() != other.getEvaluatedCount()) return false; - if (getPassedCount() != other.getPassedCount()) return false; - if (getNullCount() != other.getNullCount()) return false; + if (!getRule() + .equals(other.getRule())) return false; + } + if (getPassed() + != other.getPassed()) return false; + if (getEvaluatedCount() + != other.getEvaluatedCount()) return false; + if (getPassedCount() + != other.getPassedCount()) return false; + if (getNullCount() + != other.getNullCount()) return false; if (java.lang.Double.doubleToLongBits(getPassRatio()) - != java.lang.Double.doubleToLongBits(other.getPassRatio())) return false; - if (!getFailingRowsQuery().equals(other.getFailingRowsQuery())) return false; + != java.lang.Double.doubleToLongBits( + other.getPassRatio())) return false; + if (!getFailingRowsQuery() + .equals(other.getFailingRowsQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,18 +340,20 @@ public int hashCode() { hash = (53 * hash) + getRule().hashCode(); } hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassed()); hash = (37 * hash) + EVALUATED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEvaluatedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEvaluatedCount()); hash = (37 * hash) + PASSED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPassedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPassedCount()); hash = (37 * hash) + NULL_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNullCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNullCount()); hash = (37 * hash) + PASS_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPassRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPassRatio())); hash = (37 * hash) + FAILING_ROWS_QUERY_FIELD_NUMBER; hash = (53 * hash) + getFailingRowsQuery().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -398,135 +362,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRuleResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataQualityRuleResult provides a more detailed, per-rule view of the results.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRuleResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRuleResult) com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRuleResult.class, - com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRuleResult.class, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRuleResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override @@ -567,11 +527,8 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRuleResult result = - new com.google.cloud.dataplex.v1.DataQualityRuleResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualityRuleResult result = new com.google.cloud.dataplex.v1.DataQualityRuleResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -579,7 +536,9 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRuleResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rule_ = ruleBuilder_ == null ? rule_ : ruleBuilder_.build(); + result.rule_ = ruleBuilder_ == null + ? rule_ + : ruleBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.passed_ = passed_; @@ -605,39 +564,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRuleResult re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRuleResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRuleResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRuleResult)other); } else { super.mergeFrom(other); return this; @@ -645,8 +603,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRuleResult other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } @@ -696,55 +653,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 40: - { - nullCount_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 49: - { - passRatio_ = input.readDouble(); - bitField0_ |= 0x00000020; - break; - } // case 49 - case 56: - { - passed_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 56 - case 64: - { - passedCount_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 64 - case 72: - { - evaluatedCount_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 72 - case 82: - { - failingRowsQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 40: { + nullCount_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 49: { + passRatio_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + case 56: { + passed_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 56 + case 64: { + passedCount_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 64 + case 72: { + evaluatedCount_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 72 + case 82: { + failingRowsQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -754,52 +705,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.dataplex.v1.DataQualityRule rule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> - ruleBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> ruleBuilder_; /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return Whether the rule field is set. */ public boolean hasRule() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return The rule. */ public com.google.cloud.dataplex.v1.DataQualityRule getRule() { if (ruleBuilder_ == null) { - return rule_ == null - ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() - : rule_; + return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -820,15 +757,14 @@ public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; */ - public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { + public Builder setRule( + com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); } else { @@ -839,8 +775,6 @@ public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule.Builder buil return this; } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -849,9 +783,9 @@ public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule.Builder buil */ public Builder mergeRule(com.google.cloud.dataplex.v1.DataQualityRule value) { if (ruleBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && rule_ != null - && rule_ != com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + rule_ != null && + rule_ != com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()) { getRuleBuilder().mergeFrom(value); } else { rule_ = value; @@ -864,8 +798,6 @@ public Builder mergeRule(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -883,8 +815,6 @@ public Builder clearRule() { return this; } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -897,8 +827,6 @@ public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRuleBuilder() { return getRuleFieldBuilder().getBuilder(); } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -909,14 +837,11 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { - return rule_ == null - ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() - : rule_; + return rule_ == null ? + com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; } } /** - * - * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -924,32 +849,26 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() * .google.cloud.dataplex.v1.DataQualityRule rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { - ruleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( - getRule(), getParentForChildren(), isClean()); + ruleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( + getRule(), + getParentForChildren(), + isClean()); rule_ = null; } return ruleBuilder_; } - private boolean passed_; + private boolean passed_ ; /** - * - * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; - * * @return The passed. */ @java.lang.Override @@ -957,14 +876,11 @@ public boolean getPassed() { return passed_; } /** - * - * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; - * * @param value The passed to set. * @return This builder for chaining. */ @@ -976,14 +892,11 @@ public Builder setPassed(boolean value) { return this; } /** - * - * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; - * * @return This builder for chaining. */ public Builder clearPassed() { @@ -993,10 +906,8 @@ public Builder clearPassed() { return this; } - private long evaluatedCount_; + private long evaluatedCount_ ; /** - * - * *
      * The number of rows a rule was evaluated against.
      *
@@ -1011,7 +922,6 @@ public Builder clearPassed() {
      * 
* * int64 evaluated_count = 9; - * * @return The evaluatedCount. */ @java.lang.Override @@ -1019,8 +929,6 @@ public long getEvaluatedCount() { return evaluatedCount_; } /** - * - * *
      * The number of rows a rule was evaluated against.
      *
@@ -1035,7 +943,6 @@ public long getEvaluatedCount() {
      * 
* * int64 evaluated_count = 9; - * * @param value The evaluatedCount to set. * @return This builder for chaining. */ @@ -1047,8 +954,6 @@ public Builder setEvaluatedCount(long value) { return this; } /** - * - * *
      * The number of rows a rule was evaluated against.
      *
@@ -1063,7 +968,6 @@ public Builder setEvaluatedCount(long value) {
      * 
* * int64 evaluated_count = 9; - * * @return This builder for chaining. */ public Builder clearEvaluatedCount() { @@ -1073,10 +977,8 @@ public Builder clearEvaluatedCount() { return this; } - private long passedCount_; + private long passedCount_ ; /** - * - * *
      * The number of rows which passed a rule evaluation.
      *
@@ -1084,7 +986,6 @@ public Builder clearEvaluatedCount() {
      * 
* * int64 passed_count = 8; - * * @return The passedCount. */ @java.lang.Override @@ -1092,8 +993,6 @@ public long getPassedCount() { return passedCount_; } /** - * - * *
      * The number of rows which passed a rule evaluation.
      *
@@ -1101,7 +1000,6 @@ public long getPassedCount() {
      * 
* * int64 passed_count = 8; - * * @param value The passedCount to set. * @return This builder for chaining. */ @@ -1113,8 +1011,6 @@ public Builder setPassedCount(long value) { return this; } /** - * - * *
      * The number of rows which passed a rule evaluation.
      *
@@ -1122,7 +1018,6 @@ public Builder setPassedCount(long value) {
      * 
* * int64 passed_count = 8; - * * @return This builder for chaining. */ public Builder clearPassedCount() { @@ -1132,16 +1027,13 @@ public Builder clearPassedCount() { return this; } - private long nullCount_; + private long nullCount_ ; /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; - * * @return The nullCount. */ @java.lang.Override @@ -1149,14 +1041,11 @@ public long getNullCount() { return nullCount_; } /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; - * * @param value The nullCount to set. * @return This builder for chaining. */ @@ -1168,14 +1057,11 @@ public Builder setNullCount(long value) { return this; } /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; - * * @return This builder for chaining. */ public Builder clearNullCount() { @@ -1185,10 +1071,8 @@ public Builder clearNullCount() { return this; } - private double passRatio_; + private double passRatio_ ; /** - * - * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1196,7 +1080,6 @@ public Builder clearNullCount() {
      * 
* * double pass_ratio = 6; - * * @return The passRatio. */ @java.lang.Override @@ -1204,8 +1087,6 @@ public double getPassRatio() { return passRatio_; } /** - * - * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1213,7 +1094,6 @@ public double getPassRatio() {
      * 
* * double pass_ratio = 6; - * * @param value The passRatio to set. * @return This builder for chaining. */ @@ -1225,8 +1105,6 @@ public Builder setPassRatio(double value) { return this; } /** - * - * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1234,7 +1112,6 @@ public Builder setPassRatio(double value) {
      * 
* * double pass_ratio = 6; - * * @return This builder for chaining. */ public Builder clearPassRatio() { @@ -1246,8 +1123,6 @@ public Builder clearPassRatio() { private java.lang.Object failingRowsQuery_ = ""; /** - * - * *
      * The query to find rows that did not pass this rule.
      *
@@ -1255,13 +1130,13 @@ public Builder clearPassRatio() {
      * 
* * string failing_rows_query = 10; - * * @return The failingRowsQuery. */ public java.lang.String getFailingRowsQuery() { java.lang.Object ref = failingRowsQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failingRowsQuery_ = s; return s; @@ -1270,8 +1145,6 @@ public java.lang.String getFailingRowsQuery() { } } /** - * - * *
      * The query to find rows that did not pass this rule.
      *
@@ -1279,14 +1152,15 @@ public java.lang.String getFailingRowsQuery() {
      * 
* * string failing_rows_query = 10; - * * @return The bytes for failingRowsQuery. */ - public com.google.protobuf.ByteString getFailingRowsQueryBytes() { + public com.google.protobuf.ByteString + getFailingRowsQueryBytes() { java.lang.Object ref = failingRowsQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failingRowsQuery_ = b; return b; } else { @@ -1294,8 +1168,6 @@ public com.google.protobuf.ByteString getFailingRowsQueryBytes() { } } /** - * - * *
      * The query to find rows that did not pass this rule.
      *
@@ -1303,22 +1175,18 @@ public com.google.protobuf.ByteString getFailingRowsQueryBytes() {
      * 
* * string failing_rows_query = 10; - * * @param value The failingRowsQuery to set. * @return This builder for chaining. */ - public Builder setFailingRowsQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailingRowsQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } failingRowsQuery_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The query to find rows that did not pass this rule.
      *
@@ -1326,7 +1194,6 @@ public Builder setFailingRowsQuery(java.lang.String value) {
      * 
* * string failing_rows_query = 10; - * * @return This builder for chaining. */ public Builder clearFailingRowsQuery() { @@ -1336,8 +1203,6 @@ public Builder clearFailingRowsQuery() { return this; } /** - * - * *
      * The query to find rows that did not pass this rule.
      *
@@ -1345,23 +1210,21 @@ public Builder clearFailingRowsQuery() {
      * 
* * string failing_rows_query = 10; - * * @param value The bytes for failingRowsQuery to set. * @return This builder for chaining. */ - public Builder setFailingRowsQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailingRowsQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); failingRowsQuery_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1371,12 +1234,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRuleResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRuleResult) private static final com.google.cloud.dataplex.v1.DataQualityRuleResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRuleResult(); } @@ -1385,27 +1248,27 @@ public static com.google.cloud.dataplex.v1.DataQualityRuleResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityRuleResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityRuleResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1420,4 +1283,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRuleResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java similarity index 77% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java index 4270b227b988..96b84ba7e07f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityRuleResultOrBuilder - extends +public interface DataQualityRuleResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRuleResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return Whether the rule field is set. */ boolean hasRule(); /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; - * * @return The rule. */ com.google.cloud.dataplex.v1.DataQualityRule getRule(); /** - * - * *
    * The rule specified in the DataQualitySpec, as is.
    * 
@@ -59,21 +35,16 @@ public interface DataQualityRuleResultOrBuilder com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder(); /** - * - * *
    * Whether the rule passed or failed.
    * 
* * bool passed = 7; - * * @return The passed. */ boolean getPassed(); /** - * - * *
    * The number of rows a rule was evaluated against.
    *
@@ -88,14 +59,11 @@ public interface DataQualityRuleResultOrBuilder
    * 
* * int64 evaluated_count = 9; - * * @return The evaluatedCount. */ long getEvaluatedCount(); /** - * - * *
    * The number of rows which passed a rule evaluation.
    *
@@ -103,27 +71,21 @@ public interface DataQualityRuleResultOrBuilder
    * 
* * int64 passed_count = 8; - * * @return The passedCount. */ long getPassedCount(); /** - * - * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_count = 5; - * * @return The nullCount. */ long getNullCount(); /** - * - * *
    * The ratio of **passed_count / evaluated_count**.
    *
@@ -131,14 +93,11 @@ public interface DataQualityRuleResultOrBuilder
    * 
* * double pass_ratio = 6; - * * @return The passRatio. */ double getPassRatio(); /** - * - * *
    * The query to find rows that did not pass this rule.
    *
@@ -146,13 +105,10 @@ public interface DataQualityRuleResultOrBuilder
    * 
* * string failing_rows_query = 10; - * * @return The failingRowsQuery. */ java.lang.String getFailingRowsQuery(); /** - * - * *
    * The query to find rows that did not pass this rule.
    *
@@ -160,8 +116,8 @@ public interface DataQualityRuleResultOrBuilder
    * 
* * string failing_rows_query = 10; - * * @return The bytes for failingRowsQuery. */ - com.google.protobuf.ByteString getFailingRowsQueryBytes(); + com.google.protobuf.ByteString + getFailingRowsQueryBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java index 9e8a294dbd95..6cc1b76dc0bb 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Information about the result of a data quality rule for data quality scan.
  * The monitored resource is 'DataScan'.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityScanRuleResult}
  */
-public final class DataQualityScanRuleResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataQualityScanRuleResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityScanRuleResult)
     DataQualityScanRuleResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataQualityScanRuleResult.newBuilder() to construct.
   private DataQualityScanRuleResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataQualityScanRuleResult() {
     jobId_ = "";
     dataSource_ = "";
@@ -51,38 +33,34 @@ private DataQualityScanRuleResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataQualityScanRuleResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class,
-            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class, com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the data quality rule.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType} */ - public enum RuleType implements com.google.protobuf.ProtocolMessageEnum { + public enum RuleType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified rule type.
      * 
@@ -91,8 +69,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum { */ RULE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation.
@@ -102,8 +78,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NON_NULL_EXPECTATION(1),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation.
@@ -113,8 +87,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     RANGE_EXPECTATION(2),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation.
@@ -124,8 +96,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGEX_EXPECTATION(3),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation.
@@ -135,8 +105,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ROW_CONDITION_EXPECTATION(4),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation.
@@ -146,8 +114,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SET_EXPECTATION(5),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation.
@@ -157,8 +123,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATISTIC_RANGE_EXPECTATION(6),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation.
@@ -168,8 +132,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     TABLE_CONDITION_EXPECTATION(7),
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.
@@ -182,8 +144,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * An unspecified rule type.
      * 
@@ -192,8 +152,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RULE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation.
@@ -203,8 +161,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NON_NULL_EXPECTATION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation.
@@ -214,8 +170,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RANGE_EXPECTATION_VALUE = 2;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation.
@@ -225,8 +179,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGEX_EXPECTATION_VALUE = 3;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation.
@@ -236,8 +188,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROW_CONDITION_EXPECTATION_VALUE = 4;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation.
@@ -247,8 +197,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SET_EXPECTATION_VALUE = 5;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation.
@@ -258,8 +206,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATISTIC_RANGE_EXPECTATION_VALUE = 6;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation.
@@ -269,8 +215,6 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TABLE_CONDITION_EXPECTATION_VALUE = 7;
     /**
-     *
-     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.
@@ -280,6 +224,7 @@ public enum RuleType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIQUENESS_EXPECTATION_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -304,63 +249,55 @@ public static RuleType valueOf(int value) {
      */
     public static RuleType forNumber(int value) {
       switch (value) {
-        case 0:
-          return RULE_TYPE_UNSPECIFIED;
-        case 1:
-          return NON_NULL_EXPECTATION;
-        case 2:
-          return RANGE_EXPECTATION;
-        case 3:
-          return REGEX_EXPECTATION;
-        case 4:
-          return ROW_CONDITION_EXPECTATION;
-        case 5:
-          return SET_EXPECTATION;
-        case 6:
-          return STATISTIC_RANGE_EXPECTATION;
-        case 7:
-          return TABLE_CONDITION_EXPECTATION;
-        case 8:
-          return UNIQUENESS_EXPECTATION;
-        default:
-          return null;
+        case 0: return RULE_TYPE_UNSPECIFIED;
+        case 1: return NON_NULL_EXPECTATION;
+        case 2: return RANGE_EXPECTATION;
+        case 3: return REGEX_EXPECTATION;
+        case 4: return ROW_CONDITION_EXPECTATION;
+        case 5: return SET_EXPECTATION;
+        case 6: return STATISTIC_RANGE_EXPECTATION;
+        case 7: return TABLE_CONDITION_EXPECTATION;
+        case 8: return UNIQUENESS_EXPECTATION;
+        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<
+        RuleType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RuleType findValueByNumber(int number) {
+              return RuleType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RuleType findValueByNumber(int number) {
-            return RuleType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RuleType[] VALUES = values();
 
-    public static RuleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RuleType 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;
@@ -378,18 +315,15 @@ private RuleType(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The evaluation type of the data quality rule.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType} */ - public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified evaluation type.
      * 
@@ -398,8 +332,6 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * The rule evaluation is done at per row level.
      * 
@@ -408,8 +340,6 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { */ PER_ROW(1), /** - * - * *
      * The rule evaluation is done for an aggregate of rows.
      * 
@@ -421,8 +351,6 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified evaluation type.
      * 
@@ -431,8 +359,6 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The rule evaluation is done at per row level.
      * 
@@ -441,8 +367,6 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PER_ROW_VALUE = 1; /** - * - * *
      * The rule evaluation is done for an aggregate of rows.
      * 
@@ -451,6 +375,7 @@ public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AGGREGATE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -475,51 +400,49 @@ public static EvaluationType valueOf(int value) { */ public static EvaluationType forNumber(int value) { switch (value) { - case 0: - return EVALUATION_TYPE_UNSPECIFIED; - case 1: - return PER_ROW; - case 2: - return AGGREGATE; - default: - return null; + case 0: return EVALUATION_TYPE_UNSPECIFIED; + case 1: return PER_ROW; + case 2: return AGGREGATE; + 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< + EvaluationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EvaluationType findValueByNumber(int number) { + return EvaluationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationType findValueByNumber(int number) { - return EvaluationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(1); } private static final EvaluationType[] VALUES = values(); - public static EvaluationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EvaluationType 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; @@ -537,18 +460,15 @@ private EvaluationType(int value) { } /** - * - * *
    * Whether the data quality rule passed or failed.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.Result} */ - public enum Result implements com.google.protobuf.ProtocolMessageEnum { + public enum Result + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified result.
      * 
@@ -557,8 +477,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ RESULT_UNSPECIFIED(0), /** - * - * *
      * The data quality rule passed.
      * 
@@ -567,8 +485,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ PASSED(1), /** - * - * *
      * The data quality rule failed.
      * 
@@ -580,8 +496,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified result.
      * 
@@ -590,8 +504,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data quality rule passed.
      * 
@@ -600,8 +512,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PASSED_VALUE = 1; /** - * - * *
      * The data quality rule failed.
      * 
@@ -610,6 +520,7 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -634,51 +545,49 @@ public static Result valueOf(int value) { */ public static Result forNumber(int value) { switch (value) { - case 0: - return RESULT_UNSPECIFIED; - case 1: - return PASSED; - case 2: - return FAILED; - default: - return null; + case 0: return RESULT_UNSPECIFIED; + case 1: return PASSED; + case 2: return FAILED; + 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< + Result> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Result findValueByNumber(int number) { + return Result.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Result findValueByNumber(int number) { - return Result.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(2); } private static final Result[] VALUES = values(); - public static Result valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Result 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; @@ -696,18 +605,14 @@ private Result(int value) { } public static final int JOB_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** - * - * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; - * * @return The jobId. */ @java.lang.Override @@ -716,29 +621,29 @@ 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; } } /** - * - * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; - * * @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 { @@ -747,18 +652,14 @@ public com.google.protobuf.ByteString getJobIdBytes() { } public static final int DATA_SOURCE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object dataSource_ = ""; /** - * - * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; - * * @return The dataSource. */ @java.lang.Override @@ -767,29 +668,29 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** - * - * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; - * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -798,18 +699,14 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } public static final int COLUMN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** - * - * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; - * * @return The column. */ @java.lang.Override @@ -818,29 +715,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** - * - * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -849,18 +746,14 @@ public com.google.protobuf.ByteString getColumnBytes() { } public static final int RULE_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object ruleName_ = ""; /** - * - * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; - * * @return The ruleName. */ @java.lang.Override @@ -869,29 +762,29 @@ public java.lang.String getRuleName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleName_ = s; return s; } } /** - * - * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; - * * @return The bytes for ruleName. */ @java.lang.Override - public com.google.protobuf.ByteString getRuleNameBytes() { + public com.google.protobuf.ByteString + getRuleNameBytes() { java.lang.Object ref = ruleName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleName_ = b; return b; } else { @@ -902,93 +795,64 @@ public com.google.protobuf.ByteString getRuleNameBytes() { public static final int RULE_TYPE_FIELD_NUMBER = 5; private int ruleType_ = 0; /** - * - * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The enum numeric value on the wire for ruleType. */ - @java.lang.Override - public int getRuleTypeValue() { + @java.lang.Override public int getRuleTypeValue() { return ruleType_; } /** - * - * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The ruleType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED : result; } public static final int EVALUTION_TYPE_FIELD_NUMBER = 6; private int evalutionType_ = 0; /** - * - * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The enum numeric value on the wire for evalutionType. */ - @java.lang.Override - public int getEvalutionTypeValue() { + @java.lang.Override public int getEvalutionTypeValue() { return evalutionType_; } /** - * - * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The evalutionType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber( - evalutionType_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber(evalutionType_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED : result; } public static final int RULE_DIMENSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object ruleDimension_ = ""; /** - * - * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; - * * @return The ruleDimension. */ @java.lang.Override @@ -997,29 +861,29 @@ public java.lang.String getRuleDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleDimension_ = s; return s; } } /** - * - * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; - * * @return The bytes for ruleDimension. */ @java.lang.Override - public com.google.protobuf.ByteString getRuleDimensionBytes() { + public com.google.protobuf.ByteString + getRuleDimensionBytes() { java.lang.Object ref = ruleDimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleDimension_ = b; return b; } else { @@ -1030,14 +894,11 @@ public com.google.protobuf.ByteString getRuleDimensionBytes() { public static final int THRESHOLD_PERCENT_FIELD_NUMBER = 8; private double thresholdPercent_ = 0D; /** - * - * *
    * The passing threshold ([0.0, 100.0]) of the data quality rule.
    * 
* * double threshold_percent = 8; - * * @return The thresholdPercent. */ @java.lang.Override @@ -1048,52 +909,38 @@ public double getThresholdPercent() { public static final int RESULT_FIELD_NUMBER = 9; private int result_ = 0; /** - * - * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The result. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED : result; } public static final int EVALUATED_ROW_COUNT_FIELD_NUMBER = 10; private long evaluatedRowCount_ = 0L; /** - * - * *
    * The number of rows evaluated against the data quality rule.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 evaluated_row_count = 10; - * * @return The evaluatedRowCount. */ @java.lang.Override @@ -1104,15 +951,12 @@ public long getEvaluatedRowCount() { public static final int PASSED_ROW_COUNT_FIELD_NUMBER = 11; private long passedRowCount_ = 0L; /** - * - * *
    * The number of rows which passed a rule evaluation.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 passed_row_count = 11; - * * @return The passedRowCount. */ @java.lang.Override @@ -1123,14 +967,11 @@ public long getPassedRowCount() { public static final int NULL_ROW_COUNT_FIELD_NUMBER = 12; private long nullRowCount_ = 0L; /** - * - * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_row_count = 12; - * * @return The nullRowCount. */ @java.lang.Override @@ -1139,7 +980,6 @@ public long getNullRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1151,7 +991,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_); } @@ -1164,15 +1005,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ruleName_); } - if (ruleType_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED - .getNumber()) { + if (ruleType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, ruleType_); } - if (evalutionType_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType - .EVALUATION_TYPE_UNSPECIFIED - .getNumber()) { + if (evalutionType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.EVALUATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, evalutionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleDimension_)) { @@ -1181,9 +1017,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(thresholdPercent_) != 0) { output.writeDouble(8, thresholdPercent_); } - if (result_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED - .getNumber()) { + if (result_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED.getNumber()) { output.writeEnum(9, result_); } if (evaluatedRowCount_ != 0L) { @@ -1216,36 +1050,36 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ruleName_); } - if (ruleType_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, ruleType_); + if (ruleType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, ruleType_); } - if (evalutionType_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType - .EVALUATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, evalutionType_); + if (evalutionType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.EVALUATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, evalutionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleDimension_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ruleDimension_); } if (java.lang.Double.doubleToRawLongBits(thresholdPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, thresholdPercent_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(8, thresholdPercent_); } - if (result_ - != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, result_); + if (result_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, result_); } if (evaluatedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, evaluatedRowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, evaluatedRowCount_); } if (passedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, passedRowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, passedRowCount_); } if (nullRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, nullRowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, nullRowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1255,27 +1089,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityScanRuleResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityScanRuleResult other = - (com.google.cloud.dataplex.v1.DataQualityScanRuleResult) obj; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult other = (com.google.cloud.dataplex.v1.DataQualityScanRuleResult) obj; - if (!getJobId().equals(other.getJobId())) return false; - if (!getDataSource().equals(other.getDataSource())) return false; - if (!getColumn().equals(other.getColumn())) return false; - if (!getRuleName().equals(other.getRuleName())) return false; + if (!getJobId() + .equals(other.getJobId())) return false; + if (!getDataSource() + .equals(other.getDataSource())) return false; + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getRuleName() + .equals(other.getRuleName())) return false; if (ruleType_ != other.ruleType_) return false; if (evalutionType_ != other.evalutionType_) return false; - if (!getRuleDimension().equals(other.getRuleDimension())) return false; + if (!getRuleDimension() + .equals(other.getRuleDimension())) return false; if (java.lang.Double.doubleToLongBits(getThresholdPercent()) - != java.lang.Double.doubleToLongBits(other.getThresholdPercent())) return false; + != java.lang.Double.doubleToLongBits( + other.getThresholdPercent())) return false; if (result_ != other.result_) return false; - if (getEvaluatedRowCount() != other.getEvaluatedRowCount()) return false; - if (getPassedRowCount() != other.getPassedRowCount()) return false; - if (getNullRowCount() != other.getNullRowCount()) return false; + if (getEvaluatedRowCount() + != other.getEvaluatedRowCount()) return false; + if (getPassedRowCount() + != other.getPassedRowCount()) return false; + if (getNullRowCount() + != other.getNullRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1302,122 +1144,117 @@ public int hashCode() { hash = (37 * hash) + RULE_DIMENSION_FIELD_NUMBER; hash = (53 * hash) + getRuleDimension().hashCode(); hash = (37 * hash) + THRESHOLD_PERCENT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThresholdPercent())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThresholdPercent())); hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; hash = (37 * hash) + EVALUATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEvaluatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEvaluatedRowCount()); hash = (37 * hash) + PASSED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPassedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPassedRowCount()); hash = (37 * hash) + NULL_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNullRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNullRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualityScanRuleResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityScanRuleResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about the result of a data quality rule for data quality scan.
    * The monitored resource is 'DataScan'.
@@ -1425,32 +1262,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityScanRuleResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityScanRuleResult)
       com.google.cloud.dataplex.v1.DataQualityScanRuleResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class,
-              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class, com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityScanRuleResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1471,9 +1309,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
     }
 
     @java.lang.Override
@@ -1492,11 +1330,8 @@ public com.google.cloud.dataplex.v1.DataQualityScanRuleResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityScanRuleResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityScanRuleResult result =
-          new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataQualityScanRuleResult result = new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1545,39 +1380,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityScanRuleResul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityScanRuleResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityScanRuleResult) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityScanRuleResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1585,8 +1419,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityScanRuleResult other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDefaultInstance()) return this;
       if (!other.getJobId().isEmpty()) {
         jobId_ = other.jobId_;
         bitField0_ |= 0x00000001;
@@ -1659,85 +1492,72 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                jobId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                dataSource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                column_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                ruleName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                ruleType_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 48:
-              {
-                evalutionType_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 58:
-              {
-                ruleDimension_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 65:
-              {
-                thresholdPercent_ = input.readDouble();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 65
-            case 72:
-              {
-                result_ = input.readEnum();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 80:
-              {
-                evaluatedRowCount_ = input.readInt64();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 80
-            case 88:
-              {
-                passedRowCount_ = input.readInt64();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            case 96:
-              {
-                nullRowCount_ = input.readInt64();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 96
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              jobId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              dataSource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              column_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              ruleName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              ruleType_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 48: {
+              evalutionType_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 58: {
+              ruleDimension_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 65: {
+              thresholdPercent_ = input.readDouble();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 65
+            case 72: {
+              result_ = input.readEnum();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 80: {
+              evaluatedRowCount_ = input.readInt64();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 80
+            case 88: {
+              passedRowCount_ = input.readInt64();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            case 96: {
+              nullRowCount_ = input.readInt64();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 96
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1747,25 +1567,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object jobId_ = "";
     /**
-     *
-     *
      * 
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; - * * @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; @@ -1774,21 +1591,20 @@ public java.lang.String getJobId() { } } /** - * - * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; - * * @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 { @@ -1796,35 +1612,28 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; - * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } jobId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; - * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1834,21 +1643,17 @@ public Builder clearJobId() { return this; } /** - * - * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; - * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000001; @@ -1858,20 +1663,18 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataSource_ = ""; /** - * - * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; - * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -1880,21 +1683,20 @@ public java.lang.String getDataSource() { } } /** - * - * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; - * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -1902,35 +1704,28 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } } /** - * - * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; - * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; - * * @return This builder for chaining. */ public Builder clearDataSource() { @@ -1940,21 +1735,17 @@ public Builder clearDataSource() { return this; } /** - * - * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; - * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSource_ = value; bitField0_ |= 0x00000002; @@ -1964,20 +1755,18 @@ public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object column_ = ""; /** - * - * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; - * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -1986,21 +1775,20 @@ public java.lang.String getColumn() { } } /** - * - * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -2008,35 +1796,28 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; - * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } column_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -2046,21 +1827,17 @@ public Builder clearColumn() { return this; } /** - * - * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; - * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000004; @@ -2070,20 +1847,18 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object ruleName_ = ""; /** - * - * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; - * * @return The ruleName. */ public java.lang.String getRuleName() { java.lang.Object ref = ruleName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleName_ = s; return s; @@ -2092,21 +1867,20 @@ public java.lang.String getRuleName() { } } /** - * - * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; - * * @return The bytes for ruleName. */ - public com.google.protobuf.ByteString getRuleNameBytes() { + public com.google.protobuf.ByteString + getRuleNameBytes() { java.lang.Object ref = ruleName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleName_ = b; return b; } else { @@ -2114,35 +1888,28 @@ public com.google.protobuf.ByteString getRuleNameBytes() { } } /** - * - * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; - * * @param value The ruleName to set. * @return This builder for chaining. */ - public Builder setRuleName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRuleName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ruleName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; - * * @return This builder for chaining. */ public Builder clearRuleName() { @@ -2152,21 +1919,17 @@ public Builder clearRuleName() { return this; } /** - * - * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; - * * @param value The bytes for ruleName to set. * @return This builder for chaining. */ - public Builder setRuleNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRuleNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ruleName_ = value; bitField0_ |= 0x00000008; @@ -2176,29 +1939,22 @@ public Builder setRuleNameBytes(com.google.protobuf.ByteString value) { private int ruleType_ = 0; /** - * - * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The enum numeric value on the wire for ruleType. */ - @java.lang.Override - public int getRuleTypeValue() { + @java.lang.Override public int getRuleTypeValue() { return ruleType_; } /** - * - * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @param value The enum numeric value on the wire for ruleType to set. * @return This builder for chaining. */ @@ -2209,38 +1965,28 @@ public Builder setRuleTypeValue(int value) { return this; } /** - * - * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The ruleType. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @param value The ruleType to set. * @return This builder for chaining. */ - public Builder setRuleType( - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType value) { + public Builder setRuleType(com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType value) { if (value == null) { throw new NullPointerException(); } @@ -2250,14 +1996,11 @@ public Builder setRuleType( return this; } /** - * - * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return This builder for chaining. */ public Builder clearRuleType() { @@ -2269,31 +2012,22 @@ public Builder clearRuleType() { private int evalutionType_ = 0; /** - * - * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The enum numeric value on the wire for evalutionType. */ - @java.lang.Override - public int getEvalutionTypeValue() { + @java.lang.Override public int getEvalutionTypeValue() { return evalutionType_; } /** - * - * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @param value The enum numeric value on the wire for evalutionType to set. * @return This builder for chaining. */ @@ -2304,42 +2038,28 @@ public Builder setEvalutionTypeValue(int value) { return this; } /** - * - * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The evalutionType. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType - getEvalutionType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber( - evalutionType_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber(evalutionType_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED : result; } /** - * - * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @param value The evalutionType to set. * @return This builder for chaining. */ - public Builder setEvalutionType( - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType value) { + public Builder setEvalutionType(com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType value) { if (value == null) { throw new NullPointerException(); } @@ -2349,15 +2069,11 @@ public Builder setEvalutionType( return this; } /** - * - * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return This builder for chaining. */ public Builder clearEvalutionType() { @@ -2369,20 +2085,18 @@ public Builder clearEvalutionType() { private java.lang.Object ruleDimension_ = ""; /** - * - * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; - * * @return The ruleDimension. */ public java.lang.String getRuleDimension() { java.lang.Object ref = ruleDimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleDimension_ = s; return s; @@ -2391,21 +2105,20 @@ public java.lang.String getRuleDimension() { } } /** - * - * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; - * * @return The bytes for ruleDimension. */ - public com.google.protobuf.ByteString getRuleDimensionBytes() { + public com.google.protobuf.ByteString + getRuleDimensionBytes() { java.lang.Object ref = ruleDimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleDimension_ = b; return b; } else { @@ -2413,35 +2126,28 @@ public com.google.protobuf.ByteString getRuleDimensionBytes() { } } /** - * - * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; - * * @param value The ruleDimension to set. * @return This builder for chaining. */ - public Builder setRuleDimension(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRuleDimension( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ruleDimension_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; - * * @return This builder for chaining. */ public Builder clearRuleDimension() { @@ -2451,21 +2157,17 @@ public Builder clearRuleDimension() { return this; } /** - * - * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; - * * @param value The bytes for ruleDimension to set. * @return This builder for chaining. */ - public Builder setRuleDimensionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRuleDimensionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ruleDimension_ = value; bitField0_ |= 0x00000040; @@ -2473,16 +2175,13 @@ public Builder setRuleDimensionBytes(com.google.protobuf.ByteString value) { return this; } - private double thresholdPercent_; + private double thresholdPercent_ ; /** - * - * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; - * * @return The thresholdPercent. */ @java.lang.Override @@ -2490,14 +2189,11 @@ public double getThresholdPercent() { return thresholdPercent_; } /** - * - * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; - * * @param value The thresholdPercent to set. * @return This builder for chaining. */ @@ -2509,14 +2205,11 @@ public Builder setThresholdPercent(double value) { return this; } /** - * - * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; - * * @return This builder for chaining. */ public Builder clearThresholdPercent() { @@ -2528,29 +2221,22 @@ public Builder clearThresholdPercent() { private int result_ = 0; /** - * - * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -2561,33 +2247,24 @@ public Builder setResultValue(int value) { return this; } /** - * - * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The result. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); - return result == null - ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); + return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED : result; } /** - * - * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @param value The result to set. * @return This builder for chaining. */ @@ -2601,14 +2278,11 @@ public Builder setResult(com.google.cloud.dataplex.v1.DataQualityScanRuleResult. return this; } /** - * - * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return This builder for chaining. */ public Builder clearResult() { @@ -2618,17 +2292,14 @@ public Builder clearResult() { return this; } - private long evaluatedRowCount_; + private long evaluatedRowCount_ ; /** - * - * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; - * * @return The evaluatedRowCount. */ @java.lang.Override @@ -2636,15 +2307,12 @@ public long getEvaluatedRowCount() { return evaluatedRowCount_; } /** - * - * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; - * * @param value The evaluatedRowCount to set. * @return This builder for chaining. */ @@ -2656,15 +2324,12 @@ public Builder setEvaluatedRowCount(long value) { return this; } /** - * - * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; - * * @return This builder for chaining. */ public Builder clearEvaluatedRowCount() { @@ -2674,17 +2339,14 @@ public Builder clearEvaluatedRowCount() { return this; } - private long passedRowCount_; + private long passedRowCount_ ; /** - * - * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; - * * @return The passedRowCount. */ @java.lang.Override @@ -2692,15 +2354,12 @@ public long getPassedRowCount() { return passedRowCount_; } /** - * - * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; - * * @param value The passedRowCount to set. * @return This builder for chaining. */ @@ -2712,15 +2371,12 @@ public Builder setPassedRowCount(long value) { return this; } /** - * - * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; - * * @return This builder for chaining. */ public Builder clearPassedRowCount() { @@ -2730,16 +2386,13 @@ public Builder clearPassedRowCount() { return this; } - private long nullRowCount_; + private long nullRowCount_ ; /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; - * * @return The nullRowCount. */ @java.lang.Override @@ -2747,14 +2400,11 @@ public long getNullRowCount() { return nullRowCount_; } /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; - * * @param value The nullRowCount to set. * @return This builder for chaining. */ @@ -2766,14 +2416,11 @@ public Builder setNullRowCount(long value) { return this; } /** - * - * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; - * * @return This builder for chaining. */ public Builder clearNullRowCount() { @@ -2782,9 +2429,9 @@ public Builder clearNullRowCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2794,12 +2441,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityScanRuleResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityScanRuleResult) private static final com.google.cloud.dataplex.v1.DataQualityScanRuleResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(); } @@ -2808,27 +2455,27 @@ public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityScanRuleResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityScanRuleResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2843,4 +2490,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DataQualityScanRuleResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java similarity index 78% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java index 30bf67f7cb91..fe9a5f1c68d8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java @@ -1,280 +1,207 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DataQualityScanRuleResultOrBuilder - extends +public interface DataQualityScanRuleResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityScanRuleResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); /** - * - * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; - * * @return The dataSource. */ java.lang.String getDataSource(); /** - * - * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; - * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString getDataSourceBytes(); + com.google.protobuf.ByteString + getDataSourceBytes(); /** - * - * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; - * * @return The ruleName. */ java.lang.String getRuleName(); /** - * - * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; - * * @return The bytes for ruleName. */ - com.google.protobuf.ByteString getRuleNameBytes(); + com.google.protobuf.ByteString + getRuleNameBytes(); /** - * - * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The enum numeric value on the wire for ruleType. */ int getRuleTypeValue(); /** - * - * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; - * * @return The ruleType. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType(); /** - * - * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The enum numeric value on the wire for evalutionType. */ int getEvalutionTypeValue(); /** - * - * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; - * - * + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; * @return The evalutionType. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType(); /** - * - * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; - * * @return The ruleDimension. */ java.lang.String getRuleDimension(); /** - * - * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; - * * @return The bytes for ruleDimension. */ - com.google.protobuf.ByteString getRuleDimensionBytes(); + com.google.protobuf.ByteString + getRuleDimensionBytes(); /** - * - * *
    * The passing threshold ([0.0, 100.0]) of the data quality rule.
    * 
* * double threshold_percent = 8; - * * @return The thresholdPercent. */ double getThresholdPercent(); /** - * - * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; - * * @return The result. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult(); /** - * - * *
    * The number of rows evaluated against the data quality rule.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 evaluated_row_count = 10; - * * @return The evaluatedRowCount. */ long getEvaluatedRowCount(); /** - * - * *
    * The number of rows which passed a rule evaluation.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 passed_row_count = 11; - * * @return The passedRowCount. */ long getPassedRowCount(); /** - * - * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_row_count = 12; - * * @return The nullRowCount. */ long getNullRowCount(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java index 3f29b78fa0e3..a182a8cb04dd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataQualityScan related setting.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec} */ -public final class DataQualitySpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataQualitySpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec) DataQualitySpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataQualitySpec.newBuilder() to construct. private DataQualitySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualitySpec() { rules_ = java.util.Collections.emptyList(); rowFilter_ = ""; @@ -44,125 +26,102 @@ private DataQualitySpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataQualitySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.class, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.class, com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); } - public interface PostScanActionsOrBuilder - extends + public interface PostScanActionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ boolean hasBigqueryExport(); /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport(); /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder(); } /** - * - * *
    * The configuration of post scan actions of DataQualityScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions} */ - public static final class PostScanActions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PostScanActions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) PostScanActionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActions.newBuilder() to construct. private PostScanActions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PostScanActions() {} + private PostScanActions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PostScanActions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); } - public interface BigQueryExportOrBuilder - extends + public interface BigQueryExportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -170,13 +129,10 @@ public interface BigQueryExportOrBuilder
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ java.lang.String getResultsTable(); /** - * - * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -184,63 +140,55 @@ public interface BigQueryExportOrBuilder
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ - com.google.protobuf.ByteString getResultsTableBytes(); + com.google.protobuf.ByteString + getResultsTableBytes(); } /** - * - * *
      * The configuration of BigQuery export post scan action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} */ - public static final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryExport extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) BigQueryExportOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExport.newBuilder() to construct. private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExport() { resultsTable_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExport(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder - .class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder.class); } public static final int RESULTS_TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object resultsTable_ = ""; /** - * - * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -248,7 +196,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ @java.lang.Override @@ -257,15 +204,14 @@ public java.lang.String getResultsTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; } } /** - * - * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -273,15 +219,16 @@ public java.lang.String getResultsTable() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ @java.lang.Override - public com.google.protobuf.ByteString getResultsTableBytes() { + public com.google.protobuf.ByteString + getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -290,7 +237,6 @@ public com.google.protobuf.ByteString getResultsTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +248,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultsTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resultsTable_); } @@ -326,17 +273,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other = - (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) obj; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other = (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) obj; - if (!getResultsTable().equals(other.getResultsTable())) return false; + if (!getResultsTable() + .equals(other.getResultsTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,103 +300,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -461,44 +393,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The configuration of BigQuery export post scan action.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} + * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -508,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport build() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = - buildPartial(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -531,19 +455,14 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExpo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = - new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport buildPartial() { + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultsTable_ = resultsTable_; @@ -554,56 +473,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) { + return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other) { - if (other - == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other) { + if (other == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance()) return this; if (!other.getResultsTable().isEmpty()) { resultsTable_ = other.resultsTable_; bitField0_ |= 0x00000001; @@ -635,19 +544,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resultsTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resultsTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,13 +564,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resultsTable_ = ""; /** - * - * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -671,13 +575,13 @@ public Builder mergeFrom(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The resultsTable. */ public java.lang.String getResultsTable() { java.lang.Object ref = resultsTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; @@ -686,8 +590,6 @@ public java.lang.String getResultsTable() { } } /** - * - * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -695,14 +597,15 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for resultsTable. */ - public com.google.protobuf.ByteString getResultsTableBytes() { + public com.google.protobuf.ByteString + getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -710,8 +613,6 @@ public com.google.protobuf.ByteString getResultsTableBytes() { } } /** - * - * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -719,22 +620,18 @@ public com.google.protobuf.ByteString getResultsTableBytes() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResultsTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -742,7 +639,6 @@ public Builder setResultsTable(java.lang.String value) {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearResultsTable() { @@ -752,8 +648,6 @@ public Builder clearResultsTable() { return this; } /** - * - * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -761,21 +655,18 @@ public Builder clearResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResultsTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -788,46 +679,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) - private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - .BigQueryExport - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,27 +725,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_EXPORT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - bigqueryExport_; + private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigqueryExport_; /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ @java.lang.Override @@ -867,50 +747,32 @@ public boolean hasBigqueryExport() { return bigqueryExport_ != null; } /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - getBigqueryExport() { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport() { + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } /** - * - * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder() { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -922,7 +784,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryExport_ != null) { output.writeMessage(1, getBigqueryExport()); } @@ -936,7 +799,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryExport()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -946,17 +810,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other = - (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) obj; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other = (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) obj; if (hasBigqueryExport() != other.hasBigqueryExport()) return false; if (hasBigqueryExport()) { - if (!getBigqueryExport().equals(other.getBigqueryExport())) return false; + if (!getBigqueryExport() + .equals(other.getBigqueryExport())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -979,94 +843,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1076,41 +935,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The configuration of post scan actions of DataQualityScan.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1124,14 +981,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance(); } @@ -1146,21 +1002,18 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result = - new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExport_ = - bigqueryExportBuilder_ == null ? bigqueryExport_ : bigqueryExportBuilder_.build(); + result.bigqueryExport_ = bigqueryExportBuilder_ == null + ? bigqueryExport_ + : bigqueryExportBuilder_.build(); } } @@ -1168,41 +1021,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions)other); } else { super.mergeFrom(other); return this; @@ -1210,9 +1060,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other) { - if (other - == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) return this; if (other.hasBigqueryExport()) { mergeBigqueryExport(other.getBigqueryExport()); } @@ -1242,20 +1090,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryExportFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryExportFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1265,72 +1112,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - bigqueryExport_; + private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigqueryExport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> - bigqueryExportBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> bigqueryExportBuilder_; /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the bigqueryExport field is set. */ public boolean hasBigqueryExport() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bigqueryExport. */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - getBigqueryExport() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport() { if (bigqueryExportBuilder_ == null) { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } else { return bigqueryExportBuilder_.getMessage(); } } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { + public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1344,20 +1167,15 @@ public Builder setBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder builderForValue) { if (bigqueryExportBuilder_ == null) { bigqueryExport_ = builderForValue.build(); } else { @@ -1368,25 +1186,18 @@ public Builder setBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeBigqueryExport( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { + public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryExport_ != null - && bigqueryExport_ - != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryExport_ != null && + bigqueryExport_ != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance()) { getBigqueryExportBuilder().mergeFrom(value); } else { bigqueryExport_ = value; @@ -1399,16 +1210,12 @@ public Builder mergeBigqueryExport( return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearBigqueryExport() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1421,77 +1228,55 @@ public Builder clearBigqueryExport() { return this; } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder - getBigqueryExportBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder getBigqueryExportBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder - getBigqueryExportOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { if (bigqueryExportBuilder_ != null) { return bigqueryExportBuilder_.getMessageOrBuilder(); } else { - return bigqueryExport_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .getDefaultInstance() - : bigqueryExport_; + return bigqueryExport_ == null ? + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; } } /** - * - * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> getBigqueryExportFieldBuilder() { if (bigqueryExportBuilder_ == null) { - bigqueryExportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport - .Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - .BigQueryExportOrBuilder>( - getBigqueryExport(), getParentForChildren(), isClean()); + bigqueryExportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder>( + getBigqueryExport(), + getParentForChildren(), + isClean()); bigqueryExport_ = null; } return bigqueryExportBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1504,44 +1289,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) - private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1553,103 +1335,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { return rules_.get(index); } /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 4; private float samplingPercent_ = 0F; /** - * - * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -1661,7 +1421,6 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(i
    * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ @java.lang.Override @@ -1670,12 +1429,9 @@ public float getSamplingPercent() { } public static final int ROW_FILTER_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object rowFilter_ = ""; /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -1684,7 +1440,6 @@ public float getSamplingPercent() {
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ @java.lang.Override @@ -1693,15 +1448,14 @@ public java.lang.String getRowFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; } } /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -1710,15 +1464,16 @@ public java.lang.String getRowFilter() {
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getRowFilterBytes() { + public com.google.protobuf.ByteString + getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -1729,16 +1484,11 @@ public com.google.protobuf.ByteString getRowFilterBytes() { public static final int POST_SCAN_ACTIONS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions postScanActions_; /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ @java.lang.Override @@ -1746,45 +1496,30 @@ public boolean hasPostScanActions() { return postScanActions_ != null; } /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions() { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; } /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder() { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() - : postScanActions_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1796,7 +1531,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -1819,16 +1555,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, samplingPercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, samplingPercent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, rowFilter_); } if (postScanActions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPostScanActions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPostScanActions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1838,21 +1577,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec other = - (com.google.cloud.dataplex.v1.DataQualitySpec) obj; + com.google.cloud.dataplex.v1.DataQualitySpec other = (com.google.cloud.dataplex.v1.DataQualitySpec) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; - if (!getRowFilter().equals(other.getRowFilter())) return false; + != java.lang.Float.floatToIntBits( + other.getSamplingPercent())) return false; + if (!getRowFilter() + .equals(other.getRowFilter())) return false; if (hasPostScanActions() != other.hasPostScanActions()) return false; if (hasPostScanActions()) { - if (!getPostScanActions().equals(other.getPostScanActions())) return false; + if (!getPostScanActions() + .equals(other.getPostScanActions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1870,7 +1612,8 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_FIELD_NUMBER; hash = (53 * hash) + getRowFilter().hashCode(); if (hasPostScanActions()) { @@ -1882,136 +1625,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataQualityScan related setting.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec) com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.class, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.class, com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2034,9 +1773,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto - .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override @@ -2055,12 +1794,9 @@ public com.google.cloud.dataplex.v1.DataQualitySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec result = - new com.google.cloud.dataplex.v1.DataQualitySpec(this); + com.google.cloud.dataplex.v1.DataQualitySpec result = new com.google.cloud.dataplex.v1.DataQualitySpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2086,8 +1822,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec result) result.rowFilter_ = rowFilter_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.postScanActions_ = - postScanActionsBuilder_ == null ? postScanActions_ : postScanActionsBuilder_.build(); + result.postScanActions_ = postScanActionsBuilder_ == null + ? postScanActions_ + : postScanActionsBuilder_.build(); } } @@ -2095,39 +1832,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec)other); } else { super.mergeFrom(other); return this; @@ -2154,10 +1890,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -2200,44 +1935,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataQualityRule m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - case 37: - { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 37 - case 42: - { - rowFilter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: - { - input.readMessage(getPostScanActionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataQualityRule m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + case 37: { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 37 + case 42: { + rowFilter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: { + input.readMessage( + getPostScanActionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2247,36 +1980,27 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> - rulesBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> rulesBuilder_; /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -2286,16 +2010,12 @@ public java.util.List getRulesList } } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -2305,16 +2025,12 @@ public int getRulesCount() { } } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { if (rulesBuilder_ == null) { @@ -2324,18 +2040,15 @@ public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { } } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRule value) { + public Builder setRules( + int index, com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2349,16 +2062,12 @@ public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRule return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRules( int index, com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { @@ -2372,16 +2081,12 @@ public Builder setRules( return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { @@ -2397,18 +2102,15 @@ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRule value) { + public Builder addRules( + int index, com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2422,18 +2124,15 @@ public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRule return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { + public Builder addRules( + com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -2444,16 +2143,12 @@ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule.Builder bui return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules( int index, com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { @@ -2467,22 +2162,19 @@ public Builder addRules( return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ 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); @@ -2490,16 +2182,12 @@ public Builder addAllRules( return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -2512,16 +2200,12 @@ public Builder clearRules() { return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -2534,53 +2218,42 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRulesBuilder(int index) { + public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -2588,75 +2261,59 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(i } } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); } /** - * - * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, - com.google.cloud.dataplex.v1.DataQualityRule.Builder, - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - private float samplingPercent_; + private float samplingPercent_ ; /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2668,7 +2325,6 @@ public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder(int
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ @java.lang.Override @@ -2676,8 +2332,6 @@ public float getSamplingPercent() { return samplingPercent_; } /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2689,7 +2343,6 @@ public float getSamplingPercent() {
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -2701,8 +2354,6 @@ public Builder setSamplingPercent(float value) { return this; } /** - * - * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2714,7 +2365,6 @@ public Builder setSamplingPercent(float value) {
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -2726,8 +2376,6 @@ public Builder clearSamplingPercent() { private java.lang.Object rowFilter_ = ""; /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2736,13 +2384,13 @@ public Builder clearSamplingPercent() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ public java.lang.String getRowFilter() { java.lang.Object ref = rowFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; @@ -2751,8 +2399,6 @@ public java.lang.String getRowFilter() { } } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2761,14 +2407,15 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ - public com.google.protobuf.ByteString getRowFilterBytes() { + public com.google.protobuf.ByteString + getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -2776,8 +2423,6 @@ public com.google.protobuf.ByteString getRowFilterBytes() { } } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2786,22 +2431,18 @@ public com.google.protobuf.ByteString getRowFilterBytes() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rowFilter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2810,7 +2451,6 @@ public Builder setRowFilter(java.lang.String value) {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRowFilter() { @@ -2820,8 +2460,6 @@ public Builder clearRowFilter() { return this; } /** - * - * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2830,14 +2468,12 @@ public Builder clearRowFilter() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rowFilter_ = value; bitField0_ |= 0x00000004; @@ -2847,61 +2483,41 @@ public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions postScanActions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> - postScanActionsBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> postScanActionsBuilder_; /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ public boolean hasPostScanActions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions() { if (postScanActionsBuilder_ == null) { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; } else { return postScanActionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setPostScanActions( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { + public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2915,15 +2531,11 @@ public Builder setPostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPostScanActions( com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder builderForValue) { @@ -2937,24 +2549,17 @@ public Builder setPostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergePostScanActions( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { + public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && postScanActions_ != null - && postScanActions_ - != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + postScanActions_ != null && + postScanActions_ != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) { getPostScanActionsBuilder().mergeFrom(value); } else { postScanActions_ = value; @@ -2967,15 +2572,11 @@ public Builder mergePostScanActions( return this; } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPostScanActions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2988,73 +2589,55 @@ public Builder clearPostScanActions() { return this; } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder - getPostScanActionsBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder getPostScanActionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPostScanActionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { if (postScanActionsBuilder_ != null) { return postScanActionsBuilder_.getMessageOrBuilder(); } else { - return postScanActions_ == null - ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() - : postScanActions_; + return postScanActions_ == null ? + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; } } /** - * - * *
      * Optional. Actions to take upon job completion.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> getPostScanActionsFieldBuilder() { if (postScanActionsBuilder_ == null) { - postScanActionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder>( - getPostScanActions(), getParentForChildren(), isClean()); + postScanActionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder>( + getPostScanActions(), + getParentForChildren(), + isClean()); postScanActions_ = null; } return postScanActionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3064,12 +2647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec) private static final com.google.cloud.dataplex.v1.DataQualitySpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec(); } @@ -3078,27 +2661,27 @@ public static com.google.cloud.dataplex.v1.DataQualitySpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualitySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualitySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3113,4 +2696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualitySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java similarity index 59% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java index 5ccb8c3737b2..644059800d7e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java @@ -1,98 +1,62 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualitySpecOrBuilder - extends +public interface DataQualitySpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataQualityRule getRules(int index); /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getRulesCount(); /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index); + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( + int index); /** - * - * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -104,14 +68,11 @@ public interface DataQualitySpecOrBuilder
    * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplingPercent. */ float getSamplingPercent(); /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -120,13 +81,10 @@ public interface DataQualitySpecOrBuilder
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The rowFilter. */ java.lang.String getRowFilter(); /** - * - * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -135,50 +93,35 @@ public interface DataQualitySpecOrBuilder
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for rowFilter. */ - com.google.protobuf.ByteString getRowFilterBytes(); + com.google.protobuf.ByteString + getRowFilterBytes(); /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the postScanActions field is set. */ boolean hasPostScanActions(); /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The postScanActions. */ com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions(); /** - * - * *
    * Optional. Actions to take upon job completion.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder - getPostScanActionsOrBuilder(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java index ad6bf00463a9..a68a3208e0ad 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Represents a user-visible job which provides the insights for the related
  * data source.
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataScan}
  */
-public final class DataScan extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataScan extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan)
     DataScanOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataScan.newBuilder() to construct.
   private DataScan(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataScan() {
     name_ = "";
     uid_ = "";
@@ -57,44 +39,41 @@ private DataScan() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataScan();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataScansProto
-        .internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_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.cloud.dataplex.v1.DataScansProto
-        .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataScan.class,
-            com.google.cloud.dataplex.v1.DataScan.Builder.class);
+            com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class);
   }
 
-  public interface ExecutionSpecOrBuilder
-      extends
+  public interface ExecutionSpecOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -102,16 +81,11 @@ public interface ExecutionSpecOrBuilder
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the trigger field is set. */ boolean hasTrigger(); /** - * - * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -119,16 +93,11 @@ public interface ExecutionSpecOrBuilder
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The trigger. */ com.google.cloud.dataplex.v1.Trigger getTrigger(); /** - * - * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -136,15 +105,11 @@ public interface ExecutionSpecOrBuilder
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder(); /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -153,13 +118,10 @@ public interface ExecutionSpecOrBuilder
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -168,13 +130,10 @@ public interface ExecutionSpecOrBuilder
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The field. */ java.lang.String getField(); /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -183,68 +142,61 @@ public interface ExecutionSpecOrBuilder
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for field. */ - com.google.protobuf.ByteString getFieldBytes(); + com.google.protobuf.ByteString + getFieldBytes(); com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.IncrementalCase getIncrementalCase(); } /** - * - * *
    * DataScan execution settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ - public static final class ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) ExecutionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionSpec.newBuilder() to construct. private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecutionSpec() {} + private ExecutionSpec() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } private int incrementalCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object incremental_; - public enum IncrementalCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FIELD(100), INCREMENTAL_NOT_SET(0); private final int value; - private IncrementalCase(int value) { this.value = value; } @@ -260,29 +212,25 @@ public static IncrementalCase valueOf(int value) { public static IncrementalCase forNumber(int value) { switch (value) { - case 100: - return FIELD; - case 0: - return INCREMENTAL_NOT_SET; - default: - return null; + case 100: return FIELD; + case 0: return INCREMENTAL_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public IncrementalCase getIncrementalCase() { - return IncrementalCase.forNumber(incrementalCase_); + public IncrementalCase + getIncrementalCase() { + return IncrementalCase.forNumber( + incrementalCase_); } public static final int TRIGGER_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.Trigger trigger_; /** - * - * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -290,10 +238,7 @@ public IncrementalCase getIncrementalCase() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the trigger field is set. */ @java.lang.Override @@ -301,8 +246,6 @@ public boolean hasTrigger() { return trigger_ != null; } /** - * - * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -310,21 +253,14 @@ public boolean hasTrigger() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger getTrigger() { - return trigger_ == null - ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } /** - * - * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -332,21 +268,15 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { - return trigger_ == null - ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } public static final int FIELD_FIELD_NUMBER = 100; /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -355,15 +285,12 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the field field is set. */ public boolean hasField() { return incrementalCase_ == 100; } /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -372,7 +299,6 @@ public boolean hasField() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The field. */ public java.lang.String getField() { @@ -383,7 +309,8 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (incrementalCase_ == 100) { incremental_ = s; @@ -392,8 +319,6 @@ public java.lang.String getField() { } } /** - * - * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -402,17 +327,18 @@ public java.lang.String getField() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for field. */ - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (incrementalCase_ == 100) { incremental_ = b; } @@ -423,7 +349,6 @@ public com.google.protobuf.ByteString getFieldBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,7 +360,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (trigger_ != null) { output.writeMessage(1, getTrigger()); } @@ -452,7 +378,8 @@ public int getSerializedSize() { size = 0; if (trigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTrigger()); } if (incrementalCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, incremental_); @@ -465,22 +392,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other = - (com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) obj; + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other = (com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) obj; if (hasTrigger() != other.hasTrigger()) return false; if (hasTrigger()) { - if (!getTrigger().equals(other.getTrigger())) return false; + if (!getTrigger() + .equals(other.getTrigger())) return false; } if (!getIncrementalCase().equals(other.getIncrementalCase())) return false; switch (incrementalCase_) { case 100: - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; break; case 0: default: @@ -514,94 +442,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -611,41 +534,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * DataScan execution settings.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -661,9 +582,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override @@ -682,11 +603,8 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec buildPartial() { - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = - new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -695,7 +613,9 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.trigger_ = triggerBuilder_ == null ? trigger_ : triggerBuilder_.build(); + result.trigger_ = triggerBuilder_ == null + ? trigger_ + : triggerBuilder_.build(); } } @@ -708,41 +628,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan.ExecutionS public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionSpec)other); } else { super.mergeFrom(other); return this; @@ -750,23 +667,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other) { - if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) return this; if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } switch (other.getIncrementalCase()) { - case FIELD: - { - incrementalCase_ = 100; - incremental_ = other.incremental_; - onChanged(); - break; - } - case INCREMENTAL_NOT_SET: - { - break; - } + case FIELD: { + incrementalCase_ = 100; + incremental_ = other.incremental_; + onChanged(); + break; + } + case INCREMENTAL_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -794,26 +708,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTriggerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - incrementalCase_ = 100; - incremental_ = s; - break; - } // case 802 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getTriggerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + incrementalCase_ = 100; + incremental_ = s; + break; + } // case 802 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -823,12 +736,12 @@ public Builder mergeFrom( } // finally return this; } - private int incrementalCase_ = 0; private java.lang.Object incremental_; - - public IncrementalCase getIncrementalCase() { - return IncrementalCase.forNumber(incrementalCase_); + public IncrementalCase + getIncrementalCase() { + return IncrementalCase.forNumber( + incrementalCase_); } public Builder clearIncremental() { @@ -842,13 +755,8 @@ public Builder clearIncremental() { private com.google.cloud.dataplex.v1.Trigger trigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, - com.google.cloud.dataplex.v1.Trigger.Builder, - com.google.cloud.dataplex.v1.TriggerOrBuilder> - triggerBuilder_; + com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> triggerBuilder_; /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -856,18 +764,13 @@ public Builder clearIncremental() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the trigger field is set. */ public boolean hasTrigger() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -875,24 +778,17 @@ public boolean hasTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The trigger. */ public com.google.cloud.dataplex.v1.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null - ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } else { return triggerBuilder_.getMessage(); } } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -900,9 +796,7 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { @@ -918,8 +812,6 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { return this; } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -927,11 +819,10 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderForValue) { + public Builder setTrigger( + com.google.cloud.dataplex.v1.Trigger.Builder builderForValue) { if (triggerBuilder_ == null) { trigger_ = builderForValue.build(); } else { @@ -942,8 +833,6 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderFo return this; } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -951,15 +840,13 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderFo
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && trigger_ != null - && trigger_ != com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + trigger_ != null && + trigger_ != com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) { getTriggerBuilder().mergeFrom(value); } else { trigger_ = value; @@ -972,8 +859,6 @@ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { return this; } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -981,9 +866,7 @@ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearTrigger() { bitField0_ = (bitField0_ & ~0x00000001); @@ -996,8 +879,6 @@ public Builder clearTrigger() { return this; } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -1005,9 +886,7 @@ public Builder clearTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { bitField0_ |= 0x00000001; @@ -1015,8 +894,6 @@ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { return getTriggerFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -1024,22 +901,17 @@ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { if (triggerBuilder_ != null) { return triggerBuilder_.getMessageOrBuilder(); } else { - return trigger_ == null - ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? + com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } } /** - * - * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -1047,30 +919,23 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, - com.google.cloud.dataplex.v1.Trigger.Builder, - com.google.cloud.dataplex.v1.TriggerOrBuilder> + com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> getTriggerFieldBuilder() { if (triggerBuilder_ == null) { - triggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, - com.google.cloud.dataplex.v1.Trigger.Builder, - com.google.cloud.dataplex.v1.TriggerOrBuilder>( - getTrigger(), getParentForChildren(), isClean()); + triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder>( + getTrigger(), + getParentForChildren(), + isClean()); trigger_ = null; } return triggerBuilder_; } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1079,7 +944,6 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the field field is set. */ @java.lang.Override @@ -1087,8 +951,6 @@ public boolean hasField() { return incrementalCase_ == 100; } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1097,7 +959,6 @@ public boolean hasField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The field. */ @java.lang.Override @@ -1107,7 +968,8 @@ public java.lang.String getField() { ref = incremental_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (incrementalCase_ == 100) { incremental_ = s; @@ -1118,8 +980,6 @@ public java.lang.String getField() { } } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1128,18 +988,19 @@ public java.lang.String getField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (incrementalCase_ == 100) { incremental_ = b; } @@ -1149,8 +1010,6 @@ public com.google.protobuf.ByteString getFieldBytes() { } } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1159,22 +1018,18 @@ public com.google.protobuf.ByteString getFieldBytes() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setField( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } incrementalCase_ = 100; incremental_ = value; onChanged(); return this; } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1183,7 +1038,6 @@ public Builder setField(java.lang.String value) {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearField() { @@ -1195,8 +1049,6 @@ public Builder clearField() { return this; } /** - * - * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1205,21 +1057,18 @@ public Builder clearField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); incrementalCase_ = 100; incremental_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1232,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan.ExecutionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionSpec) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(); } @@ -1246,28 +1095,27 @@ public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,40 +1130,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecutionStatusOrBuilder - extends + public interface ExecutionStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return Whether the latestJobStartTime field is set. */ boolean hasLatestJobStartTime(); /** - * - * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return The latestJobStartTime. */ com.google.protobuf.Timestamp getLatestJobStartTime(); /** - * - * *
      * The time when the latest DataScanJob started.
      * 
@@ -1325,32 +1165,24 @@ public interface ExecutionStatusOrBuilder com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder(); /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return Whether the latestJobEndTime field is set. */ boolean hasLatestJobEndTime(); /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return The latestJobEndTime. */ com.google.protobuf.Timestamp getLatestJobEndTime(); /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
@@ -1360,58 +1192,52 @@ public interface ExecutionStatusOrBuilder com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder(); } /** - * - * *
    * Status of the data scan execution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ - public static final class ExecutionStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutionStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) ExecutionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionStatus.newBuilder() to construct. private ExecutionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecutionStatus() {} + private ExecutionStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } public static final int LATEST_JOB_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp latestJobStartTime_; /** - * - * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return Whether the latestJobStartTime field is set. */ @java.lang.Override @@ -1419,25 +1245,18 @@ public boolean hasLatestJobStartTime() { return latestJobStartTime_ != null; } /** - * - * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return The latestJobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobStartTime() { - return latestJobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobStartTime_; + return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } /** - * - * *
      * The time when the latest DataScanJob started.
      * 
@@ -1446,22 +1265,17 @@ public com.google.protobuf.Timestamp getLatestJobStartTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { - return latestJobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobStartTime_; + return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } public static final int LATEST_JOB_END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp latestJobEndTime_; /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return Whether the latestJobEndTime field is set. */ @java.lang.Override @@ -1469,25 +1283,18 @@ public boolean hasLatestJobEndTime() { return latestJobEndTime_ != null; } /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return The latestJobEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobEndTime() { - return latestJobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobEndTime_; + return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } /** - * - * *
      * The time when the latest DataScanJob ended.
      * 
@@ -1496,13 +1303,10 @@ public com.google.protobuf.Timestamp getLatestJobEndTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { - return latestJobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobEndTime_; + return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1514,7 +1318,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (latestJobStartTime_ != null) { output.writeMessage(4, getLatestJobStartTime()); } @@ -1531,11 +1336,12 @@ public int getSerializedSize() { size = 0; if (latestJobStartTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLatestJobStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLatestJobStartTime()); } if (latestJobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLatestJobEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLatestJobEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1545,21 +1351,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other = - (com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) obj; + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other = (com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) obj; if (hasLatestJobStartTime() != other.hasLatestJobStartTime()) return false; if (hasLatestJobStartTime()) { - if (!getLatestJobStartTime().equals(other.getLatestJobStartTime())) return false; + if (!getLatestJobStartTime() + .equals(other.getLatestJobStartTime())) return false; } if (hasLatestJobEndTime() != other.hasLatestJobEndTime()) return false; if (hasLatestJobEndTime()) { - if (!getLatestJobEndTime().equals(other.getLatestJobEndTime())) return false; + if (!getLatestJobEndTime() + .equals(other.getLatestJobEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1586,94 +1393,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1683,41 +1485,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of the data scan execution.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1736,9 +1536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override @@ -1757,11 +1557,8 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus buildPartial() { - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = - new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1769,16 +1566,14 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.latestJobStartTime_ = - latestJobStartTimeBuilder_ == null - ? latestJobStartTime_ - : latestJobStartTimeBuilder_.build(); + result.latestJobStartTime_ = latestJobStartTimeBuilder_ == null + ? latestJobStartTime_ + : latestJobStartTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.latestJobEndTime_ = - latestJobEndTimeBuilder_ == null - ? latestJobEndTime_ - : latestJobEndTimeBuilder_.build(); + result.latestJobEndTime_ = latestJobEndTimeBuilder_ == null + ? latestJobEndTime_ + : latestJobEndTimeBuilder_.build(); } } @@ -1786,41 +1581,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionStatus)other); } else { super.mergeFrom(other); return this; @@ -1828,8 +1620,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other) { - if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) return this; if (other.hasLatestJobStartTime()) { mergeLatestJobStartTime(other.getLatestJobStartTime()); } @@ -1862,29 +1653,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: - { - input.readMessage( - getLatestJobStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: - { - input.readMessage( - getLatestJobEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) + case 34: { + input.readMessage( + getLatestJobStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: { + input.readMessage( + getLatestJobEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { @@ -1892,52 +1682,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp latestJobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - latestJobStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobStartTimeBuilder_; /** - * - * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return Whether the latestJobStartTime field is set. */ public boolean hasLatestJobStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; - * * @return The latestJobStartTime. */ public com.google.protobuf.Timestamp getLatestJobStartTime() { if (latestJobStartTimeBuilder_ == null) { - return latestJobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobStartTime_; + return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } else { return latestJobStartTimeBuilder_.getMessage(); } } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -1958,15 +1734,14 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ - public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestJobStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobStartTimeBuilder_ == null) { latestJobStartTime_ = builderForValue.build(); } else { @@ -1977,8 +1752,6 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -1987,9 +1760,9 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder build */ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && latestJobStartTime_ != null - && latestJobStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + latestJobStartTime_ != null && + latestJobStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobStartTimeBuilder().mergeFrom(value); } else { latestJobStartTime_ = value; @@ -2002,8 +1775,6 @@ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -2021,8 +1792,6 @@ public Builder clearLatestJobStartTime() { return this; } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -2035,8 +1804,6 @@ public com.google.protobuf.Timestamp.Builder getLatestJobStartTimeBuilder() { return getLatestJobStartTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -2047,14 +1814,11 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { if (latestJobStartTimeBuilder_ != null) { return latestJobStartTimeBuilder_.getMessageOrBuilder(); } else { - return latestJobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobStartTime_; + return latestJobStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } } /** - * - * *
        * The time when the latest DataScanJob started.
        * 
@@ -2062,17 +1826,14 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { * .google.protobuf.Timestamp latest_job_start_time = 4; */ 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> getLatestJobStartTimeFieldBuilder() { if (latestJobStartTimeBuilder_ == null) { - latestJobStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLatestJobStartTime(), getParentForChildren(), isClean()); + latestJobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLatestJobStartTime(), + getParentForChildren(), + isClean()); latestJobStartTime_ = null; } return latestJobStartTimeBuilder_; @@ -2080,47 +1841,34 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { private com.google.protobuf.Timestamp latestJobEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - latestJobEndTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobEndTimeBuilder_; /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return Whether the latestJobEndTime field is set. */ public boolean hasLatestJobEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; - * * @return The latestJobEndTime. */ public com.google.protobuf.Timestamp getLatestJobEndTime() { if (latestJobEndTimeBuilder_ == null) { - return latestJobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobEndTime_; + return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } else { return latestJobEndTimeBuilder_.getMessage(); } } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2141,15 +1889,14 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ - public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestJobEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobEndTimeBuilder_ == null) { latestJobEndTime_ = builderForValue.build(); } else { @@ -2160,8 +1907,6 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2170,9 +1915,9 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builder */ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && latestJobEndTime_ != null - && latestJobEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + latestJobEndTime_ != null && + latestJobEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobEndTimeBuilder().mergeFrom(value); } else { latestJobEndTime_ = value; @@ -2185,8 +1930,6 @@ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2204,8 +1947,6 @@ public Builder clearLatestJobEndTime() { return this; } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2218,8 +1959,6 @@ public com.google.protobuf.Timestamp.Builder getLatestJobEndTimeBuilder() { return getLatestJobEndTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2230,14 +1969,11 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { if (latestJobEndTimeBuilder_ != null) { return latestJobEndTimeBuilder_.getMessageOrBuilder(); } else { - return latestJobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestJobEndTime_; + return latestJobEndTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } } /** - * - * *
        * The time when the latest DataScanJob ended.
        * 
@@ -2245,22 +1981,18 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { * .google.protobuf.Timestamp latest_job_end_time = 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> getLatestJobEndTimeFieldBuilder() { if (latestJobEndTimeBuilder_ == null) { - latestJobEndTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLatestJobEndTime(), getParentForChildren(), isClean()); + latestJobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLatestJobEndTime(), + getParentForChildren(), + isClean()); latestJobEndTime_ = null; } return latestJobEndTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2273,12 +2005,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan.ExecutionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionStatus) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(); } @@ -2287,28 +2019,27 @@ public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2323,22 +2054,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int specCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object spec_; - public enum SpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_SPEC(100), DATA_PROFILE_SPEC(101), SPEC_NOT_SET(0); private final int value; - private SpecCase(int value) { this.value = value; } @@ -2354,40 +2082,33 @@ public static SpecCase valueOf(int value) { public static SpecCase forNumber(int value) { switch (value) { - case 100: - return DATA_QUALITY_SPEC; - case 101: - return DATA_PROFILE_SPEC; - case 0: - return SPEC_NOT_SET; - default: - return null; + case 100: return DATA_QUALITY_SPEC; + case 101: return DATA_PROFILE_SPEC; + case 0: return SPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SpecCase getSpecCase() { - return SpecCase.forNumber(specCase_); + public SpecCase + getSpecCase() { + return SpecCase.forNumber( + specCase_); } private int resultCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_RESULT(200), DATA_PROFILE_RESULT(201), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -2403,33 +2124,27 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 200: - return DATA_QUALITY_RESULT; - case 201: - return DATA_PROFILE_RESULT; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 200: return DATA_QUALITY_RESULT; + case 201: return DATA_PROFILE_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 NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -2438,7 +2153,6 @@ public ResultCase getResultCase() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -2447,15 +2161,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 relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -2464,15 +2177,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 { @@ -2481,19 +2195,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -2502,30 +2212,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2534,12 +2244,9 @@ public com.google.protobuf.ByteString getUidBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the scan.
    *
@@ -2547,7 +2254,6 @@ public com.google.protobuf.ByteString getUidBytes() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -2556,15 +2262,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the scan.
    *
@@ -2572,15 +2277,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2589,12 +2295,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    *
@@ -2602,7 +2305,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -2611,15 +2313,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Optional. User friendly display name.
    *
@@ -2627,15 +2328,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2644,34 +2346,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } 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.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2679,21 +2379,20 @@ public int getLabelsCount() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2705,8 +2404,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2714,19 +2411,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2734,11 +2429,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -2748,52 +2443,37 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the scan was created.
    * 
* - * .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 @@ -2801,15 +2481,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the scan was created.
    * 
* - * .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 @@ -2817,14 +2493,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the scan was created.
    * 
* - * .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() { @@ -2834,15 +2507,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 time when the scan was last updated.
    * 
* - * .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 @@ -2850,15 +2519,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the scan was last updated.
    * 
* - * .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 @@ -2866,14 +2531,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the scan was last updated.
    * 
* - * .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() { @@ -2883,15 +2545,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DATA_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.DataSource data_; /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the data field is set. */ @java.lang.Override @@ -2899,15 +2557,11 @@ public boolean hasData() { return data_ != null; } /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The data. */ @java.lang.Override @@ -2915,14 +2569,11 @@ public com.google.cloud.dataplex.v1.DataSource getData() { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { @@ -2932,18 +2583,13 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { public static final int EXECUTION_SPEC_FIELD_NUMBER = 10; private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -2951,59 +2597,41 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } public static final int EXECUTION_STATUS_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ @java.lang.Override @@ -3011,92 +2639,62 @@ public boolean hasExecutionStatus() { return executionStatus_ != null; } /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder - getExecutionStatusOrBuilder() { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() - : executionStatus_; + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { + return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } public static final int TYPE_FIELD_NUMBER = 12; private int type_ = 0; /** - * - * *
    * Output only. The type of DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Output only. The type of DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = - com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { + com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } public static final int DATA_QUALITY_SPEC_FIELD_NUMBER = 100; /** - * - * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -3104,26 +2702,21 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** - * - * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } /** - * - * *
    * DataQualityScan related setting.
    * 
@@ -3133,21 +2726,18 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } public static final int DATA_PROFILE_SPEC_FIELD_NUMBER = 101; /** - * - * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -3155,26 +2745,21 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** - * - * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } /** - * - * *
    * DataProfileScan related setting.
    * 
@@ -3184,23 +2769,18 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } public static final int DATA_QUALITY_RESULT_FIELD_NUMBER = 200; /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -3208,56 +2788,42 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_RESULT_FIELD_NUMBER = 201; /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -3265,46 +2831,36 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3316,7 +2872,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3329,8 +2886,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } @@ -3385,56 +2946,59 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); } - 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__); + 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__); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } 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 (data_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getData()); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getExecutionSpec()); } if (executionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExecutionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getExecutionStatus()); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, type_); } if (specCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3444,47 +3008,59 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScan other = (com.google.cloud.dataplex.v1.DataScan) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData().equals(other.getData())) return false; + if (!getData() + .equals(other.getData())) return false; } if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec() + .equals(other.getExecutionSpec())) return false; } if (hasExecutionStatus() != other.hasExecutionStatus()) return false; if (hasExecutionStatus()) { - if (!getExecutionStatus().equals(other.getExecutionStatus())) return false; + if (!getExecutionStatus() + .equals(other.getExecutionStatus())) return false; } if (type_ != other.type_) return false; if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 100: - if (!getDataQualitySpec().equals(other.getDataQualitySpec())) return false; + if (!getDataQualitySpec() + .equals(other.getDataQualitySpec())) return false; break; case 101: - if (!getDataProfileSpec().equals(other.getDataProfileSpec())) return false; + if (!getDataProfileSpec() + .equals(other.getDataProfileSpec())) return false; break; case 0: default: @@ -3492,10 +3068,12 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 200: - if (!getDataQualityResult().equals(other.getDataQualityResult())) return false; + if (!getDataQualityResult() + .equals(other.getDataQualityResult())) return false; break; case 201: - if (!getDataProfileResult().equals(other.getDataProfileResult())) return false; + if (!getDataProfileResult() + .equals(other.getDataProfileResult())) return false; break; case 0: default: @@ -3576,103 +3154,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScan parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScan parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScan parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.DataScan parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataScan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 user-visible job which provides the insights for the related
    * data source.
@@ -3688,52 +3262,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataScan}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan)
       com.google.cloud.dataplex.v1.DataScanOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataScansProto
-          .internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_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.cloud.dataplex.v1.DataScansProto
-          .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataScan.class,
-              com.google.cloud.dataplex.v1.DataScan.Builder.class);
+              com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataScan.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3790,9 +3367,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataScansProto
-          .internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
     }
 
     @java.lang.Override
@@ -3811,11 +3388,8 @@ public com.google.cloud.dataplex.v1.DataScan build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataScan buildPartial() {
-      com.google.cloud.dataplex.v1.DataScan result =
-          new com.google.cloud.dataplex.v1.DataScan(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataScan result = new com.google.cloud.dataplex.v1.DataScan(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3843,21 +3417,29 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build();
+        result.data_ = dataBuilder_ == null
+            ? data_
+            : dataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.executionSpec_ =
-            executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build();
+        result.executionSpec_ = executionSpecBuilder_ == null
+            ? executionSpec_
+            : executionSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.executionStatus_ =
-            executionStatusBuilder_ == null ? executionStatus_ : executionStatusBuilder_.build();
+        result.executionStatus_ = executionStatusBuilder_ == null
+            ? executionStatus_
+            : executionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
         result.type_ = type_;
@@ -3867,18 +3449,22 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan result) {
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan result) {
       result.specCase_ = specCase_;
       result.spec_ = this.spec_;
-      if (specCase_ == 100 && dataQualitySpecBuilder_ != null) {
+      if (specCase_ == 100 &&
+          dataQualitySpecBuilder_ != null) {
         result.spec_ = dataQualitySpecBuilder_.build();
       }
-      if (specCase_ == 101 && dataProfileSpecBuilder_ != null) {
+      if (specCase_ == 101 &&
+          dataProfileSpecBuilder_ != null) {
         result.spec_ = dataProfileSpecBuilder_.build();
       }
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 200 && dataQualityResultBuilder_ != null) {
+      if (resultCase_ == 200 &&
+          dataQualityResultBuilder_ != null) {
         result.result_ = dataQualityResultBuilder_.build();
       }
-      if (resultCase_ == 201 && dataProfileResultBuilder_ != null) {
+      if (resultCase_ == 201 &&
+          dataProfileResultBuilder_ != null) {
         result.result_ = dataProfileResultBuilder_.build();
       }
     }
@@ -3887,39 +3473,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataScan) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataScan) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataScan)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3948,7 +3533,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan other) {
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -3972,36 +3558,30 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan other) {
         setTypeValue(other.getTypeValue());
       }
       switch (other.getSpecCase()) {
-        case DATA_QUALITY_SPEC:
-          {
-            mergeDataQualitySpec(other.getDataQualitySpec());
-            break;
-          }
-        case DATA_PROFILE_SPEC:
-          {
-            mergeDataProfileSpec(other.getDataProfileSpec());
-            break;
-          }
-        case SPEC_NOT_SET:
-          {
-            break;
-          }
+        case DATA_QUALITY_SPEC: {
+          mergeDataQualitySpec(other.getDataQualitySpec());
+          break;
+        }
+        case DATA_PROFILE_SPEC: {
+          mergeDataProfileSpec(other.getDataProfileSpec());
+          break;
+        }
+        case SPEC_NOT_SET: {
+          break;
+        }
       }
       switch (other.getResultCase()) {
-        case DATA_QUALITY_RESULT:
-          {
-            mergeDataQualityResult(other.getDataQualityResult());
-            break;
-          }
-        case DATA_PROFILE_RESULT:
-          {
-            mergeDataProfileResult(other.getDataProfileResult());
-            break;
-          }
-        case RESULT_NOT_SET:
-          {
-            break;
-          }
+        case DATA_QUALITY_RESULT: {
+          mergeDataQualityResult(other.getDataQualityResult());
+          break;
+        }
+        case DATA_PROFILE_RESULT: {
+          mergeDataProfileResult(other.getDataProfileResult());
+          break;
+        }
+        case RESULT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4029,117 +3609,114 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getExecutionStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 90
-            case 96:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 96
-            case 802:
-              {
-                input.readMessage(getDataQualitySpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 100;
-                break;
-              } // case 802
-            case 810:
-              {
-                input.readMessage(getDataProfileSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 101;
-                break;
-              } // case 810
-            case 1602:
-              {
-                input.readMessage(
-                    getDataQualityResultFieldBuilder().getBuilder(), extensionRegistry);
-                resultCase_ = 200;
-                break;
-              } // case 1602
-            case 1610:
-              {
-                input.readMessage(
-                    getDataProfileResultFieldBuilder().getBuilder(), extensionRegistry);
-                resultCase_ = 201;
-                break;
-              } // case 1610
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getDataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getExecutionSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getExecutionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 90
+            case 96: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 96
+            case 802: {
+              input.readMessage(
+                  getDataQualitySpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 100;
+              break;
+            } // case 802
+            case 810: {
+              input.readMessage(
+                  getDataProfileSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 101;
+              break;
+            } // case 810
+            case 1602: {
+              input.readMessage(
+                  getDataQualityResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              resultCase_ = 200;
+              break;
+            } // case 1602
+            case 1610: {
+              input.readMessage(
+                  getDataProfileResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              resultCase_ = 201;
+              break;
+            } // case 1610
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4149,12 +3726,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int specCase_ = 0;
     private java.lang.Object spec_;
-
-    public SpecCase getSpecCase() {
-      return SpecCase.forNumber(specCase_);
+    public SpecCase
+        getSpecCase() {
+      return SpecCase.forNumber(
+          specCase_);
     }
 
     public Builder clearSpec() {
@@ -4166,9 +3743,10 @@ public Builder clearSpec() {
 
     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() {
@@ -4182,8 +3760,6 @@ public Builder clearResult() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -4192,13 +3768,13 @@ public Builder clearResult() {
      * 
* * 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; @@ -4207,8 +3783,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -4217,14 +3791,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 { @@ -4232,8 +3807,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -4242,22 +3815,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -4266,7 +3835,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -4276,8 +3844,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -4286,14 +3852,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -4303,21 +3867,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -4326,22 +3888,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -4349,37 +3910,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -4389,22 +3943,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -4414,8 +3964,6 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the scan.
      *
@@ -4423,13 +3971,13 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -4438,8 +3986,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the scan.
      *
@@ -4447,14 +3993,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -4462,8 +4009,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the scan.
      *
@@ -4471,22 +4016,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Description of the scan.
      *
@@ -4494,7 +4035,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4504,8 +4044,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the scan.
      *
@@ -4513,14 +4051,12 @@ public Builder clearDescription() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -4530,8 +4066,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      *
@@ -4539,13 +4073,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -4554,8 +4088,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      *
@@ -4563,14 +4095,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -4578,8 +4111,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      *
@@ -4587,22 +4118,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      *
@@ -4610,7 +4137,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4620,8 +4146,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      *
@@ -4629,14 +4153,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -4644,19 +4166,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4665,13 +4189,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4679,21 +4200,20 @@ public int getLabelsCount() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4705,8 +4225,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4714,19 +4232,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } - /** - * - * + /** *
      * Optional. User-defined labels for the scan.
      * 
@@ -4734,106 +4250,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private int state_ = 0; /** - * - * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4844,33 +4349,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4884,15 +4380,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4904,58 +4396,39 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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 time when the scan was created.
      * 
* - * - * .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) { @@ -4971,17 +4444,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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(); } else { @@ -4992,21 +4462,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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 (((bitField0_ & 0x00000040) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5019,15 +4485,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -5040,15 +4502,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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() { bitField0_ |= 0x00000040; @@ -5056,48 +4514,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the scan was created.
      * 
* - * - * .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 time when the scan was created.
      * 
* - * - * .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_; @@ -5105,58 +4551,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 time when the scan was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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 time when the scan was last updated.
      * 
* - * - * .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) { @@ -5172,17 +4599,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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(); } else { @@ -5193,21 +4617,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000080) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -5220,15 +4640,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000080); @@ -5241,15 +4657,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000080; @@ -5257,48 +4669,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the scan was last updated.
      * 
* - * - * .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 time when the scan was last updated.
      * 
* - * - * .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_; @@ -5306,37 +4706,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.dataplex.v1.DataSource data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, - com.google.cloud.dataplex.v1.DataSource.Builder, - com.google.cloud.dataplex.v1.DataSourceOrBuilder> - dataBuilder_; + com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> dataBuilder_; /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The data. */ public com.google.cloud.dataplex.v1.DataSource getData() { @@ -5347,15 +4734,11 @@ public com.google.cloud.dataplex.v1.DataSource getData() { } } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { @@ -5371,17 +4754,14 @@ public Builder setData(com.google.cloud.dataplex.v1.DataSource value) { return this; } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setData(com.google.cloud.dataplex.v1.DataSource.Builder builderForValue) { + public Builder setData( + com.google.cloud.dataplex.v1.DataSource.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { @@ -5392,21 +4772,17 @@ public Builder setData(com.google.cloud.dataplex.v1.DataSource.Builder builderFo return this; } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && data_ != null - && data_ != com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + data_ != null && + data_ != com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; @@ -5419,15 +4795,11 @@ public Builder mergeData(com.google.cloud.dataplex.v1.DataSource value) { return this; } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000100); @@ -5440,15 +4812,11 @@ public Builder clearData() { return this; } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataSource.Builder getDataBuilder() { bitField0_ |= 0x00000100; @@ -5456,46 +4824,36 @@ public com.google.cloud.dataplex.v1.DataSource.Builder getDataBuilder() { return getDataFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { - return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; + return data_ == null ? + com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } } /** - * - * *
      * Required. The data source for DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, - com.google.cloud.dataplex.v1.DataSource.Builder, - com.google.cloud.dataplex.v1.DataSourceOrBuilder> + com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { - dataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, - com.google.cloud.dataplex.v1.DataSource.Builder, - com.google.cloud.dataplex.v1.DataSourceOrBuilder>( - getData(), getParentForChildren(), isClean()); + dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder>( + getData(), + getParentForChildren(), + isClean()); data_ = null; } return dataBuilder_; @@ -5503,64 +4861,45 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> - executionSpecBuilder_; + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> executionSpecBuilder_; /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionSpec. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -5576,17 +4915,13 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionS return this; } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder builderForValue) { @@ -5600,24 +4935,19 @@ public Builder setExecutionSpec( return this; } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && executionSpec_ != null - && executionSpec_ - != com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + executionSpec_ != null && + executionSpec_ != com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -5630,17 +4960,13 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.Executio return this; } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -5653,17 +4979,13 @@ public Builder clearExecutionSpec() { return this; } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000200; @@ -5671,53 +4993,40 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionS return getExecutionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder - getExecutionSpecOrBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } } /** - * - * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder>( - getExecutionSpec(), getParentForChildren(), isClean()); + executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder>( + getExecutionSpec(), + getParentForChildren(), + isClean()); executionSpec_ = null; } return executionSpecBuilder_; @@ -5725,58 +5034,39 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionS private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> - executionStatusBuilder_; + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> executionStatusBuilder_; /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { if (executionStatusBuilder_ == null) { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } else { return executionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { @@ -5792,15 +5082,11 @@ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.DataScan.Executio return this; } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionStatus( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder builderForValue) { @@ -5814,23 +5100,17 @@ public Builder setExecutionStatus( return this; } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeExecutionStatus( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { + public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && executionStatus_ != null - && executionStatus_ - != com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + executionStatus_ != null && + executionStatus_ != com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) { getExecutionStatusBuilder().mergeFrom(value); } else { executionStatus_ = value; @@ -5843,15 +5123,11 @@ public Builder mergeExecutionStatus( return this; } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -5864,66 +5140,48 @@ public Builder clearExecutionStatus() { return this; } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder - getExecutionStatusBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder getExecutionStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getExecutionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder - getExecutionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { if (executionStatusBuilder_ != null) { return executionStatusBuilder_.getMessageOrBuilder(); } else { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } } /** - * - * *
      * Output only. Status of the data scan execution.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> getExecutionStatusFieldBuilder() { if (executionStatusBuilder_ == null) { - executionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder>( - getExecutionStatus(), getParentForChildren(), isClean()); + executionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder>( + getExecutionStatus(), + getParentForChildren(), + isClean()); executionStatus_ = null; } return executionStatusBuilder_; @@ -5931,33 +5189,22 @@ public Builder clearExecutionStatus() { private int type_ = 0; /** - * - * *
      * Output only. The type of DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Output only. The type of DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5968,35 +5215,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = - com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The type to set. * @return This builder for chaining. */ @@ -6010,16 +5246,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanType value) { return this; } /** - * - * *
      * Output only. The type of DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearType() { @@ -6030,19 +5261,13 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> - dataQualitySpecBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> dataQualitySpecBuilder_; /** - * - * *
      * DataQualityScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -6050,14 +5275,11 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** - * - * *
      * DataQualityScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return The dataQualitySpec. */ @java.lang.Override @@ -6075,8 +5297,6 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { } } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6097,8 +5317,6 @@ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec v return this; } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6117,8 +5335,6 @@ public Builder setDataQualitySpec( return this; } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6127,13 +5343,10 @@ public Builder setDataQualitySpec( */ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { - if (specCase_ == 100 - && spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { - spec_ = - com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder( - (com.google.cloud.dataplex.v1.DataQualitySpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 100 && + spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { + spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder((com.google.cloud.dataplex.v1.DataQualitySpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -6149,8 +5362,6 @@ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec return this; } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6174,8 +5385,6 @@ public Builder clearDataQualitySpec() { return this; } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6186,8 +5395,6 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.Builder getDataQualitySpecBu return getDataQualitySpecFieldBuilder().getBuilder(); } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6206,8 +5413,6 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } } /** - * - * *
      * DataQualityScan related setting.
      * 
@@ -6215,19 +5420,14 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> getDataQualitySpecFieldBuilder() { if (dataQualitySpecBuilder_ == null) { if (!(specCase_ == 100)) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } - dataQualitySpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( + dataQualitySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_, getParentForChildren(), isClean()); @@ -6239,19 +5439,13 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> - dataProfileSpecBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> dataProfileSpecBuilder_; /** - * - * *
      * DataProfileScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -6259,14 +5453,11 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** - * - * *
      * DataProfileScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return The dataProfileSpec. */ @java.lang.Override @@ -6284,8 +5475,6 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { } } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6306,8 +5495,6 @@ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec v return this; } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6326,8 +5513,6 @@ public Builder setDataProfileSpec( return this; } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6336,13 +5521,10 @@ public Builder setDataProfileSpec( */ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { - if (specCase_ == 101 - && spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { - spec_ = - com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileSpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 101 && + spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { + spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder((com.google.cloud.dataplex.v1.DataProfileSpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -6358,8 +5540,6 @@ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec return this; } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6383,8 +5563,6 @@ public Builder clearDataProfileSpec() { return this; } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6395,8 +5573,6 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.Builder getDataProfileSpecBu return getDataProfileSpecFieldBuilder().getBuilder(); } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6415,8 +5591,6 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } } /** - * - * *
      * DataProfileScan related setting.
      * 
@@ -6424,19 +5598,14 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> getDataProfileSpecFieldBuilder() { if (dataProfileSpecBuilder_ == null) { if (!(specCase_ == 101)) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } - dataProfileSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( + dataProfileSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_, getParentForChildren(), isClean()); @@ -6448,21 +5617,13 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> - dataQualityResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> dataQualityResultBuilder_; /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -6470,16 +5631,11 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ @java.lang.Override @@ -6497,15 +5653,11 @@ public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { } } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { @@ -6521,15 +5673,11 @@ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResu return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualityResult( com.google.cloud.dataplex.v1.DataQualityResult.Builder builderForValue) { @@ -6543,25 +5691,18 @@ public Builder setDataQualityResult( return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { - if (resultCase_ == 200 - && result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataQualityResult.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 200 && + result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataQualityResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -6577,15 +5718,11 @@ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityRe return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataQualityResult() { if (dataQualityResultBuilder_ == null) { @@ -6604,29 +5741,21 @@ public Builder clearDataQualityResult() { return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataQualityResult.Builder getDataQualityResultBuilder() { return getDataQualityResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { @@ -6640,30 +5769,21 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> getDataQualityResultFieldBuilder() { if (dataQualityResultBuilder_ == null) { if (!(resultCase_ == 200)) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } - dataQualityResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( + dataQualityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -6675,21 +5795,13 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> - dataProfileResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> dataProfileResultBuilder_; /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -6697,16 +5809,11 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ @java.lang.Override @@ -6724,15 +5831,11 @@ public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { } } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { @@ -6748,15 +5851,11 @@ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResu return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileResult( com.google.cloud.dataplex.v1.DataProfileResult.Builder builderForValue) { @@ -6770,25 +5869,18 @@ public Builder setDataProfileResult( return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { - if (resultCase_ == 201 - && result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataProfileResult.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 201 && + result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -6804,15 +5896,11 @@ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileRe return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataProfileResult() { if (dataProfileResultBuilder_ == null) { @@ -6831,29 +5919,21 @@ public Builder clearDataProfileResult() { return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataProfileResult.Builder getDataProfileResultBuilder() { return getDataProfileResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { @@ -6867,30 +5947,21 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes } } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> getDataProfileResultFieldBuilder() { if (dataProfileResultBuilder_ == null) { if (!(resultCase_ == 201)) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } - dataProfileResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( + dataProfileResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -6900,9 +5971,9 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes onChanged(); return dataProfileResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6912,12 +5983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan) private static final com.google.cloud.dataplex.v1.DataScan DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan(); } @@ -6926,27 +5997,27 @@ public static com.google.cloud.dataplex.v1.DataScan getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScan parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScan parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6961,4 +6032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java index 265bac33a87e..b4d5d27dc2ac 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * These messages contain information about the execution of a datascan.
  * The monitored resource is 'DataScan'
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent}
  */
-public final class DataScanEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataScanEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent)
     DataScanEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataScanEvent.newBuilder() to construct.
   private DataScanEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataScanEvent() {
     dataSource_ = "";
     jobId_ = "";
@@ -52,38 +34,34 @@ private DataScanEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataScanEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataScanEvent.class,
-            com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
+            com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.ScanType} */ - public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { + public enum ScanType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified data scan type.
      * 
@@ -92,8 +70,6 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { */ SCAN_TYPE_UNSPECIFIED(0), /** - * - * *
      * Data scan for data profile.
      * 
@@ -102,8 +78,6 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_PROFILE(1), /** - * - * *
      * Data scan for data quality.
      * 
@@ -115,8 +89,6 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified data scan type.
      * 
@@ -125,8 +97,6 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCAN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data scan for data profile.
      * 
@@ -135,8 +105,6 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_PROFILE_VALUE = 1; /** - * - * *
      * Data scan for data quality.
      * 
@@ -145,6 +113,7 @@ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_QUALITY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,49 +138,49 @@ public static ScanType valueOf(int value) { */ public static ScanType forNumber(int value) { switch (value) { - case 0: - return SCAN_TYPE_UNSPECIFIED; - case 1: - return DATA_PROFILE; - case 2: - return DATA_QUALITY; - default: - return null; + case 0: return SCAN_TYPE_UNSPECIFIED; + case 1: return DATA_PROFILE; + case 2: return DATA_QUALITY; + 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< + ScanType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ScanType findValueByNumber(int number) { + return ScanType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ScanType findValueByNumber(int number) { - return ScanType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(0); } private static final ScanType[] VALUES = values(); - public static ScanType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ScanType 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; @@ -229,18 +198,15 @@ private ScanType(int value) { } /** - * - * *
    * The job state of the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified job state.
      * 
@@ -249,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Data scan job started.
      * 
@@ -259,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(1), /** - * - * *
      * Data scan job successfully completed.
      * 
@@ -269,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * Data scan job was unsuccessful.
      * 
@@ -279,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * Data scan job was cancelled.
      * 
@@ -289,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(4), /** - * - * *
      * Data scan job was createed.
      * 
@@ -302,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified job state.
      * 
@@ -312,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data scan job started.
      * 
@@ -322,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 1; /** - * - * *
      * Data scan job successfully completed.
      * 
@@ -332,8 +282,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * Data scan job was unsuccessful.
      * 
@@ -342,8 +290,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * Data scan job was cancelled.
      * 
@@ -352,8 +298,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 4; /** - * - * *
      * Data scan job was createed.
      * 
@@ -362,6 +306,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -386,55 +331,52 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return STARTED; - case 2: - return SUCCEEDED; - case 3: - return FAILED; - case 4: - return CANCELLED; - case 5: - return CREATED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return STARTED; + case 2: return SUCCEEDED; + case 3: return FAILED; + case 4: return CANCELLED; + case 5: return CREATED; + 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.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(1); } 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; @@ -452,18 +394,15 @@ private State(int value) { } /** - * - * *
    * The trigger type for the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Trigger} */ - public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { + public enum Trigger + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified trigger type.
      * 
@@ -472,8 +411,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ TRIGGER_UNSPECIFIED(0), /** - * - * *
      * Data scan triggers on demand.
      * 
@@ -482,8 +419,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ ON_DEMAND(1), /** - * - * *
      * Data scan triggers as per schedule.
      * 
@@ -495,8 +430,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified trigger type.
      * 
@@ -505,8 +438,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data scan triggers on demand.
      * 
@@ -515,8 +446,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ON_DEMAND_VALUE = 1; /** - * - * *
      * Data scan triggers as per schedule.
      * 
@@ -525,6 +454,7 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -549,49 +479,49 @@ public static Trigger valueOf(int value) { */ public static Trigger forNumber(int value) { switch (value) { - case 0: - return TRIGGER_UNSPECIFIED; - case 1: - return ON_DEMAND; - case 2: - return SCHEDULE; - default: - return null; + case 0: return TRIGGER_UNSPECIFIED; + case 1: return ON_DEMAND; + case 2: return SCHEDULE; + 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< + Trigger> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Trigger findValueByNumber(int number) { + return Trigger.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Trigger findValueByNumber(int number) { - return Trigger.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(2); } private static final Trigger[] VALUES = values(); - public static Trigger valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Trigger 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; @@ -609,18 +539,15 @@ private Trigger(int value) { } /** - * - * *
    * The scope of job for the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Scope} */ - public enum Scope implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified scope type.
      * 
@@ -629,8 +556,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ SCOPE_UNSPECIFIED(0), /** - * - * *
      * Data scan runs on all of the data.
      * 
@@ -639,8 +564,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ FULL(1), /** - * - * *
      * Data scan runs on incremental data.
      * 
@@ -652,8 +575,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified scope type.
      * 
@@ -662,8 +583,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data scan runs on all of the data.
      * 
@@ -672,8 +591,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 1; /** - * - * *
      * Data scan runs on incremental data.
      * 
@@ -682,6 +599,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INCREMENTAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -706,49 +624,49 @@ public static Scope valueOf(int value) { */ public static Scope forNumber(int value) { switch (value) { - case 0: - return SCOPE_UNSPECIFIED; - case 1: - return FULL; - case 2: - return INCREMENTAL; - default: - return null; + case 0: return SCOPE_UNSPECIFIED; + case 1: return FULL; + case 2: return INCREMENTAL; + 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< + Scope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Scope findValueByNumber(int number) { + return Scope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Scope findValueByNumber(int number) { - return Scope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(3); } private static final Scope[] VALUES = values(); - public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Scope 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; @@ -765,77 +683,67 @@ private Scope(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanEvent.Scope) } - public interface DataProfileResultOrBuilder - extends + public interface DataProfileResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ long getRowCount(); } /** - * - * *
    * Data profile result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ - public static final class DataProfileResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DataProfileResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) DataProfileResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileResult.newBuilder() to construct. private DataProfileResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfileResult() {} + private DataProfileResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** - * - * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -844,7 +752,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -856,7 +763,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } @@ -870,7 +778,8 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -880,15 +789,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other = - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) obj; - if (getRowCount() != other.getRowCount()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -901,101 +810,97 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1005,41 +910,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data profile result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1049,14 +952,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } @@ -1071,17 +973,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = - new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -1092,41 +990,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult)other); } else { super.mergeFrom(other); return this; @@ -1134,9 +1029,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } @@ -1166,19 +1059,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1188,19 +1079,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long rowCount_; + private long rowCount_ ; /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -1208,14 +1095,11 @@ public long getRowCount() { return rowCount_; } /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1227,14 +1111,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1243,7 +1124,6 @@ public Builder clearRowCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1256,44 +1136,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,46 +1182,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DataQualityResultOrBuilder - extends + public interface DataQualityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ long getRowCount(); /** - * - * *
      * Whether the data quality result was `pass` or not.
      * 
* * bool passed = 2; - * * @return The passed. */ boolean getPassed(); /** - * - * *
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1356,8 +1224,6 @@ public interface DataQualityResultOrBuilder
      */
     int getDimensionPassedCount();
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1367,13 +1233,15 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean containsDimensionPassed(java.lang.String key);
-    /** Use {@link #getDimensionPassedMap()} instead. */
+    boolean containsDimensionPassed(
+        java.lang.String key);
+    /**
+     * Use {@link #getDimensionPassedMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getDimensionPassed();
+    java.util.Map
+    getDimensionPassed();
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1383,10 +1251,9 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, bool> dimension_passed = 3;
      */
-    java.util.Map getDimensionPassedMap();
+    java.util.Map
+    getDimensionPassedMap();
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1396,10 +1263,10 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue);
+    boolean getDimensionPassedOrDefault(
+        java.lang.String key,
+        boolean defaultValue);
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1409,11 +1276,10 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean getDimensionPassedOrThrow(java.lang.String key);
+    boolean getDimensionPassedOrThrow(
+        java.lang.String key);
 
     /**
-     *
-     *
      * 
      * The table-level data quality score for the data scan job.
      *
@@ -1422,14 +1288,11 @@ public interface DataQualityResultOrBuilder
      * 
* * float score = 4; - * * @return The score. */ float getScore(); /** - * - * *
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1443,8 +1306,6 @@ public interface DataQualityResultOrBuilder
      */
     int getDimensionScoreCount();
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1456,13 +1317,15 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> dimension_score = 5;
      */
-    boolean containsDimensionScore(java.lang.String key);
-    /** Use {@link #getDimensionScoreMap()} instead. */
+    boolean containsDimensionScore(
+        java.lang.String key);
+    /**
+     * Use {@link #getDimensionScoreMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getDimensionScore();
+    java.util.Map
+    getDimensionScore();
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1474,10 +1337,9 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> dimension_score = 5;
      */
-    java.util.Map getDimensionScoreMap();
+    java.util.Map
+    getDimensionScoreMap();
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1489,10 +1351,10 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> dimension_score = 5;
      */
-    float getDimensionScoreOrDefault(java.lang.String key, float defaultValue);
+    float getDimensionScoreOrDefault(
+        java.lang.String key,
+        float defaultValue);
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1504,11 +1366,10 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> dimension_score = 5;
      */
-    float getDimensionScoreOrThrow(java.lang.String key);
+    float getDimensionScoreOrThrow(
+        java.lang.String key);
 
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1522,8 +1383,6 @@ public interface DataQualityResultOrBuilder
      */
     int getColumnScoreCount();
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1535,13 +1394,15 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> column_score = 6;
      */
-    boolean containsColumnScore(java.lang.String key);
-    /** Use {@link #getColumnScoreMap()} instead. */
+    boolean containsColumnScore(
+        java.lang.String key);
+    /**
+     * Use {@link #getColumnScoreMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getColumnScore();
+    java.util.Map
+    getColumnScore();
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1553,10 +1414,9 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> column_score = 6;
      */
-    java.util.Map getColumnScoreMap();
+    java.util.Map
+    getColumnScoreMap();
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1568,10 +1428,10 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> column_score = 6;
      */
-    float getColumnScoreOrDefault(java.lang.String key, float defaultValue);
+    float getColumnScoreOrDefault(
+        java.lang.String key,
+        float defaultValue);
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1583,43 +1443,44 @@ public interface DataQualityResultOrBuilder
      *
      * map<string, float> column_score = 6;
      */
-    float getColumnScoreOrThrow(java.lang.String key);
+    float getColumnScoreOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Data quality result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ - public static final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DataQualityResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) DataQualityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityResult.newBuilder() to construct. private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataQualityResult() {} + private DataQualityResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataQualityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_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 internalGetDimensionPassed(); @@ -1628,31 +1489,26 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 6: return internalGetColumnScore(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** - * - * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -1663,14 +1519,11 @@ public long getRowCount() { public static final int PASSED_FIELD_NUMBER = 2; private boolean passed_ = false; /** - * - * *
      * Whether the data quality result was `pass` or not.
      * 
* * bool passed = 2; - * * @return The passed. */ @java.lang.Override @@ -1679,36 +1532,32 @@ public boolean getPassed() { } public static final int DIMENSION_PASSED_FIELD_NUMBER = 3; - private static final class DimensionPassedDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.BOOL, - false); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Boolean> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.BOOL, + false); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField dimensionPassed_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Boolean> dimensionPassed_; private com.google.protobuf.MapField - internalGetDimensionPassed() { + internalGetDimensionPassed() { if (dimensionPassed_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionPassedDefaultEntryHolder.defaultEntry); } return dimensionPassed_; } - public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** - * - * *
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1719,21 +1568,20 @@ public int getDimensionPassedCount() {
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean containsDimensionPassed(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsDimensionPassed(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetDimensionPassed().getMap().containsKey(key);
     }
-    /** Use {@link #getDimensionPassedMap()} instead. */
+    /**
+     * Use {@link #getDimensionPassedMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDimensionPassed() {
       return getDimensionPassedMap();
     }
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1748,8 +1596,6 @@ public java.util.Map getDimensionPassedMap(
       return internalGetDimensionPassed().getMap();
     }
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1760,17 +1606,15 @@ public java.util.Map getDimensionPassedMap(
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean getDimensionPassedOrDefault(
+        java.lang.String key,
+        boolean defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetDimensionPassed().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1781,10 +1625,9 @@ public boolean getDimensionPassedOrDefault(java.lang.String key, boolean default
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean getDimensionPassedOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean getDimensionPassedOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetDimensionPassed().getMap();
       if (!map.containsKey(key)) {
@@ -1796,8 +1639,6 @@ public boolean getDimensionPassedOrThrow(java.lang.String key) {
     public static final int SCORE_FIELD_NUMBER = 4;
     private float score_ = 0F;
     /**
-     *
-     *
      * 
      * The table-level data quality score for the data scan job.
      *
@@ -1806,7 +1647,6 @@ public boolean getDimensionPassedOrThrow(java.lang.String key) {
      * 
* * float score = 4; - * * @return The score. */ @java.lang.Override @@ -1815,36 +1655,32 @@ public float getScore() { } public static final int DIMENSION_SCORE_FIELD_NUMBER = 5; - private static final class DimensionScoreDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.FLOAT, - 0F); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Float> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.FLOAT, + 0F); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField dimensionScore_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Float> dimensionScore_; private com.google.protobuf.MapField - internalGetDimensionScore() { + internalGetDimensionScore() { if (dimensionScore_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionScoreDefaultEntryHolder.defaultEntry); } return dimensionScore_; } - public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** - * - * *
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1857,21 +1693,20 @@ public int getDimensionScoreCount() {
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public boolean containsDimensionScore(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsDimensionScore(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetDimensionScore().getMap().containsKey(key);
     }
-    /** Use {@link #getDimensionScoreMap()} instead. */
+    /**
+     * Use {@link #getDimensionScoreMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDimensionScore() {
       return getDimensionScoreMap();
     }
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1888,8 +1723,6 @@ public java.util.Map getDimensionScoreMap() {
       return internalGetDimensionScore().getMap();
     }
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1902,16 +1735,15 @@ public java.util.Map getDimensionScoreMap() {
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDimensionScore().getMap();
+    public float getDimensionScoreOrDefault(
+        java.lang.String key,
+        float defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDimensionScore().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1924,11 +1756,11 @@ public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public float getDimensionScoreOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDimensionScore().getMap();
+    public float getDimensionScoreOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDimensionScore().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1936,36 +1768,32 @@ public float getDimensionScoreOrThrow(java.lang.String key) {
     }
 
     public static final int COLUMN_SCORE_FIELD_NUMBER = 6;
-
     private static final class ColumnScoreDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry defaultEntry =
-          com.google.protobuf.MapEntry.newDefaultInstance(
-              com.google.cloud.dataplex.v1.LogsProto
-                  .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor,
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "",
-              com.google.protobuf.WireFormat.FieldType.FLOAT,
-              0F);
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, java.lang.Float> defaultEntry =
+              com.google.protobuf.MapEntry
+              .newDefaultInstance(
+                  com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.FLOAT,
+                  0F);
     }
-
     @SuppressWarnings("serial")
-    private com.google.protobuf.MapField columnScore_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.Float> columnScore_;
     private com.google.protobuf.MapField
-        internalGetColumnScore() {
+    internalGetColumnScore() {
       if (columnScore_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ColumnScoreDefaultEntryHolder.defaultEntry);
       }
       return columnScore_;
     }
-
     public int getColumnScoreCount() {
       return internalGetColumnScore().getMap().size();
     }
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1978,21 +1806,20 @@ public int getColumnScoreCount() {
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public boolean containsColumnScore(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsColumnScore(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetColumnScore().getMap().containsKey(key);
     }
-    /** Use {@link #getColumnScoreMap()} instead. */
+    /**
+     * Use {@link #getColumnScoreMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getColumnScore() {
       return getColumnScoreMap();
     }
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -2009,8 +1836,6 @@ public java.util.Map getColumnScoreMap() {
       return internalGetColumnScore().getMap();
     }
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -2023,16 +1848,15 @@ public java.util.Map getColumnScoreMap() {
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetColumnScore().getMap();
+    public float getColumnScoreOrDefault(
+        java.lang.String key,
+        float defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetColumnScore().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -2045,11 +1869,11 @@ public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public float getColumnScoreOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetColumnScore().getMap();
+    public float getColumnScoreOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetColumnScore().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2057,7 +1881,6 @@ public float getColumnScoreOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2069,22 +1892,35 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (rowCount_ != 0L) {
         output.writeInt64(1, rowCount_);
       }
       if (passed_ != false) {
         output.writeBool(2, passed_);
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetDimensionPassed(), DimensionPassedDefaultEntryHolder.defaultEntry, 3);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetDimensionPassed(),
+          DimensionPassedDefaultEntryHolder.defaultEntry,
+          3);
       if (java.lang.Float.floatToRawIntBits(score_) != 0) {
         output.writeFloat(4, score_);
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetDimensionScore(), DimensionScoreDefaultEntryHolder.defaultEntry, 5);
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetColumnScore(), ColumnScoreDefaultEntryHolder.defaultEntry, 6);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetDimensionScore(),
+          DimensionScoreDefaultEntryHolder.defaultEntry,
+          5);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetColumnScore(),
+          ColumnScoreDefaultEntryHolder.defaultEntry,
+          6);
       getUnknownFields().writeTo(output);
     }
 
@@ -2095,43 +1931,46 @@ public int getSerializedSize() {
 
       size = 0;
       if (rowCount_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt64Size(1, rowCount_);
       }
       if (passed_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, passed_);
-      }
-      for (java.util.Map.Entry entry :
-          internalGetDimensionPassed().getMap().entrySet()) {
-        com.google.protobuf.MapEntry dimensionPassed__ =
-            DimensionPassedDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dimensionPassed__);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(2, passed_);
+      }
+      for (java.util.Map.Entry entry
+           : internalGetDimensionPassed().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        dimensionPassed__ = DimensionPassedDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(3, dimensionPassed__);
       }
       if (java.lang.Float.floatToRawIntBits(score_) != 0) {
-        size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, score_);
-      }
-      for (java.util.Map.Entry entry :
-          internalGetDimensionScore().getMap().entrySet()) {
-        com.google.protobuf.MapEntry dimensionScore__ =
-            DimensionScoreDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, dimensionScore__);
-      }
-      for (java.util.Map.Entry entry :
-          internalGetColumnScore().getMap().entrySet()) {
-        com.google.protobuf.MapEntry columnScore__ =
-            ColumnScoreDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, columnScore__);
+        size += com.google.protobuf.CodedOutputStream
+          .computeFloatSize(4, score_);
+      }
+      for (java.util.Map.Entry entry
+           : internalGetDimensionScore().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        dimensionScore__ = DimensionScoreDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(5, dimensionScore__);
+      }
+      for (java.util.Map.Entry entry
+           : internalGetColumnScore().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        columnScore__ = ColumnScoreDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(6, columnScore__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2141,21 +1980,26 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other =
-          (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) obj;
+      com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) obj;
 
-      if (getRowCount() != other.getRowCount()) return false;
-      if (getPassed() != other.getPassed()) return false;
-      if (!internalGetDimensionPassed().equals(other.internalGetDimensionPassed())) return false;
+      if (getRowCount()
+          != other.getRowCount()) return false;
+      if (getPassed()
+          != other.getPassed()) return false;
+      if (!internalGetDimensionPassed().equals(
+          other.internalGetDimensionPassed())) return false;
       if (java.lang.Float.floatToIntBits(getScore())
-          != java.lang.Float.floatToIntBits(other.getScore())) return false;
-      if (!internalGetDimensionScore().equals(other.internalGetDimensionScore())) return false;
-      if (!internalGetColumnScore().equals(other.internalGetColumnScore())) return false;
+          != java.lang.Float.floatToIntBits(
+              other.getScore())) return false;
+      if (!internalGetDimensionScore().equals(
+          other.internalGetDimensionScore())) return false;
+      if (!internalGetColumnScore().equals(
+          other.internalGetColumnScore())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -2168,15 +2012,18 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       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) + PASSED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getPassed());
       if (!internalGetDimensionPassed().getMap().isEmpty()) {
         hash = (37 * hash) + DIMENSION_PASSED_FIELD_NUMBER;
         hash = (53 * hash) + internalGetDimensionPassed().hashCode();
       }
       hash = (37 * hash) + SCORE_FIELD_NUMBER;
-      hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
+      hash = (53 * hash) + java.lang.Float.floatToIntBits(
+          getScore());
       if (!internalGetDimensionScore().getMap().isEmpty()) {
         hash = (37 * hash) + DIMENSION_SCORE_FIELD_NUMBER;
         hash = (53 * hash) + internalGetDimensionScore().hashCode();
@@ -2191,94 +2038,89 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult prototype) {
+    public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2288,26 +2130,24 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Data quality result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetDimensionPassed(); @@ -2316,12 +2156,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 6: return internalGetColumnScore(); 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 internalGetMutableDimensionPassed(); @@ -2330,27 +2171,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 6: return internalGetMutableColumnScore(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2365,14 +2207,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } @@ -2387,17 +2228,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = - new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -2426,41 +2263,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)other); } else { super.mergeFrom(other); return this; @@ -2468,23 +2302,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } if (other.getPassed() != false) { setPassed(other.getPassed()); } - internalGetMutableDimensionPassed().mergeFrom(other.internalGetDimensionPassed()); + internalGetMutableDimensionPassed().mergeFrom( + other.internalGetDimensionPassed()); bitField0_ |= 0x00000004; if (other.getScore() != 0F) { setScore(other.getScore()); } - internalGetMutableDimensionScore().mergeFrom(other.internalGetDimensionScore()); + internalGetMutableDimensionScore().mergeFrom( + other.internalGetDimensionScore()); bitField0_ |= 0x00000010; - internalGetMutableColumnScore().mergeFrom(other.internalGetColumnScore()); + internalGetMutableColumnScore().mergeFrom( + other.internalGetColumnScore()); bitField0_ |= 0x00000020; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2512,68 +2347,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - passed_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - com.google.protobuf.MapEntry - dimensionPassed__ = - input.readMessage( - DimensionPassedDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableDimensionPassed() - .getMutableMap() - .put(dimensionPassed__.getKey(), dimensionPassed__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 37: - { - score_ = input.readFloat(); - bitField0_ |= 0x00000008; - break; - } // case 37 - case 42: - { - com.google.protobuf.MapEntry dimensionScore__ = - input.readMessage( - DimensionScoreDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableDimensionScore() - .getMutableMap() - .put(dimensionScore__.getKey(), dimensionScore__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry columnScore__ = - input.readMessage( - ColumnScoreDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableColumnScore() - .getMutableMap() - .put(columnScore__.getKey(), columnScore__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + passed_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + com.google.protobuf.MapEntry + dimensionPassed__ = input.readMessage( + DimensionPassedDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDimensionPassed().getMutableMap().put( + dimensionPassed__.getKey(), dimensionPassed__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 37: { + score_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + case 42: { + com.google.protobuf.MapEntry + dimensionScore__ = input.readMessage( + DimensionScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDimensionScore().getMutableMap().put( + dimensionScore__.getKey(), dimensionScore__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + columnScore__ = input.readMessage( + ColumnScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableColumnScore().getMutableMap().put( + columnScore__.getKey(), columnScore__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2583,19 +2404,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long rowCount_; + private long rowCount_ ; /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -2603,14 +2420,11 @@ public long getRowCount() { return rowCount_; } /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -2622,14 +2436,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -2639,16 +2450,13 @@ public Builder clearRowCount() { return this; } - private boolean passed_; + private boolean passed_ ; /** - * - * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; - * * @return The passed. */ @java.lang.Override @@ -2656,14 +2464,11 @@ public boolean getPassed() { return passed_; } /** - * - * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; - * * @param value The passed to set. * @return This builder for chaining. */ @@ -2675,14 +2480,11 @@ public Builder setPassed(boolean value) { return this; } /** - * - * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; - * * @return This builder for chaining. */ public Builder clearPassed() { @@ -2692,8 +2494,8 @@ public Builder clearPassed() { return this; } - private com.google.protobuf.MapField dimensionPassed_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Boolean> dimensionPassed_; private com.google.protobuf.MapField internalGetDimensionPassed() { if (dimensionPassed_ == null) { @@ -2702,13 +2504,11 @@ public Builder clearPassed() { } return dimensionPassed_; } - private com.google.protobuf.MapField internalGetMutableDimensionPassed() { if (dimensionPassed_ == null) { - dimensionPassed_ = - com.google.protobuf.MapField.newMapField( - DimensionPassedDefaultEntryHolder.defaultEntry); + dimensionPassed_ = com.google.protobuf.MapField.newMapField( + DimensionPassedDefaultEntryHolder.defaultEntry); } if (!dimensionPassed_.isMutable()) { dimensionPassed_ = dimensionPassed_.copy(); @@ -2717,13 +2517,10 @@ public Builder clearPassed() { onChanged(); return dimensionPassed_; } - public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** - * - * *
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2734,21 +2531,20 @@ public int getDimensionPassedCount() {
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean containsDimensionPassed(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsDimensionPassed(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetDimensionPassed().getMap().containsKey(key);
       }
-      /** Use {@link #getDimensionPassedMap()} instead. */
+      /**
+       * Use {@link #getDimensionPassedMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getDimensionPassed() {
         return getDimensionPassedMap();
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2763,8 +2559,6 @@ public java.util.Map getDimensionPassedMap(
         return internalGetDimensionPassed().getMap();
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2775,17 +2569,15 @@ public java.util.Map getDimensionPassedMap(
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean getDimensionPassedOrDefault(
+          java.lang.String key,
+          boolean defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetDimensionPassed().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2796,10 +2588,9 @@ public boolean getDimensionPassedOrDefault(java.lang.String key, boolean default
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean getDimensionPassedOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean getDimensionPassedOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetDimensionPassed().getMap();
         if (!map.containsKey(key)) {
@@ -2807,15 +2598,13 @@ public boolean getDimensionPassedOrThrow(java.lang.String key) {
         }
         return map.get(key);
       }
-
       public Builder clearDimensionPassed() {
         bitField0_ = (bitField0_ & ~0x00000004);
-        internalGetMutableDimensionPassed().getMutableMap().clear();
+        internalGetMutableDimensionPassed().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2825,22 +2614,23 @@ public Builder clearDimensionPassed() {
        *
        * map<string, bool> dimension_passed = 3;
        */
-      public Builder removeDimensionPassed(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableDimensionPassed().getMutableMap().remove(key);
+      public Builder removeDimensionPassed(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableDimensionPassed().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableDimensionPassed() {
+      public java.util.Map
+          getMutableDimensionPassed() {
         bitField0_ |= 0x00000004;
         return internalGetMutableDimensionPassed().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2850,18 +2640,17 @@ public java.util.Map getMutableDimensionPas
        *
        * map<string, bool> dimension_passed = 3;
        */
-      public Builder putDimensionPassed(java.lang.String key, boolean value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putDimensionPassed(
+          java.lang.String key,
+          boolean value) {
+        if (key == null) { throw new NullPointerException("map key"); }
 
-        internalGetMutableDimensionPassed().getMutableMap().put(key, value);
+        internalGetMutableDimensionPassed().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2873,15 +2662,14 @@ public Builder putDimensionPassed(java.lang.String key, boolean value) {
        */
       public Builder putAllDimensionPassed(
           java.util.Map values) {
-        internalGetMutableDimensionPassed().getMutableMap().putAll(values);
+        internalGetMutableDimensionPassed().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000004;
         return this;
       }
 
-      private float score_;
+      private float score_ ;
       /**
-       *
-       *
        * 
        * The table-level data quality score for the data scan job.
        *
@@ -2890,7 +2678,6 @@ public Builder putAllDimensionPassed(
        * 
* * float score = 4; - * * @return The score. */ @java.lang.Override @@ -2898,8 +2685,6 @@ public float getScore() { return score_; } /** - * - * *
        * The table-level data quality score for the data scan job.
        *
@@ -2908,7 +2693,6 @@ public float getScore() {
        * 
* * float score = 4; - * * @param value The score to set. * @return This builder for chaining. */ @@ -2920,8 +2704,6 @@ public Builder setScore(float value) { return this; } /** - * - * *
        * The table-level data quality score for the data scan job.
        *
@@ -2930,7 +2712,6 @@ public Builder setScore(float value) {
        * 
* * float score = 4; - * * @return This builder for chaining. */ public Builder clearScore() { @@ -2940,8 +2721,8 @@ public Builder clearScore() { return this; } - private com.google.protobuf.MapField dimensionScore_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Float> dimensionScore_; private com.google.protobuf.MapField internalGetDimensionScore() { if (dimensionScore_ == null) { @@ -2950,13 +2731,11 @@ public Builder clearScore() { } return dimensionScore_; } - private com.google.protobuf.MapField internalGetMutableDimensionScore() { if (dimensionScore_ == null) { - dimensionScore_ = - com.google.protobuf.MapField.newMapField( - DimensionScoreDefaultEntryHolder.defaultEntry); + dimensionScore_ = com.google.protobuf.MapField.newMapField( + DimensionScoreDefaultEntryHolder.defaultEntry); } if (!dimensionScore_.isMutable()) { dimensionScore_ = dimensionScore_.copy(); @@ -2965,13 +2744,10 @@ public Builder clearScore() { onChanged(); return dimensionScore_; } - public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** - * - * *
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2984,21 +2760,20 @@ public int getDimensionScoreCount() {
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public boolean containsDimensionScore(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsDimensionScore(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetDimensionScore().getMap().containsKey(key);
       }
-      /** Use {@link #getDimensionScoreMap()} instead. */
+      /**
+       * Use {@link #getDimensionScoreMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getDimensionScore() {
         return getDimensionScoreMap();
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3015,8 +2790,6 @@ public java.util.Map getDimensionScoreMap() {
         return internalGetDimensionScore().getMap();
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3029,16 +2802,15 @@ public java.util.Map getDimensionScoreMap() {
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetDimensionScore().getMap();
+      public float getDimensionScoreOrDefault(
+          java.lang.String key,
+          float defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetDimensionScore().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3051,25 +2823,23 @@ public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public float getDimensionScoreOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetDimensionScore().getMap();
+      public float getDimensionScoreOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetDimensionScore().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearDimensionScore() {
         bitField0_ = (bitField0_ & ~0x00000010);
-        internalGetMutableDimensionScore().getMutableMap().clear();
+        internalGetMutableDimensionScore().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3081,22 +2851,23 @@ public Builder clearDimensionScore() {
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder removeDimensionScore(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableDimensionScore().getMutableMap().remove(key);
+      public Builder removeDimensionScore(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableDimensionScore().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableDimensionScore() {
+      public java.util.Map
+          getMutableDimensionScore() {
         bitField0_ |= 0x00000010;
         return internalGetMutableDimensionScore().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3108,18 +2879,17 @@ public java.util.Map getMutableDimensionScore
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder putDimensionScore(java.lang.String key, float value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putDimensionScore(
+          java.lang.String key,
+          float value) {
+        if (key == null) { throw new NullPointerException("map key"); }
 
-        internalGetMutableDimensionScore().getMutableMap().put(key, value);
+        internalGetMutableDimensionScore().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000010;
         return this;
       }
       /**
-       *
-       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -3131,14 +2901,16 @@ public Builder putDimensionScore(java.lang.String key, float value) {
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder putAllDimensionScore(java.util.Map values) {
-        internalGetMutableDimensionScore().getMutableMap().putAll(values);
+      public Builder putAllDimensionScore(
+          java.util.Map values) {
+        internalGetMutableDimensionScore().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000010;
         return this;
       }
 
-      private com.google.protobuf.MapField columnScore_;
-
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.Float> columnScore_;
       private com.google.protobuf.MapField
           internalGetColumnScore() {
         if (columnScore_ == null) {
@@ -3147,12 +2919,11 @@ public Builder putAllDimensionScore(java.util.Map
           internalGetMutableColumnScore() {
         if (columnScore_ == null) {
-          columnScore_ =
-              com.google.protobuf.MapField.newMapField(ColumnScoreDefaultEntryHolder.defaultEntry);
+          columnScore_ = com.google.protobuf.MapField.newMapField(
+              ColumnScoreDefaultEntryHolder.defaultEntry);
         }
         if (!columnScore_.isMutable()) {
           columnScore_ = columnScore_.copy();
@@ -3161,13 +2932,10 @@ public Builder putAllDimensionScore(java.util.Map
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3180,21 +2948,20 @@ public int getColumnScoreCount() {
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public boolean containsColumnScore(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsColumnScore(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetColumnScore().getMap().containsKey(key);
       }
-      /** Use {@link #getColumnScoreMap()} instead. */
+      /**
+       * Use {@link #getColumnScoreMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getColumnScore() {
         return getColumnScoreMap();
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3211,8 +2978,6 @@ public java.util.Map getColumnScoreMap() {
         return internalGetColumnScore().getMap();
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3225,16 +2990,15 @@ public java.util.Map getColumnScoreMap() {
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetColumnScore().getMap();
+      public float getColumnScoreOrDefault(
+          java.lang.String key,
+          float defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetColumnScore().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3247,25 +3011,23 @@ public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public float getColumnScoreOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetColumnScore().getMap();
+      public float getColumnScoreOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetColumnScore().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearColumnScore() {
         bitField0_ = (bitField0_ & ~0x00000020);
-        internalGetMutableColumnScore().getMutableMap().clear();
+        internalGetMutableColumnScore().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3277,22 +3039,23 @@ public Builder clearColumnScore() {
        *
        * map<string, float> column_score = 6;
        */
-      public Builder removeColumnScore(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableColumnScore().getMutableMap().remove(key);
+      public Builder removeColumnScore(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableColumnScore().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableColumnScore() {
+      public java.util.Map
+          getMutableColumnScore() {
         bitField0_ |= 0x00000020;
         return internalGetMutableColumnScore().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3304,18 +3067,17 @@ public java.util.Map getMutableColumnScore()
        *
        * map<string, float> column_score = 6;
        */
-      public Builder putColumnScore(java.lang.String key, float value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putColumnScore(
+          java.lang.String key,
+          float value) {
+        if (key == null) { throw new NullPointerException("map key"); }
 
-        internalGetMutableColumnScore().getMutableMap().put(key, value);
+        internalGetMutableColumnScore().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000020;
         return this;
       }
       /**
-       *
-       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3327,12 +3089,13 @@ public Builder putColumnScore(java.lang.String key, float value) {
        *
        * map<string, float> column_score = 6;
        */
-      public Builder putAllColumnScore(java.util.Map values) {
-        internalGetMutableColumnScore().getMutableMap().putAll(values);
+      public Builder putAllColumnScore(
+          java.util.Map values) {
+        internalGetMutableColumnScore().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000020;
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3345,44 +3108,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)
-    private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult();
     }
 
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
-        getDefaultInstance() {
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DataQualityResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DataQualityResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3394,20 +3154,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
-        getDefaultInstanceForType() {
+    public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DataProfileAppliedConfigsOrBuilder
-      extends
+  public interface DataProfileAppliedConfigsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3416,85 +3173,73 @@ public interface DataProfileAppliedConfigsOrBuilder
      * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ float getSamplingPercent(); /** - * - * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); /** - * - * *
      * Boolean indicating whether a column filter was applied in the DataScan
      * job.
      * 
* * bool column_filter_applied = 3; - * * @return The columnFilterApplied. */ boolean getColumnFilterApplied(); } /** - * - * *
    * Applied configs for data profile type data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ - public static final class DataProfileAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DataProfileAppliedConfigs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) DataProfileAppliedConfigsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileAppliedConfigs.newBuilder() to construct. private DataProfileAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfileAppliedConfigs() {} + private DataProfileAppliedConfigs() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileAppliedConfigs(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** - * - * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3503,7 +3248,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ @java.lang.Override @@ -3514,14 +3258,11 @@ public float getSamplingPercent() { public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** - * - * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ @java.lang.Override @@ -3532,15 +3273,12 @@ public boolean getRowFilterApplied() { public static final int COLUMN_FILTER_APPLIED_FIELD_NUMBER = 3; private boolean columnFilterApplied_ = false; /** - * - * *
      * Boolean indicating whether a column filter was applied in the DataScan
      * job.
      * 
* * bool column_filter_applied = 3; - * * @return The columnFilterApplied. */ @java.lang.Override @@ -3549,7 +3287,6 @@ public boolean getColumnFilterApplied() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3561,7 +3298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } @@ -3581,13 +3319,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, rowFilterApplied_); } if (columnFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, columnFilterApplied_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, columnFilterApplied_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3597,18 +3338,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other = - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; - if (getRowFilterApplied() != other.getRowFilterApplied()) return false; - if (getColumnFilterApplied() != other.getColumnFilterApplied()) return false; + != java.lang.Float.floatToIntBits( + other.getSamplingPercent())) return false; + if (getRowFilterApplied() + != other.getRowFilterApplied()) return false; + if (getColumnFilterApplied() + != other.getColumnFilterApplied()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3621,106 +3364,103 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRowFilterApplied()); hash = (37 * hash) + COLUMN_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getColumnFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getColumnFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3730,42 +3470,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Applied configs for data profile type data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3777,22 +3514,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs build() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = - buildPartial(); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3801,17 +3535,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs buil @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = - new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; @@ -3828,53 +3558,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other) { + if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } @@ -3910,31 +3633,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 16: - { - rowFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - columnFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 16: { + rowFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + columnFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3944,13 +3663,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float samplingPercent_; + private float samplingPercent_ ; /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3959,7 +3675,6 @@ public Builder mergeFrom(
        * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ @java.lang.Override @@ -3967,8 +3682,6 @@ public float getSamplingPercent() { return samplingPercent_; } /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3977,7 +3690,6 @@ public float getSamplingPercent() {
        * 
* * float sampling_percent = 1; - * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -3989,8 +3701,6 @@ public Builder setSamplingPercent(float value) { return this; } /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3999,7 +3709,6 @@ public Builder setSamplingPercent(float value) {
        * 
* * float sampling_percent = 1; - * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -4009,16 +3718,13 @@ public Builder clearSamplingPercent() { return this; } - private boolean rowFilterApplied_; + private boolean rowFilterApplied_ ; /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ @java.lang.Override @@ -4026,14 +3732,11 @@ public boolean getRowFilterApplied() { return rowFilterApplied_; } /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ @@ -4045,14 +3748,11 @@ public Builder setRowFilterApplied(boolean value) { return this; } /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { @@ -4062,17 +3762,14 @@ public Builder clearRowFilterApplied() { return this; } - private boolean columnFilterApplied_; + private boolean columnFilterApplied_ ; /** - * - * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; - * * @return The columnFilterApplied. */ @java.lang.Override @@ -4080,15 +3777,12 @@ public boolean getColumnFilterApplied() { return columnFilterApplied_; } /** - * - * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; - * * @param value The columnFilterApplied to set. * @return This builder for chaining. */ @@ -4100,15 +3794,12 @@ public Builder setColumnFilterApplied(boolean value) { return this; } /** - * - * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; - * * @return This builder for chaining. */ public Builder clearColumnFilterApplied() { @@ -4117,7 +3808,6 @@ public Builder clearColumnFilterApplied() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4130,44 +3820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileAppliedConfigs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileAppliedConfigs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4179,20 +3866,17 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DataQualityAppliedConfigsOrBuilder - extends + public interface DataQualityAppliedConfigsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -4201,71 +3885,62 @@ public interface DataQualityAppliedConfigsOrBuilder
      * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ float getSamplingPercent(); /** - * - * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); } /** - * - * *
    * Applied configs for data quality type data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ - public static final class DataQualityAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DataQualityAppliedConfigs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) DataQualityAppliedConfigsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityAppliedConfigs.newBuilder() to construct. private DataQualityAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataQualityAppliedConfigs() {} + private DataQualityAppliedConfigs() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataQualityAppliedConfigs(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** - * - * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -4274,7 +3949,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ @java.lang.Override @@ -4285,14 +3959,11 @@ public float getSamplingPercent() { public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** - * - * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ @java.lang.Override @@ -4301,7 +3972,6 @@ public boolean getRowFilterApplied() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4313,7 +3983,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } @@ -4330,10 +4001,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, rowFilterApplied_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4343,17 +4016,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other = - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; - if (getRowFilterApplied() != other.getRowFilterApplied()) return false; + != java.lang.Float.floatToIntBits( + other.getSamplingPercent())) return false; + if (getRowFilterApplied() + != other.getRowFilterApplied()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4366,104 +4040,100 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRowFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4473,42 +4143,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Applied configs for data quality type data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4519,22 +4186,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs build() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = - buildPartial(); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4543,17 +4207,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs buil @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = - new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; @@ -4567,53 +4227,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other) { + if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } @@ -4646,25 +4299,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 16: - { - rowFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 16: { + rowFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4674,13 +4324,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float samplingPercent_; + private float samplingPercent_ ; /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4689,7 +4336,6 @@ public Builder mergeFrom(
        * 
* * float sampling_percent = 1; - * * @return The samplingPercent. */ @java.lang.Override @@ -4697,8 +4343,6 @@ public float getSamplingPercent() { return samplingPercent_; } /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4707,7 +4351,6 @@ public float getSamplingPercent() {
        * 
* * float sampling_percent = 1; - * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -4719,8 +4362,6 @@ public Builder setSamplingPercent(float value) { return this; } /** - * - * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4729,7 +4370,6 @@ public Builder setSamplingPercent(float value) {
        * 
* * float sampling_percent = 1; - * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -4739,16 +4379,13 @@ public Builder clearSamplingPercent() { return this; } - private boolean rowFilterApplied_; + private boolean rowFilterApplied_ ; /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @return The rowFilterApplied. */ @java.lang.Override @@ -4756,14 +4393,11 @@ public boolean getRowFilterApplied() { return rowFilterApplied_; } /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ @@ -4775,14 +4409,11 @@ public Builder setRowFilterApplied(boolean value) { return this; } /** - * - * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; - * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { @@ -4791,7 +4422,6 @@ public Builder clearRowFilterApplied() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4804,44 +4434,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityAppliedConfigs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityAppliedConfigs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4853,182 +4480,141 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PostScanActionsResultOrBuilder - extends + public interface PostScanActionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); } /** - * - * *
    * Post scan actions result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ - public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PostScanActionsResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PostScanActionsResult() {} + private PostScanActionsResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder - extends + public interface BigQueryExportResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The state. */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State - getState(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState(); /** - * - * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryExportResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -5036,41 +4622,34 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder.class); } /** - * - * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code - * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The exporting state is unspecified.
          * 
@@ -5079,8 +4658,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The exporting completed successfully.
          * 
@@ -5089,8 +4666,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -5099,8 +4674,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -5113,8 +4686,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * The exporting state is unspecified.
          * 
@@ -5123,8 +4694,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The exporting completed successfully.
          * 
@@ -5133,8 +4702,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
          * The exporting is no longer running due to an error.
          * 
@@ -5143,8 +4710,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -5154,6 +4719,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int SKIPPED_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -5178,55 +4744,50 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0:
-              return STATE_UNSPECIFIED;
-            case 1:
-              return SUCCEEDED;
-            case 2:
-              return FAILED;
-            case 3:
-              return SKIPPED;
-            default:
-              return null;
+            case 0: return STATE_UNSPECIFIED;
+            case 1: return SUCCEEDED;
+            case 2: return FAILED;
+            case 3: return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult
-              .BigQueryExportResult.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.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.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -5246,62 +4807,38 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
-       *
-       *
        * 
        * Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Execution state for the BigQuery exporting.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State - getState() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State - result = - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -5310,29 +4847,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -5341,7 +4878,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5353,11 +4889,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -5372,11 +4906,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -5389,22 +4921,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - other = - (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult) - obj; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5425,116 +4951,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5544,46 +5044,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5594,23 +5087,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - build() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - result = buildPartial(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult build() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5618,22 +5107,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - result = - new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult buildPartial() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -5647,59 +5128,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult) - other); + if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) { + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other) { + if (other == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -5734,25 +5202,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5762,38 +5227,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
          * Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -5804,50 +5257,28 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
          * Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State - getState() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State - result = - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.State.UNRECOGNIZED - : result; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; } /** - * - * *
          * Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .State - value) { + public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State value) { if (value == null) { throw new NullPointerException(); } @@ -5857,16 +5288,11 @@ public Builder setState( return this; } /** - * - * *
          * Execution state for the BigQuery exporting.
          * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * @return This builder for chaining. */ public Builder clearState() { @@ -5878,20 +5304,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -5900,21 +5324,20 @@ public java.lang.String getMessage() { } } /** - * - * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -5922,35 +5345,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -5960,28 +5376,23 @@ public Builder clearMessage() { return this; } /** - * - * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5994,48 +5405,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6047,26 +5451,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -6074,49 +5472,30 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } /** - * - * *
      * The result of BigQuery export post scan action.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .getDefaultInstance() - : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6128,7 +5507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -6142,8 +5522,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6153,17 +5533,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other = - (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult() + .equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6186,95 +5566,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6284,42 +5658,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Post scan actions result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6333,16 +5704,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance(); } @java.lang.Override @@ -6356,23 +5725,18 @@ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult build() @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = - new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = - bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -6380,53 +5744,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) { - return mergeFrom( - (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other) { - if (other - == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other) { + if (other == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -6456,20 +5813,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6479,72 +5835,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder> - bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ - public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - value) { + public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6558,20 +5887,14 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -6582,25 +5905,17 @@ public Builder setBigqueryExportResult( return this; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ - public Builder mergeBigqueryExportResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - value) { + public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryExportResult_ != null - && bigqueryExportResult_ - != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryExportResult_ != null && + bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -6613,15 +5928,11 @@ public Builder mergeBigqueryExportResult( return this; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -6634,79 +5945,52 @@ public Builder clearBigqueryExportResult() { return this; } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .Builder - getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder - getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.getDefaultInstance() - : bigqueryExportResult_; + return bigqueryExportResult_ == null ? + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } } /** - * - * *
        * The result of BigQuery export post scan action.
        * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult - .Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), getParentForChildren(), isClean()); + bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), + getParentForChildren(), + isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6719,44 +6003,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6768,26 +6049,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resultCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE(101), DATA_QUALITY(102), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -6803,40 +6080,33 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 101: - return DATA_PROFILE; - case 102: - return DATA_QUALITY; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 101: return DATA_PROFILE; + case 102: return DATA_QUALITY; + 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_); } private int appliedConfigsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object appliedConfigs_; - public enum AppliedConfigsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE_CONFIGS(201), DATA_QUALITY_CONFIGS(202), APPLIEDCONFIGS_NOT_SET(0); private final int value; - private AppliedConfigsCase(int value) { this.value = value; } @@ -6852,39 +6122,32 @@ public static AppliedConfigsCase valueOf(int value) { public static AppliedConfigsCase forNumber(int value) { switch (value) { - case 201: - return DATA_PROFILE_CONFIGS; - case 202: - return DATA_QUALITY_CONFIGS; - case 0: - return APPLIEDCONFIGS_NOT_SET; - default: - return null; + case 201: return DATA_PROFILE_CONFIGS; + case 202: return DATA_QUALITY_CONFIGS; + case 0: return APPLIEDCONFIGS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AppliedConfigsCase getAppliedConfigsCase() { - return AppliedConfigsCase.forNumber(appliedConfigsCase_); + public AppliedConfigsCase + getAppliedConfigsCase() { + return AppliedConfigsCase.forNumber( + appliedConfigsCase_); } public static final int DATA_SOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dataSource_ = ""; /** - * - * *
    * The data source of the data scan
    * 
* * string data_source = 1; - * * @return The dataSource. */ @java.lang.Override @@ -6893,29 +6156,29 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** - * - * *
    * The data source of the data scan
    * 
* * string data_source = 1; - * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -6924,18 +6187,14 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } public static final int JOB_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** - * - * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; - * * @return The jobId. */ @java.lang.Override @@ -6944,29 +6203,29 @@ 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 identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; - * * @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 { @@ -6977,14 +6236,11 @@ public com.google.protobuf.ByteString getJobIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -6992,14 +6248,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; - * * @return The createTime. */ @java.lang.Override @@ -7007,8 +6260,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the data scan job was created.
    * 
@@ -7023,14 +6274,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -7038,14 +6286,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -7053,8 +6298,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time when the data scan job started to run.
    * 
@@ -7069,14 +6312,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -7084,14 +6324,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -7099,8 +6336,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the data scan job finished.
    * 
@@ -7115,88 +6350,64 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** - * - * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType 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 the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { - com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = - com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { + com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.State result = - com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { + com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * The message describing the data scan job event.
    * 
* * string message = 7; - * * @return The message. */ @java.lang.Override @@ -7205,29 +6416,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The message describing the data scan job event.
    * 
* * string message = 7; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -7236,18 +6447,14 @@ public com.google.protobuf.ByteString getMessageBytes() { } public static final int SPEC_VERSION_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object specVersion_ = ""; /** - * - * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; - * * @return The specVersion. */ @java.lang.Override @@ -7256,29 +6463,29 @@ public java.lang.String getSpecVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; } } /** - * - * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; - * * @return The bytes for specVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getSpecVersionBytes() { + public com.google.protobuf.ByteString + getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); specVersion_ = b; return b; } else { @@ -7289,85 +6496,62 @@ public com.google.protobuf.ByteString getSpecVersionBytes() { public static final int TRIGGER_FIELD_NUMBER = 9; private int trigger_ = 0; /** - * - * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The trigger. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { - com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = - com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { + com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 10; private int scope_ = 0; /** - * - * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { - com.google.cloud.dataplex.v1.DataScanEvent.Scope result = - com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { + com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; } public static final int DATA_PROFILE_FIELD_NUMBER = 101; /** - * - * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return Whether the dataProfile field is set. */ @java.lang.Override @@ -7375,26 +6559,21 @@ public boolean hasDataProfile() { return resultCase_ == 101; } /** - * - * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return The dataProfile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile() { if (resultCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } /** - * - * *
    * Data profile result for data profile type data scan.
    * 
@@ -7402,24 +6581,20 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfi * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder - getDataProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { if (resultCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } public static final int DATA_QUALITY_FIELD_NUMBER = 102; /** - * - * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return Whether the dataQuality field is set. */ @java.lang.Override @@ -7427,26 +6602,21 @@ public boolean hasDataQuality() { return resultCase_ == 102; } /** - * - * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return The dataQuality. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality() { if (resultCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } /** - * - * *
    * Data quality result for data quality type data scan.
    * 
@@ -7454,26 +6624,20 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuali * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder - getDataQualityOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { if (resultCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_CONFIGS_FIELD_NUMBER = 201; /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override @@ -7481,60 +6645,42 @@ public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return The dataProfileConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - getDataProfileConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder - getDataProfileConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } public static final int DATA_QUALITY_CONFIGS_FIELD_NUMBER = 202; /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override @@ -7542,61 +6688,43 @@ public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return The dataQualityConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - getDataQualityConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder - getDataQualityConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -7604,46 +6732,30 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - getPostScanActionsResult() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7655,7 +6767,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataSource_); } @@ -7668,8 +6781,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(4, getEndTime()); } - if (type_ - != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { @@ -7681,8 +6793,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, specVersion_); } - if (trigger_ - != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { @@ -7695,22 +6806,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(12, getCreateTime()); } if (resultCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); + output.writeMessage(101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { - output.writeMessage( - 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); + output.writeMessage(102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { - output.writeMessage( - 201, - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); + output.writeMessage(201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); } if (appliedConfigsCase_ == 202) { - output.writeMessage( - 202, - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); + output.writeMessage(202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); } getUnknownFields().writeTo(output); } @@ -7728,17 +6833,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } - if (type_ - != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, message_); @@ -7746,43 +6854,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, specVersion_); } - if (trigger_ - != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, trigger_); + if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, scope_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, scope_); } if (postScanActionsResult_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPostScanActionsResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getPostScanActionsResult()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCreateTime()); } if (resultCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - appliedConfigs_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); } if (appliedConfigsCase_ == 202) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 202, - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - appliedConfigs_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7792,45 +6894,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent other = - (com.google.cloud.dataplex.v1.DataScanEvent) obj; + com.google.cloud.dataplex.v1.DataScanEvent other = (com.google.cloud.dataplex.v1.DataScanEvent) obj; - if (!getDataSource().equals(other.getDataSource())) return false; - if (!getJobId().equals(other.getJobId())) return false; + if (!getDataSource() + .equals(other.getDataSource())) return false; + if (!getJobId() + .equals(other.getJobId())) 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 (type_ != other.type_) return false; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; - if (!getSpecVersion().equals(other.getSpecVersion())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getSpecVersion() + .equals(other.getSpecVersion())) return false; if (trigger_ != other.trigger_) return false; if (scope_ != other.scope_) return false; if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult() + .equals(other.getPostScanActionsResult())) return false; } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 101: - if (!getDataProfile().equals(other.getDataProfile())) return false; + if (!getDataProfile() + .equals(other.getDataProfile())) return false; break; case 102: - if (!getDataQuality().equals(other.getDataQuality())) return false; + if (!getDataQuality() + .equals(other.getDataQuality())) return false; break; case 0: default: @@ -7838,10 +6949,12 @@ public boolean equals(final java.lang.Object obj) { if (!getAppliedConfigsCase().equals(other.getAppliedConfigsCase())) return false; switch (appliedConfigsCase_) { case 201: - if (!getDataProfileConfigs().equals(other.getDataProfileConfigs())) return false; + if (!getDataProfileConfigs() + .equals(other.getDataProfileConfigs())) return false; break; case 202: - if (!getDataQualityConfigs().equals(other.getDataQualityConfigs())) return false; + if (!getDataQualityConfigs() + .equals(other.getDataQualityConfigs())) return false; break; case 0: default: @@ -7918,104 +7031,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * These messages contain information about the execution of a datascan.
    * The monitored resource is 'DataScan'
@@ -8024,32 +7132,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent)
       com.google.cloud.dataplex.v1.DataScanEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataScanEvent.class,
-              com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
+              com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataScanEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8102,9 +7211,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
     }
 
     @java.lang.Override
@@ -8123,11 +7232,8 @@ public com.google.cloud.dataplex.v1.DataScanEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataScanEvent buildPartial() {
-      com.google.cloud.dataplex.v1.DataScanEvent result =
-          new com.google.cloud.dataplex.v1.DataScanEvent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataScanEvent result = new com.google.cloud.dataplex.v1.DataScanEvent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -8142,13 +7248,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent result) {
         result.jobId_ = jobId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.type_ = type_;
@@ -8169,28 +7281,31 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent result) {
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.postScanActionsResult_ =
-            postScanActionsResultBuilder_ == null
-                ? postScanActionsResult_
-                : postScanActionsResultBuilder_.build();
+        result.postScanActionsResult_ = postScanActionsResultBuilder_ == null
+            ? postScanActionsResult_
+            : postScanActionsResultBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanEvent result) {
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 101 && dataProfileBuilder_ != null) {
+      if (resultCase_ == 101 &&
+          dataProfileBuilder_ != null) {
         result.result_ = dataProfileBuilder_.build();
       }
-      if (resultCase_ == 102 && dataQualityBuilder_ != null) {
+      if (resultCase_ == 102 &&
+          dataQualityBuilder_ != null) {
         result.result_ = dataQualityBuilder_.build();
       }
       result.appliedConfigsCase_ = appliedConfigsCase_;
       result.appliedConfigs_ = this.appliedConfigs_;
-      if (appliedConfigsCase_ == 201 && dataProfileConfigsBuilder_ != null) {
+      if (appliedConfigsCase_ == 201 &&
+          dataProfileConfigsBuilder_ != null) {
         result.appliedConfigs_ = dataProfileConfigsBuilder_.build();
       }
-      if (appliedConfigsCase_ == 202 && dataQualityConfigsBuilder_ != null) {
+      if (appliedConfigsCase_ == 202 &&
+          dataQualityConfigsBuilder_ != null) {
         result.appliedConfigs_ = dataQualityConfigsBuilder_.build();
       }
     }
@@ -8199,39 +7314,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanEvent resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8285,36 +7399,30 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent other) {
         mergePostScanActionsResult(other.getPostScanActionsResult());
       }
       switch (other.getResultCase()) {
-        case DATA_PROFILE:
-          {
-            mergeDataProfile(other.getDataProfile());
-            break;
-          }
-        case DATA_QUALITY:
-          {
-            mergeDataQuality(other.getDataQuality());
-            break;
-          }
-        case RESULT_NOT_SET:
-          {
-            break;
-          }
+        case DATA_PROFILE: {
+          mergeDataProfile(other.getDataProfile());
+          break;
+        }
+        case DATA_QUALITY: {
+          mergeDataQuality(other.getDataQuality());
+          break;
+        }
+        case RESULT_NOT_SET: {
+          break;
+        }
       }
       switch (other.getAppliedConfigsCase()) {
-        case DATA_PROFILE_CONFIGS:
-          {
-            mergeDataProfileConfigs(other.getDataProfileConfigs());
-            break;
-          }
-        case DATA_QUALITY_CONFIGS:
-          {
-            mergeDataQualityConfigs(other.getDataQualityConfigs());
-            break;
-          }
-        case APPLIEDCONFIGS_NOT_SET:
-          {
-            break;
-          }
+        case DATA_PROFILE_CONFIGS: {
+          mergeDataProfileConfigs(other.getDataProfileConfigs());
+          break;
+        }
+        case DATA_QUALITY_CONFIGS: {
+          mergeDataQualityConfigs(other.getDataQualityConfigs());
+          break;
+        }
+        case APPLIEDCONFIGS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -8342,112 +7450,108 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dataSource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                jobId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-            case 40:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 40
-            case 48:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 48
-            case 58:
-              {
-                message_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 58
-            case 66:
-              {
-                specVersion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 66
-            case 72:
-              {
-                trigger_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 72
-            case 80:
-              {
-                scope_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 80
-            case 90:
-              {
-                input.readMessage(
-                    getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 98
-            case 810:
-              {
-                input.readMessage(getDataProfileFieldBuilder().getBuilder(), extensionRegistry);
-                resultCase_ = 101;
-                break;
-              } // case 810
-            case 818:
-              {
-                input.readMessage(getDataQualityFieldBuilder().getBuilder(), extensionRegistry);
-                resultCase_ = 102;
-                break;
-              } // case 818
-            case 1610:
-              {
-                input.readMessage(
-                    getDataProfileConfigsFieldBuilder().getBuilder(), extensionRegistry);
-                appliedConfigsCase_ = 201;
-                break;
-              } // case 1610
-            case 1618:
-              {
-                input.readMessage(
-                    getDataQualityConfigsFieldBuilder().getBuilder(), extensionRegistry);
-                appliedConfigsCase_ = 202;
-                break;
-              } // case 1618
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dataSource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              jobId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 34
+            case 40: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 40
+            case 48: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 48
+            case 58: {
+              message_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 58
+            case 66: {
+              specVersion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 66
+            case 72: {
+              trigger_ = input.readEnum();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 72
+            case 80: {
+              scope_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 80
+            case 90: {
+              input.readMessage(
+                  getPostScanActionsResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 98
+            case 810: {
+              input.readMessage(
+                  getDataProfileFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              resultCase_ = 101;
+              break;
+            } // case 810
+            case 818: {
+              input.readMessage(
+                  getDataQualityFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              resultCase_ = 102;
+              break;
+            } // case 818
+            case 1610: {
+              input.readMessage(
+                  getDataProfileConfigsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              appliedConfigsCase_ = 201;
+              break;
+            } // case 1610
+            case 1618: {
+              input.readMessage(
+                  getDataQualityConfigsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              appliedConfigsCase_ = 202;
+              break;
+            } // case 1618
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8457,12 +7561,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int resultCase_ = 0;
     private java.lang.Object result_;
-
-    public ResultCase getResultCase() {
-      return ResultCase.forNumber(resultCase_);
+    public ResultCase
+        getResultCase() {
+      return ResultCase.forNumber(
+          resultCase_);
     }
 
     public Builder clearResult() {
@@ -8474,9 +7578,10 @@ public Builder clearResult() {
 
     private int appliedConfigsCase_ = 0;
     private java.lang.Object appliedConfigs_;
-
-    public AppliedConfigsCase getAppliedConfigsCase() {
-      return AppliedConfigsCase.forNumber(appliedConfigsCase_);
+    public AppliedConfigsCase
+        getAppliedConfigsCase() {
+      return AppliedConfigsCase.forNumber(
+          appliedConfigsCase_);
     }
 
     public Builder clearAppliedConfigs() {
@@ -8490,20 +7595,18 @@ public Builder clearAppliedConfigs() {
 
     private java.lang.Object dataSource_ = "";
     /**
-     *
-     *
      * 
      * The data source of the data scan
      * 
* * string data_source = 1; - * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -8512,21 +7615,20 @@ public java.lang.String getDataSource() { } } /** - * - * *
      * The data source of the data scan
      * 
* * string data_source = 1; - * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString getDataSourceBytes() { + public com.google.protobuf.ByteString + getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataSource_ = b; return b; } else { @@ -8534,35 +7636,28 @@ public com.google.protobuf.ByteString getDataSourceBytes() { } } /** - * - * *
      * The data source of the data scan
      * 
* * string data_source = 1; - * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The data source of the data scan
      * 
* * string data_source = 1; - * * @return This builder for chaining. */ public Builder clearDataSource() { @@ -8572,21 +7667,17 @@ public Builder clearDataSource() { return this; } /** - * - * *
      * The data source of the data scan
      * 
* * string data_source = 1; - * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSource_ = value; bitField0_ |= 0x00000001; @@ -8596,20 +7687,18 @@ public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobId_ = ""; /** - * - * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; - * * @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; @@ -8618,21 +7707,20 @@ public java.lang.String getJobId() { } } /** - * - * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; - * * @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 { @@ -8640,35 +7728,28 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; - * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; - * * @return This builder for chaining. */ public Builder clearJobId() { @@ -8678,21 +7759,17 @@ public Builder clearJobId() { return this; } /** - * - * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; - * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000002; @@ -8702,47 +7779,34 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; - * * @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 when the data scan job was created.
      * 
@@ -8763,15 +7827,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -8782,8 +7845,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the data scan job was created.
      * 
@@ -8792,9 +7853,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -8807,8 +7868,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job was created.
      * 
@@ -8826,8 +7885,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the data scan job was created.
      * 
@@ -8840,8 +7897,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the data scan job was created.
      * 
@@ -8852,14 +7907,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 when the data scan job was created.
      * 
@@ -8867,17 +7919,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -8885,33 +7934,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_; /** - * - * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -8922,8 +7962,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -8944,15 +7982,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -8963,8 +8000,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -8973,9 +8008,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -8988,8 +8023,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -9007,8 +8040,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -9021,8 +8052,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -9033,12 +8062,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_; } } /** - * - * *
      * The time when the data scan job started to run.
      * 
@@ -9046,17 +8074,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 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> 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_; @@ -9064,33 +8089,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_; /** - * - * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -9101,8 +8117,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the data scan job finished.
      * 
@@ -9123,15 +8137,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -9142,8 +8155,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time when the data scan job finished.
      * 
@@ -9152,9 +8163,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -9167,8 +8178,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the data scan job finished.
      * 
@@ -9186,8 +8195,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time when the data scan job finished.
      * 
@@ -9199,9 +8206,7 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } - /** - * - * + /** *
      * The time when the data scan job finished.
      * 
@@ -9212,12 +8217,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_; } } /** - * - * *
      * The time when the data scan job finished.
      * 
@@ -9225,17 +8229,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ 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_; @@ -9243,29 +8244,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int type_ = 0; /** - * - * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType 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 the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -9276,33 +8270,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { - com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = - com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -9316,14 +8301,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanEvent.ScanType value return this; } /** - * - * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @return This builder for chaining. */ public Builder clearType() { @@ -9335,29 +8317,22 @@ public Builder clearType() { private int state_ = 0; /** - * - * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -9368,33 +8343,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.State result = - com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; } /** - * - * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @param value The state to set. * @return This builder for chaining. */ @@ -9408,14 +8374,11 @@ public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.State value) return this; } /** - * - * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { @@ -9427,20 +8390,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
      * The message describing the data scan job event.
      * 
* * string message = 7; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -9449,21 +8410,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The message describing the data scan job event.
      * 
* * string message = 7; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -9471,35 +8431,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The message describing the data scan job event.
      * 
* * string message = 7; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * The message describing the data scan job event.
      * 
* * string message = 7; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -9509,21 +8462,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * The message describing the data scan job event.
      * 
* * string message = 7; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000080; @@ -9533,20 +8482,18 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object specVersion_ = ""; /** - * - * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; - * * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; @@ -9555,21 +8502,20 @@ public java.lang.String getSpecVersion() { } } /** - * - * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; - * * @return The bytes for specVersion. */ - public com.google.protobuf.ByteString getSpecVersionBytes() { + public com.google.protobuf.ByteString + getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); specVersion_ = b; return b; } else { @@ -9577,35 +8523,28 @@ public com.google.protobuf.ByteString getSpecVersionBytes() { } } /** - * - * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; - * * @param value The specVersion to set. * @return This builder for chaining. */ - public Builder setSpecVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSpecVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } specVersion_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; - * * @return This builder for chaining. */ public Builder clearSpecVersion() { @@ -9615,21 +8554,17 @@ public Builder clearSpecVersion() { return this; } /** - * - * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; - * * @param value The bytes for specVersion to set. * @return This builder for chaining. */ - public Builder setSpecVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSpecVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); specVersion_ = value; bitField0_ |= 0x00000100; @@ -9639,29 +8574,22 @@ public Builder setSpecVersionBytes(com.google.protobuf.ByteString value) { private int trigger_ = 0; /** - * - * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ @@ -9672,33 +8600,24 @@ public Builder setTriggerValue(int value) { return this; } /** - * - * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { - com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = - com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; } /** - * - * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @param value The trigger to set. * @return This builder for chaining. */ @@ -9712,14 +8631,11 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.DataScanEvent.Trigger val return this; } /** - * - * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return This builder for chaining. */ public Builder clearTrigger() { @@ -9731,29 +8647,22 @@ public Builder clearTrigger() { private int scope_ = 0; /** - * - * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -9764,33 +8673,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The scope. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { - com.google.cloud.dataplex.v1.DataScanEvent.Scope result = - com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); - return result == null - ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); + return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; } /** - * - * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -9804,14 +8704,11 @@ public Builder setScope(com.google.cloud.dataplex.v1.DataScanEvent.Scope value) return this; } /** - * - * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -9822,19 +8719,13 @@ public Builder clearScope() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> - dataProfileBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> dataProfileBuilder_; /** - * - * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return Whether the dataProfile field is set. */ @java.lang.Override @@ -9842,14 +8733,11 @@ public boolean hasDataProfile() { return resultCase_ == 101; } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return The dataProfile. */ @java.lang.Override @@ -9867,16 +8755,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfi } } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public Builder setDataProfile( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { + public Builder setDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9890,8 +8775,6 @@ public Builder setDataProfile( return this; } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
@@ -9910,26 +8793,18 @@ public Builder setDataProfile( return this; } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public Builder mergeDataProfile( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { + public Builder mergeDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { - if (resultCase_ == 101 - && result_ - != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult - .getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder( - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 101 && + result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -9945,8 +8820,6 @@ public Builder mergeDataProfile( return this; } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
@@ -9970,21 +8843,16 @@ public Builder clearDataProfile() { return this; } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder - getDataProfileBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder getDataProfileBuilder() { return getDataProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
@@ -9992,8 +8860,7 @@ public Builder clearDataProfile() { * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder - getDataProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { if ((resultCase_ == 101) && (dataProfileBuilder_ != null)) { return dataProfileBuilder_.getMessageOrBuilder(); } else { @@ -10004,8 +8871,6 @@ public Builder clearDataProfile() { } } /** - * - * *
      * Data profile result for data profile type data scan.
      * 
@@ -10013,20 +8878,14 @@ public Builder clearDataProfile() { * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> getDataProfileFieldBuilder() { if (dataProfileBuilder_ == null) { if (!(resultCase_ == 101)) { - result_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); - } - dataProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder>( + result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); + } + dataProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -10038,19 +8897,13 @@ public Builder clearDataProfile() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> - dataQualityBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> dataQualityBuilder_; /** - * - * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return Whether the dataQuality field is set. */ @java.lang.Override @@ -10058,14 +8911,11 @@ public boolean hasDataQuality() { return resultCase_ == 102; } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return The dataQuality. */ @java.lang.Override @@ -10083,16 +8933,13 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuali } } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public Builder setDataQuality( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { + public Builder setDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10106,8 +8953,6 @@ public Builder setDataQuality( return this; } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
@@ -10126,26 +8971,18 @@ public Builder setDataQuality( return this; } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public Builder mergeDataQuality( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { + public Builder mergeDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { - if (resultCase_ == 102 - && result_ - != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult - .getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder( - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 102 && + result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -10161,8 +8998,6 @@ public Builder mergeDataQuality( return this; } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
@@ -10186,21 +9021,16 @@ public Builder clearDataQuality() { return this; } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder - getDataQualityBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder getDataQualityBuilder() { return getDataQualityFieldBuilder().getBuilder(); } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
@@ -10208,8 +9038,7 @@ public Builder clearDataQuality() { * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder - getDataQualityOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { if ((resultCase_ == 102) && (dataQualityBuilder_ != null)) { return dataQualityBuilder_.getMessageOrBuilder(); } else { @@ -10220,8 +9049,6 @@ public Builder clearDataQuality() { } } /** - * - * *
      * Data quality result for data quality type data scan.
      * 
@@ -10229,20 +9056,14 @@ public Builder clearDataQuality() { * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> getDataQualityFieldBuilder() { if (dataQualityBuilder_ == null) { if (!(resultCase_ == 102)) { - result_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); - } - dataQualityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder>( + result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); + } + dataQualityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -10254,21 +9075,13 @@ public Builder clearDataQuality() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> - dataProfileConfigsBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> dataProfileConfigsBuilder_; /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override @@ -10276,49 +9089,35 @@ public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return The dataProfileConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - getDataProfileConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } else { if (appliedConfigsCase_ == 201) { return dataProfileConfigsBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ - public Builder setDataProfileConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { + public Builder setDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10332,19 +9131,14 @@ public Builder setDataProfileConfigs( return this; } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ public Builder setDataProfileConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder builderForValue) { if (dataProfileConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); @@ -10355,29 +9149,18 @@ public Builder setDataProfileConfigs( return this; } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ - public Builder mergeDataProfileConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { + public Builder mergeDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { - if (appliedConfigsCase_ == 201 - && appliedConfigs_ - != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance()) { - appliedConfigs_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder( - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - appliedConfigs_) - .mergeFrom(value) - .buildPartial(); + if (appliedConfigsCase_ == 201 && + appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance()) { + appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_) + .mergeFrom(value).buildPartial(); } else { appliedConfigs_ = value; } @@ -10393,15 +9176,11 @@ public Builder mergeDataProfileConfigs( return this; } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ public Builder clearDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { @@ -10420,74 +9199,50 @@ public Builder clearDataProfileConfigs() { return this; } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder - getDataProfileConfigsBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder getDataProfileConfigsBuilder() { return getDataProfileConfigsFieldBuilder().getBuilder(); } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder - getDataProfileConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { if ((appliedConfigsCase_ == 201) && (dataProfileConfigsBuilder_ != null)) { return dataProfileConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); } } /** - * - * *
      * Applied configs for data profile type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> getDataProfileConfigsFieldBuilder() { if (dataProfileConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 201)) { - appliedConfigs_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs - .getDefaultInstance(); - } - dataProfileConfigsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder>( - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - appliedConfigs_, + appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + } + dataProfileConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder>( + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; @@ -10498,21 +9253,13 @@ public Builder clearDataProfileConfigs() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> - dataQualityConfigsBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> dataQualityConfigsBuilder_; /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override @@ -10520,49 +9267,35 @@ public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return The dataQualityConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - getDataQualityConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } else { if (appliedConfigsCase_ == 202) { return dataQualityConfigsBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ - public Builder setDataQualityConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { + public Builder setDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10576,19 +9309,14 @@ public Builder setDataQualityConfigs( return this; } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ public Builder setDataQualityConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder - builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder builderForValue) { if (dataQualityConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); @@ -10599,29 +9327,18 @@ public Builder setDataQualityConfigs( return this; } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ - public Builder mergeDataQualityConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { + public Builder mergeDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { - if (appliedConfigsCase_ == 202 - && appliedConfigs_ - != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance()) { - appliedConfigs_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder( - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - appliedConfigs_) - .mergeFrom(value) - .buildPartial(); + if (appliedConfigsCase_ == 202 && + appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance()) { + appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_) + .mergeFrom(value).buildPartial(); } else { appliedConfigs_ = value; } @@ -10637,15 +9354,11 @@ public Builder mergeDataQualityConfigs( return this; } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ public Builder clearDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { @@ -10664,74 +9377,50 @@ public Builder clearDataQualityConfigs() { return this; } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder - getDataQualityConfigsBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder getDataQualityConfigsBuilder() { return getDataQualityConfigsFieldBuilder().getBuilder(); } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder - getDataQualityConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { if ((appliedConfigsCase_ == 202) && (dataQualityConfigsBuilder_ != null)) { return dataQualityConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); } } /** - * - * *
      * Applied configs for data quality type data scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> getDataQualityConfigsFieldBuilder() { if (dataQualityConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 202)) { - appliedConfigs_ = - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs - .getDefaultInstance(); - } - dataQualityConfigsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder>( - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - appliedConfigs_, + appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + } + dataQualityConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder>( + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; @@ -10743,62 +9432,41 @@ public Builder clearDataQualityConfigs() { private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> - postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ - public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { + public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10812,15 +9480,11 @@ public Builder setPostScanActionsResult( return this; } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder builderForValue) { @@ -10834,24 +9498,17 @@ public Builder setPostScanActionsResult( return this; } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ - public Builder mergePostScanActionsResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { + public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && postScanActionsResult_ != null - && postScanActionsResult_ - != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult - .getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + postScanActionsResult_ != null && + postScanActionsResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -10864,15 +9521,11 @@ public Builder mergePostScanActionsResult( return this; } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00008000); @@ -10885,73 +9538,55 @@ public Builder clearPostScanActionsResult() { return this; } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder - getPostScanActionsResultBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { bitField0_ |= 0x00008000; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null - ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() - : postScanActionsResult_; + return postScanActionsResult_ == null ? + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } } /** - * - * *
      * The result of post scan actions.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), getParentForChildren(), isClean()); + postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), + getParentForChildren(), + isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10961,12 +9596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent) private static final com.google.cloud.dataplex.v1.DataScanEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent(); } @@ -10975,27 +9610,27 @@ public static com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScanEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScanEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11010,4 +9645,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java similarity index 77% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java index b1cf3b92a53e..38173490afd2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DataScanEventOrBuilder - extends +public interface DataScanEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The data source of the data scan
    * 
* * string data_source = 1; - * * @return The dataSource. */ java.lang.String getDataSource(); /** - * - * *
    * The data source of the data scan
    * 
* * string data_source = 1; - * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString getDataSourceBytes(); + com.google.protobuf.ByteString + getDataSourceBytes(); /** - * - * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); /** - * - * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the data scan job was created.
    * 
@@ -109,32 +75,24 @@ public interface DataScanEventOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time when the data scan job started to run.
    * 
@@ -144,32 +102,24 @@ public interface DataScanEventOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the data scan job finished.
    * 
@@ -179,182 +129,140 @@ public interface DataScanEventOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; - * * @return The type. */ com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType(); /** - * - * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; - * * @return The state. */ com.google.cloud.dataplex.v1.DataScanEvent.State getState(); /** - * - * *
    * The message describing the data scan job event.
    * 
* * string message = 7; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The message describing the data scan job event.
    * 
* * string message = 7; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; - * * @return The specVersion. */ java.lang.String getSpecVersion(); /** - * - * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; - * * @return The bytes for specVersion. */ - com.google.protobuf.ByteString getSpecVersionBytes(); + com.google.protobuf.ByteString + getSpecVersionBytes(); /** - * - * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The enum numeric value on the wire for trigger. */ int getTriggerValue(); /** - * - * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; - * * @return The trigger. */ com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger(); /** - * - * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; - * * @return The scope. */ com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope(); /** - * - * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return Whether the dataProfile field is set. */ boolean hasDataProfile(); /** - * - * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; - * * @return The dataProfile. */ com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile(); /** - * - * *
    * Data profile result for data profile type data scan.
    * 
@@ -364,32 +272,24 @@ public interface DataScanEventOrBuilder com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder(); /** - * - * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return Whether the dataQuality field is set. */ boolean hasDataQuality(); /** - * - * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; - * * @return The dataQuality. */ com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality(); /** - * - * *
    * Data quality result for data quality type data scan.
    * 
@@ -399,130 +299,85 @@ public interface DataScanEventOrBuilder com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder(); /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return Whether the dataProfileConfigs field is set. */ boolean hasDataProfileConfigs(); /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * @return The dataProfileConfigs. */ com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs(); /** - * - * *
    * Applied configs for data profile type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; */ - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder - getDataProfileConfigsOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder(); /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return Whether the dataQualityConfigs field is set. */ boolean hasDataQualityConfigs(); /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * @return The dataQualityConfigs. */ com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs(); /** - * - * *
    * Applied configs for data quality type data scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; - * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; */ - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder - getDataQualityConfigsOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder(); /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult(); /** - * - * *
    * The result of post scan actions.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; - * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder - getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); com.google.cloud.dataplex.v1.DataScanEvent.ResultCase getResultCase(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java index fb6cb606c80a..dad13d766fb5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A DataScanJob represents an instance of DataScan execution.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} */ -public final class DataScanJob extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataScanJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanJob) DataScanJobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataScanJob.newBuilder() to construct. private DataScanJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataScanJob() { name_ = ""; uid_ = ""; @@ -47,38 +29,34 @@ private DataScanJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataScanJob(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanJob.class, - com.google.cloud.dataplex.v1.DataScanJob.Builder.class); + com.google.cloud.dataplex.v1.DataScanJob.class, com.google.cloud.dataplex.v1.DataScanJob.Builder.class); } /** - * - * *
    * Execution state for the DataScanJob.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanJob.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The DataScanJob state is unspecified.
      * 
@@ -87,8 +65,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The DataScanJob is running.
      * 
@@ -97,8 +73,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * The DataScanJob is canceling.
      * 
@@ -107,8 +81,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELING(2), /** - * - * *
      * The DataScanJob cancellation was successful.
      * 
@@ -117,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The DataScanJob completed successfully.
      * 
@@ -127,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
      * The DataScanJob is no longer running due to an error.
      * 
@@ -137,8 +105,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
      * The DataScanJob has been created but not started to run yet.
      * 
@@ -150,8 +116,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The DataScanJob state is unspecified.
      * 
@@ -160,8 +124,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The DataScanJob is running.
      * 
@@ -170,8 +132,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * The DataScanJob is canceling.
      * 
@@ -180,8 +140,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELING_VALUE = 2; /** - * - * *
      * The DataScanJob cancellation was successful.
      * 
@@ -190,8 +148,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The DataScanJob completed successfully.
      * 
@@ -200,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
      * The DataScanJob is no longer running due to an error.
      * 
@@ -210,8 +164,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
      * The DataScanJob has been created but not started to run yet.
      * 
@@ -220,6 +172,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -244,57 +197,53 @@ 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 CANCELING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - case 5: - return FAILED; - case 7: - return PENDING; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return CANCELING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + case 5: return FAILED; + case 7: return PENDING; + default: return null; + } } - 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 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DataScanJob.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; @@ -312,19 +261,15 @@ private State(int value) { } private int specCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object spec_; - public enum SpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_SPEC(100), DATA_PROFILE_SPEC(101), SPEC_NOT_SET(0); private final int value; - private SpecCase(int value) { this.value = value; } @@ -340,40 +285,33 @@ public static SpecCase valueOf(int value) { public static SpecCase forNumber(int value) { switch (value) { - case 100: - return DATA_QUALITY_SPEC; - case 101: - return DATA_PROFILE_SPEC; - case 0: - return SPEC_NOT_SET; - default: - return null; + case 100: return DATA_QUALITY_SPEC; + case 101: return DATA_PROFILE_SPEC; + case 0: return SPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SpecCase getSpecCase() { - return SpecCase.forNumber(specCase_); + public SpecCase + getSpecCase() { + return SpecCase.forNumber( + specCase_); } private int resultCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_RESULT(200), DATA_PROFILE_RESULT(201), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -389,33 +327,27 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 200: - return DATA_QUALITY_RESULT; - case 201: - return DATA_PROFILE_RESULT; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 200: return DATA_QUALITY_RESULT; + case 201: return DATA_PROFILE_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 NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -424,7 +356,6 @@ public ResultCase getResultCase() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -433,15 +364,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 relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -450,15 +380,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 { @@ -467,18 +398,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -487,29 +414,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -520,15 +447,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -536,15 +459,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -552,14 +471,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -569,15 +485,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -585,15 +497,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -601,14 +509,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -618,55 +523,38 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** - * - * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanJob.State getState() { - com.google.cloud.dataplex.v1.DataScanJob.State result = - com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob.State getState() { + com.google.cloud.dataplex.v1.DataScanJob.State result = com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanJob.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ @java.lang.Override @@ -675,29 +563,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -708,54 +596,36 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** - * - * *
    * Output only. The type of the parent DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Output only. The type of the parent DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = - com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { + com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } public static final int DATA_QUALITY_SPEC_FIELD_NUMBER = 100; /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -763,56 +633,42 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } public static final int DATA_PROFILE_SPEC_FIELD_NUMBER = 101; /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -820,56 +676,42 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } public static final int DATA_QUALITY_RESULT_FIELD_NUMBER = 200; /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -877,56 +719,42 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_RESULT_FIELD_NUMBER = 201; /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -934,46 +762,36 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -985,7 +803,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1035,39 +854,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.DataScanJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } if (specCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1077,33 +896,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanJob)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanJob other = (com.google.cloud.dataplex.v1.DataScanJob) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (type_ != other.type_) return false; if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 100: - if (!getDataQualitySpec().equals(other.getDataQualitySpec())) return false; + if (!getDataQualitySpec() + .equals(other.getDataQualitySpec())) return false; break; case 101: - if (!getDataProfileSpec().equals(other.getDataProfileSpec())) return false; + if (!getDataProfileSpec() + .equals(other.getDataProfileSpec())) return false; break; case 0: default: @@ -1111,10 +937,12 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 200: - if (!getDataQualityResult().equals(other.getDataQualityResult())) return false; + if (!getDataQualityResult() + .equals(other.getDataQualityResult())) return false; break; case 201: - if (!getDataProfileResult().equals(other.getDataProfileResult())) return false; + if (!getDataProfileResult() + .equals(other.getDataProfileResult())) return false; break; case 0: default: @@ -1177,136 +1005,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJob represents an instance of DataScan execution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanJob) com.google.cloud.dataplex.v1.DataScanJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanJob.class, - com.google.cloud.dataplex.v1.DataScanJob.Builder.class); + com.google.cloud.dataplex.v1.DataScanJob.class, com.google.cloud.dataplex.v1.DataScanJob.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1346,9 +1170,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override @@ -1367,11 +1191,8 @@ public com.google.cloud.dataplex.v1.DataScanJob build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob buildPartial() { - com.google.cloud.dataplex.v1.DataScanJob result = - new com.google.cloud.dataplex.v1.DataScanJob(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataScanJob result = new com.google.cloud.dataplex.v1.DataScanJob(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1386,10 +1207,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanJob result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.state_ = state_; @@ -1405,18 +1230,22 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanJob result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanJob result) { result.specCase_ = specCase_; result.spec_ = this.spec_; - if (specCase_ == 100 && dataQualitySpecBuilder_ != null) { + if (specCase_ == 100 && + dataQualitySpecBuilder_ != null) { result.spec_ = dataQualitySpecBuilder_.build(); } - if (specCase_ == 101 && dataProfileSpecBuilder_ != null) { + if (specCase_ == 101 && + dataProfileSpecBuilder_ != null) { result.spec_ = dataProfileSpecBuilder_.build(); } result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 200 && dataQualityResultBuilder_ != null) { + if (resultCase_ == 200 && + dataQualityResultBuilder_ != null) { result.result_ = dataQualityResultBuilder_.build(); } - if (resultCase_ == 201 && dataProfileResultBuilder_ != null) { + if (resultCase_ == 201 && + dataProfileResultBuilder_ != null) { result.result_ = dataProfileResultBuilder_.build(); } } @@ -1425,39 +1254,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanJob result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanJob) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanJob) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanJob)other); } else { super.mergeFrom(other); return this; @@ -1494,36 +1322,30 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanJob other) { setTypeValue(other.getTypeValue()); } switch (other.getSpecCase()) { - case DATA_QUALITY_SPEC: - { - mergeDataQualitySpec(other.getDataQualitySpec()); - break; - } - case DATA_PROFILE_SPEC: - { - mergeDataProfileSpec(other.getDataProfileSpec()); - break; - } - case SPEC_NOT_SET: - { - break; - } + case DATA_QUALITY_SPEC: { + mergeDataQualitySpec(other.getDataQualitySpec()); + break; + } + case DATA_PROFILE_SPEC: { + mergeDataProfileSpec(other.getDataProfileSpec()); + break; + } + case SPEC_NOT_SET: { + break; + } } switch (other.getResultCase()) { - case DATA_QUALITY_RESULT: - { - mergeDataQualityResult(other.getDataQualityResult()); - break; - } - case DATA_PROFILE_RESULT: - { - mergeDataProfileResult(other.getDataProfileResult()); - break; - } - case RESULT_NOT_SET: - { - break; - } + case DATA_QUALITY_RESULT: { + mergeDataQualityResult(other.getDataQualityResult()); + break; + } + case DATA_PROFILE_RESULT: { + mergeDataProfileResult(other.getDataProfileResult()); + break; + } + case RESULT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1551,81 +1373,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 802: - { - input.readMessage(getDataQualitySpecFieldBuilder().getBuilder(), extensionRegistry); - specCase_ = 100; - break; - } // case 802 - case 810: - { - input.readMessage(getDataProfileSpecFieldBuilder().getBuilder(), extensionRegistry); - specCase_ = 101; - break; - } // case 810 - case 1602: - { - input.readMessage( - getDataQualityResultFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 200; - break; - } // case 1602 - case 1610: - { - input.readMessage( - getDataProfileResultFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 201; - break; - } // case 1610 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + type_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 802: { + input.readMessage( + getDataQualitySpecFieldBuilder().getBuilder(), + extensionRegistry); + specCase_ = 100; + break; + } // case 802 + case 810: { + input.readMessage( + getDataProfileSpecFieldBuilder().getBuilder(), + extensionRegistry); + specCase_ = 101; + break; + } // case 810 + case 1602: { + input.readMessage( + getDataQualityResultFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 200; + break; + } // case 1602 + case 1610: { + input.readMessage( + getDataProfileResultFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 201; + break; + } // case 1610 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1635,12 +1455,12 @@ public Builder mergeFrom( } // finally return this; } - private int specCase_ = 0; private java.lang.Object spec_; - - public SpecCase getSpecCase() { - return SpecCase.forNumber(specCase_); + public SpecCase + getSpecCase() { + return SpecCase.forNumber( + specCase_); } public Builder clearSpec() { @@ -1652,9 +1472,10 @@ public Builder clearSpec() { 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() { @@ -1668,8 +1489,6 @@ public Builder clearResult() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1678,13 +1497,13 @@ public Builder clearResult() {
      * 
* * 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; @@ -1693,8 +1512,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1703,14 +1520,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 { @@ -1718,8 +1536,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1728,22 +1544,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1752,7 +1564,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1762,8 +1573,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1772,14 +1581,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1789,20 +1596,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1811,21 +1616,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1833,35 +1637,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -1871,21 +1668,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1895,35 +1688,24 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1934,14 +1716,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1957,16 +1736,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1977,20 +1754,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2003,14 +1777,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2023,14 +1794,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -2038,44 +1806,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2083,35 +1843,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_; /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2122,14 +1871,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2145,16 +1891,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2165,20 +1909,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2191,14 +1932,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2211,14 +1949,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -2226,44 +1961,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_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> 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_; @@ -2271,33 +1998,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2308,35 +2024,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob.State getState() { - com.google.cloud.dataplex.v1.DataScanJob.State result = - com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); + com.google.cloud.dataplex.v1.DataScanJob.State result = com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanJob.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2350,16 +2055,11 @@ public Builder setState(com.google.cloud.dataplex.v1.DataScanJob.State value) { return this; } /** - * - * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2371,20 +2071,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2393,21 +2091,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2415,35 +2112,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2453,21 +2143,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000020; @@ -2477,33 +2163,22 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Output only. The type of the parent DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Output only. The type of the parent DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2514,35 +2189,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of the parent DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = - com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of the parent DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The type to set. * @return This builder for chaining. */ @@ -2556,16 +2220,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanType value) { return this; } /** - * - * *
      * Output only. The type of the parent DataScan.
      * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearType() { @@ -2576,21 +2235,13 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> - dataQualitySpecBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> dataQualitySpecBuilder_; /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -2598,16 +2249,11 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualitySpec. */ @java.lang.Override @@ -2625,15 +2271,11 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { } } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { @@ -2649,15 +2291,11 @@ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec v return this; } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualitySpec( com.google.cloud.dataplex.v1.DataQualitySpec.Builder builderForValue) { @@ -2671,25 +2309,18 @@ public Builder setDataQualitySpec( return this; } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { - if (specCase_ == 100 - && spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { - spec_ = - com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder( - (com.google.cloud.dataplex.v1.DataQualitySpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 100 && + spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { + spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder((com.google.cloud.dataplex.v1.DataQualitySpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -2705,15 +2336,11 @@ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec return this; } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataQualitySpec() { if (dataQualitySpecBuilder_ == null) { @@ -2732,29 +2359,21 @@ public Builder clearDataQualitySpec() { return this; } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataQualitySpec.Builder getDataQualitySpecBuilder() { return getDataQualitySpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { @@ -2768,30 +2387,21 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } } /** - * - * *
      * Output only. DataQualityScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> getDataQualitySpecFieldBuilder() { if (dataQualitySpecBuilder_ == null) { if (!(specCase_ == 100)) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } - dataQualitySpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, - com.google.cloud.dataplex.v1.DataQualitySpec.Builder, - com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( + dataQualitySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_, getParentForChildren(), isClean()); @@ -2803,21 +2413,13 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> - dataProfileSpecBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> dataProfileSpecBuilder_; /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -2825,16 +2427,11 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileSpec. */ @java.lang.Override @@ -2852,15 +2449,11 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { } } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { @@ -2876,15 +2469,11 @@ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec v return this; } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileSpec( com.google.cloud.dataplex.v1.DataProfileSpec.Builder builderForValue) { @@ -2898,25 +2487,18 @@ public Builder setDataProfileSpec( return this; } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { - if (specCase_ == 101 - && spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { - spec_ = - com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileSpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 101 && + spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { + spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder((com.google.cloud.dataplex.v1.DataProfileSpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -2932,15 +2514,11 @@ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec return this; } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataProfileSpec() { if (dataProfileSpecBuilder_ == null) { @@ -2959,29 +2537,21 @@ public Builder clearDataProfileSpec() { return this; } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataProfileSpec.Builder getDataProfileSpecBuilder() { return getDataProfileSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { @@ -2995,30 +2565,21 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } } /** - * - * *
      * Output only. DataProfileScan related setting.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> getDataProfileSpecFieldBuilder() { if (dataProfileSpecBuilder_ == null) { if (!(specCase_ == 101)) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } - dataProfileSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, - com.google.cloud.dataplex.v1.DataProfileSpec.Builder, - com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( + dataProfileSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_, getParentForChildren(), isClean()); @@ -3030,21 +2591,13 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> - dataQualityResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> dataQualityResultBuilder_; /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -3052,16 +2605,11 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ @java.lang.Override @@ -3079,15 +2627,11 @@ public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { } } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { @@ -3103,15 +2647,11 @@ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResu return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataQualityResult( com.google.cloud.dataplex.v1.DataQualityResult.Builder builderForValue) { @@ -3125,25 +2665,18 @@ public Builder setDataQualityResult( return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { - if (resultCase_ == 200 - && result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataQualityResult.newBuilder( - (com.google.cloud.dataplex.v1.DataQualityResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 200 && + result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataQualityResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -3159,15 +2692,11 @@ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityRe return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataQualityResult() { if (dataQualityResultBuilder_ == null) { @@ -3186,29 +2715,21 @@ public Builder clearDataQualityResult() { return this; } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataQualityResult.Builder getDataQualityResultBuilder() { return getDataQualityResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { @@ -3222,30 +2743,21 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } } /** - * - * *
      * Output only. The result of the data quality scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> getDataQualityResultFieldBuilder() { if (dataQualityResultBuilder_ == null) { if (!(resultCase_ == 200)) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } - dataQualityResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, - com.google.cloud.dataplex.v1.DataQualityResult.Builder, - com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( + dataQualityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -3257,21 +2769,13 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> - dataProfileResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> dataProfileResultBuilder_; /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -3279,16 +2783,11 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ @java.lang.Override @@ -3306,15 +2805,11 @@ public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { } } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { @@ -3330,15 +2825,11 @@ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResu return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataProfileResult( com.google.cloud.dataplex.v1.DataProfileResult.Builder builderForValue) { @@ -3352,25 +2843,18 @@ public Builder setDataProfileResult( return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { - if (resultCase_ == 201 - && result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { - result_ = - com.google.cloud.dataplex.v1.DataProfileResult.newBuilder( - (com.google.cloud.dataplex.v1.DataProfileResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 201 && + result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { + result_ = com.google.cloud.dataplex.v1.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -3386,15 +2870,11 @@ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileRe return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataProfileResult() { if (dataProfileResultBuilder_ == null) { @@ -3413,29 +2893,21 @@ public Builder clearDataProfileResult() { return this; } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.DataProfileResult.Builder getDataProfileResultBuilder() { return getDataProfileResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { @@ -3449,30 +2921,21 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes } } /** - * - * *
      * Output only. The result of the data profile scan.
      * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> getDataProfileResultFieldBuilder() { if (dataProfileResultBuilder_ == null) { if (!(resultCase_ == 201)) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } - dataProfileResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, - com.google.cloud.dataplex.v1.DataProfileResult.Builder, - com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( + dataProfileResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -3482,9 +2945,9 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes onChanged(); return dataProfileResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3494,12 +2957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanJob) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanJob) private static final com.google.cloud.dataplex.v1.DataScanJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanJob(); } @@ -3508,27 +2971,27 @@ public static com.google.cloud.dataplex.v1.DataScanJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScanJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScanJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3543,4 +3006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScanJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java index dd48631b36e5..8f1a12ad89f9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface DataScanJobOrBuilder - extends +public interface DataScanJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -34,13 +16,10 @@ public interface DataScanJobOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -49,356 +28,248 @@ public interface DataScanJobOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.DataScanJob.State getState(); /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Output only. The type of the parent DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Output only. The type of the parent DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ com.google.cloud.dataplex.v1.DataScanType getType(); /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualitySpec field is set. */ boolean hasDataQualitySpec(); /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualitySpec. */ com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec(); /** - * - * *
    * Output only. DataQualityScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder(); /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileSpec field is set. */ boolean hasDataProfileSpec(); /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileSpec. */ com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec(); /** - * - * *
    * Output only. DataProfileScan related setting.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ boolean hasDataQualityResult(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ boolean hasDataProfileResult(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java index 90c0accc094f..0b48c69a88f2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface DataScanOrBuilder - extends +public interface DataScanOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -34,13 +16,10 @@ public interface DataScanOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -49,41 +28,34 @@ public interface DataScanOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Optional. Description of the scan.
    *
@@ -91,13 +63,10 @@ public interface DataScanOrBuilder
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the scan.
    *
@@ -105,14 +74,12 @@ public interface DataScanOrBuilder
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. User friendly display name.
    *
@@ -120,13 +87,10 @@ public interface DataScanOrBuilder
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    *
@@ -134,14 +98,12 @@ public interface DataScanOrBuilder
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -150,31 +112,30 @@ public interface DataScanOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
@@ -182,306 +143,218 @@ public interface DataScanOrBuilder * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Output only. The time when the scan was created.
    * 
* - * .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 time when the scan was created.
    * 
* - * .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 time when the scan was created.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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(); /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the data field is set. */ boolean hasData(); /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The data. */ com.google.cloud.dataplex.v1.DataSource getData(); /** - * - * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder(); /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionSpec. */ com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec(); /** - * - * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ boolean hasExecutionStatus(); /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus(); /** - * - * *
    * Output only. Status of the data scan execution.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder(); /** - * - * *
    * Output only. The type of DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Output only. The type of DataScan.
    * 
* - * - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ com.google.cloud.dataplex.v1.DataScanType getType(); /** - * - * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return Whether the dataQualitySpec field is set. */ boolean hasDataQualitySpec(); /** - * - * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; - * * @return The dataQualitySpec. */ com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec(); /** - * - * *
    * DataQualityScan related setting.
    * 
@@ -491,32 +364,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder(); /** - * - * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return Whether the dataProfileSpec field is set. */ boolean hasDataProfileSpec(); /** - * - * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; - * * @return The dataProfileSpec. */ com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec(); /** - * - * *
    * DataProfileScan related setting.
    * 
@@ -526,84 +391,56 @@ java.lang.String getLabelsOrDefault( com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataQualityResult field is set. */ boolean hasDataQualityResult(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataQualityResult. */ com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult(); /** - * - * *
    * Output only. The result of the data quality scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataProfileResult field is set. */ boolean hasDataProfileResult(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataProfileResult. */ com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult(); /** - * - * *
    * Output only. The result of the data profile scan.
    * 
* - * - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java index cca6c7bfde47..86c24e9965ef 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The type of DataScan.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanType} */ -public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { +public enum DataScanType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The DataScan type is unspecified.
    * 
@@ -39,8 +21,6 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_SCAN_TYPE_UNSPECIFIED(0), /** - * - * *
    * Data Quality scan.
    * 
@@ -49,8 +29,6 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_QUALITY(1), /** - * - * *
    * Data Profile scan.
    * 
@@ -62,8 +40,6 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The DataScan type is unspecified.
    * 
@@ -72,8 +48,6 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_SCAN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Data Quality scan.
    * 
@@ -82,8 +56,6 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_QUALITY_VALUE = 1; /** - * - * *
    * Data Profile scan.
    * 
@@ -92,6 +64,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_PROFILE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static DataScanType valueOf(int value) { */ public static DataScanType forNumber(int value) { switch (value) { - case 0: - return DATA_SCAN_TYPE_UNSPECIFIED; - case 1: - return DATA_QUALITY; - case 2: - return DATA_PROFILE; - default: - return null; + case 0: return DATA_SCAN_TYPE_UNSPECIFIED; + case 1: return DATA_QUALITY; + case 2: return DATA_PROFILE; + 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 DataScanType findValueByNumber(int number) { - return DataScanType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DataScanType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataScanType findValueByNumber(int number) { + return DataScanType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor().getEnumTypes().get(0); } private static final DataScanType[] VALUES = values(); - public static DataScanType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataScanType 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 DataScanType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanType) } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java new file mode 100644 index 000000000000..3c31e7ff616f --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java @@ -0,0 +1,406 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/datascans.proto + +package com.google.cloud.dataplex.v1; + +public final class DataScansProto { + private DataScansProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/dataplex/v1/datascans.pro" + + "to\022\030google.cloud.dataplex.v1\032\034google/api" + + "/annotations.proto\032\027google/api/client.pr" + + "oto\032\037google/api/field_behavior.proto\032\031go" + + "ogle/api/resource.proto\032+google/cloud/da" + + "taplex/v1/data_profile.proto\032+google/clo" + + "ud/dataplex/v1/data_quality.proto\032)googl" + + "e/cloud/dataplex/v1/processing.proto\032(go" + + "ogle/cloud/dataplex/v1/resources.proto\032&" + + "google/cloud/dataplex/v1/service.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"\311\001\n\025CreateDataScanRequest\022:\n" + + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.google" + + "apis.com/Location\022;\n\tdata_scan\030\002 \001(\0132\".g" + + "oogle.cloud.dataplex.v1.DataScanB\004\342A\001\002\022\032" + + "\n\014data_scan_id\030\003 \001(\tB\004\342A\001\002\022\033\n\rvalidate_o" + + "nly\030\004 \001(\010B\004\342A\001\001\"\250\001\n\025UpdateDataScanReques" + + "t\022;\n\tdata_scan\030\001 \001(\0132\".google.cloud.data" + + "plex.v1.DataScanB\004\342A\001\002\0225\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022\033\n" + + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"P\n\025DeleteData" + + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + + "plex.googleapis.com/DataScan\"\341\001\n\022GetData" + + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + + "plex.googleapis.com/DataScan\022M\n\004view\030\002 \001" + + "(\01629.google.cloud.dataplex.v1.GetDataSca" + + "nRequest.DataScanViewB\004\342A\001\001\"C\n\014DataScanV" + + "iew\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\n\"\263\001\n\024ListDataScansReques" + + "t\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.go" + + "ogleapis.com/Location\022\027\n\tpage_size\030\002 \001(\005" + + "B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filt" + + "er\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}" + + "\n\025ListDataScansResponse\0226\n\ndata_scans\030\001 " + + "\003(\0132\".google.cloud.dataplex.v1.DataScan\022" + + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + + "\003 \003(\t\"M\n\022RunDataScanRequest\0227\n\004name\030\001 \001(" + + "\tB)\342A\001\002\372A\"\n dataplex.googleapis.com/Data" + + "Scan\"I\n\023RunDataScanResponse\0222\n\003job\030\001 \001(\013" + + "2%.google.cloud.dataplex.v1.DataScanJob\"" + + "\364\001\n\025GetDataScanJobRequest\022:\n\004name\030\001 \001(\tB" + + ",\342A\001\002\372A%\n#dataplex.googleapis.com/DataSc" + + "anJob\022S\n\004view\030\002 \001(\0162?.google.cloud.datap" + + "lex.v1.GetDataScanJobRequest.DataScanJob" + + "ViewB\004\342A\001\001\"J\n\017DataScanJobView\022\"\n\036DATA_SC" + + "AN_JOB_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004" + + "FULL\020\n\"\235\001\n\027ListDataScanJobsRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\342A\001\002\372A\"\n dataplex.googleapis" + + ".com/DataScan\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + + "B\004\342A\001\001\"r\n\030ListDataScanJobsResponse\022=\n\016da" + + "ta_scan_jobs\030\001 \003(\0132%.google.cloud.datapl" + + "ex.v1.DataScanJob\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\301\n\n\010DataScan\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003u" + + "id\030\002 \001(\tB\004\342A\001\003\022\031\n\013description\030\003 \001(\tB\004\342A\001" + + "\001\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\001\022D\n\006labels\030" + + "\005 \003(\0132..google.cloud.dataplex.v1.DataSca" + + "n.LabelsEntryB\004\342A\001\001\0224\n\005state\030\006 \001(\0162\037.goo" + + "gle.cloud.dataplex.v1.StateB\004\342A\001\003\0225\n\013cre" + + "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\0228\n\004data\030\t \001(\0132$." + + "google.cloud.dataplex.v1.DataSourceB\004\342A\001" + + "\002\022N\n\016execution_spec\030\n \001(\01320.google.cloud" + + ".dataplex.v1.DataScan.ExecutionSpecB\004\342A\001" + + "\001\022R\n\020execution_status\030\013 \001(\01322.google.clo" + + "ud.dataplex.v1.DataScan.ExecutionStatusB" + + "\004\342A\001\003\022:\n\004type\030\014 \001(\0162&.google.cloud.datap" + + "lex.v1.DataScanTypeB\004\342A\001\003\022F\n\021data_qualit" + + "y_spec\030d \001(\0132).google.cloud.dataplex.v1." + + "DataQualitySpecH\000\022F\n\021data_profile_spec\030e" + + " \001(\0132).google.cloud.dataplex.v1.DataProf" + + "ileSpecH\000\022Q\n\023data_quality_result\030\310\001 \001(\0132" + + "+.google.cloud.dataplex.v1.DataQualityRe" + + "sultB\004\342A\001\003H\001\022Q\n\023data_profile_result\030\311\001 \001" + + "(\0132+.google.cloud.dataplex.v1.DataProfil" + + "eResultB\004\342A\001\003H\001\032o\n\rExecutionSpec\0228\n\007trig" + + "ger\030\001 \001(\0132!.google.cloud.dataplex.v1.Tri" + + "ggerB\004\342A\001\001\022\025\n\005field\030d \001(\tB\004\342A\001\005H\000B\r\n\013inc" + + "remental\032\205\001\n\017ExecutionStatus\0229\n\025latest_j" + + "ob_start_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestamp\0227\n\023latest_job_end_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:c\352A`\n da" + + "taplex.googleapis.com/DataScan\022\332" + + "A\006parent\202\323\344\223\002/\022-/v1/{parent=projects/*/l" + + "ocations/*}/dataScans\022\257\001\n\013RunDataScan\022,." + + "google.cloud.dataplex.v1.RunDataScanRequ" + + "est\032-.google.cloud.dataplex.v1.RunDataSc" + + "anResponse\"C\332A\004name\202\323\344\223\0026\"1/v1/{name=pro" + + "jects/*/locations/*/dataScans/*}:run:\001*\022" + + "\255\001\n\016GetDataScanJob\022/.google.cloud.datapl" + + "ex.v1.GetDataScanJobRequest\032%.google.clo" + + "ud.dataplex.v1.DataScanJob\"C\332A\004name\202\323\344\223\002" + + "6\0224/v1/{name=projects/*/locations/*/data" + + "Scans/*/jobs/*}\022\300\001\n\020ListDataScanJobs\0221.g" + + "oogle.cloud.dataplex.v1.ListDataScanJobs" + + "Request\0322.google.cloud.dataplex.v1.ListD" + + "ataScanJobsResponse\"E\332A\006parent\202\323\344\223\0026\0224/v" + + "1/{parent=projects/*/locations/*/dataSca" + + "ns/*}/jobs\032K\312A\027dataplex.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformBj\n\034com.google.cloud.dataplex.v1B" + + "\016DataScansProtoP\001Z8cloud.google.com/go/d" + + "ataplex/apiv1/dataplexpb;dataplexpbb\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(), + com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor, + new java.lang.String[] { "Parent", "DataScan", "DataScanId", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor, + new java.lang.String[] { "DataScan", "UpdateMask", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor, + new java.lang.String[] { "DataScans", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor, + new java.lang.String[] { "Job", }); + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor, + new java.lang.String[] { "DataScanJobs", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_DataScan_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_descriptor, + new java.lang.String[] { "Name", "Uid", "Description", "DisplayName", "Labels", "State", "CreateTime", "UpdateTime", "Data", "ExecutionSpec", "ExecutionStatus", "Type", "DataQualitySpec", "DataProfileSpec", "DataQualityResult", "DataProfileResult", "Spec", "Result", }); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor, + new java.lang.String[] { "Trigger", "Field", "Incremental", }); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor, + new java.lang.String[] { "LatestJobStartTime", "LatestJobEndTime", }); + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor, + new java.lang.String[] { "Name", "Uid", "StartTime", "EndTime", "State", "Message", "Type", "DataQualitySpec", "DataProfileSpec", "DataQualityResult", "DataProfileResult", "Spec", "Result", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(); + com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java index 44c0d123e3c6..dc3c6af7ec1f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java @@ -1,79 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The data source for DataScan.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataSource} */ -public final class DataSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataSource) DataSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataSource() {} + private DataSource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataSource.class, - com.google.cloud.dataplex.v1.DataSource.Builder.class); + com.google.cloud.dataplex.v1.DataSource.class, com.google.cloud.dataplex.v1.DataSource.Builder.class); } private int sourceCase_ = 0; - @SuppressWarnings("serial") 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 { ENTITY(100), RESOURCE(101), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -89,58 +67,45 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 100: - return ENTITY; - case 101: - return RESOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 100: return ENTITY; + case 101: return RESOURCE; + 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 ENTITY_FIELD_NUMBER = 100; /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the entity field is set. */ public boolean hasEntity() { return sourceCase_ == 100; } /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The entity. */ public java.lang.String getEntity() { @@ -151,7 +116,8 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceCase_ == 100) { source_ = s; @@ -160,28 +126,25 @@ public java.lang.String getEntity() { } } /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for entity. */ - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = ""; if (sourceCase_ == 100) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 100) { source_ = b; } @@ -193,8 +156,6 @@ public com.google.protobuf.ByteString getEntityBytes() { public static final int RESOURCE_FIELD_NUMBER = 101; /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -203,15 +164,12 @@ public com.google.protobuf.ByteString getEntityBytes() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the resource field is set. */ public boolean hasResource() { return sourceCase_ == 101; } /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -220,7 +178,6 @@ public boolean hasResource() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The resource. */ public java.lang.String getResource() { @@ -231,7 +188,8 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 101) { source_ = s; @@ -240,8 +198,6 @@ public java.lang.String getResource() { } } /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -250,17 +206,18 @@ public java.lang.String getResource() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 101) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 101) { source_ = b; } @@ -271,7 +228,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_ == 100) { com.google.protobuf.GeneratedMessageV3.writeString(output, 100, source_); } @@ -313,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.cloud.dataplex.v1.DataSource)) { return super.equals(obj); @@ -323,10 +280,12 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 100: - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; break; case 101: - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; break; case 0: default: @@ -359,136 +318,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 source for DataScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataSource) com.google.cloud.dataplex.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataSource.class, - com.google.cloud.dataplex.v1.DataSource.Builder.class); + com.google.cloud.dataplex.v1.DataSource.class, com.google.cloud.dataplex.v1.DataSource.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override @@ -520,11 +475,8 @@ public com.google.cloud.dataplex.v1.DataSource build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataSource buildPartial() { - com.google.cloud.dataplex.v1.DataSource result = - new com.google.cloud.dataplex.v1.DataSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DataSource result = new com.google.cloud.dataplex.v1.DataSource(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -543,39 +495,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataSource result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataSource) { - return mergeFrom((com.google.cloud.dataplex.v1.DataSource) other); + return mergeFrom((com.google.cloud.dataplex.v1.DataSource)other); } else { super.mergeFrom(other); return this; @@ -585,24 +536,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.DataSource other) { if (other == com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) return this; switch (other.getSourceCase()) { - case ENTITY: - { - sourceCase_ = 100; - source_ = other.source_; - onChanged(); - break; - } - case RESOURCE: - { - sourceCase_ = 101; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case ENTITY: { + sourceCase_ = 100; + source_ = other.source_; + onChanged(); + break; + } + case RESOURCE: { + sourceCase_ = 101; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -630,27 +578,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 100; - source_ = s; - break; - } // case 802 - case 810: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 101; - source_ = s; - break; - } // case 810 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 100; + source_ = s; + break; + } // case 802 + case 810: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 101; + source_ = s; + break; + } // case 810 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,12 +605,12 @@ public Builder mergeFrom( } // finally 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() { @@ -678,18 +623,13 @@ public Builder clearSource() { private int bitField0_; /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the entity field is set. */ @java.lang.Override @@ -697,18 +637,13 @@ public boolean hasEntity() { return sourceCase_ == 100; } /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The entity. */ @java.lang.Override @@ -718,7 +653,8 @@ public java.lang.String getEntity() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceCase_ == 100) { source_ = s; @@ -729,29 +665,26 @@ public java.lang.String getEntity() { } } /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = ""; if (sourceCase_ == 100) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 100) { source_ = b; } @@ -761,43 +694,32 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 100; source_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearEntity() { @@ -809,25 +731,19 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 100; source_ = value; @@ -836,8 +752,6 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -846,7 +760,6 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -854,8 +767,6 @@ public boolean hasResource() { return sourceCase_ == 101; } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -864,7 +775,6 @@ public boolean hasResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The resource. */ @java.lang.Override @@ -874,7 +784,8 @@ public java.lang.String getResource() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceCase_ == 101) { source_ = s; @@ -885,8 +796,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -895,18 +804,19 @@ public java.lang.String getResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 101) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 101) { source_ = b; } @@ -916,8 +826,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -926,22 +834,18 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 101; source_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -950,7 +854,6 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -962,8 +865,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -972,23 +873,21 @@ public Builder clearResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 101; source_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -998,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataSource) private static final com.google.cloud.dataplex.v1.DataSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataSource(); } @@ -1012,27 +911,27 @@ public static com.google.cloud.dataplex.v1.DataSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,4 +946,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java index 8b6e8b3c1f0d..1fd08a18d0f2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java @@ -1,80 +1,48 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface DataSourceOrBuilder - extends +public interface DataSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The entity. */ java.lang.String getEntity(); /** - * - * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -83,13 +51,10 @@ public interface DataSourceOrBuilder
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -98,13 +63,10 @@ public interface DataSourceOrBuilder
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -113,10 +75,10 @@ public interface DataSourceOrBuilder
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); com.google.cloud.dataplex.v1.DataSource.SourceCase getSourceCase(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java index bd4c70d69184..b1873a0a7aae 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataTaxonomy represents a set of hierarchical DataAttributes resources,
  * grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataTaxonomy}
  */
-public final class DataTaxonomy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataTaxonomy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataTaxonomy)
     DataTaxonomyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataTaxonomy.newBuilder() to construct.
   private DataTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataTaxonomy() {
     name_ = "";
     uid_ = "";
@@ -49,52 +31,46 @@ private DataTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_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 8:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto
-        .internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataTaxonomy.class,
-            com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
+            com.google.cloud.dataplex.v1.DataTaxonomy.class, com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -103,32 +79,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; } } /** - * - * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -137,12 +111,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -150,7 +121,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -159,15 +129,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -175,15 +144,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -194,15 +164,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -210,15 +176,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -226,14 +188,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -243,15 +202,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -259,15 +214,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -275,14 +226,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -290,18 +238,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -310,29 +254,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; } } /** - * - * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -341,18 +285,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -361,29 +301,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -392,34 +332,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -427,21 +365,20 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -453,8 +390,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -462,19 +397,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -482,11 +415,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -496,14 +429,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int ATTRIBUTE_COUNT_FIELD_NUMBER = 9; private int attributeCount_ = 0; /** - * - * *
    * Output only. The number of attributes in the DataTaxonomy.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ @java.lang.Override @@ -512,12 +442,9 @@ public int getAttributeCount() { } public static final int ETAG_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -525,7 +452,6 @@ public int getAttributeCount() {
    * 
* * string etag = 10; - * * @return The etag. */ @java.lang.Override @@ -534,15 +460,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -550,15 +475,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 10; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -569,14 +495,11 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int CLASS_COUNT_FIELD_NUMBER = 11; private int classCount_ = 0; /** - * - * *
    * Output only. The number of classes in the DataTaxonomy.
    * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The classCount. */ @java.lang.Override @@ -585,7 +508,6 @@ public int getClassCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -597,7 +519,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -616,8 +539,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (attributeCount_ != 0) { output.writeInt32(9, attributeCount_); } @@ -643,10 +570,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -654,24 +583,26 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - 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(8, 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(8, labels__); } if (attributeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, attributeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, attributeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (classCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, classCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, classCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -681,30 +612,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataTaxonomy)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataTaxonomy other = - (com.google.cloud.dataplex.v1.DataTaxonomy) obj; + com.google.cloud.dataplex.v1.DataTaxonomy other = (com.google.cloud.dataplex.v1.DataTaxonomy) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (getAttributeCount() != other.getAttributeCount()) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getClassCount() != other.getClassCount()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (getAttributeCount() + != other.getAttributeCount()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getClassCount() + != other.getClassCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -747,104 +687,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataTaxonomy represents a set of hierarchical DataAttributes resources,
    * grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes
@@ -853,52 +788,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataTaxonomy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataTaxonomy)
       com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 8:
           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 8:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataTaxonomy.class,
-              com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
+              com.google.cloud.dataplex.v1.DataTaxonomy.class, com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataTaxonomy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -925,9 +863,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto
-          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -946,11 +884,8 @@ public com.google.cloud.dataplex.v1.DataTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataTaxonomy buildPartial() {
-      com.google.cloud.dataplex.v1.DataTaxonomy result =
-          new com.google.cloud.dataplex.v1.DataTaxonomy(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.DataTaxonomy result = new com.google.cloud.dataplex.v1.DataTaxonomy(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -964,10 +899,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataTaxonomy result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -994,39 +933,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataTaxonomy result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataTaxonomy) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataTaxonomy) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataTaxonomy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1061,7 +999,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataTaxonomy other) {
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.getAttributeCount() != 0) {
         setAttributeCount(other.getAttributeCount());
@@ -1100,79 +1039,70 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 66:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 66
-            case 72:
-              {
-                attributeCount_ = input.readInt32();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 72
-            case 82:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 82
-            case 88:
-              {
-                classCount_ = input.readInt32();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 88
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 66: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 66
+            case 72: {
+              attributeCount_ = input.readInt32();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 72
+            case 82: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 82
+            case 88: {
+              classCount_ = input.readInt32();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 88
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1182,28 +1112,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1212,24 +1137,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1237,41 +1159,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1281,24 +1192,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1308,8 +1213,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1317,13 +1220,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1332,8 +1235,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1341,14 +1242,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1356,8 +1258,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1365,22 +1265,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1388,7 +1284,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -1398,8 +1293,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1407,14 +1300,12 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1424,58 +1315,39 @@ public Builder setUidBytes(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 time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1491,17 +1363,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1512,21 +1381,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1539,15 +1404,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1560,15 +1421,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1576,48 +1433,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1625,58 +1470,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 time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1692,17 +1518,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -1713,21 +1536,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1740,15 +1559,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1761,15 +1576,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1777,48 +1588,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataTaxonomy was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> 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_; @@ -1826,20 +1625,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1848,21 +1645,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1870,35 +1666,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1908,21 +1697,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1932,20 +1717,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1954,21 +1737,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1976,35 +1758,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2014,21 +1789,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -2036,19 +1807,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2057,13 +1830,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -2071,21 +1841,20 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -2097,8 +1866,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -2106,19 +1873,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -2126,89 +1891,84 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } - private int attributeCount_; + private int attributeCount_ ; /** - * - * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ @java.lang.Override @@ -2216,14 +1976,11 @@ public int getAttributeCount() { return attributeCount_; } /** - * - * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The attributeCount to set. * @return This builder for chaining. */ @@ -2235,14 +1992,11 @@ public Builder setAttributeCount(int value) { return this; } /** - * - * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAttributeCount() { @@ -2254,8 +2008,6 @@ public Builder clearAttributeCount() { private java.lang.Object etag_ = ""; /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2263,13 +2015,13 @@ public Builder clearAttributeCount() {
      * 
* * string etag = 10; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2278,8 +2030,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2287,14 +2037,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2302,8 +2053,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2311,22 +2060,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 10; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2334,7 +2079,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 10; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2344,8 +2088,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2353,14 +2095,12 @@ public Builder clearEtag() {
      * 
* * string etag = 10; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000100; @@ -2368,16 +2108,13 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private int classCount_; + private int classCount_ ; /** - * - * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The classCount. */ @java.lang.Override @@ -2385,14 +2122,11 @@ public int getClassCount() { return classCount_; } /** - * - * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The classCount to set. * @return This builder for chaining. */ @@ -2404,14 +2138,11 @@ public Builder setClassCount(int value) { return this; } /** - * - * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClassCount() { @@ -2420,9 +2151,9 @@ public Builder clearClassCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2432,12 +2163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataTaxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataTaxonomy) private static final com.google.cloud.dataplex.v1.DataTaxonomy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataTaxonomy(); } @@ -2446,27 +2177,27 @@ public static com.google.cloud.dataplex.v1.DataTaxonomy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2481,4 +2212,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java similarity index 73% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java index 683fdaffb314..954d052e0741 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataTaxonomyOrBuilder - extends +public interface DataTaxonomyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataTaxonomy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -64,13 +37,10 @@ public interface DataTaxonomyOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -78,140 +48,106 @@ public interface DataTaxonomyOrBuilder
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -220,31 +156,30 @@ public interface DataTaxonomyOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -252,37 +187,31 @@ public interface DataTaxonomyOrBuilder * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The number of attributes in the DataTaxonomy.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The attributeCount. */ int getAttributeCount(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -290,13 +219,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 10; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -304,20 +230,17 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 10; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Output only. The number of classes in the DataTaxonomy.
    * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The classCount. */ int getClassCount(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java new file mode 100644 index 000000000000..d92b1365a950 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java @@ -0,0 +1,577 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public final class DataTaxonomyProto { + private DataTaxonomyProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/dataplex/v1/data_taxonomy" + + ".proto\022\030google.cloud.dataplex.v1\032\034google" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\'google/clou" + + "d/dataplex/v1/security.proto\032&google/clo" + + "ud/dataplex/v1/service.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\032 google/protobuf/field_ma" + + "sk.proto\032\037google/protobuf/timestamp.prot" + + "o\"\272\004\n\014DataTaxonomy\022;\n\004name\030\001 \001(\tB-\342A\001\003\372A" + + "&\n$dataplex.googleapis.com/DataTaxonomy\022" + + "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014d" + + "isplay_name\030\006 \001(\tB\004\342A\001\001\022H\n\006labels\030\010 \003(\0132" + + "2.google.cloud.dataplex.v1.DataTaxonomy." + + "LabelsEntryB\004\342A\001\001\022\035\n\017attribute_count\030\t \001" + + "(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\031\n\013class_count\030\013 " + + "\001(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n$dataplex.googleap" + + "is.com/DataTaxonomy\022Iprojects/{project}/" + + "locations/{location}/dataTaxonomies/{dat" + + "a_taxonomy_id}\"\237\006\n\rDataAttribute\022<\n\004name" + + "\030\001 \001(\tB.\342A\001\003\372A\'\n%dataplex.googleapis.com" + + "/DataAttribute\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013cre" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005" + + " \001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\022I" + + "\n\006labels\030\007 \003(\01323.google.cloud.dataplex.v" + + "1.DataAttribute.LabelsEntryB\004\342A\001\001\022A\n\tpar" + + "ent_id\030\010 \001(\tB.\342A\001\001\372A\'\n%dataplex.googleap" + + "is.com/DataAttribute\022\035\n\017attribute_count\030" + + "\t \001(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022P\n\024resource_ac" + + "cess_spec\030d \001(\0132,.google.cloud.dataplex." + + "v1.ResourceAccessSpecB\004\342A\001\001\022H\n\020data_acce" + + "ss_spec\030e \001(\0132(.google.cloud.dataplex.v1" + + ".DataAccessSpecB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\221\001\352A\215\001\n%dat" + + "aplex.googleapis.com/DataAttribute\022dproj" + + "ects/{project}/locations/{location}/data" + + "Taxonomies/{dataTaxonomy}/attributes/{da" + + "ta_attribute_id}\"\321\006\n\024DataAttributeBindin" + + "g\022C\n\004name\030\001 \001(\tB5\342A\001\003\372A.\n,dataplex.googl" + + "eapis.com/DataAttributeBinding\022\021\n\003uid\030\002 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014display_na" + + "me\030\006 \001(\tB\004\342A\001\001\022P\n\006labels\030\007 \003(\0132:.google." + + "cloud.dataplex.v1.DataAttributeBinding.L" + + "abelsEntryB\004\342A\001\001\022\014\n\004etag\030\010 \001(\t\022\031\n\010resour" + + "ce\030d \001(\tB\005\342A\002\001\005H\000\022B\n\nattributes\030n \003(\tB.\342" + + "A\001\001\372A\'\n%dataplex.googleapis.com/DataAttr" + + "ibute\022H\n\005paths\030x \003(\01323.google.cloud.data" + + "plex.v1.DataAttributeBinding.PathB\004\342A\001\001\032" + + "^\n\004Path\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\nattribute" + + "s\030\002 \003(\tB.\342A\001\001\372A\'\n%dataplex.googleapis.co" + + "m/DataAttribute\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\215\001\352A\211\001\n,dataplex." + + "googleapis.com/DataAttributeBinding\022Ypro" + + "jects/{project}/locations/{location}/dat" + + "aAttributeBindings/{data_attribute_bindi" + + "ng_id}B\024\n\022resource_reference\"\331\001\n\031CreateD" + + "ataTaxonomyRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002" + + "\372A#\n!locations.googleapis.com/Location\022\036" + + "\n\020data_taxonomy_id\030\002 \001(\tB\004\342A\001\002\022C\n\rdata_t" + + "axonomy\030\003 \001(\0132&.google.cloud.dataplex.v1" + + ".DataTaxonomyB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"\264\001\n\031UpdateDataTaxonomyRequest\0225" + + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\022C\n\rdata_taxonomy\030\002 \001(\0132&.g" + + "oogle.cloud.dataplex.v1.DataTaxonomyB\004\342A" + + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"U\n\026GetDa" + + "taTaxonomyRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&" + + "\n$dataplex.googleapis.com/DataTaxonomy\"\270" + + "\001\n\031ListDataTaxonomiesRequest\022:\n\006parent\030\001" + + " \001(\tB*\342A\001\002\372A#\n!locations.googleapis.com/" + + "Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npag" + + "e_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001" + + "\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"\225\001\n\032ListDataTa" + + "xonomiesResponse\022?\n\017data_taxonomies\030\001 \003(" + + "\0132&.google.cloud.dataplex.v1.DataTaxonom" + + "y\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachabl" + + "e_locations\030\003 \003(\t\"l\n\031DeleteDataTaxonomyR" + + "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex." + + "googleapis.com/DataTaxonomy\022\022\n\004etag\030\002 \001(" + + "\tB\004\342A\001\001\"\340\001\n\032CreateDataAttributeRequest\022=" + + "\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex.google" + + "apis.com/DataTaxonomy\022\037\n\021data_attribute_" + + "id\030\002 \001(\tB\004\342A\001\002\022E\n\016data_attribute\030\003 \001(\0132\'" + + ".google.cloud.dataplex.v1.DataAttributeB" + + "\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\267\001\n\032U" + + "pdateDataAttributeRequest\0225\n\013update_mask" + + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" + + "\022E\n\016data_attribute\030\002 \001(\0132\'.google.cloud." + + "dataplex.v1.DataAttributeB\004\342A\001\002\022\033\n\rvalid" + + "ate_only\030\003 \001(\010B\004\342A\001\001\"W\n\027GetDataAttribute" + + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex" + + ".googleapis.com/DataAttribute\"\273\001\n\031ListDa" + + "taAttributesRequest\022=\n\006parent\030\001 \001(\tB-\342A\001" + + "\002\372A&\n$dataplex.googleapis.com/DataTaxono" + + "my\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_toke" + + "n\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010o" + + "rder_by\030\005 \001(\tB\004\342A\001\001\"\226\001\n\032ListDataAttribut" + + "esResponse\022@\n\017data_attributes\030\001 \003(\0132\'.go" + + "ogle.cloud.dataplex.v1.DataAttribute\022\027\n\017" + + "next_page_token\030\002 \001(\t\022\035\n\025unreachable_loc" + + "ations\030\003 \003(\t\"n\n\032DeleteDataAttributeReque" + + "st\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex.goog" + + "leapis.com/DataAttribute\022\022\n\004etag\030\002 \001(\tB\004" + + "\342A\001\001\"\373\001\n!CreateDataAttributeBindingReque" + + "st\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.g" + + "oogleapis.com/Location\022\'\n\031data_attribute" + + "_binding_id\030\002 \001(\tB\004\342A\001\002\022T\n\026data_attribut" + + "e_binding\030\003 \001(\0132..google.cloud.dataplex." + + "v1.DataAttributeBindingB\004\342A\001\002\022\033\n\rvalidat" + + "e_only\030\004 \001(\010B\004\342A\001\001\"\315\001\n!UpdateDataAttribu" + + "teBindingRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\022T\n\026data_" + + "attribute_binding\030\002 \001(\0132..google.cloud.d" + + "ataplex.v1.DataAttributeBindingB\004\342A\001\002\022\033\n" + + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"e\n\036GetDataAtt" + + "ributeBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002" + + "\372A.\n,dataplex.googleapis.com/DataAttribu" + + "teBinding\"\277\001\n ListDataAttributeBindingsR" + + "equest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + + "A\001\001\"\254\001\n!ListDataAttributeBindingsRespons" + + "e\022O\n\027data_attribute_bindings\030\001 \003(\0132..goo" + + "gle.cloud.dataplex.v1.DataAttributeBindi" + + "ng\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachab" + + "le_locations\030\003 \003(\t\"|\n!DeleteDataAttribut" + + "eBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n," + + "dataplex.googleapis.com/DataAttributeBin" + + "ding\022\022\n\004etag\030\002 \001(\tB\004\342A\001\0022\213\035\n\023DataTaxonom" + + "yService\022\200\002\n\022CreateDataTaxonomy\0223.google" + + ".cloud.dataplex.v1.CreateDataTaxonomyReq" + + "uest\032\035.google.longrunning.Operation\"\225\001\312A" + + "!\n\014DataTaxonomy\022\021OperationMetadata\332A%par" + + "ent,data_taxonomy,data_taxonomy_id\202\323\344\223\002C" + + "\"2/v1/{parent=projects/*/locations/*}/da" + + "taTaxonomies:\rdata_taxonomy\022\202\002\n\022UpdateDa" + + "taTaxonomy\0223.google.cloud.dataplex.v1.Up" + + "dateDataTaxonomyRequest\032\035.google.longrun" + + "ning.Operation\"\227\001\312A!\n\014DataTaxonomy\022\021Oper" + + "ationMetadata\332A\031data_taxonomy,update_mas" + + "k\202\323\344\223\002Q2@/v1/{data_taxonomy.name=project" + + "s/*/locations/*/dataTaxonomies/*}:\rdata_" + + "taxonomy\022\330\001\n\022DeleteDataTaxonomy\0223.google" + + ".cloud.dataplex.v1.DeleteDataTaxonomyReq" + + "uest\032\035.google.longrunning.Operation\"n\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\332A\004name\202\323\344\223\0024*2/v1/{name=projects/*/lo" + + "cations/*/dataTaxonomies/*}\022\304\001\n\022ListData" + + "Taxonomies\0223.google.cloud.dataplex.v1.Li" + + "stDataTaxonomiesRequest\0324.google.cloud.d" + + "ataplex.v1.ListDataTaxonomiesResponse\"C\332" + + "A\006parent\202\323\344\223\0024\0222/v1/{parent=projects/*/l" + + "ocations/*}/dataTaxonomies\022\256\001\n\017GetDataTa" + + "xonomy\0220.google.cloud.dataplex.v1.GetDat" + + "aTaxonomyRequest\032&.google.cloud.dataplex" + + ".v1.DataTaxonomy\"A\332A\004name\202\323\344\223\0024\0222/v1/{na" + + "me=projects/*/locations/*/dataTaxonomies" + + "/*}\022\272\002\n\032CreateDataAttributeBinding\022;.goo" + + "gle.cloud.dataplex.v1.CreateDataAttribut" + + "eBindingRequest\032\035.google.longrunning.Ope" + + "ration\"\277\001\312A)\n\024DataAttributeBinding\022\021Oper" + + "ationMetadata\332A7parent,data_attribute_bi" + + "nding,data_attribute_binding_id\202\323\344\223\002S\"9/" + + "v1/{parent=projects/*/locations/*}/dataA" + + "ttributeBindings:\026data_attribute_binding" + + "\022\274\002\n\032UpdateDataAttributeBinding\022;.google" + + ".cloud.dataplex.v1.UpdateDataAttributeBi" + + "ndingRequest\032\035.google.longrunning.Operat" + + "ion\"\301\001\312A)\n\024DataAttributeBinding\022\021Operati" + + "onMetadata\332A\"data_attribute_binding,upda" + + "te_mask\202\323\344\223\002j2P/v1/{data_attribute_bindi" + + "ng.name=projects/*/locations/*/dataAttri" + + "buteBindings/*}:\026data_attribute_binding\022" + + "\357\001\n\032DeleteDataAttributeBinding\022;.google." + + "cloud.dataplex.v1.DeleteDataAttributeBin" + + "dingRequest\032\035.google.longrunning.Operati" + + "on\"u\312A*\n\025google.protobuf.Empty\022\021Operatio" + + "nMetadata\332A\004name\202\323\344\223\002;*9/v1/{name=projec" + + "ts/*/locations/*/dataAttributeBindings/*" + + "}\022\340\001\n\031ListDataAttributeBindings\022:.google" + + ".cloud.dataplex.v1.ListDataAttributeBind" + + "ingsRequest\032;.google.cloud.dataplex.v1.L" + + "istDataAttributeBindingsResponse\"J\332A\006par" + + "ent\202\323\344\223\002;\0229/v1/{parent=projects/*/locati" + + "ons/*}/dataAttributeBindings\022\315\001\n\027GetData" + + "AttributeBinding\0228.google.cloud.dataplex" + + ".v1.GetDataAttributeBindingRequest\032..goo" + + "gle.cloud.dataplex.v1.DataAttributeBindi" + + "ng\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/" + + "locations/*/dataAttributeBindings/*}\022\223\002\n" + + "\023CreateDataAttribute\0224.google.cloud.data" + + "plex.v1.CreateDataAttributeRequest\032\035.goo" + + "gle.longrunning.Operation\"\246\001\312A\"\n\rDataAtt" + + "ribute\022\021OperationMetadata\332A\'parent,data_" + + "attribute,data_attribute_id\202\323\344\223\002Q\"?/v1/{" + + "parent=projects/*/locations/*/dataTaxono" + + "mies/*}/attributes:\016data_attribute\022\225\002\n\023U" + + "pdateDataAttribute\0224.google.cloud.datapl" + + "ex.v1.UpdateDataAttributeRequest\032\035.googl" + + "e.longrunning.Operation\"\250\001\312A\"\n\rDataAttri" + + "bute\022\021OperationMetadata\332A\032data_attribute" + + ",update_mask\202\323\344\223\002`2N/v1/{data_attribute." + + "name=projects/*/locations/*/dataTaxonomi" + + "es/*/attributes/*}:\016data_attribute\022\347\001\n\023D" + + "eleteDataAttribute\0224.google.cloud.datapl" + + "ex.v1.DeleteDataAttributeRequest\032\035.googl" + + "e.longrunning.Operation\"{\312A*\n\025google.pro" + + "tobuf.Empty\022\021OperationMetadata\332A\004name\202\323\344" + + "\223\002A*?/v1/{name=projects/*/locations/*/da" + + "taTaxonomies/*/attributes/*}\022\321\001\n\022ListDat" + + "aAttributes\0223.google.cloud.dataplex.v1.L" + + "istDataAttributesRequest\0324.google.cloud." + + "dataplex.v1.ListDataAttributesResponse\"P" + + "\332A\006parent\202\323\344\223\002A\022?/v1/{parent=projects/*/" + + "locations/*/dataTaxonomies/*}/attributes" + + "\022\276\001\n\020GetDataAttribute\0221.google.cloud.dat" + + "aplex.v1.GetDataAttributeRequest\032\'.googl" + + "e.cloud.dataplex.v1.DataAttribute\"N\332A\004na" + + "me\202\323\344\223\002A\022?/v1/{name=projects/*/locations" + + "/*/dataTaxonomies/*/attributes/*}\032K\312A\027da" + + "taplex.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformBm\n\034com.go" + + "ogle.cloud.dataplex.v1B\021DataTaxonomyProt" + + "oP\001Z8cloud.google.com/go/dataplex/apiv1/" + + "dataplexpb;dataplexpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(), + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor, + new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "AttributeCount", "Etag", "ClassCount", }); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor, + new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "ParentId", "AttributeCount", "Etag", "ResourceAccessSpec", "DataAccessSpec", }); + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor, + new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "Etag", "Resource", "Attributes", "Paths", "ResourceReference", }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor, + new java.lang.String[] { "Name", "Attributes", }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor, + new java.lang.String[] { "Parent", "DataTaxonomyId", "DataTaxonomy", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor, + new java.lang.String[] { "UpdateMask", "DataTaxonomy", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor, + new java.lang.String[] { "DataTaxonomies", "NextPageToken", "UnreachableLocations", }); + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor, + new java.lang.String[] { "Name", "Etag", }); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor, + new java.lang.String[] { "Parent", "DataAttributeId", "DataAttribute", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor, + new java.lang.String[] { "UpdateMask", "DataAttribute", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor, + new java.lang.String[] { "DataAttributes", "NextPageToken", "UnreachableLocations", }); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor, + new java.lang.String[] { "Name", "Etag", }); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor, + new java.lang.String[] { "Parent", "DataAttributeBindingId", "DataAttributeBinding", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor, + new java.lang.String[] { "UpdateMask", "DataAttributeBinding", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor, + new java.lang.String[] { "DataAttributeBindings", "NextPageToken", "UnreachableLocations", }); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor, + new java.lang.String[] { "Name", "Etag", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(); + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java index dcc96a93ec17..fe60265115a0 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteAssetRequest} */ -public final class DeleteAssetRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAssetRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteAssetRequest) DeleteAssetRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAssetRequest.newBuilder() to construct. private DeleteAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAssetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteAssetRequest.class, - com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteAssetRequest.class, com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteAssetRequest other = - (com.google.cloud.dataplex.v1.DeleteAssetRequest) obj; + com.google.cloud.dataplex.v1.DeleteAssetRequest other = (com.google.cloud.dataplex.v1.DeleteAssetRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteAssetRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteAssetRequest) com.google.cloud.dataplex.v1.DeleteAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteAssetRequest.class, - com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteAssetRequest.class, com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteAssetRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteAssetRequest result = - new com.google.cloud.dataplex.v1.DeleteAssetRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteAssetRequest result = new com.google.cloud.dataplex.v1.DeleteAssetRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteAssetRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteAssetRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteAssetRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteAssetRequest) private static final com.google.cloud.dataplex.v1.DeleteAssetRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteAssetRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java new file mode 100644 index 000000000000..661b4f6b26cb --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteAssetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteAssetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java index 4db01ba8ab1c..924a4279b77a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteContentRequest} */ -public final class DeleteContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteContentRequest) DeleteContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteContentRequest.newBuilder() to construct. private DeleteContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteContentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteContentRequest.class, - com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteContentRequest.class, com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteContentRequest other = - (com.google.cloud.dataplex.v1.DeleteContentRequest) obj; + com.google.cloud.dataplex.v1.DeleteContentRequest other = (com.google.cloud.dataplex.v1.DeleteContentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteContentRequest) com.google.cloud.dataplex.v1.DeleteContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteContentRequest.class, - com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteContentRequest.class, com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteContentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteContentRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteContentRequest result = - new com.google.cloud.dataplex.v1.DeleteContentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteContentRequest result = new com.google.cloud.dataplex.v1.DeleteContentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteContentRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteContentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteContentRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteContentRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteContentRequest) private static final com.google.cloud.dataplex.v1.DeleteContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteContentRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java new file mode 100644 index 000000000000..35a3f7dd3cd5 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteContentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteContentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java index 129f2b6e757f..d9a87fe78e4b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest} */ -public final class DeleteDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataAttributeBindingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) DeleteDataAttributeBindingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataAttributeBindingRequest.newBuilder() to construct. - private DeleteDataAttributeBindingRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataAttributeBindingRequest() { name_ = ""; etag_ = ""; @@ -45,41 +26,34 @@ private DeleteDataAttributeBindingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,32 +62,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. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -136,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ @java.lang.Override @@ -145,15 +113,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -162,15 +129,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -179,7 +147,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -221,16 +189,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other = - (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,136 +221,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -392,14 +356,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance(); } @@ -414,17 +377,13 @@ public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result = - new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -438,39 +397,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest)other); } else { super.mergeFrom(other); return this; @@ -478,9 +436,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other) { - if (other - == com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -517,25 +473,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -545,28 +498,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -575,24 +523,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -600,41 +545,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -644,24 +578,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -671,8 +599,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -681,13 +607,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -696,8 +622,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -706,14 +630,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -721,8 +646,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -731,22 +654,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -755,7 +674,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -765,8 +683,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -775,23 +691,21 @@ public Builder clearEtag() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,43 +715,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,8 +761,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java similarity index 59% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java index 7883babf4770..8cc89a36c516 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataAttributeBindingRequestOrBuilder - extends +public interface DeleteDataAttributeBindingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -65,13 +38,10 @@ public interface DeleteDataAttributeBindingRequestOrBuilder
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -80,8 +50,8 @@ public interface DeleteDataAttributeBindingRequestOrBuilder
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java index a976a4fff393..94dfa697469e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeRequest} */ -public final class DeleteDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataAttributeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataAttributeRequest) DeleteDataAttributeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataAttributeRequest.newBuilder() to construct. private DeleteDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataAttributeRequest() { name_ = ""; etag_ = ""; @@ -44,41 +26,34 @@ private DeleteDataAttributeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,19 +94,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -142,30 +111,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -174,7 +143,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -216,16 +185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other = - (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other = (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,136 +217,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataAttributeRequest) com.google.cloud.dataplex.v1.DeleteDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override @@ -408,11 +373,8 @@ public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest result = - new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest result = new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,39 +393,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataAttributeReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest)other); } else { super.mergeFrom(other); return this; @@ -471,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -509,25 +469,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,28 +494,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -567,24 +519,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -592,41 +541,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -636,24 +574,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -663,21 +595,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -686,22 +616,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -709,37 +638,30 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -749,31 +671,27 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataAttributeRequest) private static final com.google.cloud.dataplex.v1.DeleteDataAttributeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(); } @@ -797,27 +715,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,4 +750,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java similarity index 57% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java index 9567b0fa2c04..c9caf444e5a8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataAttributeRequestOrBuilder - extends +public interface DeleteDataAttributeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java index 38b7a885691d..384613f17d26 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataScanRequest} */ -public final class DeleteDataScanRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataScanRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataScanRequest) DeleteDataScanRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataScanRequest.newBuilder() to construct. private DeleteDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataScanRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, - com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -76,10 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 @@ -88,15 +63,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -104,18 +78,17 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataScanRequest other = - (com.google.cloud.dataplex.v1.DeleteDataScanRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataScanRequest other = (com.google.cloud.dataplex.v1.DeleteDataScanRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,135 +161,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataScanRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataScanRequest) com.google.cloud.dataplex.v1.DeleteDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, - com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataScanRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override @@ -347,11 +316,8 @@ public com.google.cloud.dataplex.v1.DeleteDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataScanRequest result = - new com.google.cloud.dataplex.v1.DeleteDataScanRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteDataScanRequest result = new com.google.cloud.dataplex.v1.DeleteDataScanRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +333,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataScanRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataScanRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataScanRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +404,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,13 +424,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -476,16 +435,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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; @@ -494,8 +451,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -503,17 +458,16 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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 { @@ -521,8 +475,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -530,25 +482,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -556,10 +502,7 @@ public Builder setName(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -569,8 +512,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -578,26 +519,22 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataScanRequest) private static final com.google.cloud.dataplex.v1.DeleteDataScanRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataScanRequest(); } @@ -621,27 +558,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +593,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java new file mode 100644 index 000000000000..61b2004cefdb --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/datascans.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteDataScanRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataScanRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the dataScan:
+   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
+   * where `project` refers to a *project_id* or *project_number* and
+   * `location_id` refers to a GCP region.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the dataScan:
+   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
+   * where `project` refers to a *project_id* or *project_number* and
+   * `location_id` refers to a GCP region.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java index 74a59caff679..1b27e798db78 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataTaxonomyRequest} */ -public final class DeleteDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataTaxonomyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) DeleteDataTaxonomyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataTaxonomyRequest.newBuilder() to construct. private DeleteDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataTaxonomyRequest() { name_ = ""; etag_ = ""; @@ -44,41 +26,34 @@ private DeleteDataTaxonomyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,19 +94,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -142,30 +111,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -174,7 +143,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -216,16 +185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other = - (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,136 +217,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataTaxonomyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -408,11 +373,8 @@ public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest result = - new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,39 +393,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataTaxonomyReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest)other); } else { super.mergeFrom(other); return this; @@ -471,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -509,25 +469,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,28 +494,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -567,24 +519,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -592,41 +541,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -636,24 +574,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -663,21 +595,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -686,22 +616,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -709,37 +638,30 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -749,31 +671,27 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(); } @@ -797,27 +715,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,4 +750,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java similarity index 55% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java index 55abec19a218..dbd7b685839e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataTaxonomyRequestOrBuilder - extends +public interface DeleteDataTaxonomyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java index a712ae729eb7..737432ec6452 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete a metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEntityRequest} */ -public final class DeleteEntityRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEntityRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteEntityRequest) DeleteEntityRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEntityRequest.newBuilder() to construct. private DeleteEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEntityRequest() { name_ = ""; etag_ = ""; @@ -44,41 +26,34 @@ private DeleteEntityRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEntityRequest.class, - com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEntityRequest.class, com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,19 +94,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ @java.lang.Override @@ -142,30 +111,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -174,7 +143,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -216,16 +185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteEntityRequest other = - (com.google.cloud.dataplex.v1.DeleteEntityRequest) obj; + com.google.cloud.dataplex.v1.DeleteEntityRequest other = (com.google.cloud.dataplex.v1.DeleteEntityRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,136 +216,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete a metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEntityRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteEntityRequest) com.google.cloud.dataplex.v1.DeleteEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEntityRequest.class, - com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEntityRequest.class, com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteEntityRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override @@ -407,11 +373,8 @@ public com.google.cloud.dataplex.v1.DeleteEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteEntityRequest result = - new com.google.cloud.dataplex.v1.DeleteEntityRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteEntityRequest result = new com.google.cloud.dataplex.v1.DeleteEntityRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -430,39 +393,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteEntityRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteEntityRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteEntityRequest)other); } else { super.mergeFrom(other); return this; @@ -470,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteEntityRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -508,25 +469,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,28 +494,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -566,24 +519,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -591,41 +541,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -635,24 +574,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -662,21 +595,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -685,22 +616,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -708,37 +638,30 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -748,31 +671,27 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -782,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteEntityRequest) private static final com.google.cloud.dataplex.v1.DeleteEntityRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteEntityRequest(); } @@ -796,27 +715,27 @@ public static com.google.cloud.dataplex.v1.DeleteEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +750,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java similarity index 55% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java index f86c1c06ece9..dc9e4e51a634 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface DeleteEntityRequestOrBuilder - extends +public interface DeleteEntityRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEntityRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java index 8e2e427f9215..9b3153f2bcc5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other = - (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other = (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteEnvironmentRequest) com.google.cloud.dataplex.v1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override @@ -344,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest result = - new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest result = new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest)other); } else { super.mergeFrom(other); return this; @@ -404,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -489,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -558,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteEnvironmentRequest) private static final com.google.cloud.dataplex.v1.DeleteEnvironmentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(); } @@ -608,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java new file mode 100644 index 000000000000..a53c3cb05a1a --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteEnvironmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEnvironmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java index c5cfb5bcc71a..df53233bc3ce 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteLakeRequest} */ -public final class DeleteLakeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteLakeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteLakeRequest) DeleteLakeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteLakeRequest.newBuilder() to construct. private DeleteLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteLakeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteLakeRequest.class, - com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteLakeRequest.class, com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteLakeRequest other = - (com.google.cloud.dataplex.v1.DeleteLakeRequest) obj; + com.google.cloud.dataplex.v1.DeleteLakeRequest other = (com.google.cloud.dataplex.v1.DeleteLakeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteLakeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteLakeRequest) com.google.cloud.dataplex.v1.DeleteLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteLakeRequest.class, - com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteLakeRequest.class, com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteLakeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteLakeRequest result = - new com.google.cloud.dataplex.v1.DeleteLakeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteLakeRequest result = new com.google.cloud.dataplex.v1.DeleteLakeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteLakeRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteLakeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteLakeRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteLakeRequest) private static final com.google.cloud.dataplex.v1.DeleteLakeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteLakeRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java new file mode 100644 index 000000000000..8e2f2db372b4 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteLakeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteLakeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java index 8b0d96dcd831..5d3636e8c9cd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeletePartitionRequest} */ -public final class DeletePartitionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePartitionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeletePartitionRequest) DeletePartitionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePartitionRequest.newBuilder() to construct. private DeletePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePartitionRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeletePartitionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeletePartitionRequest.class, - com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.DeletePartitionRequest.class, com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the partition.
    * format:
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 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 @@ -90,15 +65,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the partition.
    * format:
@@ -107,18 +81,17 @@ public java.lang.String getName() {
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 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 { @@ -127,55 +100,49 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getEtag() { + @java.lang.Deprecated public java.lang.String getEtag() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getEtagBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -184,7 +151,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,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_); } @@ -226,16 +193,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeletePartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeletePartitionRequest other = - (com.google.cloud.dataplex.v1.DeletePartitionRequest) obj; + com.google.cloud.dataplex.v1.DeletePartitionRequest other = (com.google.cloud.dataplex.v1.DeletePartitionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -257,135 +225,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeletePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeletePartitionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeletePartitionRequest) com.google.cloud.dataplex.v1.DeletePartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeletePartitionRequest.class, - com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.DeletePartitionRequest.class, com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeletePartitionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override @@ -417,11 +381,8 @@ public com.google.cloud.dataplex.v1.DeletePartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeletePartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.DeletePartitionRequest result = - new com.google.cloud.dataplex.v1.DeletePartitionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeletePartitionRequest result = new com.google.cloud.dataplex.v1.DeletePartitionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -440,39 +401,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeletePartitionRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeletePartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeletePartitionRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeletePartitionRequest)other); } else { super.mergeFrom(other); return this; @@ -480,8 +440,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeletePartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -518,25 +477,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,13 +502,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the partition.
      * format:
@@ -561,16 +514,14 @@ public Builder mergeFrom(
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 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; @@ -579,8 +530,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the partition.
      * format:
@@ -589,17 +538,16 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 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 { @@ -607,8 +555,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the partition.
      * format:
@@ -617,25 +563,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the partition.
      * format:
@@ -644,10 +584,7 @@ public Builder setName(java.lang.String value) {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string 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() { @@ -657,8 +594,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the partition.
      * format:
@@ -667,17 +602,13 @@ public Builder clearName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -687,23 +618,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ - @java.lang.Deprecated - public java.lang.String getEtag() { + @java.lang.Deprecated public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -712,24 +640,22 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getEtagBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -737,77 +663,63 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @param value The etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearEtag() { + @java.lang.Deprecated public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * - * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @param value The bytes for etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -817,12 +729,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeletePartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeletePartitionRequest) private static final com.google.cloud.dataplex.v1.DeletePartitionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeletePartitionRequest(); } @@ -831,27 +743,27 @@ public static com.google.cloud.dataplex.v1.DeletePartitionRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeletePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java similarity index 56% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java index e6d701bb2b3a..22656d90ec27 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface DeletePartitionRequestOrBuilder - extends +public interface DeletePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeletePartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the partition.
    * format:
@@ -34,16 +16,11 @@ public interface DeletePartitionRequestOrBuilder
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the partition.
    * format:
@@ -52,42 +29,33 @@ public interface DeletePartitionRequestOrBuilder
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 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(); /** - * - * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ - @java.lang.Deprecated - java.lang.String getEtag(); + @java.lang.Deprecated java.lang.String getEtag(); /** - * - * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=318 + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getEtagBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java index cc4e7b25b386..d97100535e49 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteTaskRequest} */ -public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteTaskRequest) DeleteTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTaskRequest.newBuilder() to construct. private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteTaskRequest.class, - com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteTaskRequest.class, com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteTaskRequest other = - (com.google.cloud.dataplex.v1.DeleteTaskRequest) obj; + com.google.cloud.dataplex.v1.DeleteTaskRequest other = (com.google.cloud.dataplex.v1.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteTaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteTaskRequest) com.google.cloud.dataplex.v1.DeleteTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteTaskRequest.class, - com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteTaskRequest.class, com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteTaskRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteTaskRequest result = - new com.google.cloud.dataplex.v1.DeleteTaskRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteTaskRequest result = new com.google.cloud.dataplex.v1.DeleteTaskRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteTaskRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteTaskRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteTaskRequest) private static final com.google.cloud.dataplex.v1.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteTaskRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java new file mode 100644 index 000000000000..7a54db0b0138 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java index 6623f5426306..16dab5aea88c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Delete zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteZoneRequest} */ -public final class DeleteZoneRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteZoneRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteZoneRequest) DeleteZoneRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteZoneRequest.newBuilder() to construct. private DeleteZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteZoneRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteZoneRequest.class, - com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteZoneRequest.class, com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteZoneRequest other = - (com.google.cloud.dataplex.v1.DeleteZoneRequest) obj; + com.google.cloud.dataplex.v1.DeleteZoneRequest other = (com.google.cloud.dataplex.v1.DeleteZoneRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteZoneRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteZoneRequest) com.google.cloud.dataplex.v1.DeleteZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteZoneRequest.class, - com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteZoneRequest.class, com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteZoneRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.DeleteZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteZoneRequest result = - new com.google.cloud.dataplex.v1.DeleteZoneRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DeleteZoneRequest result = new com.google.cloud.dataplex.v1.DeleteZoneRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteZoneRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteZoneRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteZoneRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteZoneRequest) private static final com.google.cloud.dataplex.v1.DeleteZoneRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteZoneRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.DeleteZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java new file mode 100644 index 000000000000..9ede25d3c3d3 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteZoneRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java index b6064c43fefb..c38a495cceef 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The payload associated with Discovery data processing.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent} */ -public final class DiscoveryEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DiscoveryEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent) DiscoveryEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DiscoveryEvent.newBuilder() to construct. private DiscoveryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoveryEvent() { message_ = ""; lakeId_ = ""; @@ -48,38 +30,34 @@ private DiscoveryEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoveryEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.class, com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); } /** - * - * *
    * The type of the event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DiscoveryEvent.EventType} */ - public enum EventType implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified event type.
      * 
@@ -88,8 +66,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * An event representing discovery configuration in effect.
      * 
@@ -98,8 +74,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ CONFIG(1), /** - * - * *
      * An event representing a metadata entity being created.
      * 
@@ -108,8 +82,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_CREATED(2), /** - * - * *
      * An event representing a metadata entity being updated.
      * 
@@ -118,8 +90,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_UPDATED(3), /** - * - * *
      * An event representing a metadata entity being deleted.
      * 
@@ -128,8 +98,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_DELETED(4), /** - * - * *
      * An event representing a partition being created.
      * 
@@ -138,8 +106,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ PARTITION_CREATED(5), /** - * - * *
      * An event representing a partition being updated.
      * 
@@ -148,8 +114,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ PARTITION_UPDATED(6), /** - * - * *
      * An event representing a partition being deleted.
      * 
@@ -161,8 +125,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified event type.
      * 
@@ -171,8 +133,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * An event representing discovery configuration in effect.
      * 
@@ -181,8 +141,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFIG_VALUE = 1; /** - * - * *
      * An event representing a metadata entity being created.
      * 
@@ -191,8 +149,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_CREATED_VALUE = 2; /** - * - * *
      * An event representing a metadata entity being updated.
      * 
@@ -201,8 +157,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_UPDATED_VALUE = 3; /** - * - * *
      * An event representing a metadata entity being deleted.
      * 
@@ -211,8 +165,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_DELETED_VALUE = 4; /** - * - * *
      * An event representing a partition being created.
      * 
@@ -221,8 +173,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_CREATED_VALUE = 5; /** - * - * *
      * An event representing a partition being updated.
      * 
@@ -231,8 +181,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_UPDATED_VALUE = 6; /** - * - * *
      * An event representing a partition being deleted.
      * 
@@ -241,6 +189,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_DELETED_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -265,59 +214,54 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: - return EVENT_TYPE_UNSPECIFIED; - case 1: - return CONFIG; - case 2: - return ENTITY_CREATED; - case 3: - return ENTITY_UPDATED; - case 4: - return ENTITY_DELETED; - case 5: - return PARTITION_CREATED; - case 6: - return PARTITION_UPDATED; - case 7: - return PARTITION_DELETED; - default: - return null; + case 0: return EVENT_TYPE_UNSPECIFIED; + case 1: return CONFIG; + case 2: return ENTITY_CREATED; + case 3: return ENTITY_UPDATED; + case 4: return ENTITY_DELETED; + case 5: return PARTITION_CREATED; + case 6: return PARTITION_UPDATED; + case 7: return PARTITION_DELETED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EventType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DiscoveryEvent.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; @@ -335,18 +279,15 @@ private EventType(int value) { } /** - * - * *
    * The type of the entity.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityType} */ - public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified event type.
      * 
@@ -355,8 +296,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Entities representing structured data.
      * 
@@ -365,8 +304,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE(1), /** - * - * *
      * Entities representing unstructured data.
      * 
@@ -378,8 +315,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified event type.
      * 
@@ -388,8 +323,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Entities representing structured data.
      * 
@@ -398,8 +331,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_VALUE = 1; /** - * - * *
      * Entities representing unstructured data.
      * 
@@ -408,6 +339,7 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILESET_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -432,49 +364,49 @@ public static EntityType valueOf(int value) { */ public static EntityType forNumber(int value) { switch (value) { - case 0: - return ENTITY_TYPE_UNSPECIFIED; - case 1: - return TABLE; - case 2: - return FILESET; - default: - return null; + case 0: return ENTITY_TYPE_UNSPECIFIED; + case 1: return TABLE; + case 2: return FILESET; + 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< + EntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityType findValueByNumber(int number) { - return EntityType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.DiscoveryEvent.getDescriptor().getEnumTypes().get(1); } private static final EntityType[] VALUES = values(); - public static EntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityType 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; @@ -491,14 +423,11 @@ private EntityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityType) } - public interface ConfigDetailsOrBuilder - extends + public interface ConfigDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -510,8 +439,6 @@ public interface ConfigDetailsOrBuilder
      */
     int getParametersCount();
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -521,13 +448,15 @@ public interface ConfigDetailsOrBuilder
      *
      * map<string, string> parameters = 1;
      */
-    boolean containsParameters(java.lang.String key);
-    /** Use {@link #getParametersMap()} instead. */
+    boolean containsParameters(
+        java.lang.String key);
+    /**
+     * Use {@link #getParametersMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getParameters();
+    java.util.Map
+    getParameters();
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -537,10 +466,9 @@ public interface ConfigDetailsOrBuilder
      *
      * map<string, string> parameters = 1;
      */
-    java.util.Map getParametersMap();
+    java.util.Map
+    getParametersMap();
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -551,13 +479,11 @@ public interface ConfigDetailsOrBuilder
      * map<string, string> parameters = 1;
      */
     /* nullable */
-    java.lang.String getParametersOrDefault(
+java.lang.String getParametersOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -567,92 +493,87 @@ java.lang.String getParametersOrDefault(
      *
      * map<string, string> parameters = 1;
      */
-    java.lang.String getParametersOrThrow(java.lang.String key);
+    java.lang.String getParametersOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Details about configuration events.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails} */ - public static final class ConfigDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConfigDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) ConfigDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigDetails.newBuilder() to construct. private ConfigDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConfigDetails() {} + private ConfigDetails() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetParameters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); } public static final int PARAMETERS_FIELD_NUMBER = 1; - private static final class ParametersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField parameters_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> parameters_; private com.google.protobuf.MapField - internalGetParameters() { + internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } - public int getParametersCount() { return internalGetParameters().getMap().size(); } /** - * - * *
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -663,21 +584,20 @@ public int getParametersCount() {
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public boolean containsParameters(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParameters(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParameters().getMap().containsKey(key);
     }
-    /** Use {@link #getParametersMap()} instead. */
+    /**
+     * Use {@link #getParametersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParameters() {
       return getParametersMap();
     }
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -692,8 +612,6 @@ public java.util.Map getParametersMap() {
       return internalGetParameters().getMap();
     }
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -704,19 +622,17 @@ public java.util.Map getParametersMap() {
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getParametersOrDefault(
+    public /* nullable */
+java.lang.String getParametersOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetParameters().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetParameters().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -727,11 +643,11 @@ public java.util.Map getParametersMap() {
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public java.lang.String getParametersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetParameters().getMap();
+    public java.lang.String getParametersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetParameters().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -739,7 +655,6 @@ public java.lang.String getParametersOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -751,9 +666,14 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetParameters(),
+          ParametersDefaultEntryHolder.defaultEntry,
+          1);
       getUnknownFields().writeTo(output);
     }
 
@@ -763,15 +683,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry :
-          internalGetParameters().getMap().entrySet()) {
-        com.google.protobuf.MapEntry parameters__ =
-            ParametersDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, parameters__);
+      for (java.util.Map.Entry entry
+           : internalGetParameters().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, parameters__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -781,15 +701,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other =
-          (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) obj;
+      com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) obj;
 
-      if (!internalGetParameters().equals(other.internalGetParameters())) return false;
+      if (!internalGetParameters().equals(
+          other.internalGetParameters())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -811,94 +731,89 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails prototype) {
+    public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -908,61 +823,61 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Details about configuration events.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetParameters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 1: return internalGetMutableParameters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -972,9 +887,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @java.lang.Override @@ -993,11 +908,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails result = - new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1014,41 +926,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDet public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)other); } else { super.mergeFrom(other); return this; @@ -1056,9 +965,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) - return this; - internalGetMutableParameters().mergeFrom(other.internalGetParameters()); + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) return this; + internalGetMutableParameters().mergeFrom( + other.internalGetParameters()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1086,25 +995,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry parameters__ = - input.readMessage( - ParametersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParameters() - .getMutableMap() - .put(parameters__.getKey(), parameters__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + parameters__ = input.readMessage( + ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParameters().getMutableMap().put( + parameters__.getKey(), parameters__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1114,11 +1019,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField parameters_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { @@ -1127,12 +1031,11 @@ public Builder mergeFrom( } return parameters_; } - private com.google.protobuf.MapField internalGetMutableParameters() { if (parameters_ == null) { - parameters_ = - com.google.protobuf.MapField.newMapField(ParametersDefaultEntryHolder.defaultEntry); + parameters_ = com.google.protobuf.MapField.newMapField( + ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); @@ -1141,13 +1044,10 @@ public Builder mergeFrom( onChanged(); return parameters_; } - public int getParametersCount() { return internalGetParameters().getMap().size(); } /** - * - * *
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1158,21 +1058,20 @@ public int getParametersCount() {
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public boolean containsParameters(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsParameters(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetParameters().getMap().containsKey(key);
       }
-      /** Use {@link #getParametersMap()} instead. */
+      /**
+       * Use {@link #getParametersMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getParameters() {
         return getParametersMap();
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1187,8 +1086,6 @@ public java.util.Map getParametersMap() {
         return internalGetParameters().getMap();
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1199,19 +1096,17 @@ public java.util.Map getParametersMap() {
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public /* nullable */ java.lang.String getParametersOrDefault(
+      public /* nullable */
+java.lang.String getParametersOrDefault(
           java.lang.String key,
           /* nullable */
-          java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetParameters().getMap();
+java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetParameters().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1222,25 +1117,23 @@ public java.util.Map getParametersMap() {
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public java.lang.String getParametersOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetParameters().getMap();
+      public java.lang.String getParametersOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetParameters().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearParameters() {
         bitField0_ = (bitField0_ & ~0x00000001);
-        internalGetMutableParameters().getMutableMap().clear();
+        internalGetMutableParameters().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1250,22 +1143,23 @@ public Builder clearParameters() {
        *
        * map<string, string> parameters = 1;
        */
-      public Builder removeParameters(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableParameters().getMutableMap().remove(key);
+      public Builder removeParameters(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableParameters().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableParameters() {
+      public java.util.Map
+          getMutableParameters() {
         bitField0_ |= 0x00000001;
         return internalGetMutableParameters().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1275,20 +1169,17 @@ public java.util.Map getMutableParameters()
        *
        * map<string, string> parameters = 1;
        */
-      public Builder putParameters(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        if (value == null) {
-          throw new NullPointerException("map value");
-        }
-        internalGetMutableParameters().getMutableMap().put(key, value);
+      public Builder putParameters(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        if (value == null) { throw new NullPointerException("map value"); }
+        internalGetMutableParameters().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000001;
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1298,12 +1189,13 @@ public Builder putParameters(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> parameters = 1;
        */
-      public Builder putAllParameters(java.util.Map values) {
-        internalGetMutableParameters().getMutableMap().putAll(values);
+      public Builder putAllParameters(
+          java.util.Map values) {
+        internalGetMutableParameters().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000001;
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1316,12 +1208,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)
     private static final com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails();
     }
@@ -1330,28 +1222,27 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ConfigDetails parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ConfigDetails parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1366,84 +1257,70 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface EntityDetailsOrBuilder
-      extends
+  public interface EntityDetailsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; - * * @return The entity. */ java.lang.String getEntity(); /** - * - * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; - * * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType(); } /** - * - * *
    * Details about the entity.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails} */ - public static final class EntityDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EntityDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) EntityDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntityDetails.newBuilder() to construct. private EntityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntityDetails() { entity_ = ""; type_ = 0; @@ -1451,39 +1328,34 @@ private EntityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EntityDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; - * * @return The entity. */ @java.lang.Override @@ -1492,30 +1364,30 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** - * - * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; - * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -1526,42 +1398,30 @@ public com.google.protobuf.ByteString getEntityBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType 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 the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1573,13 +1433,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(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } getUnknownFields().writeTo(output); @@ -1594,10 +1453,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1607,15 +1465,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other = - (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) obj; - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1638,94 +1496,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1735,41 +1588,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details about the entity.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1780,9 +1631,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override @@ -1801,11 +1652,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails result = - new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1824,41 +1672,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDet public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)other); } else { super.mergeFrom(other); return this; @@ -1866,8 +1711,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1902,25 +1746,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1930,26 +1771,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object entity_ = ""; /** - * - * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; - * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1958,22 +1796,21 @@ public java.lang.String getEntity() { } } /** - * - * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; - * * @return The bytes for entity. */ - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -1981,37 +1818,30 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; - * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -2021,22 +1851,18 @@ public Builder clearEntity() { return this; } /** - * - * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -2046,29 +1872,22 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType 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 the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2079,33 +1898,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; } /** - * - * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2119,14 +1929,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType va return this; } /** - * - * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2135,7 +1942,6 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2148,12 +1954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) private static final com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(); } @@ -2162,28 +1968,27 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2198,208 +2003,175 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PartitionDetailsOrBuilder - extends + public interface PartitionDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; - * * @return The partition. */ java.lang.String getPartition(); /** - * - * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; - * * @return The bytes for partition. */ - com.google.protobuf.ByteString getPartitionBytes(); + com.google.protobuf.ByteString + getPartitionBytes(); /** - * - * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; - * * @return The entity. */ java.lang.String getEntity(); /** - * - * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; - * * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType(); /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - java.util.List getSampledDataLocationsList(); + java.util.List + getSampledDataLocationsList(); /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index); } /** - * - * *
    * Details about the partition.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails} */ - public static final class PartitionDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PartitionDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) PartitionDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionDetails.newBuilder() to construct. private PartitionDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionDetails() { partition_ = ""; entity_ = ""; type_ = 0; - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); } public static final int PARTITION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object partition_ = ""; /** - * - * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; - * * @return The partition. */ @java.lang.Override @@ -2408,30 +2180,30 @@ public java.lang.String getPartition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partition_ = s; return s; } } /** - * - * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; - * * @return The bytes for partition. */ @java.lang.Override - public com.google.protobuf.ByteString getPartitionBytes() { + public com.google.protobuf.ByteString + getPartitionBytes() { java.lang.Object ref = partition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partition_ = b; return b; } else { @@ -2440,19 +2212,15 @@ public com.google.protobuf.ByteString getPartitionBytes() { } public static final int ENTITY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; - * * @return The entity. */ @java.lang.Override @@ -2461,30 +2229,30 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** - * - * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; - * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -2495,85 +2263,65 @@ public com.google.protobuf.ByteString getEntityBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** - * - * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @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 the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { return sampledDataLocations_; } /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -2581,24 +2329,21 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2610,21 +2355,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entity_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, type_); } for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sampledDataLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2641,10 +2384,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } { int dataSize = 0; @@ -2662,18 +2404,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other = - (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) obj; - if (!getPartition().equals(other.getPartition())) return false; - if (!getEntity().equals(other.getEntity())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; if (type_ != other.type_) return false; - if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; + if (!getSampledDataLocationsList() + .equals(other.getSampledDataLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2701,94 +2445,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2798,41 +2537,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details about the partition.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2840,19 +2577,19 @@ public Builder clear() { partition_ = ""; entity_ = ""; type_ = 0; - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } @@ -2867,17 +2604,13 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result = - new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result) { + private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.partition_ = partition_; @@ -2898,41 +2631,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails)other); } else { super.mergeFrom(other); return this; @@ -2940,9 +2670,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other) { - if (other - == com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) return this; if (!other.getPartition().isEmpty()) { partition_ = other.partition_; bitField0_ |= 0x00000001; @@ -2992,38 +2720,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - partition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + partition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3033,26 +2756,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object partition_ = ""; /** - * - * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; - * * @return The partition. */ public java.lang.String getPartition() { java.lang.Object ref = partition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partition_ = s; return s; @@ -3061,22 +2781,21 @@ public java.lang.String getPartition() { } } /** - * - * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; - * * @return The bytes for partition. */ - public com.google.protobuf.ByteString getPartitionBytes() { + public com.google.protobuf.ByteString + getPartitionBytes() { java.lang.Object ref = partition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partition_ = b; return b; } else { @@ -3084,37 +2803,30 @@ public com.google.protobuf.ByteString getPartitionBytes() { } } /** - * - * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; - * * @param value The partition to set. * @return This builder for chaining. */ - public Builder setPartition(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPartition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } partition_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; - * * @return This builder for chaining. */ public Builder clearPartition() { @@ -3124,22 +2836,18 @@ public Builder clearPartition() { return this; } /** - * - * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; - * * @param value The bytes for partition to set. * @return This builder for chaining. */ - public Builder setPartitionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPartitionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partition_ = value; bitField0_ |= 0x00000001; @@ -3149,21 +2857,19 @@ public Builder setPartitionBytes(com.google.protobuf.ByteString value) { private java.lang.Object entity_ = ""; /** - * - * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; - * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -3172,22 +2878,21 @@ public java.lang.String getEntity() { } } /** - * - * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; - * * @return The bytes for entity. */ - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -3195,37 +2900,30 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; - * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -3235,22 +2933,18 @@ public Builder clearEntity() { return this; } /** - * - * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -3260,29 +2954,22 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @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 the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3293,33 +2980,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; } /** - * - * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @param value The type to set. * @return This builder for chaining. */ @@ -3333,14 +3011,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType va return this; } /** - * - * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3352,55 +3027,45 @@ public Builder clearType() { private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = - new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000008; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList + getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -3408,39 +3073,33 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString + getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSampledDataLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -3448,22 +3107,18 @@ public Builder setSampledDataLocations(int index, java.lang.String value) { return this; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000008; @@ -3471,61 +3126,53 @@ public Builder addSampledDataLocations(java.lang.String value) { return this; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations(java.lang.Iterable values) { + public Builder addAllSampledDataLocations( + java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampledDataLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + sampledDataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; - * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSampledDataLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -3533,7 +3180,6 @@ public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3546,44 +3192,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) - private static final com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3595,102 +3238,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ActionDetailsOrBuilder - extends + public interface ActionDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); } /** - * - * *
    * Details about the action.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails} */ - public static final class ActionDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ActionDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) ActionDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ActionDetails.newBuilder() to construct. private ActionDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ActionDetails() { type_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ActionDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -3699,30 +3328,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * 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 { @@ -3731,7 +3360,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3743,7 +3371,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3767,15 +3396,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other = - (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) obj; - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3795,94 +3424,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3892,41 +3516,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details about the action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3936,9 +3558,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override @@ -3957,11 +3579,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails result = - new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3977,41 +3596,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDet public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails)other); } else { super.mergeFrom(other); return this; @@ -4019,8 +3635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; bitField0_ |= 0x00000001; @@ -4052,19 +3667,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4074,26 +3687,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object type_ = ""; /** - * - * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * 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; @@ -4102,22 +3712,21 @@ public java.lang.String getType() { } } /** - * - * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * 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 { @@ -4125,37 +3734,30 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; - * * @return This builder for chaining. */ public Builder clearType() { @@ -4165,29 +3767,24 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4200,12 +3797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) private static final com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(); } @@ -4214,28 +3811,27 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActionDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActionDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4250,16 +3846,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int detailsCase_ = 0; - @SuppressWarnings("serial") 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 { CONFIG(20), ENTITY(21), @@ -4267,7 +3861,6 @@ public enum DetailsCase ACTION(23), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -4283,43 +3876,34 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 20: - return CONFIG; - case 21: - return ENTITY; - case 22: - return PARTITION; - case 23: - return ACTION; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 20: return CONFIG; + case 21: return ENTITY; + case 22: return PARTITION; + case 23: return ACTION; + 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 MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -4328,29 +3912,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -4359,18 +3943,14 @@ public com.google.protobuf.ByteString getMessageBytes() { } public static final int LAKE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object lakeId_ = ""; /** - * - * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; - * * @return The lakeId. */ @java.lang.Override @@ -4379,29 +3959,29 @@ public java.lang.String getLakeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; } } /** - * - * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; - * * @return The bytes for lakeId. */ @java.lang.Override - public com.google.protobuf.ByteString getLakeIdBytes() { + public com.google.protobuf.ByteString + getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lakeId_ = b; return b; } else { @@ -4410,18 +3990,14 @@ public com.google.protobuf.ByteString getLakeIdBytes() { } public static final int ZONE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object zoneId_ = ""; /** - * - * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; - * * @return The zoneId. */ @java.lang.Override @@ -4430,29 +4006,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -4461,18 +4037,14 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int ASSET_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object assetId_ = ""; /** - * - * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; - * * @return The assetId. */ @java.lang.Override @@ -4481,29 +4053,29 @@ public java.lang.String getAssetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; } } /** - * - * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; - * * @return The bytes for assetId. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetIdBytes() { + public com.google.protobuf.ByteString + getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetId_ = b; return b; } else { @@ -4512,18 +4084,14 @@ public com.google.protobuf.ByteString getAssetIdBytes() { } public static final int DATA_LOCATION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object dataLocation_ = ""; /** - * - * *
    * The data location associated with the event.
    * 
* * string data_location = 5; - * * @return The dataLocation. */ @java.lang.Override @@ -4532,29 +4100,29 @@ public java.lang.String getDataLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataLocation_ = s; return s; } } /** - * - * *
    * The data location associated with the event.
    * 
* * string data_location = 5; - * * @return The bytes for dataLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getDataLocationBytes() { + public com.google.protobuf.ByteString + getDataLocationBytes() { java.lang.Object ref = dataLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataLocation_ = b; return b; } else { @@ -4565,50 +4133,36 @@ public com.google.protobuf.ByteString getDataLocationBytes() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** - * - * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @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 the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED : result; } public static final int CONFIG_FIELD_NUMBER = 20; /** - * - * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return Whether the config field is set. */ @java.lang.Override @@ -4616,26 +4170,21 @@ public boolean hasConfig() { return detailsCase_ == 20; } /** - * - * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return The config. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { if (detailsCase_ == 20) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } /** - * - * *
    * Details about discovery configuration in effect.
    * 
@@ -4645,21 +4194,18 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder() { if (detailsCase_ == 20) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } public static final int ENTITY_FIELD_NUMBER = 21; /** - * - * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -4667,26 +4213,21 @@ public boolean hasEntity() { return detailsCase_ == 21; } /** - * - * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return The entity. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } /** - * - * *
    * Details about the entity associated with the event.
    * 
@@ -4696,21 +4237,18 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } public static final int PARTITION_FIELD_NUMBER = 22; /** - * - * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -4718,26 +4256,21 @@ public boolean hasPartition() { return detailsCase_ == 22; } /** - * - * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return The partition. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } /** - * - * *
    * Details about the partition associated with the event.
    * 
@@ -4745,24 +4278,20 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder - getPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } public static final int ACTION_FIELD_NUMBER = 23; /** - * - * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return Whether the action field is set. */ @java.lang.Override @@ -4770,26 +4299,21 @@ public boolean hasAction() { return detailsCase_ == 23; } /** - * - * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return The action. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { if (detailsCase_ == 23) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } /** - * - * *
    * Details about the action associated with the event.
    * 
@@ -4799,13 +4323,12 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getActionOrBuilder() { if (detailsCase_ == 23) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4817,7 +4340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -4833,9 +4357,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataLocation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataLocation_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, type_); } if (detailsCase_ == 20) { @@ -4845,8 +4367,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); } if (detailsCase_ == 22) { - output.writeMessage( - 22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); + output.writeMessage(22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); } if (detailsCase_ == 23) { output.writeMessage(23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); @@ -4875,30 +4396,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataLocation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataLocation_); } - if (type_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); + if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, type_); } if (detailsCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_); } if (detailsCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); } if (detailsCase_ == 22) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); } if (detailsCase_ == 23) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4908,33 +4424,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.cloud.dataplex.v1.DiscoveryEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent other = - (com.google.cloud.dataplex.v1.DiscoveryEvent) obj; - - if (!getMessage().equals(other.getMessage())) return false; - if (!getLakeId().equals(other.getLakeId())) return false; - if (!getZoneId().equals(other.getZoneId())) return false; - if (!getAssetId().equals(other.getAssetId())) return false; - if (!getDataLocation().equals(other.getDataLocation())) return false; + com.google.cloud.dataplex.v1.DiscoveryEvent other = (com.google.cloud.dataplex.v1.DiscoveryEvent) obj; + + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getLakeId() + .equals(other.getLakeId())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; + if (!getAssetId() + .equals(other.getAssetId())) return false; + if (!getDataLocation() + .equals(other.getDataLocation())) return false; if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 20: - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; break; case 21: - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; break; case 22: - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; break; case 23: - if (!getAction().equals(other.getAction())) return false; + if (!getAction() + .equals(other.getAction())) return false; break; case 0: default: @@ -4987,136 +4511,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 payload associated with Discovery data processing.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent) com.google.cloud.dataplex.v1.DiscoveryEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.class, - com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.class, com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5145,9 +4665,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override @@ -5166,11 +4686,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent result = - new com.google.cloud.dataplex.v1.DiscoveryEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.DiscoveryEvent result = new com.google.cloud.dataplex.v1.DiscoveryEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -5201,16 +4718,20 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.DiscoveryEvent result) { result.detailsCase_ = detailsCase_; result.details_ = this.details_; - if (detailsCase_ == 20 && configBuilder_ != null) { + if (detailsCase_ == 20 && + configBuilder_ != null) { result.details_ = configBuilder_.build(); } - if (detailsCase_ == 21 && entityBuilder_ != null) { + if (detailsCase_ == 21 && + entityBuilder_ != null) { result.details_ = entityBuilder_.build(); } - if (detailsCase_ == 22 && partitionBuilder_ != null) { + if (detailsCase_ == 22 && + partitionBuilder_ != null) { result.details_ = partitionBuilder_.build(); } - if (detailsCase_ == 23 && actionBuilder_ != null) { + if (detailsCase_ == 23 && + actionBuilder_ != null) { result.details_ = actionBuilder_.build(); } } @@ -5219,39 +4740,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DiscoveryEvent resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent) other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent)other); } else { super.mergeFrom(other); return this; @@ -5289,30 +4809,25 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent other) { setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case CONFIG: - { - mergeConfig(other.getConfig()); - break; - } - case ENTITY: - { - mergeEntity(other.getEntity()); - break; - } - case PARTITION: - { - mergePartition(other.getPartition()); - break; - } - case ACTION: - { - mergeAction(other.getAction()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case CONFIG: { + mergeConfig(other.getConfig()); + break; + } + case ENTITY: { + mergeEntity(other.getEntity()); + break; + } + case PARTITION: { + mergePartition(other.getPartition()); + break; + } + case ACTION: { + mergeAction(other.getAction()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5340,73 +4855,70 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - lakeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - zoneId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - assetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - dataLocation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 80: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 80 - case 162: - { - input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 20; - break; - } // case 162 - case 170: - { - input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 21; - break; - } // case 170 - case 178: - { - input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 22; - break; - } // case 178 - case 186: - { - input.readMessage(getActionFieldBuilder().getBuilder(), extensionRegistry); - detailsCase_ = 23; - break; - } // case 186 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + lakeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + zoneId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + assetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + dataLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 80: { + type_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 80 + case 162: { + input.readMessage( + getConfigFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 20; + break; + } // case 162 + case 170: { + input.readMessage( + getEntityFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 21; + break; + } // case 170 + case 178: { + input.readMessage( + getPartitionFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 22; + break; + } // case 178 + case 186: { + input.readMessage( + getActionFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 23; + break; + } // case 186 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5416,12 +4928,12 @@ public Builder mergeFrom( } // finally 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() { @@ -5435,20 +4947,18 @@ public Builder clearDetails() { private java.lang.Object message_ = ""; /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -5457,21 +4967,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -5479,35 +4988,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -5517,21 +5019,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -5541,20 +5039,18 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object lakeId_ = ""; /** - * - * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; - * * @return The lakeId. */ public java.lang.String getLakeId() { java.lang.Object ref = lakeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; @@ -5563,21 +5059,20 @@ public java.lang.String getLakeId() { } } /** - * - * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; - * * @return The bytes for lakeId. */ - public com.google.protobuf.ByteString getLakeIdBytes() { + public com.google.protobuf.ByteString + getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lakeId_ = b; return b; } else { @@ -5585,35 +5080,28 @@ public com.google.protobuf.ByteString getLakeIdBytes() { } } /** - * - * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; - * * @param value The lakeId to set. * @return This builder for chaining. */ - public Builder setLakeId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLakeId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } lakeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; - * * @return This builder for chaining. */ public Builder clearLakeId() { @@ -5623,21 +5111,17 @@ public Builder clearLakeId() { return this; } /** - * - * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; - * * @param value The bytes for lakeId to set. * @return This builder for chaining. */ - public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLakeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lakeId_ = value; bitField0_ |= 0x00000002; @@ -5647,20 +5131,18 @@ public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zoneId_ = ""; /** - * - * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -5669,21 +5151,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -5691,35 +5172,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -5729,21 +5203,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000004; @@ -5753,20 +5223,18 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetId_ = ""; /** - * - * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; - * * @return The assetId. */ public java.lang.String getAssetId() { java.lang.Object ref = assetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; @@ -5775,21 +5243,20 @@ public java.lang.String getAssetId() { } } /** - * - * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; - * * @return The bytes for assetId. */ - public com.google.protobuf.ByteString getAssetIdBytes() { + public com.google.protobuf.ByteString + getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetId_ = b; return b; } else { @@ -5797,35 +5264,28 @@ public com.google.protobuf.ByteString getAssetIdBytes() { } } /** - * - * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; - * * @param value The assetId to set. * @return This builder for chaining. */ - public Builder setAssetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; - * * @return This builder for chaining. */ public Builder clearAssetId() { @@ -5835,21 +5295,17 @@ public Builder clearAssetId() { return this; } /** - * - * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; - * * @param value The bytes for assetId to set. * @return This builder for chaining. */ - public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetId_ = value; bitField0_ |= 0x00000008; @@ -5859,20 +5315,18 @@ public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataLocation_ = ""; /** - * - * *
      * The data location associated with the event.
      * 
* * string data_location = 5; - * * @return The dataLocation. */ public java.lang.String getDataLocation() { java.lang.Object ref = dataLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataLocation_ = s; return s; @@ -5881,21 +5335,20 @@ public java.lang.String getDataLocation() { } } /** - * - * *
      * The data location associated with the event.
      * 
* * string data_location = 5; - * * @return The bytes for dataLocation. */ - public com.google.protobuf.ByteString getDataLocationBytes() { + public com.google.protobuf.ByteString + getDataLocationBytes() { java.lang.Object ref = dataLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataLocation_ = b; return b; } else { @@ -5903,35 +5356,28 @@ public com.google.protobuf.ByteString getDataLocationBytes() { } } /** - * - * *
      * The data location associated with the event.
      * 
* * string data_location = 5; - * * @param value The dataLocation to set. * @return This builder for chaining. */ - public Builder setDataLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataLocation_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The data location associated with the event.
      * 
* * string data_location = 5; - * * @return This builder for chaining. */ public Builder clearDataLocation() { @@ -5941,21 +5387,17 @@ public Builder clearDataLocation() { return this; } /** - * - * *
      * The data location associated with the event.
      * 
* * string data_location = 5; - * * @param value The bytes for dataLocation to set. * @return This builder for chaining. */ - public Builder setDataLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataLocation_ = value; bitField0_ |= 0x00000010; @@ -5965,29 +5407,22 @@ public Builder setDataLocationBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @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 the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5998,33 +5433,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @param value The type to set. * @return This builder for chaining. */ @@ -6038,14 +5464,11 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EventType val return this; } /** - * - * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @return This builder for chaining. */ public Builder clearType() { @@ -6056,19 +5479,13 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> - configBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> configBuilder_; /** - * - * *
      * Details about discovery configuration in effect.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return Whether the config field is set. */ @java.lang.Override @@ -6076,14 +5493,11 @@ public boolean hasConfig() { return detailsCase_ == 20; } /** - * - * *
      * Details about discovery configuration in effect.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return The config. */ @java.lang.Override @@ -6101,8 +5515,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { } } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6123,8 +5535,6 @@ public Builder setConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetai return this; } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6143,8 +5553,6 @@ public Builder setConfig( return this; } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6153,14 +5561,10 @@ public Builder setConfig( */ public Builder mergeConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails value) { if (configBuilder_ == null) { - if (detailsCase_ == 20 - && details_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder( - (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 20 && + details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6176,8 +5580,6 @@ public Builder mergeConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDet return this; } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6201,8 +5603,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6213,8 +5613,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder getConf return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6233,8 +5631,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon } } /** - * - * *
      * Details about discovery configuration in effect.
      * 
@@ -6242,19 +5638,14 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { if (!(detailsCase_ == 20)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder>( + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_, getParentForChildren(), isClean()); @@ -6266,19 +5657,13 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> - entityBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> entityBuilder_; /** - * - * *
      * Details about the entity associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -6286,14 +5671,11 @@ public boolean hasEntity() { return detailsCase_ == 21; } /** - * - * *
      * Details about the entity associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return The entity. */ @java.lang.Override @@ -6311,8 +5693,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { } } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6333,8 +5713,6 @@ public Builder setEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetai return this; } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6353,8 +5731,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6363,14 +5739,10 @@ public Builder setEntity( */ public Builder mergeEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails value) { if (entityBuilder_ == null) { - if (detailsCase_ == 21 - && details_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder( - (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 21 && + details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6386,8 +5758,6 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDet return this; } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6411,8 +5781,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6423,8 +5791,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder getEnti return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6443,8 +5809,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt } } /** - * - * *
      * Details about the entity associated with the event.
      * 
@@ -6452,19 +5816,14 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { if (!(detailsCase_ == 21)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder>( + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_, getParentForChildren(), isClean()); @@ -6476,19 +5835,13 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> - partitionBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> partitionBuilder_; /** - * - * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -6496,14 +5849,11 @@ public boolean hasPartition() { return detailsCase_ == 22; } /** - * - * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return The partition. */ @java.lang.Override @@ -6521,16 +5871,13 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition } } /** - * - * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public Builder setPartition( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { + public Builder setPartition(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { if (partitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6544,8 +5891,6 @@ public Builder setPartition( return this; } /** - * - * *
      * Details about the partition associated with the event.
      * 
@@ -6564,26 +5909,18 @@ public Builder setPartition( return this; } /** - * - * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public Builder mergePartition( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { + public Builder mergePartition(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { if (partitionBuilder_ == null) { - if (detailsCase_ == 22 - && details_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails - .getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder( - (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 22 && + details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6599,8 +5936,6 @@ public Builder mergePartition( return this; } /** - * - * *
      * Details about the partition associated with the event.
      * 
@@ -6624,21 +5959,16 @@ public Builder clearPartition() { return this; } /** - * - * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder - getPartitionBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Details about the partition associated with the event.
      * 
@@ -6646,8 +5976,7 @@ public Builder clearPartition() { * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder - getPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder() { if ((detailsCase_ == 22) && (partitionBuilder_ != null)) { return partitionBuilder_.getMessageOrBuilder(); } else { @@ -6658,8 +5987,6 @@ public Builder clearPartition() { } } /** - * - * *
      * Details about the partition associated with the event.
      * 
@@ -6667,20 +5994,14 @@ public Builder clearPartition() { * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { if (!(detailsCase_ == 22)) { - details_ = - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); + details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder>( + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_, getParentForChildren(), isClean()); @@ -6692,19 +6013,13 @@ public Builder clearPartition() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> - actionBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> actionBuilder_; /** - * - * *
      * Details about the action associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return Whether the action field is set. */ @java.lang.Override @@ -6712,14 +6027,11 @@ public boolean hasAction() { return detailsCase_ == 23; } /** - * - * *
      * Details about the action associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return The action. */ @java.lang.Override @@ -6737,8 +6049,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { } } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6759,8 +6069,6 @@ public Builder setAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetai return this; } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6779,8 +6087,6 @@ public Builder setAction( return this; } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6789,14 +6095,10 @@ public Builder setAction( */ public Builder mergeAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails value) { if (actionBuilder_ == null) { - if (detailsCase_ == 23 - && details_ - != com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) { - details_ = - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder( - (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 23 && + details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) { + details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6812,8 +6114,6 @@ public Builder mergeAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDet return this; } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6837,8 +6137,6 @@ public Builder clearAction() { return this; } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6849,8 +6147,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder getActi return getActionFieldBuilder().getBuilder(); } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6869,8 +6165,6 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct } } /** - * - * *
      * Details about the action associated with the event.
      * 
@@ -6878,19 +6172,14 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { if (!(detailsCase_ == 23)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } - actionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder>( + actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_, getParentForChildren(), isClean()); @@ -6900,9 +6189,9 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct onChanged(); return actionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6912,12 +6201,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent) private static final com.google.cloud.dataplex.v1.DiscoveryEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent(); } @@ -6926,27 +6215,27 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoveryEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoveryEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6961,4 +6250,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java similarity index 82% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java index 2818e1bf6e7d..4f540ff9bdc1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java @@ -1,205 +1,150 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DiscoveryEventOrBuilder - extends +public interface DiscoveryEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; - * * @return The lakeId. */ java.lang.String getLakeId(); /** - * - * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; - * * @return The bytes for lakeId. */ - com.google.protobuf.ByteString getLakeIdBytes(); + com.google.protobuf.ByteString + getLakeIdBytes(); /** - * - * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; - * * @return The assetId. */ java.lang.String getAssetId(); /** - * - * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; - * * @return The bytes for assetId. */ - com.google.protobuf.ByteString getAssetIdBytes(); + com.google.protobuf.ByteString + getAssetIdBytes(); /** - * - * *
    * The data location associated with the event.
    * 
* * string data_location = 5; - * * @return The dataLocation. */ java.lang.String getDataLocation(); /** - * - * *
    * The data location associated with the event.
    * 
* * string data_location = 5; - * * @return The bytes for dataLocation. */ - com.google.protobuf.ByteString getDataLocationBytes(); + com.google.protobuf.ByteString + getDataLocationBytes(); /** - * - * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; - * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType(); /** - * - * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; - * * @return The config. */ com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig(); /** - * - * *
    * Details about discovery configuration in effect.
    * 
@@ -209,32 +154,24 @@ public interface DiscoveryEventOrBuilder com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder(); /** - * - * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; - * * @return The entity. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity(); /** - * - * *
    * Details about the entity associated with the event.
    * 
@@ -244,32 +181,24 @@ public interface DiscoveryEventOrBuilder com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder(); /** - * - * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; - * * @return The partition. */ com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition(); /** - * - * *
    * Details about the partition associated with the event.
    * 
@@ -279,32 +208,24 @@ public interface DiscoveryEventOrBuilder com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder(); /** - * - * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return Whether the action field is set. */ boolean hasAction(); /** - * - * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; - * * @return The action. */ com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction(); /** - * - * *
    * Details about the action associated with the event.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java index b7c12b43e2df..4cb6093c3766 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Represents tables and fileset metadata contained within a zone.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { name_ = ""; displayName_ = ""; @@ -54,38 +36,34 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.class, - com.google.cloud.dataplex.v1.Entity.Builder.class); + com.google.cloud.dataplex.v1.Entity.class, com.google.cloud.dataplex.v1.Entity.Builder.class); } /** - * - * *
    * The type of entity.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Entity.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unspecified.
      * 
@@ -94,8 +72,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Structured and semi-structured data.
      * 
@@ -104,8 +80,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TABLE(1), /** - * - * *
      * Unstructured data.
      * 
@@ -117,8 +91,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type unspecified.
      * 
@@ -127,8 +99,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Structured and semi-structured data.
      * 
@@ -137,8 +107,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_VALUE = 1; /** - * - * *
      * Unstructured data.
      * 
@@ -147,6 +115,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILESET_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -171,49 +140,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return TABLE; - case 2: - return FILESET; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return TABLE; + case 2: return FILESET; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Entity.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -230,240 +199,189 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Entity.Type) } - public interface CompatibilityStatusOrBuilder - extends + public interface CompatibilityStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity.CompatibilityStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hiveMetastore field is set. */ boolean hasHiveMetastore(); /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hiveMetastore. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore(); /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getHiveMetastoreOrBuilder(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder(); /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigquery field is set. */ boolean hasBigquery(); /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigquery. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery(); /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getBigqueryOrBuilder(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder(); } /** - * - * *
    * Provides compatibility information for various metadata stores.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus} */ - public static final class CompatibilityStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompatibilityStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus) CompatibilityStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompatibilityStatus.newBuilder() to construct. private CompatibilityStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CompatibilityStatus() {} + private CompatibilityStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompatibilityStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); } - public interface CompatibilityOrBuilder - extends + public interface CompatibilityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Output only. Whether the entity is compatible and can be represented in
        * the metadata store.
        * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The compatible. */ boolean getCompatible(); /** - * - * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reason. */ java.lang.String getReason(); /** - * - * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for reason. */ - com.google.protobuf.ByteString getReasonBytes(); + com.google.protobuf.ByteString + getReasonBytes(); } /** - * - * *
      * Provides compatibility information for a specific metadata store.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility} */ - public static final class Compatibility extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Compatibility extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) CompatibilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Compatibility.newBuilder() to construct. private Compatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Compatibility() { reason_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Compatibility(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - .class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder.class); } public static final int COMPATIBLE_FIELD_NUMBER = 1; private boolean compatible_ = false; /** - * - * *
        * Output only. Whether the entity is compatible and can be represented in
        * the metadata store.
        * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The compatible. */ @java.lang.Override @@ -472,19 +390,15 @@ public boolean getCompatible() { } public static final int REASON_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object reason_ = ""; /** - * - * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reason. */ @java.lang.Override @@ -493,30 +407,30 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** - * - * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -525,7 +439,6 @@ public com.google.protobuf.ByteString getReasonBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,7 +450,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (compatible_ != false) { output.writeBool(1, compatible_); } @@ -554,7 +468,8 @@ public int getSerializedSize() { size = 0; if (compatible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, compatible_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, compatible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_); @@ -567,17 +482,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other = - (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) obj; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other = (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) obj; - if (getCompatible() != other.getCompatible()) return false; - if (!getReason().equals(other.getReason())) return false; + if (getCompatible() + != other.getCompatible()) return false; + if (!getReason() + .equals(other.getReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -590,7 +505,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COMPATIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCompatible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCompatible()); hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -599,96 +515,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -698,43 +607,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Provides compatibility information for a specific metadata store.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - .class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -745,22 +650,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility build() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = - buildPartial(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -768,19 +670,14 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bui } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - buildPartial() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = - new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility buildPartial() { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.compatible_ = compatible_; @@ -794,54 +691,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) other); + if (other instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) { + return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other) { - if (other - == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other) { + if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) return this; if (other.getCompatible() != false) { setCompatible(other.getCompatible()); } @@ -876,25 +765,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - compatible_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - reason_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + compatible_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + reason_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -904,20 +790,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean compatible_; + private boolean compatible_ ; /** - * - * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The compatible. */ @java.lang.Override @@ -925,15 +807,12 @@ public boolean getCompatible() { return compatible_; } /** - * - * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The compatible to set. * @return This builder for chaining. */ @@ -945,15 +824,12 @@ public Builder setCompatible(boolean value) { return this; } /** - * - * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCompatible() { @@ -965,21 +841,19 @@ public Builder clearCompatible() { private java.lang.Object reason_ = ""; /** - * - * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -988,22 +862,21 @@ public java.lang.String getReason() { } } /** - * - * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for reason. */ - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -1011,37 +884,30 @@ public com.google.protobuf.ByteString getReasonBytes() { } } /** - * - * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReason( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } reason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReason() { @@ -1051,29 +917,24 @@ public Builder clearReason() { return this; } /** - * - * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReasonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1086,45 +947,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) - private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Compatibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Compatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,25 +993,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int HIVE_METASTORE_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hiveMetastore_; /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hiveMetastore field is set. */ @java.lang.Override @@ -1162,59 +1014,37 @@ public boolean hasHiveMetastore() { return hiveMetastore_ != null; } /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hiveMetastore. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - getHiveMetastore() { - return hiveMetastore_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : hiveMetastore_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore() { + return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; } /** - * - * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getHiveMetastoreOrBuilder() { - return hiveMetastore_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : hiveMetastore_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder() { + return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; } public static final int BIGQUERY_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery_; /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigquery field is set. */ @java.lang.Override @@ -1222,47 +1052,30 @@ public boolean hasBigquery() { return bigquery_ != null; } /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigquery. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery() { - return bigquery_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : bigquery_; + return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; } /** - * - * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getBigqueryOrBuilder() { - return bigquery_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : bigquery_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder() { + return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1274,7 +1087,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (hiveMetastore_ != null) { output.writeMessage(1, getHiveMetastore()); } @@ -1291,10 +1105,12 @@ public int getSerializedSize() { size = 0; if (hiveMetastore_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHiveMetastore()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHiveMetastore()); } if (bigquery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBigquery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBigquery()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1304,21 +1120,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other = - (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) obj; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other = (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) obj; if (hasHiveMetastore() != other.hasHiveMetastore()) return false; if (hasHiveMetastore()) { - if (!getHiveMetastore().equals(other.getHiveMetastore())) return false; + if (!getHiveMetastore() + .equals(other.getHiveMetastore())) return false; } if (hasBigquery() != other.hasBigquery()) return false; if (hasBigquery()) { - if (!getBigquery().equals(other.getBigquery())) return false; + if (!getBigquery() + .equals(other.getBigquery())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1345,94 +1162,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1442,41 +1254,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Provides compatibility information for various metadata stores.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus) com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1495,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override @@ -1516,11 +1326,8 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus buildPartial() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result = - new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1528,11 +1335,14 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.hiveMetastore_ = - hiveMetastoreBuilder_ == null ? hiveMetastore_ : hiveMetastoreBuilder_.build(); + result.hiveMetastore_ = hiveMetastoreBuilder_ == null + ? hiveMetastore_ + : hiveMetastoreBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.bigquery_ = bigqueryBuilder_ == null ? bigquery_ : bigqueryBuilder_.build(); + result.bigquery_ = bigqueryBuilder_ == null + ? bigquery_ + : bigqueryBuilder_.build(); } } @@ -1540,41 +1350,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStat public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus)other); } else { super.mergeFrom(other); return this; @@ -1582,8 +1389,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other) { - if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) return this; if (other.hasHiveMetastore()) { mergeHiveMetastore(other.getHiveMetastore()); } @@ -1616,25 +1422,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getHiveMetastoreFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getBigqueryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHiveMetastoreFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getBigqueryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1644,68 +1451,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hiveMetastore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> - hiveMetastoreBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> hiveMetastoreBuilder_; /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hiveMetastore field is set. */ public boolean hasHiveMetastore() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hiveMetastore. */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - getHiveMetastore() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore() { if (hiveMetastoreBuilder_ == null) { - return hiveMetastore_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : hiveMetastore_; + return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; } else { return hiveMetastoreBuilder_.getMessage(); } } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setHiveMetastore( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder setHiveMetastore(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (hiveMetastoreBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1719,19 +1503,14 @@ public Builder setHiveMetastore( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setHiveMetastore( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder builderForValue) { if (hiveMetastoreBuilder_ == null) { hiveMetastore_ = builderForValue.build(); } else { @@ -1742,24 +1521,17 @@ public Builder setHiveMetastore( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeHiveMetastore( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder mergeHiveMetastore(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (hiveMetastoreBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && hiveMetastore_ != null - && hiveMetastore_ - != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + hiveMetastore_ != null && + hiveMetastore_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) { getHiveMetastoreBuilder().mergeFrom(value); } else { hiveMetastore_ = value; @@ -1772,15 +1544,11 @@ public Builder mergeHiveMetastore( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearHiveMetastore() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1793,67 +1561,48 @@ public Builder clearHiveMetastore() { return this; } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - getHiveMetastoreBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder getHiveMetastoreBuilder() { bitField0_ |= 0x00000001; onChanged(); return getHiveMetastoreFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getHiveMetastoreOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder() { if (hiveMetastoreBuilder_ != null) { return hiveMetastoreBuilder_.getMessageOrBuilder(); } else { - return hiveMetastore_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : hiveMetastore_; + return hiveMetastore_ == null ? + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; } } /** - * - * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> getHiveMetastoreFieldBuilder() { if (hiveMetastoreBuilder_ == null) { - hiveMetastoreBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( - getHiveMetastore(), getParentForChildren(), isClean()); + hiveMetastoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( + getHiveMetastore(), + getParentForChildren(), + isClean()); hiveMetastore_ = null; } return hiveMetastoreBuilder_; @@ -1861,62 +1610,41 @@ public Builder clearHiveMetastore() { private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> - bigqueryBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> bigqueryBuilder_; /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigquery field is set. */ public boolean hasBigquery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigquery. */ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery() { if (bigqueryBuilder_ == null) { - return bigquery_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : bigquery_; + return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; } else { return bigqueryBuilder_.getMessage(); } } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBigquery( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder setBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (bigqueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1930,19 +1658,14 @@ public Builder setBigquery( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigquery( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder builderForValue) { if (bigqueryBuilder_ == null) { bigquery_ = builderForValue.build(); } else { @@ -1953,24 +1676,17 @@ public Builder setBigquery( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBigquery( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder mergeBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (bigqueryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && bigquery_ != null - && bigquery_ - != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + bigquery_ != null && + bigquery_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) { getBigqueryBuilder().mergeFrom(value); } else { bigquery_ = value; @@ -1983,15 +1699,11 @@ public Builder mergeBigquery( return this; } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigquery() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2004,72 +1716,52 @@ public Builder clearBigquery() { return this; } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder - getBigqueryBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder getBigqueryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBigqueryFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder - getBigqueryOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder() { if (bigqueryBuilder_ != null) { return bigqueryBuilder_.getMessageOrBuilder(); } else { - return bigquery_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility - .getDefaultInstance() - : bigquery_; + return bigquery_ == null ? + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; } } /** - * - * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> getBigqueryFieldBuilder() { if (bigqueryBuilder_ == null) { - bigqueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( - getBigquery(), getParentForChildren(), isClean()); + bigqueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( + getBigquery(), + getParentForChildren(), + isClean()); bigquery_ = null; } return bigqueryBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2082,12 +1774,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus) private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(); } @@ -2096,28 +1788,27 @@ public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompatibilityStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompatibilityStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2132,24 +1823,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -2158,32 +1844,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; } } /** - * - * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2192,18 +1876,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -2212,29 +1892,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; } } /** - * - * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2243,19 +1923,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -2264,30 +1940,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; } } /** - * - * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2298,15 +1974,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -2314,15 +1986,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -2330,14 +1998,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2347,15 +2012,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2363,15 +2024,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -2379,14 +2036,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2394,12 +2048,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -2409,7 +2060,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -2418,15 +2068,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -2436,15 +2085,16 @@ public java.lang.String getId() {
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -2453,19 +2103,15 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int ETAG_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -2474,30 +2120,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2508,59 +2154,40 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** - * - * *
    * Required. Immutable. The type of entity.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Immutable. The type of entity.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.Type getType() { - com.google.cloud.dataplex.v1.Entity.Type result = - com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.Entity.Type getType() { + com.google.cloud.dataplex.v1.Entity.Type result = com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Entity.Type.UNRECOGNIZED : result; } public static final int ASSET_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** - * - * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The asset. */ @java.lang.Override @@ -2569,33 +2196,31 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -2604,12 +2229,9 @@ public com.google.protobuf.ByteString getAssetBytes() { } public static final int DATA_PATH_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object dataPath_ = ""; /** - * - * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -2618,10 +2240,7 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The dataPath. */ @java.lang.Override @@ -2630,15 +2249,14 @@ public java.lang.String getDataPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPath_ = s; return s; } } /** - * - * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -2647,18 +2265,17 @@ public java.lang.String getDataPath() {
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for dataPath. */ @java.lang.Override - public com.google.protobuf.ByteString getDataPathBytes() { + public com.google.protobuf.ByteString + getDataPathBytes() { java.lang.Object ref = dataPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataPath_ = b; return b; } else { @@ -2667,12 +2284,9 @@ public com.google.protobuf.ByteString getDataPathBytes() { } public static final int DATA_PATH_PATTERN_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object dataPathPattern_ = ""; /** - * - * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -2680,7 +2294,6 @@ public com.google.protobuf.ByteString getDataPathBytes() {
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dataPathPattern. */ @java.lang.Override @@ -2689,15 +2302,14 @@ public java.lang.String getDataPathPattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPathPattern_ = s; return s; } } /** - * - * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -2705,15 +2317,16 @@ public java.lang.String getDataPathPattern() {
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for dataPathPattern. */ @java.lang.Override - public com.google.protobuf.ByteString getDataPathPatternBytes() { + public com.google.protobuf.ByteString + getDataPathPatternBytes() { java.lang.Object ref = dataPathPattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataPathPattern_ = b; return b; } else { @@ -2722,18 +2335,14 @@ public com.google.protobuf.ByteString getDataPathPatternBytes() { } public static final int CATALOG_ENTRY_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object catalogEntry_ = ""; /** - * - * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The catalogEntry. */ @java.lang.Override @@ -2742,29 +2351,29 @@ public java.lang.String getCatalogEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalogEntry_ = s; return s; } } /** - * - * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for catalogEntry. */ @java.lang.Override - public com.google.protobuf.ByteString getCatalogEntryBytes() { + public com.google.protobuf.ByteString + getCatalogEntryBytes() { java.lang.Object ref = catalogEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); catalogEntry_ = b; return b; } else { @@ -2775,56 +2384,38 @@ public com.google.protobuf.ByteString getCatalogEntryBytes() { public static final int SYSTEM_FIELD_NUMBER = 15; private int system_ = 0; /** - * - * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for system. */ - @java.lang.Override - public int getSystemValue() { + @java.lang.Override public int getSystemValue() { return system_; } /** - * - * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The system. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.StorageSystem getSystem() { - com.google.cloud.dataplex.v1.StorageSystem result = - com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); + @java.lang.Override public com.google.cloud.dataplex.v1.StorageSystem getSystem() { + com.google.cloud.dataplex.v1.StorageSystem result = com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); return result == null ? com.google.cloud.dataplex.v1.StorageSystem.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 16; private com.google.cloud.dataplex.v1.StorageFormat format_; /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the format field is set. */ @java.lang.Override @@ -2832,57 +2423,39 @@ public boolean hasFormat() { return format_ != null; } /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The format. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat getFormat() { - return format_ == null - ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() - : format_; + return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; } /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() { - return format_ == null - ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() - : format_; + return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; } public static final int COMPATIBILITY_FIELD_NUMBER = 19; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility_; /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the compatibility field is set. */ @java.lang.Override @@ -2890,57 +2463,38 @@ public boolean hasCompatibility() { return compatibility_ != null; } /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The compatibility. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility() { - return compatibility_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() - : compatibility_; + return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; } /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder - getCompatibilityOrBuilder() { - return compatibility_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() - : compatibility_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder() { + return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; } public static final int ACCESS_FIELD_NUMBER = 21; private com.google.cloud.dataplex.v1.StorageAccess access_; /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the access field is set. */ @java.lang.Override @@ -2948,58 +2502,41 @@ public boolean hasAccess() { return access_ != null; } /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The access. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess getAccess() { - return access_ == null - ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() - : access_; + return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; } /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() { - return access_ == null - ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() - : access_; + return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; } public static final int UID_FIELD_NUMBER = 22; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -3008,30 +2545,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3042,17 +2579,13 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int SCHEMA_FIELD_NUMBER = 50; private com.google.cloud.dataplex.v1.Schema schema_; /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the schema field is set. */ @java.lang.Override @@ -3060,17 +2593,13 @@ public boolean hasSchema() { return schema_ != null; } /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return The schema. */ @java.lang.Override @@ -3078,16 +2607,13 @@ public com.google.cloud.dataplex.v1.Schema getSchema() { return schema_ == null ? com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; } /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { @@ -3095,7 +2621,6 @@ public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3107,7 +2632,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3144,8 +2670,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, catalogEntry_); } - if (system_ - != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { + if (system_ != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { output.writeEnum(15, system_); } if (format_ != null) { @@ -3182,10 +2707,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, id_); @@ -3194,7 +2721,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } if (type_ != com.google.cloud.dataplex.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, asset_); @@ -3208,24 +2736,28 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogEntry_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, catalogEntry_); } - if (system_ - != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, system_); + if (system_ != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, system_); } if (format_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getFormat()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getFormat()); } if (compatibility_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCompatibility()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getCompatibility()); } if (access_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAccess()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getAccess()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, uid_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(50, getSchema()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3235,48 +2767,64 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Entity)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Entity other = (com.google.cloud.dataplex.v1.Entity) 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 (!getId().equals(other.getId())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (type_ != other.type_) return false; - if (!getAsset().equals(other.getAsset())) return false; - if (!getDataPath().equals(other.getDataPath())) return false; - if (!getDataPathPattern().equals(other.getDataPathPattern())) return false; - if (!getCatalogEntry().equals(other.getCatalogEntry())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; + if (!getDataPath() + .equals(other.getDataPath())) return false; + if (!getDataPathPattern() + .equals(other.getDataPathPattern())) return false; + if (!getCatalogEntry() + .equals(other.getCatalogEntry())) return false; if (system_ != other.system_) return false; if (hasFormat() != other.hasFormat()) return false; if (hasFormat()) { - if (!getFormat().equals(other.getFormat())) return false; + if (!getFormat() + .equals(other.getFormat())) return false; } if (hasCompatibility() != other.hasCompatibility()) return false; if (hasCompatibility()) { - if (!getCompatibility().equals(other.getCompatibility())) return false; + if (!getCompatibility() + .equals(other.getCompatibility())) return false; } if (hasAccess() != other.hasAccess()) return false; if (hasAccess()) { - if (!getAccess().equals(other.getAccess())) return false; + if (!getAccess() + .equals(other.getAccess())) return false; } - if (!getUid().equals(other.getUid())) return false; + if (!getUid() + .equals(other.getUid())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { - if (!getSchema().equals(other.getSchema())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3342,135 +2890,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Entity parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Entity parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Entity parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Entity parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Entity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Entity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tables and fileset metadata contained within a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity) com.google.cloud.dataplex.v1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.class, - com.google.cloud.dataplex.v1.Entity.Builder.class); + com.google.cloud.dataplex.v1.Entity.class, com.google.cloud.dataplex.v1.Entity.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Entity.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3521,9 +3066,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override @@ -3543,9 +3088,7 @@ public com.google.cloud.dataplex.v1.Entity build() { @java.lang.Override public com.google.cloud.dataplex.v1.Entity buildPartial() { com.google.cloud.dataplex.v1.Entity result = new com.google.cloud.dataplex.v1.Entity(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3562,10 +3105,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { result.description_ = description_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.id_ = id_; @@ -3592,20 +3139,27 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { result.system_ = system_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.format_ = formatBuilder_ == null ? format_ : formatBuilder_.build(); + result.format_ = formatBuilder_ == null + ? format_ + : formatBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.compatibility_ = - compatibilityBuilder_ == null ? compatibility_ : compatibilityBuilder_.build(); + result.compatibility_ = compatibilityBuilder_ == null + ? compatibility_ + : compatibilityBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.access_ = accessBuilder_ == null ? access_ : accessBuilder_.build(); + result.access_ = accessBuilder_ == null + ? access_ + : accessBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00020000) != 0)) { - result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build(); + result.schema_ = schemaBuilder_ == null + ? schema_ + : schemaBuilder_.build(); } } @@ -3613,39 +3167,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Entity) { - return mergeFrom((com.google.cloud.dataplex.v1.Entity) other); + return mergeFrom((com.google.cloud.dataplex.v1.Entity)other); } else { super.mergeFrom(other); return this; @@ -3754,121 +3307,114 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 80: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 80 - case 90: - { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 90 - case 98: - { - dataPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 98 - case 106: - { - dataPathPattern_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 106 - case 114: - { - catalogEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 114 - case 120: - { - system_ = input.readEnum(); - bitField0_ |= 0x00001000; - break; - } // case 120 - case 130: - { - input.readMessage(getFormatFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 130 - case 154: - { - input.readMessage(getCompatibilityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 154 - case 170: - { - input.readMessage(getAccessFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 170 - case 178: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 178 - case 402: - { - input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 402 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 80: { + type_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 80 + case 90: { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 90 + case 98: { + dataPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 98 + case 106: { + dataPathPattern_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 106 + case 114: { + catalogEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 114 + case 120: { + system_ = input.readEnum(); + bitField0_ |= 0x00001000; + break; + } // case 120 + case 130: { + input.readMessage( + getFormatFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 130 + case 154: { + input.readMessage( + getCompatibilityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 154 + case 170: { + input.readMessage( + getAccessFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 170 + case 178: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 178 + case 402: { + input.readMessage( + getSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 402 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3878,28 +3424,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3908,24 +3449,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3933,41 +3471,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -3977,24 +3504,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -4004,20 +3525,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -4026,21 +3545,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -4048,35 +3566,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4086,21 +3597,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -4110,21 +3617,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -4133,22 +3638,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -4156,37 +3660,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4196,22 +3693,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -4221,58 +3714,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 time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4288,17 +3762,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -4309,21 +3780,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4336,15 +3803,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4357,15 +3820,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -4373,48 +3832,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the entity was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> 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_; @@ -4422,58 +3869,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 time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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 time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4489,17 +3917,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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(); } else { @@ -4510,21 +3935,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4537,15 +3958,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4558,15 +3975,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -4574,48 +3987,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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 time when the entity was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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_; @@ -4623,8 +4024,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object id_ = ""; /** - * - * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4634,13 +4033,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -4649,8 +4048,6 @@ public java.lang.String getId() { } } /** - * - * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4660,14 +4057,15 @@ public java.lang.String getId() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -4675,8 +4073,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4686,22 +4082,18 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4711,7 +4103,6 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { @@ -4721,8 +4112,6 @@ public Builder clearId() { return this; } /** - * - * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4732,14 +4121,12 @@ public Builder clearId() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000020; @@ -4749,21 +4136,19 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4772,22 +4157,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -4795,37 +4179,30 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4835,22 +4212,18 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000040; @@ -4860,33 +4233,22 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Immutable. The type of entity.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. The type of entity.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4897,35 +4259,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The type of entity.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.Type getType() { - com.google.cloud.dataplex.v1.Entity.Type result = - com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Entity.Type result = com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Entity.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The type of entity.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -4939,16 +4290,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Entity.Type value) { return this; } /** - * - * *
      * Required. Immutable. The type of entity.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -4960,24 +4306,20 @@ public Builder clearType() { private java.lang.Object asset_ = ""; /** - * - * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -4986,25 +4328,22 @@ public java.lang.String getAsset() { } } /** - * - * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for asset. */ - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -5012,43 +4351,32 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } asset_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearAsset() { @@ -5058,25 +4386,19 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000100; @@ -5086,8 +4408,6 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataPath_ = ""; /** - * - * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -5096,16 +4416,14 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The dataPath. */ public java.lang.String getDataPath() { java.lang.Object ref = dataPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPath_ = s; return s; @@ -5114,8 +4432,6 @@ public java.lang.String getDataPath() { } } /** - * - * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -5124,17 +4440,16 @@ public java.lang.String getDataPath() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for dataPath. */ - public com.google.protobuf.ByteString getDataPathBytes() { + public com.google.protobuf.ByteString + getDataPathBytes() { java.lang.Object ref = dataPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataPath_ = b; return b; } else { @@ -5142,8 +4457,6 @@ public com.google.protobuf.ByteString getDataPathBytes() { } } /** - * - * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -5152,25 +4465,19 @@ public com.google.protobuf.ByteString getDataPathBytes() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The dataPath to set. * @return This builder for chaining. */ - public Builder setDataPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataPath_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -5179,10 +4486,7 @@ public Builder setDataPath(java.lang.String value) {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDataPath() { @@ -5192,8 +4496,6 @@ public Builder clearDataPath() { return this; } /** - * - * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -5202,17 +4504,13 @@ public Builder clearDataPath() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for dataPath to set. * @return This builder for chaining. */ - public Builder setDataPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataPath_ = value; bitField0_ |= 0x00000200; @@ -5222,8 +4520,6 @@ public Builder setDataPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataPathPattern_ = ""; /** - * - * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -5231,13 +4527,13 @@ public Builder setDataPathBytes(com.google.protobuf.ByteString value) {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dataPathPattern. */ public java.lang.String getDataPathPattern() { java.lang.Object ref = dataPathPattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPathPattern_ = s; return s; @@ -5246,8 +4542,6 @@ public java.lang.String getDataPathPattern() { } } /** - * - * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -5255,14 +4549,15 @@ public java.lang.String getDataPathPattern() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for dataPathPattern. */ - public com.google.protobuf.ByteString getDataPathPatternBytes() { + public com.google.protobuf.ByteString + getDataPathPatternBytes() { java.lang.Object ref = dataPathPattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataPathPattern_ = b; return b; } else { @@ -5270,8 +4565,6 @@ public com.google.protobuf.ByteString getDataPathPatternBytes() { } } /** - * - * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -5279,22 +4572,18 @@ public com.google.protobuf.ByteString getDataPathPatternBytes() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The dataPathPattern to set. * @return This builder for chaining. */ - public Builder setDataPathPattern(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataPathPattern( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataPathPattern_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -5302,7 +4591,6 @@ public Builder setDataPathPattern(java.lang.String value) {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDataPathPattern() { @@ -5312,8 +4600,6 @@ public Builder clearDataPathPattern() { return this; } /** - * - * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -5321,14 +4607,12 @@ public Builder clearDataPathPattern() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for dataPathPattern to set. * @return This builder for chaining. */ - public Builder setDataPathPatternBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataPathPatternBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataPathPattern_ = value; bitField0_ |= 0x00000400; @@ -5338,20 +4622,18 @@ public Builder setDataPathPatternBytes(com.google.protobuf.ByteString value) { private java.lang.Object catalogEntry_ = ""; /** - * - * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The catalogEntry. */ public java.lang.String getCatalogEntry() { java.lang.Object ref = catalogEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalogEntry_ = s; return s; @@ -5360,21 +4642,20 @@ public java.lang.String getCatalogEntry() { } } /** - * - * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for catalogEntry. */ - public com.google.protobuf.ByteString getCatalogEntryBytes() { + public com.google.protobuf.ByteString + getCatalogEntryBytes() { java.lang.Object ref = catalogEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); catalogEntry_ = b; return b; } else { @@ -5382,35 +4663,28 @@ public com.google.protobuf.ByteString getCatalogEntryBytes() { } } /** - * - * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The catalogEntry to set. * @return This builder for chaining. */ - public Builder setCatalogEntry(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCatalogEntry( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } catalogEntry_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCatalogEntry() { @@ -5420,21 +4694,17 @@ public Builder clearCatalogEntry() { return this; } /** - * - * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for catalogEntry to set. * @return This builder for chaining. */ - public Builder setCatalogEntryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCatalogEntryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); catalogEntry_ = value; bitField0_ |= 0x00000800; @@ -5444,33 +4714,22 @@ public Builder setCatalogEntryBytes(com.google.protobuf.ByteString value) { private int system_ = 0; /** - * - * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for system. */ - @java.lang.Override - public int getSystemValue() { + @java.lang.Override public int getSystemValue() { return system_; } /** - * - * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for system to set. * @return This builder for chaining. */ @@ -5481,35 +4740,24 @@ public Builder setSystemValue(int value) { return this; } /** - * - * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The system. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageSystem getSystem() { - com.google.cloud.dataplex.v1.StorageSystem result = - com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); + com.google.cloud.dataplex.v1.StorageSystem result = com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); return result == null ? com.google.cloud.dataplex.v1.StorageSystem.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The system to set. * @return This builder for chaining. */ @@ -5523,16 +4771,11 @@ public Builder setSystem(com.google.cloud.dataplex.v1.StorageSystem value) { return this; } /** - * - * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearSystem() { @@ -5544,61 +4787,42 @@ public Builder clearSystem() { private com.google.cloud.dataplex.v1.StorageFormat format_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, - com.google.cloud.dataplex.v1.StorageFormat.Builder, - com.google.cloud.dataplex.v1.StorageFormatOrBuilder> - formatBuilder_; + com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder> formatBuilder_; /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the format field is set. */ public boolean hasFormat() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The format. */ public com.google.cloud.dataplex.v1.StorageFormat getFormat() { if (formatBuilder_ == null) { - return format_ == null - ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() - : format_; + return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; } else { return formatBuilder_.getMessage(); } } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat value) { if (formatBuilder_ == null) { @@ -5614,18 +4838,15 @@ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat value) { return this; } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat.Builder builderForValue) { + public Builder setFormat( + com.google.cloud.dataplex.v1.StorageFormat.Builder builderForValue) { if (formatBuilder_ == null) { format_ = builderForValue.build(); } else { @@ -5636,22 +4857,18 @@ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat.Builder buil return this; } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFormat(com.google.cloud.dataplex.v1.StorageFormat value) { if (formatBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && format_ != null - && format_ != com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + format_ != null && + format_ != com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance()) { getFormatBuilder().mergeFrom(value); } else { format_ = value; @@ -5664,16 +4881,12 @@ public Builder mergeFormat(com.google.cloud.dataplex.v1.StorageFormat value) { return this; } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00002000); @@ -5686,16 +4899,12 @@ public Builder clearFormat() { return this; } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.StorageFormat.Builder getFormatBuilder() { bitField0_ |= 0x00002000; @@ -5703,50 +4912,38 @@ public com.google.cloud.dataplex.v1.StorageFormat.Builder getFormatBuilder() { return getFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() { if (formatBuilder_ != null) { return formatBuilder_.getMessageOrBuilder(); } else { - return format_ == null - ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() - : format_; + return format_ == null ? + com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; } } /** - * - * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, - com.google.cloud.dataplex.v1.StorageFormat.Builder, - com.google.cloud.dataplex.v1.StorageFormatOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder> getFormatFieldBuilder() { if (formatBuilder_ == null) { - formatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, - com.google.cloud.dataplex.v1.StorageFormat.Builder, - com.google.cloud.dataplex.v1.StorageFormatOrBuilder>( - getFormat(), getParentForChildren(), isClean()); + formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder>( + getFormat(), + getParentForChildren(), + isClean()); format_ = null; } return formatBuilder_; @@ -5754,58 +4951,39 @@ public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> - compatibilityBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> compatibilityBuilder_; /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the compatibility field is set. */ public boolean hasCompatibility() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The compatibility. */ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility() { if (compatibilityBuilder_ == null) { - return compatibility_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() - : compatibility_; + return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; } else { return compatibilityBuilder_.getMessage(); } } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompatibility(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { if (compatibilityBuilder_ == null) { @@ -5821,15 +4999,11 @@ public Builder setCompatibility(com.google.cloud.dataplex.v1.Entity.Compatibilit return this; } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompatibility( com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder builderForValue) { @@ -5843,23 +5017,17 @@ public Builder setCompatibility( return this; } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeCompatibility( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { + public Builder mergeCompatibility(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { if (compatibilityBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && compatibility_ != null - && compatibility_ - != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + compatibility_ != null && + compatibility_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) { getCompatibilityBuilder().mergeFrom(value); } else { compatibility_ = value; @@ -5872,15 +5040,11 @@ public Builder mergeCompatibility( return this; } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCompatibility() { bitField0_ = (bitField0_ & ~0x00004000); @@ -5893,66 +5057,48 @@ public Builder clearCompatibility() { return this; } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder - getCompatibilityBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder getCompatibilityBuilder() { bitField0_ |= 0x00004000; onChanged(); return getCompatibilityFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder - getCompatibilityOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder() { if (compatibilityBuilder_ != null) { return compatibilityBuilder_.getMessageOrBuilder(); } else { - return compatibility_ == null - ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() - : compatibility_; + return compatibility_ == null ? + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; } } /** - * - * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> getCompatibilityFieldBuilder() { if (compatibilityBuilder_ == null) { - compatibilityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, - com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder>( - getCompatibility(), getParentForChildren(), isClean()); + compatibilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder>( + getCompatibility(), + getParentForChildren(), + isClean()); compatibility_ = null; } return compatibilityBuilder_; @@ -5960,61 +5106,42 @@ public Builder clearCompatibility() { private com.google.cloud.dataplex.v1.StorageAccess access_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, - com.google.cloud.dataplex.v1.StorageAccess.Builder, - com.google.cloud.dataplex.v1.StorageAccessOrBuilder> - accessBuilder_; + com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder> accessBuilder_; /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the access field is set. */ public boolean hasAccess() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The access. */ public com.google.cloud.dataplex.v1.StorageAccess getAccess() { if (accessBuilder_ == null) { - return access_ == null - ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() - : access_; + return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; } else { return accessBuilder_.getMessage(); } } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess value) { if (accessBuilder_ == null) { @@ -6030,18 +5157,15 @@ public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess value) { return this; } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess.Builder builderForValue) { + public Builder setAccess( + com.google.cloud.dataplex.v1.StorageAccess.Builder builderForValue) { if (accessBuilder_ == null) { access_ = builderForValue.build(); } else { @@ -6052,22 +5176,18 @@ public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess.Builder buil return this; } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeAccess(com.google.cloud.dataplex.v1.StorageAccess value) { if (accessBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && access_ != null - && access_ != com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + access_ != null && + access_ != com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance()) { getAccessBuilder().mergeFrom(value); } else { access_ = value; @@ -6080,16 +5200,12 @@ public Builder mergeAccess(com.google.cloud.dataplex.v1.StorageAccess value) { return this; } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAccess() { bitField0_ = (bitField0_ & ~0x00008000); @@ -6102,16 +5218,12 @@ public Builder clearAccess() { return this; } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.StorageAccess.Builder getAccessBuilder() { bitField0_ |= 0x00008000; @@ -6119,50 +5231,38 @@ public com.google.cloud.dataplex.v1.StorageAccess.Builder getAccessBuilder() { return getAccessFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() { if (accessBuilder_ != null) { return accessBuilder_.getMessageOrBuilder(); } else { - return access_ == null - ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() - : access_; + return access_ == null ? + com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; } } /** - * - * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, - com.google.cloud.dataplex.v1.StorageAccess.Builder, - com.google.cloud.dataplex.v1.StorageAccessOrBuilder> + com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder> getAccessFieldBuilder() { if (accessBuilder_ == null) { - accessBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, - com.google.cloud.dataplex.v1.StorageAccess.Builder, - com.google.cloud.dataplex.v1.StorageAccessOrBuilder>( - getAccess(), getParentForChildren(), isClean()); + accessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder>( + getAccess(), + getParentForChildren(), + isClean()); access_ = null; } return accessBuilder_; @@ -6170,21 +5270,19 @@ public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6193,22 +5291,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6216,37 +5313,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** - * - * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -6256,22 +5346,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00010000; @@ -6281,39 +5367,28 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, - com.google.cloud.dataplex.v1.Schema.Builder, - com.google.cloud.dataplex.v1.SchemaOrBuilder> - schemaBuilder_; + com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder> schemaBuilder_; /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return The schema. */ public com.google.cloud.dataplex.v1.Schema getSchema() { @@ -6324,16 +5399,13 @@ public com.google.cloud.dataplex.v1.Schema getSchema() { } } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSchema(com.google.cloud.dataplex.v1.Schema value) { if (schemaBuilder_ == null) { @@ -6349,18 +5421,16 @@ public Builder setSchema(com.google.cloud.dataplex.v1.Schema value) { return this; } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSchema(com.google.cloud.dataplex.v1.Schema.Builder builderForValue) { + public Builder setSchema( + com.google.cloud.dataplex.v1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -6371,22 +5441,19 @@ public Builder setSchema(com.google.cloud.dataplex.v1.Schema.Builder builderForV return this; } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSchema(com.google.cloud.dataplex.v1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && schema_ != null - && schema_ != com.google.cloud.dataplex.v1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + schema_ != null && + schema_ != com.google.cloud.dataplex.v1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -6399,16 +5466,13 @@ public Builder mergeSchema(com.google.cloud.dataplex.v1.Schema value) { return this; } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00020000); @@ -6421,16 +5485,13 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00020000; @@ -6438,55 +5499,47 @@ public com.google.cloud.dataplex.v1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null ? com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; + return schema_ == null ? + com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; } } /** - * - * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, - com.google.cloud.dataplex.v1.Schema.Builder, - com.google.cloud.dataplex.v1.SchemaOrBuilder> + com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, - com.google.cloud.dataplex.v1.Schema.Builder, - com.google.cloud.dataplex.v1.SchemaOrBuilder>( - getSchema(), getParentForChildren(), isClean()); + schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder>( + getSchema(), + getParentForChildren(), + isClean()); schema_ = null; } return schemaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6496,12 +5549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity) private static final com.google.cloud.dataplex.v1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity(); } @@ -6510,27 +5563,27 @@ public static com.google.cloud.dataplex.v1.Entity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6545,4 +5598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java index 0584fc2e445b..ef26c65db23b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java @@ -1,190 +1,131 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -194,13 +135,10 @@ public interface EntityOrBuilder
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -210,103 +148,77 @@ public interface EntityOrBuilder
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Required. Immutable. The type of entity.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Immutable. The type of entity.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.dataplex.v1.Entity.Type getType(); /** - * - * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The asset. */ java.lang.String getAsset(); /** - * - * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); /** - * - * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -315,16 +227,11 @@ public interface EntityOrBuilder
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The dataPath. */ java.lang.String getDataPath(); /** - * - * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -333,17 +240,13 @@ public interface EntityOrBuilder
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for dataPath. */ - com.google.protobuf.ByteString getDataPathBytes(); + com.google.protobuf.ByteString + getDataPathBytes(); /** - * - * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -351,13 +254,10 @@ public interface EntityOrBuilder
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dataPathPattern. */ java.lang.String getDataPathPattern(); /** - * - * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -365,262 +265,189 @@ public interface EntityOrBuilder
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for dataPathPattern. */ - com.google.protobuf.ByteString getDataPathPatternBytes(); + com.google.protobuf.ByteString + getDataPathPatternBytes(); /** - * - * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The catalogEntry. */ java.lang.String getCatalogEntry(); /** - * - * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for catalogEntry. */ - com.google.protobuf.ByteString getCatalogEntryBytes(); + com.google.protobuf.ByteString + getCatalogEntryBytes(); /** - * - * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for system. */ int getSystemValue(); /** - * - * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The system. */ com.google.cloud.dataplex.v1.StorageSystem getSystem(); /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the format field is set. */ boolean hasFormat(); /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The format. */ com.google.cloud.dataplex.v1.StorageFormat getFormat(); /** - * - * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder(); /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the compatibility field is set. */ boolean hasCompatibility(); /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The compatibility. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility(); /** - * - * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder(); /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the access field is set. */ boolean hasAccess(); /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The access. */ com.google.cloud.dataplex.v1.StorageAccess getAccess(); /** - * - * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder(); /** - * - * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the schema field is set. */ boolean hasSchema(); /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; * @return The schema. */ com.google.cloud.dataplex.v1.Schema getSchema(); /** - * - * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java index c81358b0b3c1..70762259875f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Environment represents a user-visible compute infrastructure for analytics
  * within a lake.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Environment}
  */
-public final class Environment extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Environment extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment)
     EnvironmentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Environment.newBuilder() to construct.
   private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Environment() {
     name_ = "";
     displayName_ = "";
@@ -48,275 +30,223 @@ private Environment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Environment();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.AnalyzeProto
-        .internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.AnalyzeProto
-        .internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Environment.class,
-            com.google.cloud.dataplex.v1.Environment.Builder.class);
+            com.google.cloud.dataplex.v1.Environment.class, com.google.cloud.dataplex.v1.Environment.Builder.class);
   }
 
-  public interface InfrastructureSpecOrBuilder
-      extends
+  public interface InfrastructureSpecOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the compute field is set. */ boolean hasCompute(); /** - * - * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return The compute. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute(); /** - * - * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder - getComputeOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder(); /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osImage field is set. */ boolean hasOsImage(); /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The osImage. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage(); /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder - getOsImageOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder(); com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ResourcesCase getResourcesCase(); com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.RuntimeCase getRuntimeCase(); } /** - * - * *
    * Configuration for the underlying infrastructure used to run workloads.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec} */ - public static final class InfrastructureSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InfrastructureSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec) InfrastructureSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfrastructureSpec.newBuilder() to construct. private InfrastructureSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InfrastructureSpec() {} + private InfrastructureSpec() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfrastructureSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); } - public interface ComputeResourcesOrBuilder - extends + public interface ComputeResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Size in GB of the disk. Default is 100 GB.
        * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
        * Optional. Total number of nodes in the sessions created for this
        * environment.
        * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
        * Optional. Max configurable nodes.
        * If max_node_count > node_count, then auto-scaling is enabled.
        * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxNodeCount. */ int getMaxNodeCount(); } /** - * - * *
      * Compute resources associated with the analyze interactive workloads.
      * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} + * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} */ - public static final class ComputeResources extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ComputeResources extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) ComputeResourcesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeResources.newBuilder() to construct. private ComputeResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ComputeResources() {} + private ComputeResources() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeResources(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder - .class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder.class); } public static final int DISK_SIZE_GB_FIELD_NUMBER = 1; private int diskSizeGb_ = 0; /** - * - * *
        * Optional. Size in GB of the disk. Default is 100 GB.
        * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ @java.lang.Override @@ -327,15 +257,12 @@ public int getDiskSizeGb() { public static final int NODE_COUNT_FIELD_NUMBER = 2; private int nodeCount_ = 0; /** - * - * *
        * Optional. Total number of nodes in the sessions created for this
        * environment.
        * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The nodeCount. */ @java.lang.Override @@ -346,15 +273,12 @@ public int getNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_ = 0; /** - * - * *
        * Optional. Max configurable nodes.
        * If max_node_count > node_count, then auto-scaling is enabled.
        * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -363,7 +287,6 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,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 (diskSizeGb_ != 0) { output.writeInt32(1, diskSizeGb_); } @@ -395,13 +319,16 @@ public int getSerializedSize() { size = 0; if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, diskSizeGb_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, nodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -411,19 +338,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other = - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) obj; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (getNodeCount() != other.getNodeCount()) return false; - if (getMaxNodeCount() != other.getMaxNodeCount()) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; + if (getMaxNodeCount() + != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -446,103 +373,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -552,45 +466,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Compute resources associated with the analyze interactive workloads.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} + * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -602,23 +510,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - build() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = - buildPartial(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources build() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -626,20 +530,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = - new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources buildPartial() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.diskSizeGb_ = diskSizeGb_; @@ -656,56 +554,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - other); + if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) { + return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other) { - if (other - == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other) { + if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance()) return this; if (other.getDiskSizeGb() != 0) { setDiskSizeGb(other.getDiskSizeGb()); } @@ -741,31 +629,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - diskSizeGb_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - maxNodeCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + diskSizeGb_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + maxNodeCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -775,19 +659,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ @java.lang.Override @@ -795,14 +675,11 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ @@ -814,14 +691,11 @@ public Builder setDiskSizeGb(int value) { return this; } /** - * - * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { @@ -831,17 +705,14 @@ public Builder clearDiskSizeGb() { return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The nodeCount. */ @java.lang.Override @@ -849,15 +720,12 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -869,15 +737,12 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -887,17 +752,14 @@ public Builder clearNodeCount() { return this; } - private int maxNodeCount_; + private int maxNodeCount_ ; /** - * - * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -905,15 +767,12 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** - * - * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -925,15 +784,12 @@ public Builder setMaxNodeCount(int value) { return this; } /** - * - * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -942,7 +798,6 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -955,46 +810,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .ComputeResources - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,45 +856,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OsImageRuntimeOrBuilder - extends + public interface OsImageRuntimeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1052,13 +894,11 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the javaLibraries. */ - java.util.List getJavaLibrariesList(); + java.util.List + getJavaLibrariesList(); /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1066,13 +906,10 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of javaLibraries. */ int getJavaLibrariesCount(); /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1080,14 +917,11 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The javaLibraries at the given index. */ java.lang.String getJavaLibraries(int index); /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1095,15 +929,13 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - com.google.protobuf.ByteString getJavaLibrariesBytes(int index); + com.google.protobuf.ByteString + getJavaLibrariesBytes(int index); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1111,13 +943,11 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the pythonPackages. */ - java.util.List getPythonPackagesList(); + java.util.List + getPythonPackagesList(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1125,13 +955,10 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of pythonPackages. */ int getPythonPackagesCount(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1139,14 +966,11 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ java.lang.String getPythonPackages(int index); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1154,15 +978,13 @@ public interface OsImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - com.google.protobuf.ByteString getPythonPackagesBytes(int index); + com.google.protobuf.ByteString + getPythonPackagesBytes(int index); /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1170,13 +992,10 @@ public interface OsImageRuntimeOrBuilder
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getPropertiesCount(); /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1184,16 +1003,17 @@ public interface OsImageRuntimeOrBuilder
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsProperties( + java.lang.String key); + /** + * Use {@link #getPropertiesMap()} instead. */ - boolean containsProperties(java.lang.String key); - /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated - java.util.Map getProperties(); + java.util.Map + getProperties(); /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1201,13 +1021,11 @@ public interface OsImageRuntimeOrBuilder
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getPropertiesMap(); + java.util.Map + getPropertiesMap(); /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1215,17 +1033,14 @@ public interface OsImageRuntimeOrBuilder
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getPropertiesOrDefault( +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1233,82 +1048,76 @@ java.lang.String getPropertiesOrDefault(
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getPropertiesOrThrow(java.lang.String key); + java.lang.String getPropertiesOrThrow( + java.lang.String key); } /** - * - * *
      * Software Runtime Configuration to run Analyze.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} */ - public static final class OsImageRuntime extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OsImageRuntime extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) OsImageRuntimeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsImageRuntime.newBuilder() to construct. private OsImageRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OsImageRuntime() { imageVersion_ = ""; - javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + javaLibraries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OsImageRuntime(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_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 4: return internalGetProperties(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder - .class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder.class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object imageVersion_ = ""; /** - * - * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageVersion. */ @java.lang.Override @@ -1317,29 +1126,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1348,13 +1157,10 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } public static final int JAVA_LIBRARIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1362,15 +1168,13 @@ public com.google.protobuf.ByteString getImageVersionBytes() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the javaLibraries. */ - public com.google.protobuf.ProtocolStringList getJavaLibrariesList() { + public com.google.protobuf.ProtocolStringList + getJavaLibrariesList() { return javaLibraries_; } /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1378,15 +1182,12 @@ public com.google.protobuf.ProtocolStringList getJavaLibrariesList() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of javaLibraries. */ public int getJavaLibrariesCount() { return javaLibraries_.size(); } /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1394,7 +1195,6 @@ public int getJavaLibrariesCount() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The javaLibraries at the given index. */ @@ -1402,8 +1202,6 @@ public java.lang.String getJavaLibraries(int index) { return javaLibraries_.get(index); } /** - * - * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1411,22 +1209,19 @@ public java.lang.String getJavaLibraries(int index) {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) { + public com.google.protobuf.ByteString + getJavaLibrariesBytes(int index) { return javaLibraries_.getByteString(index); } public static final int PYTHON_PACKAGES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1434,15 +1229,13 @@ public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList + getPythonPackagesList() { return pythonPackages_; } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1450,15 +1243,12 @@ public com.google.protobuf.ProtocolStringList getPythonPackagesList() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1466,7 +1256,6 @@ public int getPythonPackagesCount() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -1474,8 +1263,6 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1483,45 +1270,41 @@ public java.lang.String getPythonPackages(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString + getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } public static final int PROPERTIES_FIELD_NUMBER = 4; - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField properties_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } - public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1529,25 +1312,23 @@ public int getPropertiesCount() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1555,16 +1336,13 @@ public java.util.Map getProperties() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1572,23 +1350,20 @@ public java.util.Map getPropertiesMap() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getPropertiesOrDefault( + public /* nullable */ +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1596,15 +1371,14 @@ public java.util.Map getPropertiesMap() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1612,7 +1386,6 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1624,7 +1397,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } @@ -1634,8 +1408,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < pythonPackages_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pythonPackages_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetProperties(), + PropertiesDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -1664,15 +1442,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPythonPackagesList().size(); } - for (java.util.Map.Entry entry : - internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry properties__ = - PropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, properties__); + for (java.util.Map.Entry entry + : internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, properties__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1682,20 +1460,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other = - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) obj; - if (!getImageVersion().equals(other.getImageVersion())) return false; - if (!getJavaLibrariesList().equals(other.getJavaLibrariesList())) return false; - if (!getPythonPackagesList().equals(other.getPythonPackagesList())) return false; - if (!internalGetProperties().equals(other.internalGetProperties())) return false; + if (!getImageVersion() + .equals(other.getImageVersion())) return false; + if (!getJavaLibrariesList() + .equals(other.getJavaLibrariesList())) return false; + if (!getPythonPackagesList() + .equals(other.getPythonPackagesList())) return false; + if (!internalGetProperties().equals( + other.internalGetProperties())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1726,103 +1505,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1832,92 +1598,88 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Software Runtime Configuration to run Analyze.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} + * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetProperties(); 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 4: return internalGetMutableProperties(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder - .class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; imageVersion_ = ""; - javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + javaLibraries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableProperties().clear(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime build() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = - buildPartial(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1925,19 +1687,14 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntim } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = - new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime buildPartial() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.imageVersion_ = imageVersion_; @@ -1960,55 +1717,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) other); + if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) { + return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other) { - if (other - == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other) { + if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance()) return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; bitField0_ |= 0x00000001; @@ -2034,7 +1782,8 @@ public Builder mergeFrom( } onChanged(); } - internalGetMutableProperties().mergeFrom(other.internalGetProperties()); + internalGetMutableProperties().mergeFrom( + other.internalGetProperties()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2062,45 +1811,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - imageVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureJavaLibrariesIsMutable(); - javaLibraries_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePythonPackagesIsMutable(); - pythonPackages_.add(s); - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry properties__ = - input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableProperties() - .getMutableMap() - .put(properties__.getKey(), properties__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + imageVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureJavaLibrariesIsMutable(); + javaLibraries_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePythonPackagesIsMutable(); + pythonPackages_.add(s); + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableProperties().getMutableMap().put( + properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2110,25 +1852,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object imageVersion_ = ""; /** - * - * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -2137,21 +1876,20 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -2159,35 +1897,28 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } imageVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearImageVersion() { @@ -2197,21 +1928,17 @@ public Builder clearImageVersion() { return this; } /** - * - * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); imageVersion_ = value; bitField0_ |= 0x00000001; @@ -2221,7 +1948,6 @@ public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureJavaLibrariesIsMutable() { if (!javaLibraries_.isModifiable()) { javaLibraries_ = new com.google.protobuf.LazyStringArrayList(javaLibraries_); @@ -2229,52 +1955,41 @@ private void ensureJavaLibrariesIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the javaLibraries. */ - public com.google.protobuf.ProtocolStringList getJavaLibrariesList() { + public com.google.protobuf.ProtocolStringList + getJavaLibrariesList() { javaLibraries_.makeImmutable(); return javaLibraries_; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of javaLibraries. */ public int getJavaLibrariesCount() { return javaLibraries_.size(); } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The javaLibraries at the given index. */ @@ -2282,43 +1997,35 @@ public java.lang.String getJavaLibraries(int index) { return javaLibraries_.get(index); } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) { + public com.google.protobuf.ByteString + getJavaLibrariesBytes(int index) { return javaLibraries_.getByteString(index); } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The javaLibraries to set. * @return This builder for chaining. */ - public Builder setJavaLibraries(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJavaLibraries( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureJavaLibrariesIsMutable(); javaLibraries_.set(index, value); bitField0_ |= 0x00000002; @@ -2326,24 +2033,19 @@ public Builder setJavaLibraries(int index, java.lang.String value) { return this; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The javaLibraries to add. * @return This builder for chaining. */ - public Builder addJavaLibraries(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addJavaLibraries( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureJavaLibrariesIsMutable(); javaLibraries_.add(value); bitField0_ |= 0x00000002; @@ -2351,67 +2053,56 @@ public Builder addJavaLibraries(java.lang.String value) { return this; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param values The javaLibraries to add. * @return This builder for chaining. */ - public Builder addAllJavaLibraries(java.lang.Iterable values) { + public Builder addAllJavaLibraries( + java.lang.Iterable values) { ensureJavaLibrariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, javaLibraries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, javaLibraries_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearJavaLibraries() { - javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + javaLibraries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the javaLibraries to add. * @return This builder for chaining. */ - public Builder addJavaLibrariesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addJavaLibrariesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureJavaLibrariesIsMutable(); javaLibraries_.add(value); @@ -2422,7 +2113,6 @@ public Builder addJavaLibrariesBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePythonPackagesIsMutable() { if (!pythonPackages_.isModifiable()) { pythonPackages_ = new com.google.protobuf.LazyStringArrayList(pythonPackages_); @@ -2430,52 +2120,41 @@ private void ensurePythonPackagesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList + getPythonPackagesList() { pythonPackages_.makeImmutable(); return pythonPackages_; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -2483,43 +2162,35 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString + getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The pythonPackages to set. * @return This builder for chaining. */ - public Builder setPythonPackages(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPythonPackages( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePythonPackagesIsMutable(); pythonPackages_.set(index, value); bitField0_ |= 0x00000004; @@ -2527,24 +2198,19 @@ public Builder setPythonPackages(int index, java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackages(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPythonPackages( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePythonPackagesIsMutable(); pythonPackages_.add(value); bitField0_ |= 0x00000004; @@ -2552,67 +2218,56 @@ public Builder addPythonPackages(java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The pythonPackages to add. * @return This builder for chaining. */ - public Builder addAllPythonPackages(java.lang.Iterable values) { + public Builder addAllPythonPackages( + java.lang.Iterable values) { ensurePythonPackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pythonPackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pythonPackages_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPythonPackages() { - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPythonPackagesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePythonPackagesIsMutable(); pythonPackages_.add(value); @@ -2621,8 +2276,8 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField properties_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { @@ -2631,12 +2286,11 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { } return properties_; } - private com.google.protobuf.MapField internalGetMutableProperties() { if (properties_ == null) { - properties_ = - com.google.protobuf.MapField.newMapField(PropertiesDefaultEntryHolder.defaultEntry); + properties_ = com.google.protobuf.MapField.newMapField( + PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); @@ -2645,13 +2299,10 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { onChanged(); return properties_; } - public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2659,25 +2310,23 @@ public int getPropertiesCount() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2685,16 +2334,13 @@ public java.util.Map getProperties() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2702,23 +2348,20 @@ public java.util.Map getPropertiesMap() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getPropertiesOrDefault( + public /* nullable */ +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2726,29 +2369,26 @@ public java.util.Map getPropertiesMap() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearProperties() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableProperties().getMutableMap().clear(); + internalGetMutableProperties().getMutableMap() + .clear(); return this; } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2756,25 +2396,25 @@ public Builder clearProperties() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().getMutableMap().remove(key); + public Builder removeProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableProperties().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableProperties() { + public java.util.Map + getMutableProperties() { bitField0_ |= 0x00000008; return internalGetMutableProperties().getMutableMap(); } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2782,23 +2422,19 @@ public java.util.Map getMutableProperties()
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putProperties(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableProperties().getMutableMap().put(key, value); + public Builder putProperties( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableProperties().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2806,15 +2442,15 @@ public Builder putProperties(java.lang.String key, java.lang.String value) {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllProperties(java.util.Map values) { - internalGetMutableProperties().getMutableMap().putAll(values); + public Builder putAllProperties( + java.util.Map values) { + internalGetMutableProperties().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2827,46 +2463,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .OsImageRuntime - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsImageRuntime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsImageRuntime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2878,25 +2509,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourcesCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object resources_; - public enum ResourcesCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE(50), RESOURCES_NOT_SET(0); private final int value; - private ResourcesCase(int value) { this.value = value; } @@ -2912,37 +2539,31 @@ public static ResourcesCase valueOf(int value) { public static ResourcesCase forNumber(int value) { switch (value) { - case 50: - return COMPUTE; - case 0: - return RESOURCES_NOT_SET; - default: - return null; + case 50: return COMPUTE; + case 0: return RESOURCES_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourcesCase getResourcesCase() { - return ResourcesCase.forNumber(resourcesCase_); + public ResourcesCase + getResourcesCase() { + return ResourcesCase.forNumber( + resourcesCase_); } private int runtimeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object runtime_; - public enum RuntimeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OS_IMAGE(100), RUNTIME_NOT_SET(0); private final int value; - private RuntimeCase(int value) { this.value = value; } @@ -2958,36 +2579,29 @@ public static RuntimeCase valueOf(int value) { public static RuntimeCase forNumber(int value) { switch (value) { - case 100: - return OS_IMAGE; - case 0: - return RUNTIME_NOT_SET; - default: - return null; + case 100: return OS_IMAGE; + case 0: return RUNTIME_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuntimeCase getRuntimeCase() { - return RuntimeCase.forNumber(runtimeCase_); + public RuntimeCase + getRuntimeCase() { + return RuntimeCase.forNumber( + runtimeCase_); } public static final int COMPUTE_FIELD_NUMBER = 50; /** - * - * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the compute field is set. */ @java.lang.Override @@ -2995,63 +2609,43 @@ public boolean hasCompute() { return resourcesCase_ == 50; } /** - * - * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return The compute. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - getCompute() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute() { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } /** - * - * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder - getComputeOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder() { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } public static final int OS_IMAGE_FIELD_NUMBER = 100; /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osImage field is set. */ @java.lang.Override @@ -3059,53 +2653,38 @@ public boolean hasOsImage() { return runtimeCase_ == 100; } /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The osImage. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage() { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } /** - * - * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder - getOsImageOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder() { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3117,17 +2696,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 (resourcesCase_ == 50) { - output.writeMessage( - 50, - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_); + output.writeMessage(50, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_); } if (runtimeCase_ == 100) { - output.writeMessage( - 100, - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); + output.writeMessage(100, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); } getUnknownFields().writeTo(output); } @@ -3139,18 +2714,12 @@ public int getSerializedSize() { size = 0; if (resourcesCase_ == 50) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 50, - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(50, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_); } if (runtimeCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3160,18 +2729,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other = - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) obj; if (!getResourcesCase().equals(other.getResourcesCase())) return false; switch (resourcesCase_) { case 50: - if (!getCompute().equals(other.getCompute())) return false; + if (!getCompute() + .equals(other.getCompute())) return false; break; case 0: default: @@ -3179,7 +2748,8 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeCase().equals(other.getRuntimeCase())) return false; switch (runtimeCase_) { case 100: - if (!getOsImage().equals(other.getOsImage())) return false; + if (!getOsImage() + .equals(other.getOsImage())) return false; break; case 0: default: @@ -3217,94 +2787,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3314,41 +2879,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the underlying infrastructure used to run workloads.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec) com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3367,14 +2930,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance(); } @@ -3389,31 +2951,28 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result = - new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { + private void buildPartialOneofs(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { result.resourcesCase_ = resourcesCase_; result.resources_ = this.resources_; - if (resourcesCase_ == 50 && computeBuilder_ != null) { + if (resourcesCase_ == 50 && + computeBuilder_ != null) { result.resources_ = computeBuilder_.build(); } result.runtimeCase_ = runtimeCase_; result.runtime_ = this.runtime_; - if (runtimeCase_ == 100 && osImageBuilder_ != null) { + if (runtimeCase_ == 100 && + osImageBuilder_ != null) { result.runtime_ = osImageBuilder_.build(); } } @@ -3422,41 +2981,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec)other); } else { super.mergeFrom(other); return this; @@ -3464,30 +3020,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other) { - if (other - == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) return this; switch (other.getResourcesCase()) { - case COMPUTE: - { - mergeCompute(other.getCompute()); - break; - } - case RESOURCES_NOT_SET: - { - break; - } + case COMPUTE: { + mergeCompute(other.getCompute()); + break; + } + case RESOURCES_NOT_SET: { + break; + } } switch (other.getRuntimeCase()) { - case OS_IMAGE: - { - mergeOsImage(other.getOsImage()); - break; - } - case RUNTIME_NOT_SET: - { - break; - } + case OS_IMAGE: { + mergeOsImage(other.getOsImage()); + break; + } + case RUNTIME_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3515,25 +3065,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 402: - { - input.readMessage(getComputeFieldBuilder().getBuilder(), extensionRegistry); - resourcesCase_ = 50; - break; - } // case 402 - case 802: - { - input.readMessage(getOsImageFieldBuilder().getBuilder(), extensionRegistry); - runtimeCase_ = 100; - break; - } // case 802 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 402: { + input.readMessage( + getComputeFieldBuilder().getBuilder(), + extensionRegistry); + resourcesCase_ = 50; + break; + } // case 402 + case 802: { + input.readMessage( + getOsImageFieldBuilder().getBuilder(), + extensionRegistry); + runtimeCase_ = 100; + break; + } // case 802 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3543,12 +3094,12 @@ public Builder mergeFrom( } // finally return this; } - private int resourcesCase_ = 0; private java.lang.Object resources_; - - public ResourcesCase getResourcesCase() { - return ResourcesCase.forNumber(resourcesCase_); + public ResourcesCase + getResourcesCase() { + return ResourcesCase.forNumber( + resourcesCase_); } public Builder clearResources() { @@ -3560,9 +3111,10 @@ public Builder clearResources() { private int runtimeCase_ = 0; private java.lang.Object runtime_; - - public RuntimeCase getRuntimeCase() { - return RuntimeCase.forNumber(runtimeCase_); + public RuntimeCase + getRuntimeCase() { + return RuntimeCase.forNumber( + runtimeCase_); } public Builder clearRuntime() { @@ -3575,21 +3127,13 @@ public Builder clearRuntime() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> - computeBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> computeBuilder_; /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the compute field is set. */ @java.lang.Override @@ -3597,49 +3141,35 @@ public boolean hasCompute() { return resourcesCase_ == 50; } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; * @return The compute. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - getCompute() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute() { if (computeBuilder_ == null) { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } else { if (resourcesCase_ == 50) { return computeBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCompute( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { + public Builder setCompute(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { if (computeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3653,19 +3183,14 @@ public Builder setCompute( return this; } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCompute( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder builderForValue) { if (computeBuilder_ == null) { resources_ = builderForValue.build(); onChanged(); @@ -3676,31 +3201,18 @@ public Builder setCompute( return this; } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeCompute( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { + public Builder mergeCompute(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { if (computeBuilder_ == null) { - if (resourcesCase_ == 50 - && resources_ - != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance()) { - resources_ = - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .newBuilder( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .ComputeResources) - resources_) - .mergeFrom(value) - .buildPartial(); + if (resourcesCase_ == 50 && + resources_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance()) { + resources_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_) + .mergeFrom(value).buildPartial(); } else { resources_ = value; } @@ -3716,15 +3228,11 @@ public Builder mergeCompute( return this; } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCompute() { if (computeBuilder_ == null) { @@ -3743,76 +3251,50 @@ public Builder clearCompute() { return this; } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder - getComputeBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder getComputeBuilder() { return getComputeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder - getComputeOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder() { if ((resourcesCase_ == 50) && (computeBuilder_ != null)) { return computeBuilder_.getMessageOrBuilder(); } else { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } } /** - * - * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> getComputeFieldBuilder() { if (computeBuilder_ == null) { if (!(resourcesCase_ == 50)) { - resources_ = - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .getDefaultInstance(); + resources_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); } - computeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources - .Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .ComputeResourcesOrBuilder>( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - resources_, + computeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder>( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_, getParentForChildren(), isClean()); resources_ = null; @@ -3823,22 +3305,14 @@ public Builder clearCompute() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> - osImageBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> osImageBuilder_; /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osImage field is set. */ @java.lang.Override @@ -3846,51 +3320,37 @@ public boolean hasOsImage() { return runtimeCase_ == 100; } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The osImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - getOsImage() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage() { if (osImageBuilder_ == null) { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } else { if (runtimeCase_ == 100) { return osImageBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOsImage( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { + public Builder setOsImage(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { if (osImageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3904,20 +3364,15 @@ public Builder setOsImage( return this; } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsImage( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder builderForValue) { if (osImageBuilder_ == null) { runtime_ = builderForValue.build(); onChanged(); @@ -3928,31 +3383,19 @@ public Builder setOsImage( return this; } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOsImage( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { + public Builder mergeOsImage(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { if (osImageBuilder_ == null) { - if (runtimeCase_ == 100 - && runtime_ - != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance()) { - runtime_ = - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .newBuilder( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_) - .mergeFrom(value) - .buildPartial(); + if (runtimeCase_ == 100 && + runtime_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance()) { + runtime_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_) + .mergeFrom(value).buildPartial(); } else { runtime_ = value; } @@ -3968,16 +3411,12 @@ public Builder mergeOsImage( return this; } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsImage() { if (osImageBuilder_ == null) { @@ -3996,79 +3435,53 @@ public Builder clearOsImage() { return this; } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder - getOsImageBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder getOsImageBuilder() { return getOsImageFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder - getOsImageOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder() { if ((runtimeCase_ == 100) && (osImageBuilder_ != null)) { return osImageBuilder_.getMessageOrBuilder(); } else { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } } /** - * - * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> getOsImageFieldBuilder() { if (osImageBuilder_ == null) { if (!(runtimeCase_ == 100)) { - runtime_ = - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .getDefaultInstance(); + runtime_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); } - osImageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime - .Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .OsImageRuntimeOrBuilder>( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - runtime_, + osImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder>( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_, getParentForChildren(), isClean()); runtime_ = null; @@ -4077,7 +3490,6 @@ public Builder clearOsImage() { onChanged(); return osImageBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4090,13 +3502,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(); } @@ -4105,28 +3516,27 @@ public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfrastructureSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfrastructureSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4141,60 +3551,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SessionSpecOrBuilder - extends + public interface SessionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.SessionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxIdleDuration field is set. */ boolean hasMaxIdleDuration(); /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxIdleDuration. */ com.google.protobuf.Duration getMaxIdleDuration(); /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder(); /** - * - * *
      * Optional. If True, this causes sessions to be pre-created and available
      * for faster startup to enable interactive exploration use-cases. This
@@ -4204,67 +3598,58 @@ public interface SessionSpecOrBuilder
      * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableFastStartup. */ boolean getEnableFastStartup(); } /** - * - * *
    * Configuration for sessions created for this environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionSpec} */ - public static final class SessionSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SessionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.SessionSpec) SessionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SessionSpec.newBuilder() to construct. private SessionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SessionSpec() {} + private SessionSpec() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SessionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionSpec.class, - com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionSpec.class, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); } public static final int MAX_IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration maxIdleDuration_; /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxIdleDuration field is set. */ @java.lang.Override @@ -4272,49 +3657,34 @@ public boolean hasMaxIdleDuration() { return maxIdleDuration_ != null; } /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxIdleDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxIdleDuration() { - return maxIdleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxIdleDuration_; + return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; } /** - * - * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() { - return maxIdleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxIdleDuration_; + return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; } public static final int ENABLE_FAST_STARTUP_FIELD_NUMBER = 2; private boolean enableFastStartup_ = false; /** - * - * *
      * Optional. If True, this causes sessions to be pre-created and available
      * for faster startup to enable interactive exploration use-cases. This
@@ -4324,7 +3694,6 @@ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() {
      * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableFastStartup. */ @java.lang.Override @@ -4333,7 +3702,6 @@ public boolean getEnableFastStartup() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4345,7 +3713,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxIdleDuration_ != null) { output.writeMessage(1, getMaxIdleDuration()); } @@ -4362,10 +3731,12 @@ public int getSerializedSize() { size = 0; if (maxIdleDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMaxIdleDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMaxIdleDuration()); } if (enableFastStartup_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableFastStartup_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enableFastStartup_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4375,19 +3746,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.SessionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.SessionSpec other = - (com.google.cloud.dataplex.v1.Environment.SessionSpec) obj; + com.google.cloud.dataplex.v1.Environment.SessionSpec other = (com.google.cloud.dataplex.v1.Environment.SessionSpec) obj; if (hasMaxIdleDuration() != other.hasMaxIdleDuration()) return false; if (hasMaxIdleDuration()) { - if (!getMaxIdleDuration().equals(other.getMaxIdleDuration())) return false; + if (!getMaxIdleDuration() + .equals(other.getMaxIdleDuration())) return false; } - if (getEnableFastStartup() != other.getEnableFastStartup()) return false; + if (getEnableFastStartup() + != other.getEnableFastStartup()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4404,101 +3776,97 @@ public int hashCode() { hash = (53 * hash) + getMaxIdleDuration().hashCode(); } hash = (37 * hash) + ENABLE_FAST_STARTUP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFastStartup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableFastStartup()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Environment.SessionSpec prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.SessionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4508,41 +3876,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for sessions created for this environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.SessionSpec) com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionSpec.class, - com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionSpec.class, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.SessionSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4557,9 +3923,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override @@ -4578,11 +3944,8 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpec buildPartial() { - com.google.cloud.dataplex.v1.Environment.SessionSpec result = - new com.google.cloud.dataplex.v1.Environment.SessionSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Environment.SessionSpec result = new com.google.cloud.dataplex.v1.Environment.SessionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -4590,8 +3953,9 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.maxIdleDuration_ = - maxIdleDurationBuilder_ == null ? maxIdleDuration_ : maxIdleDurationBuilder_.build(); + result.maxIdleDuration_ = maxIdleDurationBuilder_ == null + ? maxIdleDuration_ + : maxIdleDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.enableFastStartup_ = enableFastStartup_; @@ -4602,41 +3966,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionSpec public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.SessionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionSpec)other); } else { super.mergeFrom(other); return this; @@ -4644,8 +4005,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.SessionSpec other) { - if (other == com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) return this; if (other.hasMaxIdleDuration()) { mergeMaxIdleDuration(other.getMaxIdleDuration()); } @@ -4678,26 +4038,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMaxIdleDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - enableFastStartup_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMaxIdleDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + enableFastStartup_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4707,66 +4065,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration maxIdleDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxIdleDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxIdleDurationBuilder_; /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxIdleDuration field is set. */ public boolean hasMaxIdleDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxIdleDuration. */ public com.google.protobuf.Duration getMaxIdleDuration() { if (maxIdleDurationBuilder_ == null) { - return maxIdleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxIdleDuration_; + return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; } else { return maxIdleDurationBuilder_.getMessage(); } } - /** - * - * + /** *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMaxIdleDuration(com.google.protobuf.Duration value) { if (maxIdleDurationBuilder_ == null) { @@ -4782,18 +4120,15 @@ public Builder setMaxIdleDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setMaxIdleDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMaxIdleDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (maxIdleDurationBuilder_ == null) { maxIdleDuration_ = builderForValue.build(); } else { @@ -4804,22 +4139,18 @@ public Builder setMaxIdleDuration(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMaxIdleDuration(com.google.protobuf.Duration value) { if (maxIdleDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && maxIdleDuration_ != null - && maxIdleDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + maxIdleDuration_ != null && + maxIdleDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxIdleDurationBuilder().mergeFrom(value); } else { maxIdleDuration_ = value; @@ -4832,16 +4163,12 @@ public Builder mergeMaxIdleDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMaxIdleDuration() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4854,16 +4181,12 @@ public Builder clearMaxIdleDuration() { return this; } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getMaxIdleDurationBuilder() { bitField0_ |= 0x00000001; @@ -4871,59 +4194,45 @@ public com.google.protobuf.Duration.Builder getMaxIdleDurationBuilder() { return getMaxIdleDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() { if (maxIdleDurationBuilder_ != null) { return maxIdleDurationBuilder_.getMessageOrBuilder(); } else { - return maxIdleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxIdleDuration_; + return maxIdleDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; } } /** - * - * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxIdleDurationFieldBuilder() { if (maxIdleDurationBuilder_ == null) { - maxIdleDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMaxIdleDuration(), getParentForChildren(), isClean()); + maxIdleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMaxIdleDuration(), + getParentForChildren(), + isClean()); maxIdleDuration_ = null; } return maxIdleDurationBuilder_; } - private boolean enableFastStartup_; + private boolean enableFastStartup_ ; /** - * - * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4933,7 +4242,6 @@ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableFastStartup. */ @java.lang.Override @@ -4941,8 +4249,6 @@ public boolean getEnableFastStartup() { return enableFastStartup_; } /** - * - * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4952,7 +4258,6 @@ public boolean getEnableFastStartup() {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableFastStartup to set. * @return This builder for chaining. */ @@ -4964,8 +4269,6 @@ public Builder setEnableFastStartup(boolean value) { return this; } /** - * - * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4975,7 +4278,6 @@ public Builder setEnableFastStartup(boolean value) {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableFastStartup() { @@ -4984,7 +4286,6 @@ public Builder clearEnableFastStartup() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4997,12 +4298,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.SessionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.SessionSpec) private static final com.google.cloud.dataplex.v1.Environment.SessionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.SessionSpec(); } @@ -5011,28 +4312,27 @@ public static com.google.cloud.dataplex.v1.Environment.SessionSpec getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5047,81 +4347,72 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.SessionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SessionStatusOrBuilder - extends + public interface SessionStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.SessionStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Queries over sessions to mark whether the environment is
      * currently active or not
      * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The active. */ boolean getActive(); } /** - * - * *
    * Status of sessions created for this environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionStatus} */ - public static final class SessionStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SessionStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.SessionStatus) SessionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SessionStatus.newBuilder() to construct. private SessionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SessionStatus() {} + private SessionStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SessionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionStatus.class, - com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionStatus.class, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); } public static final int ACTIVE_FIELD_NUMBER = 1; private boolean active_ = false; /** - * - * *
      * Output only. Queries over sessions to mark whether the environment is
      * currently active or not
      * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The active. */ @java.lang.Override @@ -5130,7 +4421,6 @@ public boolean getActive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5142,7 +4432,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (active_ != false) { output.writeBool(1, active_); } @@ -5156,7 +4447,8 @@ public int getSerializedSize() { size = 0; if (active_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, active_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, active_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5166,15 +4458,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.SessionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.SessionStatus other = - (com.google.cloud.dataplex.v1.Environment.SessionStatus) obj; + com.google.cloud.dataplex.v1.Environment.SessionStatus other = (com.google.cloud.dataplex.v1.Environment.SessionStatus) obj; - if (getActive() != other.getActive()) return false; + if (getActive() + != other.getActive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5187,101 +4479,97 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACTIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getActive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getActive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Environment.SessionStatus prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.SessionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5291,41 +4579,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of sessions created for this environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.SessionStatus) com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionStatus.class, - com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionStatus.class, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.SessionStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5335,9 +4621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override @@ -5356,11 +4642,8 @@ public com.google.cloud.dataplex.v1.Environment.SessionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionStatus buildPartial() { - com.google.cloud.dataplex.v1.Environment.SessionStatus result = - new com.google.cloud.dataplex.v1.Environment.SessionStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Environment.SessionStatus result = new com.google.cloud.dataplex.v1.Environment.SessionStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -5376,41 +4659,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionStatu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.SessionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionStatus)other); } else { super.mergeFrom(other); return this; @@ -5418,8 +4698,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.SessionStatus other) { - if (other == com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) return this; if (other.getActive() != false) { setActive(other.getActive()); } @@ -5449,19 +4728,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - active_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + active_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5471,20 +4748,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean active_; + private boolean active_ ; /** - * - * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The active. */ @java.lang.Override @@ -5492,15 +4765,12 @@ public boolean getActive() { return active_; } /** - * - * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The active to set. * @return This builder for chaining. */ @@ -5512,15 +4782,12 @@ public Builder setActive(boolean value) { return this; } /** - * - * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearActive() { @@ -5529,7 +4796,6 @@ public Builder clearActive() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5542,12 +4808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.SessionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.SessionStatus) private static final com.google.cloud.dataplex.v1.Environment.SessionStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.SessionStatus(); } @@ -5556,28 +4822,27 @@ public static com.google.cloud.dataplex.v1.Environment.SessionStatus getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5592,82 +4857,69 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.SessionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EndpointsOrBuilder - extends + public interface EndpointsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.Endpoints) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The notebooks. */ java.lang.String getNotebooks(); /** - * - * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for notebooks. */ - com.google.protobuf.ByteString getNotebooksBytes(); + com.google.protobuf.ByteString + getNotebooksBytes(); /** - * - * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); } /** - * - * *
    * URI Endpoints to access sessions associated with the Environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.Endpoints} */ - public static final class Endpoints extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Endpoints extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.Endpoints) EndpointsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Endpoints.newBuilder() to construct. private Endpoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Endpoints() { notebooks_ = ""; sql_ = ""; @@ -5675,38 +4927,33 @@ private Endpoints() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Endpoints(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.Endpoints.class, - com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); + com.google.cloud.dataplex.v1.Environment.Endpoints.class, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); } public static final int NOTEBOOKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object notebooks_ = ""; /** - * - * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The notebooks. */ @java.lang.Override @@ -5715,29 +4962,29 @@ public java.lang.String getNotebooks() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebooks_ = s; return s; } } /** - * - * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for notebooks. */ @java.lang.Override - public com.google.protobuf.ByteString getNotebooksBytes() { + public com.google.protobuf.ByteString + getNotebooksBytes() { java.lang.Object ref = notebooks_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notebooks_ = b; return b; } else { @@ -5746,18 +4993,14 @@ public com.google.protobuf.ByteString getNotebooksBytes() { } public static final int SQL_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** - * - * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sql. */ @java.lang.Override @@ -5766,29 +5009,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -5797,7 +5040,6 @@ public com.google.protobuf.ByteString getSqlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5809,7 +5051,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notebooks_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notebooks_); } @@ -5839,16 +5082,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.Endpoints)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.Endpoints other = - (com.google.cloud.dataplex.v1.Environment.Endpoints) obj; + com.google.cloud.dataplex.v1.Environment.Endpoints other = (com.google.cloud.dataplex.v1.Environment.Endpoints) obj; - if (!getNotebooks().equals(other.getNotebooks())) return false; - if (!getSql().equals(other.getSql())) return false; + if (!getNotebooks() + .equals(other.getNotebooks())) return false; + if (!getSql() + .equals(other.getSql())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5870,93 +5114,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.Endpoints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5966,41 +5206,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * URI Endpoints to access sessions associated with the Environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.Endpoints} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.Endpoints) com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.Endpoints.class, - com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); + com.google.cloud.dataplex.v1.Environment.Endpoints.class, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.Endpoints.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6011,9 +5249,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override @@ -6032,11 +5270,8 @@ public com.google.cloud.dataplex.v1.Environment.Endpoints build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.Endpoints buildPartial() { - com.google.cloud.dataplex.v1.Environment.Endpoints result = - new com.google.cloud.dataplex.v1.Environment.Endpoints(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Environment.Endpoints result = new com.google.cloud.dataplex.v1.Environment.Endpoints(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -6055,41 +5290,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.Endpoints re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.Endpoints) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.Endpoints) other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.Endpoints)other); } else { super.mergeFrom(other); return this; @@ -6097,8 +5329,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.Endpoints other) { - if (other == com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) return this; if (!other.getNotebooks().isEmpty()) { notebooks_ = other.notebooks_; bitField0_ |= 0x00000001; @@ -6135,25 +5366,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - notebooks_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + notebooks_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6163,25 +5391,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object notebooks_ = ""; /** - * - * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The notebooks. */ public java.lang.String getNotebooks() { java.lang.Object ref = notebooks_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebooks_ = s; return s; @@ -6190,21 +5415,20 @@ public java.lang.String getNotebooks() { } } /** - * - * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for notebooks. */ - public com.google.protobuf.ByteString getNotebooksBytes() { + public com.google.protobuf.ByteString + getNotebooksBytes() { java.lang.Object ref = notebooks_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notebooks_ = b; return b; } else { @@ -6212,35 +5436,28 @@ public com.google.protobuf.ByteString getNotebooksBytes() { } } /** - * - * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The notebooks to set. * @return This builder for chaining. */ - public Builder setNotebooks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotebooks( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notebooks_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNotebooks() { @@ -6250,21 +5467,17 @@ public Builder clearNotebooks() { return this; } /** - * - * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for notebooks to set. - * @return This builder for chaining. - */ - public Builder setNotebooksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + * @return This builder for chaining. + */ + public Builder setNotebooksBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notebooks_ = value; bitField0_ |= 0x00000001; @@ -6274,20 +5487,18 @@ public Builder setNotebooksBytes(com.google.protobuf.ByteString value) { private java.lang.Object sql_ = ""; /** - * - * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -6296,21 +5507,20 @@ public java.lang.String getSql() { } } /** - * - * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -6318,35 +5528,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -6356,28 +5559,23 @@ public Builder clearSql() { return this; } /** - * - * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6390,12 +5588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.Endpoints) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.Endpoints) private static final com.google.cloud.dataplex.v1.Environment.Endpoints DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.Endpoints(); } @@ -6404,28 +5602,27 @@ public static com.google.cloud.dataplex.v1.Environment.Endpoints getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Endpoints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6440,24 +5637,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.Endpoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -6466,32 +5658,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; } } /** - * - * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -6500,18 +5690,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -6520,29 +5706,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -6551,12 +5737,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -6564,7 +5747,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -6573,15 +5755,14 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -6589,15 +5770,16 @@ public java.lang.String getUid() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6608,15 +5790,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Environment creation time.
    * 
* - * .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 @@ -6624,15 +5802,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Environment creation time.
    * 
* - * .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 @@ -6640,14 +5814,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Environment creation time.
    * 
* - * .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() { @@ -6657,15 +5828,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 time when the environment was last updated.
    * 
* - * .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 @@ -6673,15 +5840,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the environment was last updated.
    * 
* - * .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 @@ -6689,14 +5852,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the environment was last updated.
    * 
* - * .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() { @@ -6704,34 +5864,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -6739,21 +5897,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -6765,8 +5922,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -6774,19 +5929,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -6794,11 +5947,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -6806,18 +5959,14 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -6826,29 +5975,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; } } /** - * - * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -6859,53 +6008,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructureSpec_; /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -6913,56 +6046,37 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } public static final int SESSION_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Environment.SessionSpec sessionSpec_; /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sessionSpec field is set. */ @java.lang.Override @@ -6970,55 +6084,37 @@ public boolean hasSessionSpec() { return sessionSpec_ != null; } /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The sessionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec() { - return sessionSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() - : sessionSpec_; + return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; } /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder() { - return sessionSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() - : sessionSpec_; + return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; } public static final int SESSION_STATUS_FIELD_NUMBER = 102; private com.google.cloud.dataplex.v1.Environment.SessionStatus sessionStatus_; /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sessionStatus field is set. */ @java.lang.Override @@ -7026,57 +6122,38 @@ public boolean hasSessionStatus() { return sessionStatus_ != null; } /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sessionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus() { - return sessionStatus_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() - : sessionStatus_; + return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; } /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder - getSessionStatusOrBuilder() { - return sessionStatus_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() - : sessionStatus_; + public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder() { + return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; } public static final int ENDPOINTS_FIELD_NUMBER = 200; private com.google.cloud.dataplex.v1.Environment.Endpoints endpoints_; /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endpoints field is set. */ @java.lang.Override @@ -7084,46 +6161,32 @@ public boolean hasEndpoints() { return endpoints_ != null; } /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endpoints. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints() { - return endpoints_ == null - ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() - : endpoints_; + return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; } /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder() { - return endpoints_ == null - ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() - : endpoints_; + return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7135,7 +6198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -7151,8 +6215,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -7190,39 +6258,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (infrastructureSpec_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(100, getInfrastructureSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getInfrastructureSpec()); } if (sessionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getSessionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getSessionSpec()); } if (sessionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(102, getSessionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, getSessionStatus()); } if (endpoints_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(200, getEndpoints()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, getEndpoints()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7232,42 +6306,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.cloud.dataplex.v1.Environment)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Environment other = (com.google.cloud.dataplex.v1.Environment) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec() + .equals(other.getInfrastructureSpec())) return false; } if (hasSessionSpec() != other.hasSessionSpec()) return false; if (hasSessionSpec()) { - if (!getSessionSpec().equals(other.getSessionSpec())) return false; + if (!getSessionSpec() + .equals(other.getSessionSpec())) return false; } if (hasSessionStatus() != other.hasSessionStatus()) return false; if (hasSessionStatus()) { - if (!getSessionStatus().equals(other.getSessionStatus())) return false; + if (!getSessionStatus() + .equals(other.getSessionStatus())) return false; } if (hasEndpoints() != other.hasEndpoints()) return false; if (hasEndpoints()) { - if (!getEndpoints().equals(other.getEndpoints())) return false; + if (!getEndpoints() + .equals(other.getEndpoints())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -7323,104 +6408,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Environment parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Environment represents a user-visible compute infrastructure for analytics
    * within a lake.
@@ -7428,52 +6508,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Environment}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment)
       com.google.cloud.dataplex.v1.EnvironmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto
-          .internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto
-          .internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Environment.class,
-              com.google.cloud.dataplex.v1.Environment.Builder.class);
+              com.google.cloud.dataplex.v1.Environment.class, com.google.cloud.dataplex.v1.Environment.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Environment.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7518,9 +6601,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto
-          .internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_descriptor;
     }
 
     @java.lang.Override
@@ -7539,11 +6622,8 @@ public com.google.cloud.dataplex.v1.Environment build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Environment buildPartial() {
-      com.google.cloud.dataplex.v1.Environment result =
-          new com.google.cloud.dataplex.v1.Environment(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.Environment result = new com.google.cloud.dataplex.v1.Environment(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -7560,10 +6640,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7576,21 +6660,24 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.infrastructureSpec_ =
-            infrastructureSpecBuilder_ == null
-                ? infrastructureSpec_
-                : infrastructureSpecBuilder_.build();
+        result.infrastructureSpec_ = infrastructureSpecBuilder_ == null
+            ? infrastructureSpec_
+            : infrastructureSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.sessionSpec_ =
-            sessionSpecBuilder_ == null ? sessionSpec_ : sessionSpecBuilder_.build();
+        result.sessionSpec_ = sessionSpecBuilder_ == null
+            ? sessionSpec_
+            : sessionSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.sessionStatus_ =
-            sessionStatusBuilder_ == null ? sessionStatus_ : sessionStatusBuilder_.build();
+        result.sessionStatus_ = sessionStatusBuilder_ == null
+            ? sessionStatus_
+            : sessionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.endpoints_ = endpointsBuilder_ == null ? endpoints_ : endpointsBuilder_.build();
+        result.endpoints_ = endpointsBuilder_ == null
+            ? endpoints_
+            : endpointsBuilder_.build();
       }
     }
 
@@ -7598,39 +6685,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Environment) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Environment) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Environment)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7660,7 +6746,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -7708,92 +6795,88 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 802:
-              {
-                input.readMessage(
-                    getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 802
-            case 810:
-              {
-                input.readMessage(getSessionSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 810
-            case 818:
-              {
-                input.readMessage(getSessionStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 818
-            case 1602:
-              {
-                input.readMessage(getEndpointsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 1602
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 802: {
+              input.readMessage(
+                  getInfrastructureSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 802
+            case 810: {
+              input.readMessage(
+                  getSessionSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 810
+            case 818: {
+              input.readMessage(
+                  getSessionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 818
+            case 1602: {
+              input.readMessage(
+                  getEndpointsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 1602
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7803,28 +6886,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -7833,24 +6911,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -7858,41 +6933,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -7902,24 +6966,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -7929,20 +6987,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -7951,57 +7007,49 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { return (com.google.protobuf.ByteString) ref; } } - /** - * - * + /** *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -8011,21 +7059,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -8035,8 +7079,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -8044,13 +7086,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -8059,8 +7101,6 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -8068,14 +7108,15 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -8083,8 +7124,6 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -8092,22 +7131,18 @@ public com.google.protobuf.ByteString getUidBytes() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -8115,7 +7150,6 @@ public Builder setUid(java.lang.String value) {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -8125,8 +7159,6 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -8134,14 +7166,12 @@ public Builder clearUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -8151,58 +7181,39 @@ public Builder setUidBytes(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. Environment creation time.
      * 
* - * - * .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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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. Environment creation time.
      * 
* - * - * .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) { @@ -8218,17 +7229,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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(); } else { @@ -8239,21 +7247,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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 (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -8266,15 +7270,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8287,15 +7287,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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() { bitField0_ |= 0x00000008; @@ -8303,48 +7299,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Environment creation time.
      * 
* - * - * .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. Environment creation time.
      * 
* - * - * .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_; @@ -8352,58 +7336,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 time when the environment was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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 time when the environment was last updated.
      * 
* - * - * .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) { @@ -8419,17 +7384,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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(); } else { @@ -8440,21 +7402,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8467,15 +7425,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -8488,15 +7442,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000010; @@ -8504,66 +7454,56 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the environment was last updated.
      * 
* - * - * .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 time when the environment was last updated.
      * 
* - * - * .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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -8572,13 +7512,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
@@ -8586,21 +7523,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
@@ -8612,8 +7548,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
@@ -8621,19 +7555,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
@@ -8641,95 +7573,91 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -8738,21 +7666,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -8760,35 +7687,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -8798,21 +7718,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -8822,31 +7738,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8857,33 +7764,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -8897,15 +7795,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -8917,61 +7811,41 @@ public Builder clearState() { private com.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> - infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInfrastructureSpec( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { + public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8985,15 +7859,11 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder builderForValue) { @@ -9007,24 +7877,17 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInfrastructureSpec( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && infrastructureSpec_ != null - && infrastructureSpec_ - != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + infrastructureSpec_ != null && + infrastructureSpec_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -9037,15 +7900,11 @@ public Builder mergeInfrastructureSpec( return this; } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -9058,66 +7917,48 @@ public Builder clearInfrastructureSpec() { return this; } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder - getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { bitField0_ |= 0x00000100; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } } /** - * - * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), getParentForChildren(), isClean()); + infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), + getParentForChildren(), + isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; @@ -9125,58 +7966,39 @@ public Builder clearInfrastructureSpec() { private com.google.cloud.dataplex.v1.Environment.SessionSpec sessionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, - com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, - com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> - sessionSpecBuilder_; + com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> sessionSpecBuilder_; /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sessionSpec field is set. */ public boolean hasSessionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The sessionSpec. */ public com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec() { if (sessionSpecBuilder_ == null) { - return sessionSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() - : sessionSpec_; + return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; } else { return sessionSpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSpec value) { if (sessionSpecBuilder_ == null) { @@ -9192,15 +8014,11 @@ public Builder setSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSp return this; } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSessionSpec( com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder builderForValue) { @@ -9214,22 +8032,17 @@ public Builder setSessionSpec( return this; } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSpec value) { if (sessionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && sessionSpec_ != null - && sessionSpec_ - != com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + sessionSpec_ != null && + sessionSpec_ != com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) { getSessionSpecBuilder().mergeFrom(value); } else { sessionSpec_ = value; @@ -9242,15 +8055,11 @@ public Builder mergeSessionSpec(com.google.cloud.dataplex.v1.Environment.Session return this; } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSessionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -9263,15 +8072,11 @@ public Builder clearSessionSpec() { return this; } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder getSessionSpecBuilder() { bitField0_ |= 0x00000200; @@ -9279,48 +8084,36 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder getSessionSp return getSessionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder() { if (sessionSpecBuilder_ != null) { return sessionSpecBuilder_.getMessageOrBuilder(); } else { - return sessionSpec_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() - : sessionSpec_; + return sessionSpec_ == null ? + com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; } } /** - * - * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, - com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, - com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> + com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> getSessionSpecFieldBuilder() { if (sessionSpecBuilder_ == null) { - sessionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, - com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, - com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder>( - getSessionSpec(), getParentForChildren(), isClean()); + sessionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder>( + getSessionSpec(), + getParentForChildren(), + isClean()); sessionSpec_ = null; } return sessionSpecBuilder_; @@ -9328,58 +8121,39 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionS private com.google.cloud.dataplex.v1.Environment.SessionStatus sessionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, - com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, - com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> - sessionStatusBuilder_; + com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> sessionStatusBuilder_; /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sessionStatus field is set. */ public boolean hasSessionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sessionStatus. */ public com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus() { if (sessionStatusBuilder_ == null) { - return sessionStatus_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() - : sessionStatus_; + return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; } else { return sessionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSessionStatus(com.google.cloud.dataplex.v1.Environment.SessionStatus value) { if (sessionStatusBuilder_ == null) { @@ -9395,15 +8169,11 @@ public Builder setSessionStatus(com.google.cloud.dataplex.v1.Environment.Session return this; } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSessionStatus( com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder builderForValue) { @@ -9417,23 +8187,17 @@ public Builder setSessionStatus( return this; } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeSessionStatus( - com.google.cloud.dataplex.v1.Environment.SessionStatus value) { + public Builder mergeSessionStatus(com.google.cloud.dataplex.v1.Environment.SessionStatus value) { if (sessionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && sessionStatus_ != null - && sessionStatus_ - != com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + sessionStatus_ != null && + sessionStatus_ != com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) { getSessionStatusBuilder().mergeFrom(value); } else { sessionStatus_ = value; @@ -9446,15 +8210,11 @@ public Builder mergeSessionStatus( return this; } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSessionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -9467,66 +8227,48 @@ public Builder clearSessionStatus() { return this; } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder - getSessionStatusBuilder() { + public com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder getSessionStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getSessionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder - getSessionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder() { if (sessionStatusBuilder_ != null) { return sessionStatusBuilder_.getMessageOrBuilder(); } else { - return sessionStatus_ == null - ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() - : sessionStatus_; + return sessionStatus_ == null ? + com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; } } /** - * - * *
      * Output only. Status of sessions created for this environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, - com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, - com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> + com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> getSessionStatusFieldBuilder() { if (sessionStatusBuilder_ == null) { - sessionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, - com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, - com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder>( - getSessionStatus(), getParentForChildren(), isClean()); + sessionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder>( + getSessionStatus(), + getParentForChildren(), + isClean()); sessionStatus_ = null; } return sessionStatusBuilder_; @@ -9534,61 +8276,42 @@ public Builder clearSessionStatus() { private com.google.cloud.dataplex.v1.Environment.Endpoints endpoints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, - com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, - com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> - endpointsBuilder_; + com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> endpointsBuilder_; /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endpoints field is set. */ public boolean hasEndpoints() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endpoints. */ public com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints() { if (endpointsBuilder_ == null) { - return endpoints_ == null - ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() - : endpoints_; + return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; } else { return endpointsBuilder_.getMessage(); } } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints value) { if (endpointsBuilder_ == null) { @@ -9604,16 +8327,12 @@ public Builder setEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints v return this; } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndpoints( com.google.cloud.dataplex.v1.Environment.Endpoints.Builder builderForValue) { @@ -9627,23 +8346,18 @@ public Builder setEndpoints( return this; } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints value) { if (endpointsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && endpoints_ != null - && endpoints_ - != com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + endpoints_ != null && + endpoints_ != com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) { getEndpointsBuilder().mergeFrom(value); } else { endpoints_ = value; @@ -9656,16 +8370,12 @@ public Builder mergeEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints return this; } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndpoints() { bitField0_ = (bitField0_ & ~0x00000800); @@ -9678,16 +8388,12 @@ public Builder clearEndpoints() { return this; } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Environment.Endpoints.Builder getEndpointsBuilder() { bitField0_ |= 0x00000800; @@ -9695,57 +8401,45 @@ public com.google.cloud.dataplex.v1.Environment.Endpoints.Builder getEndpointsBu return getEndpointsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder() { if (endpointsBuilder_ != null) { return endpointsBuilder_.getMessageOrBuilder(); } else { - return endpoints_ == null - ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() - : endpoints_; + return endpoints_ == null ? + com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; } } /** - * - * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, - com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, - com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> + com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> getEndpointsFieldBuilder() { if (endpointsBuilder_ == null) { - endpointsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, - com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, - com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder>( - getEndpoints(), getParentForChildren(), isClean()); + endpointsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder>( + getEndpoints(), + getParentForChildren(), + isClean()); endpoints_ = null; } return endpointsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9755,12 +8449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment) private static final com.google.cloud.dataplex.v1.Environment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment(); } @@ -9769,27 +8463,27 @@ public static com.google.cloud.dataplex.v1.Environment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Environment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Environment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9804,4 +8498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java index fc8aac43ec2a..b09d0694d28b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java @@ -1,87 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface EnvironmentOrBuilder - extends +public interface EnvironmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -89,13 +57,10 @@ public interface EnvironmentOrBuilder
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -103,90 +68,66 @@ public interface EnvironmentOrBuilder
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Environment creation time.
    * 
* - * .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. Environment creation time.
    * 
* - * .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. Environment creation time.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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(); /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -195,31 +136,30 @@ public interface EnvironmentOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User defined labels for the environment.
    * 
@@ -227,238 +167,167 @@ public interface EnvironmentOrBuilder * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec(); /** - * - * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sessionSpec field is set. */ boolean hasSessionSpec(); /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; * @return The sessionSpec. */ com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec(); /** - * - * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder(); /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sessionStatus field is set. */ boolean hasSessionStatus(); /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sessionStatus. */ com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus(); /** - * - * *
    * Output only. Status of sessions created for this environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder(); /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endpoints field is set. */ boolean hasEndpoints(); /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endpoints. */ com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints(); /** - * - * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java index 2cd3fc61e2d1..a2a430eb14e8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetAssetRequest} */ -public final class GetAssetRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAssetRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetAssetRequest) GetAssetRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAssetRequest.newBuilder() to construct. private GetAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAssetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetAssetRequest.class, - com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.GetAssetRequest.class, com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetAssetRequest other = - (com.google.cloud.dataplex.v1.GetAssetRequest) obj; + com.google.cloud.dataplex.v1.GetAssetRequest other = (com.google.cloud.dataplex.v1.GetAssetRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetAssetRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetAssetRequest) com.google.cloud.dataplex.v1.GetAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetAssetRequest.class, - com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.GetAssetRequest.class, com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetAssetRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.GetAssetRequest result = - new com.google.cloud.dataplex.v1.GetAssetRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetAssetRequest result = new com.google.cloud.dataplex.v1.GetAssetRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetAssetRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetAssetRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetAssetRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetAssetRequest) private static final com.google.cloud.dataplex.v1.GetAssetRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetAssetRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetAssetRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java new file mode 100644 index 000000000000..9be7acb512d3 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetAssetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetAssetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java index b800228db097..ed97cd1b74ee 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetContentRequest} */ -public final class GetContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetContentRequest) GetContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetContentRequest.newBuilder() to construct. private GetContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetContentRequest() { name_ = ""; view_ = 0; @@ -44,28 +26,25 @@ private GetContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetContentRequest.class, - com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetContentRequest.class, com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); } /** - * - * *
    * Specifies whether the request should return the full or the partial
    * representation.
@@ -73,10 +52,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.dataplex.v1.GetContentRequest.ContentView}
    */
-  public enum ContentView implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ContentView
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Content view not specified. Defaults to BASIC.
      * The API will default to the BASIC view.
@@ -86,8 +64,6 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum {
      */
     CONTENT_VIEW_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Will not return the `data_text` field.
      * 
@@ -96,8 +72,6 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
      * Returns the complete proto.
      * 
@@ -109,8 +83,6 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Content view not specified. Defaults to BASIC.
      * The API will default to the BASIC view.
@@ -120,8 +92,6 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONTENT_VIEW_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Will not return the `data_text` field.
      * 
@@ -130,8 +100,6 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
      * Returns the complete proto.
      * 
@@ -140,6 +108,7 @@ public enum ContentView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -164,49 +133,49 @@ public static ContentView valueOf(int value) { */ public static ContentView forNumber(int value) { switch (value) { - case 0: - return CONTENT_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return CONTENT_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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< + ContentView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentView findValueByNumber(int number) { + return ContentView.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentView findValueByNumber(int number) { - return ContentView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.GetContentRequest.getDescriptor().getEnumTypes().get(0); } private static final ContentView[] VALUES = values(); - public static ContentView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentView 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; @@ -224,21 +193,15 @@ private ContentView(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -247,32 +210,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. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -283,46 +244,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. Specify content view to make a partial request.
    * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. Specify content view to make a partial request.
    * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { - com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = - com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { + com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,13 +279,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -355,10 +299,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,15 +311,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetContentRequest other = - (com.google.cloud.dataplex.v1.GetContentRequest) obj; + com.google.cloud.dataplex.v1.GetContentRequest other = (com.google.cloud.dataplex.v1.GetContentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -398,136 +341,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetContentRequest) com.google.cloud.dataplex.v1.GetContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetContentRequest.class, - com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetContentRequest.class, com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetContentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override @@ -559,11 +498,8 @@ public com.google.cloud.dataplex.v1.GetContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest buildPartial() { - com.google.cloud.dataplex.v1.GetContentRequest result = - new com.google.cloud.dataplex.v1.GetContentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetContentRequest result = new com.google.cloud.dataplex.v1.GetContentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -582,39 +518,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetContentRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetContentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetContentRequest)other); } else { super.mergeFrom(other); return this; @@ -657,25 +592,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,28 +617,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -715,24 +642,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -740,41 +664,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -784,24 +697,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -811,33 +718,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. Specify content view to make a partial request.
      * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. Specify content view to make a partial request.
      * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -848,37 +744,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. Specify content view to make a partial request.
      * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { - com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = - com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specify content view to make a partial request.
      * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -892,16 +775,11 @@ public Builder setView(com.google.cloud.dataplex.v1.GetContentRequest.ContentVie return this; } /** - * - * *
      * Optional. Specify content view to make a partial request.
      * 
* - * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -910,9 +788,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetContentRequest) private static final com.google.cloud.dataplex.v1.GetContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetContentRequest(); } @@ -936,27 +814,27 @@ public static com.google.cloud.dataplex.v1.GetContentRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java new file mode 100644 index 000000000000..1151ff59772b --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public interface GetContentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetContentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Specify content view to make a partial request.
+   * 
+ * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. Specify content view to make a partial request.
+   * 
+ * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java index fa4cfe88781a..10226d03685b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java @@ -1,84 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeBindingRequest} */ -public final class GetDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataAttributeBindingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) GetDataAttributeBindingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataAttributeBindingRequest.newBuilder() to construct. - private GetDataAttributeBindingRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataAttributeBindingRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +61,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. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other = - (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeBindingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) com.google.cloud.dataplex.v1.GetDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override @@ -345,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest result = - new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataAttributeBindingR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -438,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -559,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) private static final com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(); } @@ -609,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +579,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java new file mode 100644 index 000000000000..7d8dd5933bde --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataAttributeBindingRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the DataAttributeBinding:
+   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the DataAttributeBinding:
+   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java index ad17aa4b7a09..067510f36887 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeRequest} */ -public final class GetDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataAttributeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataAttributeRequest) GetDataAttributeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataAttributeRequest.newBuilder() to construct. private GetDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataAttributeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, - com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the dataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the dataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataAttributeRequest other = - (com.google.cloud.dataplex.v1.GetDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.GetDataAttributeRequest other = (com.google.cloud.dataplex.v1.GetDataAttributeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataAttributeRequest) com.google.cloud.dataplex.v1.GetDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, - com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataAttributeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataAttributeRequest result = - new com.google.cloud.dataplex.v1.GetDataAttributeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetDataAttributeRequest result = new com.google.cloud.dataplex.v1.GetDataAttributeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataAttributeRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataAttributeRequest) private static final com.google.cloud.dataplex.v1.GetDataAttributeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataAttributeRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetDataAttributeRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java new file mode 100644 index 000000000000..3b25babf0980 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataAttributeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the dataAttribute:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the dataAttribute:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java index 1739e933c562..1d26fca7f0ca 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get DataScanJob request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanJobRequest} */ -public final class GetDataScanJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataScanJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataScanJobRequest) GetDataScanJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataScanJobRequest.newBuilder() to construct. private GetDataScanJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataScanJobRequest() { name_ = ""; view_ = 0; @@ -44,38 +26,34 @@ private GetDataScanJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataScanJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, - com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); } /** - * - * *
    * DataScanJob view options.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView} */ - public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { + public enum DataScanJobView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -84,8 +62,6 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { */ DATA_SCAN_JOB_VIEW_UNSPECIFIED(0), /** - * - * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -94,8 +70,6 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
      * Include everything.
      * 
@@ -107,8 +81,6 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -117,8 +89,6 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_SCAN_JOB_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -127,8 +97,6 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
      * Include everything.
      * 
@@ -137,6 +105,7 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -161,45 +130,40 @@ public static DataScanJobView valueOf(int value) { */ public static DataScanJobView forNumber(int value) { switch (value) { - case 0: - return DATA_SCAN_JOB_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 10: - return FULL; - default: - return null; + case 0: return DATA_SCAN_JOB_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 10: return FULL; + 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< + DataScanJobView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataScanJobView findValueByNumber(int number) { + return DataScanJobView.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataScanJobView findValueByNumber(int number) { - return DataScanJobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDescriptor().getEnumTypes().get(0); } private static final DataScanJobView[] VALUES = values(); @@ -207,7 +171,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static DataScanJobView 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; @@ -225,12 +190,9 @@ private DataScanJobView(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -238,10 +200,7 @@ private DataScanJobView(int value) {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 @@ -250,15 +209,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -266,18 +224,17 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 { @@ -288,46 +245,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,14 +280,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView - .DATA_SCAN_JOB_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.DATA_SCAN_JOB_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -361,11 +300,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView - .DATA_SCAN_JOB_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.DATA_SCAN_JOB_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -375,15 +312,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataScanJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataScanJobRequest other = - (com.google.cloud.dataplex.v1.GetDataScanJobRequest) obj; + com.google.cloud.dataplex.v1.GetDataScanJobRequest other = (com.google.cloud.dataplex.v1.GetDataScanJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -406,135 +343,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataScanJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get DataScanJob request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataScanJobRequest) com.google.cloud.dataplex.v1.GetDataScanJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, - com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataScanJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override @@ -566,11 +499,8 @@ public com.google.cloud.dataplex.v1.GetDataScanJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest result = - new com.google.cloud.dataplex.v1.GetDataScanJobRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetDataScanJobRequest result = new com.google.cloud.dataplex.v1.GetDataScanJobRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -589,39 +519,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataScanJobRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataScanJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanJobRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanJobRequest)other); } else { super.mergeFrom(other); return this; @@ -629,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataScanJobRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -665,25 +593,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -693,13 +618,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -707,16 +629,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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; @@ -725,8 +645,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -734,17 +652,16 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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 { @@ -752,8 +669,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -761,25 +676,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -787,10 +696,7 @@ public Builder setName(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -800,8 +706,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -809,17 +713,13 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -829,33 +729,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -866,42 +755,28 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ - public Builder setView( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView value) { + public Builder setView(com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView value) { if (value == null) { throw new NullPointerException(); } @@ -911,16 +786,11 @@ public Builder setView( return this; } /** - * - * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -929,9 +799,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataScanJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataScanJobRequest) private static final com.google.cloud.dataplex.v1.GetDataScanJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataScanJobRequest(); } @@ -955,27 +825,27 @@ public static com.google.cloud.dataplex.v1.GetDataScanJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataScanJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataScanJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,4 +860,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataScanJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java similarity index 51% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java index 227920f0489f..e0ccf43392aa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface GetDataScanJobRequestOrBuilder - extends +public interface GetDataScanJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataScanJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -33,16 +15,11 @@ public interface GetDataScanJobRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -50,39 +27,27 @@ public interface GetDataScanJobRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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(); /** - * - * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java index fbdb0c89a896..db5cc8dae274 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanRequest} */ -public final class GetDataScanRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataScanRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataScanRequest) GetDataScanRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataScanRequest.newBuilder() to construct. private GetDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataScanRequest() { name_ = ""; view_ = 0; @@ -44,38 +26,34 @@ private GetDataScanRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanRequest.class, - com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanRequest.class, com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); } /** - * - * *
    * DataScan view options.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanRequest.DataScanView} */ - public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { + public enum DataScanView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -84,8 +62,6 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { */ DATA_SCAN_VIEW_UNSPECIFIED(0), /** - * - * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -94,8 +70,6 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
      * Include everything.
      * 
@@ -107,8 +81,6 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -117,8 +89,6 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_SCAN_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -127,8 +97,6 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
      * Include everything.
      * 
@@ -137,6 +105,7 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -161,49 +130,49 @@ public static DataScanView valueOf(int value) { */ public static DataScanView forNumber(int value) { switch (value) { - case 0: - return DATA_SCAN_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 10: - return FULL; - default: - return null; + case 0: return DATA_SCAN_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 10: return FULL; + 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< + DataScanView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataScanView findValueByNumber(int number) { + return DataScanView.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataScanView findValueByNumber(int number) { - return DataScanView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.GetDataScanRequest.getDescriptor().getEnumTypes().get(0); } private static final DataScanView[] VALUES = values(); - public static DataScanView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataScanView 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; @@ -221,12 +190,9 @@ private DataScanView(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -234,10 +200,7 @@ private DataScanView(int value) {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 @@ -246,15 +209,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -262,18 +224,17 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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 { @@ -284,46 +245,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,13 +280,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -356,10 +300,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -369,15 +312,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataScanRequest other = - (com.google.cloud.dataplex.v1.GetDataScanRequest) obj; + com.google.cloud.dataplex.v1.GetDataScanRequest other = (com.google.cloud.dataplex.v1.GetDataScanRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -399,136 +342,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataScanRequest) com.google.cloud.dataplex.v1.GetDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanRequest.class, - com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanRequest.class, com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataScanRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override @@ -560,11 +499,8 @@ public com.google.cloud.dataplex.v1.GetDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataScanRequest result = - new com.google.cloud.dataplex.v1.GetDataScanRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetDataScanRequest result = new com.google.cloud.dataplex.v1.GetDataScanRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -583,39 +519,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataScanRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanRequest)other); } else { super.mergeFrom(other); return this; @@ -623,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -659,25 +593,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,13 +618,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -701,16 +629,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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; @@ -719,8 +645,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -728,17 +652,16 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 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 { @@ -746,8 +669,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -755,25 +676,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -781,10 +696,7 @@ public Builder setName(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -794,8 +706,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -803,17 +713,13 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -823,33 +729,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -860,37 +755,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -904,16 +786,11 @@ public Builder setView(com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanV return this; } /** - * - * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -922,9 +799,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -934,12 +811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataScanRequest) private static final com.google.cloud.dataplex.v1.GetDataScanRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataScanRequest(); } @@ -948,27 +825,27 @@ public static com.google.cloud.dataplex.v1.GetDataScanRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -983,4 +860,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java similarity index 50% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java index 02742103246c..34facf162092 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface GetDataScanRequestOrBuilder - extends +public interface GetDataScanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataScanRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -33,16 +15,11 @@ public interface GetDataScanRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -50,39 +27,27 @@ public interface GetDataScanRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string name = 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(); /** - * - * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java index b6267debfc05..ff5b8d1f0fca 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataTaxonomyRequest} */ -public final class GetDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataTaxonomyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataTaxonomyRequest) GetDataTaxonomyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataTaxonomyRequest.newBuilder() to construct. private GetDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataTaxonomyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other = - (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataTaxonomyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataTaxonomyRequest) com.google.cloud.dataplex.v1.GetDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest result = - new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.GetDataTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..d2d749a9748f --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the DataTaxonomy:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the DataTaxonomy:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java index 4ae2db4d65a5..b16c4da1e3f7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEntityRequest} */ -public final class GetEntityRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEntityRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetEntityRequest) GetEntityRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEntityRequest.newBuilder() to construct. private GetEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEntityRequest() { name_ = ""; view_ = 0; @@ -44,38 +26,34 @@ private GetEntityRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEntityRequest.class, - com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEntityRequest.class, com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); } /** - * - * *
    * Entity views for get entity partial result.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetEntityRequest.EntityView} */ - public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -84,8 +62,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_VIEW_UNSPECIFIED(0), /** - * - * *
      * Minimal view that does not include the schema.
      * 
@@ -94,8 +70,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
      * Include basic information and schema.
      * 
@@ -104,8 +78,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA(2), /** - * - * *
      * Include everything. Currently, this is the same as the SCHEMA view.
      * 
@@ -117,8 +89,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The API will default to the `BASIC` view.
      * 
@@ -127,8 +97,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Minimal view that does not include the schema.
      * 
@@ -137,8 +105,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
      * Include basic information and schema.
      * 
@@ -147,8 +113,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_VALUE = 2; /** - * - * *
      * Include everything. Currently, this is the same as the SCHEMA view.
      * 
@@ -157,6 +121,7 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -181,51 +146,50 @@ public static EntityView valueOf(int value) { */ public static EntityView forNumber(int value) { switch (value) { - case 0: - return ENTITY_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return SCHEMA; - case 4: - return FULL; - default: - return null; + case 0: return ENTITY_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return SCHEMA; + case 4: return FULL; + 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< + EntityView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityView findValueByNumber(int number) { + return EntityView.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityView findValueByNumber(int number) { - return EntityView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.GetEntityRequest.getDescriptor().getEnumTypes().get(0); } private static final EntityView[] VALUES = values(); - public static EntityView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityView 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; @@ -243,21 +207,15 @@ private EntityView(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -266,32 +224,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. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -302,48 +258,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. Used to select the subset of entity information to return.
    * Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. Used to select the subset of entity information to return.
    * Defaults to `BASIC`.
    * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,13 +295,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -376,10 +315,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -389,15 +327,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetEntityRequest other = - (com.google.cloud.dataplex.v1.GetEntityRequest) obj; + com.google.cloud.dataplex.v1.GetEntityRequest other = (com.google.cloud.dataplex.v1.GetEntityRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -419,136 +357,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEntityRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetEntityRequest) com.google.cloud.dataplex.v1.GetEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEntityRequest.class, - com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEntityRequest.class, com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetEntityRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override @@ -580,11 +514,8 @@ public com.google.cloud.dataplex.v1.GetEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.GetEntityRequest result = - new com.google.cloud.dataplex.v1.GetEntityRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetEntityRequest result = new com.google.cloud.dataplex.v1.GetEntityRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -603,39 +534,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetEntityRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetEntityRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetEntityRequest)other); } else { super.mergeFrom(other); return this; @@ -678,25 +608,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -706,28 +633,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -736,24 +658,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -761,41 +680,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -805,24 +713,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -832,35 +734,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -871,39 +762,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -917,17 +795,12 @@ public Builder setView(com.google.cloud.dataplex.v1.GetEntityRequest.EntityView return this; } /** - * - * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -936,9 +809,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetEntityRequest) private static final com.google.cloud.dataplex.v1.GetEntityRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetEntityRequest(); } @@ -962,27 +835,27 @@ public static com.google.cloud.dataplex.v1.GetEntityRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,4 +870,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java new file mode 100644 index 000000000000..5c4b94aabac4 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java @@ -0,0 +1,52 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public interface GetEntityRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEntityRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the entity:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the entity:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Used to select the subset of entity information to return.
+   * Defaults to `BASIC`.
+   * 
+ * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. Used to select the subset of entity information to return.
+   * Defaults to `BASIC`.
+   * 
+ * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java index 97a51938e1bc..701bda522a02 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, - com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetEnvironmentRequest other = - (com.google.cloud.dataplex.v1.GetEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.GetEnvironmentRequest other = (com.google.cloud.dataplex.v1.GetEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetEnvironmentRequest) com.google.cloud.dataplex.v1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, - com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetEnvironmentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.GetEnvironmentRequest result = - new com.google.cloud.dataplex.v1.GetEnvironmentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetEnvironmentRequest result = new com.google.cloud.dataplex.v1.GetEnvironmentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetEnvironmentRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetEnvironmentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetEnvironmentRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetEnvironmentRequest) private static final com.google.cloud.dataplex.v1.GetEnvironmentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetEnvironmentRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetEnvironmentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java new file mode 100644 index 000000000000..dec0fd19648a --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetEnvironmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEnvironmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java index 0c6a55d5e6af..ff4b99e2447e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetJobRequest.class, - com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetJobRequest.class, com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetJobRequest other = - (com.google.cloud.dataplex.v1.GetJobRequest) obj; + com.google.cloud.dataplex.v1.GetJobRequest other = (com.google.cloud.dataplex.v1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetJobRequest) com.google.cloud.dataplex.v1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetJobRequest.class, - com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetJobRequest.class, com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetJobRequest buildPartial() { - com.google.cloud.dataplex.v1.GetJobRequest result = - new com.google.cloud.dataplex.v1.GetJobRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetJobRequest result = new com.google.cloud.dataplex.v1.GetJobRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetJobRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetJobRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetJobRequest) private static final com.google.cloud.dataplex.v1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetJobRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..6bd29be73aa1 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java index 644943130cf2..b40bad2b14bf 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetLakeRequest} */ -public final class GetLakeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetLakeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetLakeRequest) GetLakeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetLakeRequest.newBuilder() to construct. private GetLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetLakeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetLakeRequest.class, - com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetLakeRequest.class, com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetLakeRequest other = - (com.google.cloud.dataplex.v1.GetLakeRequest) obj; + com.google.cloud.dataplex.v1.GetLakeRequest other = (com.google.cloud.dataplex.v1.GetLakeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetLakeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetLakeRequest) com.google.cloud.dataplex.v1.GetLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetLakeRequest.class, - com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetLakeRequest.class, com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetLakeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.GetLakeRequest result = - new com.google.cloud.dataplex.v1.GetLakeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetLakeRequest result = new com.google.cloud.dataplex.v1.GetLakeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetLakeRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetLakeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetLakeRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetLakeRequest) private static final com.google.cloud.dataplex.v1.GetLakeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetLakeRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetLakeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java new file mode 100644 index 000000000000..96153566f9c0 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetLakeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetLakeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java index 420e4a7bfc7b..dfa118475c67 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetPartitionRequest} */ -public final class GetPartitionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPartitionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetPartitionRequest) GetPartitionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPartitionRequest.newBuilder() to construct. private GetPartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPartitionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetPartitionRequest.class, - com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.GetPartitionRequest.class, com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -76,10 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 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 @@ -88,15 +63,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -104,18 +78,17 @@ public java.lang.String getName() {
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 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 { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetPartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetPartitionRequest other = - (com.google.cloud.dataplex.v1.GetPartitionRequest) obj; + com.google.cloud.dataplex.v1.GetPartitionRequest other = (com.google.cloud.dataplex.v1.GetPartitionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetPartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetPartitionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetPartitionRequest) com.google.cloud.dataplex.v1.GetPartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetPartitionRequest.class, - com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.GetPartitionRequest.class, com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetPartitionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override @@ -347,11 +316,8 @@ public com.google.cloud.dataplex.v1.GetPartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetPartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.GetPartitionRequest result = - new com.google.cloud.dataplex.v1.GetPartitionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetPartitionRequest result = new com.google.cloud.dataplex.v1.GetPartitionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +333,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetPartitionRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetPartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetPartitionRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetPartitionRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetPartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +404,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,13 +424,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -476,16 +435,14 @@ public Builder mergeFrom(
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 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; @@ -494,8 +451,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -503,17 +458,16 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 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 { @@ -521,8 +475,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -530,25 +482,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -556,10 +502,7 @@ public Builder setName(java.lang.String value) {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string 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() { @@ -569,8 +512,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -578,26 +519,22 @@ public Builder clearName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetPartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetPartitionRequest) private static final com.google.cloud.dataplex.v1.GetPartitionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetPartitionRequest(); } @@ -621,27 +558,27 @@ public static com.google.cloud.dataplex.v1.GetPartitionRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +593,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetPartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java similarity index 53% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java index eee6aaf033de..adb92279d01b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface GetPartitionRequestOrBuilder - extends +public interface GetPartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetPartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -33,16 +15,11 @@ public interface GetPartitionRequestOrBuilder
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -50,11 +27,9 @@ public interface GetPartitionRequestOrBuilder
    * partition values separated by "/". All values must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java index 4ff0fdeac5a2..c62c7bfc5908 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetTaskRequest} */ -public final class GetTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetTaskRequest) GetTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTaskRequest.newBuilder() to construct. private GetTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetTaskRequest.class, - com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.GetTaskRequest.class, com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetTaskRequest other = - (com.google.cloud.dataplex.v1.GetTaskRequest) obj; + com.google.cloud.dataplex.v1.GetTaskRequest other = (com.google.cloud.dataplex.v1.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetTaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetTaskRequest) com.google.cloud.dataplex.v1.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetTaskRequest.class, - com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.GetTaskRequest.class, com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetTaskRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.GetTaskRequest result = - new com.google.cloud.dataplex.v1.GetTaskRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetTaskRequest result = new com.google.cloud.dataplex.v1.GetTaskRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetTaskRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetTaskRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetTaskRequest) private static final com.google.cloud.dataplex.v1.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetTaskRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java new file mode 100644 index 000000000000..4203009f69d4 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java index 2ed41111f824..67b680cf905a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Get zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetZoneRequest} */ -public final class GetZoneRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetZoneRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetZoneRequest) GetZoneRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetZoneRequest.newBuilder() to construct. private GetZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetZoneRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetZoneRequest.class, - com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.GetZoneRequest.class, com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,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. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetZoneRequest other = - (com.google.cloud.dataplex.v1.GetZoneRequest) obj; + com.google.cloud.dataplex.v1.GetZoneRequest other = (com.google.cloud.dataplex.v1.GetZoneRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetZoneRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetZoneRequest) com.google.cloud.dataplex.v1.GetZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetZoneRequest.class, - com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.GetZoneRequest.class, com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetZoneRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.dataplex.v1.GetZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.GetZoneRequest result = - new com.google.cloud.dataplex.v1.GetZoneRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GetZoneRequest result = new com.google.cloud.dataplex.v1.GetZoneRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetZoneRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetZoneRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.GetZoneRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetZoneRequest) private static final com.google.cloud.dataplex.v1.GetZoneRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetZoneRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.dataplex.v1.GetZoneRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java new file mode 100644 index 000000000000..9b357d47fdd1 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetZoneRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java index dfe24d3502a6..233ac95fca40 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Payload associated with Governance related log events.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent} */ -public final class GovernanceEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GovernanceEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GovernanceEvent) GovernanceEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GovernanceEvent.newBuilder() to construct. private GovernanceEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GovernanceEvent() { message_ = ""; eventType_ = 0; @@ -44,38 +26,34 @@ private GovernanceEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GovernanceEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.class, - com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.class, com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); } /** - * - * *
    * Type of governance log event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GovernanceEvent.EventType} */ - public enum EventType implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified event type.
      * 
@@ -84,8 +62,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Resource IAM policy update event.
      * 
@@ -94,8 +70,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE_IAM_POLICY_UPDATE(1), /** - * - * *
      * BigQuery table create event.
      * 
@@ -104,8 +78,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_TABLE_CREATE(2), /** - * - * *
      * BigQuery table update event.
      * 
@@ -114,8 +86,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_TABLE_UPDATE(3), /** - * - * *
      * BigQuery table delete event.
      * 
@@ -124,8 +94,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_TABLE_DELETE(4), /** - * - * *
      * BigQuery connection create event.
      * 
@@ -134,8 +102,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_CONNECTION_CREATE(5), /** - * - * *
      * BigQuery connection update event.
      * 
@@ -144,8 +110,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_CONNECTION_UPDATE(6), /** - * - * *
      * BigQuery connection delete event.
      * 
@@ -154,8 +118,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_CONNECTION_DELETE(7), /** - * - * *
      * BigQuery taxonomy created.
      * 
@@ -164,8 +126,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_TAXONOMY_CREATE(10), /** - * - * *
      * BigQuery policy tag created.
      * 
@@ -174,8 +134,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_POLICY_TAG_CREATE(11), /** - * - * *
      * BigQuery policy tag deleted.
      * 
@@ -184,8 +142,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_POLICY_TAG_DELETE(12), /** - * - * *
      * BigQuery set iam policy for policy tag.
      * 
@@ -194,8 +150,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_POLICY_TAG_SET_IAM_POLICY(13), /** - * - * *
      * Access policy update event.
      * 
@@ -204,8 +158,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ ACCESS_POLICY_UPDATE(14), /** - * - * *
      * Number of resources matched with particular Query.
      * 
@@ -214,8 +166,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ GOVERNANCE_RULE_MATCHED_RESOURCES(15), /** - * - * *
      * Rule processing exceeds the allowed limit.
      * 
@@ -224,8 +174,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS(16), /** - * - * *
      * Rule processing errors.
      * 
@@ -237,8 +185,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unspecified event type.
      * 
@@ -247,8 +193,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Resource IAM policy update event.
      * 
@@ -257,8 +201,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_IAM_POLICY_UPDATE_VALUE = 1; /** - * - * *
      * BigQuery table create event.
      * 
@@ -267,8 +209,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TABLE_CREATE_VALUE = 2; /** - * - * *
      * BigQuery table update event.
      * 
@@ -277,8 +217,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TABLE_UPDATE_VALUE = 3; /** - * - * *
      * BigQuery table delete event.
      * 
@@ -287,8 +225,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TABLE_DELETE_VALUE = 4; /** - * - * *
      * BigQuery connection create event.
      * 
@@ -297,8 +233,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_CONNECTION_CREATE_VALUE = 5; /** - * - * *
      * BigQuery connection update event.
      * 
@@ -307,8 +241,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_CONNECTION_UPDATE_VALUE = 6; /** - * - * *
      * BigQuery connection delete event.
      * 
@@ -317,8 +249,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_CONNECTION_DELETE_VALUE = 7; /** - * - * *
      * BigQuery taxonomy created.
      * 
@@ -327,8 +257,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TAXONOMY_CREATE_VALUE = 10; /** - * - * *
      * BigQuery policy tag created.
      * 
@@ -337,8 +265,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_POLICY_TAG_CREATE_VALUE = 11; /** - * - * *
      * BigQuery policy tag deleted.
      * 
@@ -347,8 +273,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_POLICY_TAG_DELETE_VALUE = 12; /** - * - * *
      * BigQuery set iam policy for policy tag.
      * 
@@ -357,8 +281,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_POLICY_TAG_SET_IAM_POLICY_VALUE = 13; /** - * - * *
      * Access policy update event.
      * 
@@ -367,8 +289,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_POLICY_UPDATE_VALUE = 14; /** - * - * *
      * Number of resources matched with particular Query.
      * 
@@ -377,8 +297,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOVERNANCE_RULE_MATCHED_RESOURCES_VALUE = 15; /** - * - * *
      * Rule processing exceeds the allowed limit.
      * 
@@ -387,8 +305,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS_VALUE = 16; /** - * - * *
      * Rule processing errors.
      * 
@@ -397,6 +313,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOVERNANCE_RULE_ERRORS_VALUE = 17; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -421,75 +338,62 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: - return EVENT_TYPE_UNSPECIFIED; - case 1: - return RESOURCE_IAM_POLICY_UPDATE; - case 2: - return BIGQUERY_TABLE_CREATE; - case 3: - return BIGQUERY_TABLE_UPDATE; - case 4: - return BIGQUERY_TABLE_DELETE; - case 5: - return BIGQUERY_CONNECTION_CREATE; - case 6: - return BIGQUERY_CONNECTION_UPDATE; - case 7: - return BIGQUERY_CONNECTION_DELETE; - case 10: - return BIGQUERY_TAXONOMY_CREATE; - case 11: - return BIGQUERY_POLICY_TAG_CREATE; - case 12: - return BIGQUERY_POLICY_TAG_DELETE; - case 13: - return BIGQUERY_POLICY_TAG_SET_IAM_POLICY; - case 14: - return ACCESS_POLICY_UPDATE; - case 15: - return GOVERNANCE_RULE_MATCHED_RESOURCES; - case 16: - return GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS; - case 17: - return GOVERNANCE_RULE_ERRORS; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return EVENT_TYPE_UNSPECIFIED; + case 1: return RESOURCE_IAM_POLICY_UPDATE; + case 2: return BIGQUERY_TABLE_CREATE; + case 3: return BIGQUERY_TABLE_UPDATE; + case 4: return BIGQUERY_TABLE_DELETE; + case 5: return BIGQUERY_CONNECTION_CREATE; + case 6: return BIGQUERY_CONNECTION_UPDATE; + case 7: return BIGQUERY_CONNECTION_DELETE; + case 10: return BIGQUERY_TAXONOMY_CREATE; + case 11: return BIGQUERY_POLICY_TAG_CREATE; + case 12: return BIGQUERY_POLICY_TAG_DELETE; + case 13: return BIGQUERY_POLICY_TAG_SET_IAM_POLICY; + case 14: return ACCESS_POLICY_UPDATE; + case 15: return GOVERNANCE_RULE_MATCHED_RESOURCES; + case 16: return GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS; + case 17: return GOVERNANCE_RULE_ERRORS; + 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); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.GovernanceEvent.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; @@ -506,14 +410,11 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.GovernanceEvent.EventType) } - public interface EntityOrBuilder - extends + public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GovernanceEvent.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -521,13 +422,10 @@ public interface EntityOrBuilder
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The entity. */ java.lang.String getEntity(); /** - * - * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -535,55 +433,46 @@ public interface EntityOrBuilder
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** - * - * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The entityType. */ com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType(); } /** - * - * *
    * Information about Entity resource that the log event is associated with.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent.Entity} */ - public static final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GovernanceEvent.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entity_ = ""; entityType_ = 0; @@ -591,38 +480,34 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); } /** - * - * *
      * Type of entity.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType} */ - public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * An unspecified Entity type.
        * 
@@ -631,8 +516,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_TYPE_UNSPECIFIED(0), /** - * - * *
        * Table entity type.
        * 
@@ -641,8 +524,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE(1), /** - * - * *
        * Fileset entity type.
        * 
@@ -654,8 +535,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * An unspecified Entity type.
        * 
@@ -664,8 +543,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Table entity type.
        * 
@@ -674,8 +551,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_VALUE = 1; /** - * - * *
        * Fileset entity type.
        * 
@@ -684,6 +559,7 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILESET_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -708,51 +584,49 @@ public static EntityType valueOf(int value) { */ public static EntityType forNumber(int value) { switch (value) { - case 0: - return ENTITY_TYPE_UNSPECIFIED; - case 1: - return TABLE; - case 2: - return FILESET; - default: - return null; + case 0: return ENTITY_TYPE_UNSPECIFIED; + case 1: return TABLE; + case 2: return FILESET; + 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< + EntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityType findValueByNumber(int number) { - return EntityType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDescriptor().getEnumTypes().get(0); } private static final EntityType[] VALUES = values(); - public static EntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityType 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; @@ -770,12 +644,9 @@ private EntityType(int value) { } public static final int ENTITY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -783,7 +654,6 @@ private EntityType(int value) {
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The entity. */ @java.lang.Override @@ -792,15 +662,14 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** - * - * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -808,15 +677,16 @@ public java.lang.String getEntity() {
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -827,42 +697,30 @@ public com.google.protobuf.ByteString getEntityBytes() { public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_ = 0; /** - * - * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override - public int getEntityTypeValue() { + @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** - * - * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The entityType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); - return result == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); + return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -874,13 +732,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(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } - if (entityType_ - != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { + if (entityType_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, entityType_); } getUnknownFields().writeTo(output); @@ -895,10 +752,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } - if (entityType_ - != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityType_); + if (entityType_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, entityType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -908,15 +764,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GovernanceEvent.Entity)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GovernanceEvent.Entity other = - (com.google.cloud.dataplex.v1.GovernanceEvent.Entity) obj; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity other = (com.google.cloud.dataplex.v1.GovernanceEvent.Entity) obj; - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; if (entityType_ != other.entityType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -939,94 +795,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.GovernanceEvent.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1036,41 +887,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about Entity resource that the log event is associated with.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent.Entity} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GovernanceEvent.Entity) com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GovernanceEvent.Entity.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1081,9 +930,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override @@ -1102,11 +951,8 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity build() { @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity buildPartial() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity result = - new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GovernanceEvent.Entity result = new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1125,41 +971,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent.Entity r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GovernanceEvent.Entity) { - return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent.Entity) other); + return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent.Entity)other); } else { super.mergeFrom(other); return this; @@ -1167,8 +1010,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GovernanceEvent.Entity other) { - if (other == com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1203,25 +1045,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - entityType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + entityType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1231,13 +1070,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object entity_ = ""; /** - * - * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1245,13 +1081,13 @@ public Builder mergeFrom(
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1260,8 +1096,6 @@ public java.lang.String getEntity() { } } /** - * - * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1269,14 +1103,15 @@ public java.lang.String getEntity() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entity. */ - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -1284,8 +1119,6 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1293,22 +1126,18 @@ public com.google.protobuf.ByteString getEntityBytes() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1316,7 +1145,6 @@ public Builder setEntity(java.lang.String value) {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1326,8 +1154,6 @@ public Builder clearEntity() { return this; } /** - * - * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1335,14 +1161,12 @@ public Builder clearEntity() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -1352,29 +1176,22 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { private int entityType_ = 0; /** - * - * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override - public int getEntityTypeValue() { + @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** - * - * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ @@ -1385,38 +1202,28 @@ public Builder setEntityTypeValue(int value) { return this; } /** - * - * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return The entityType. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); - return result == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); + return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED : result; } /** - * - * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @param value The entityType to set. * @return This builder for chaining. */ - public Builder setEntityType( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType value) { + public Builder setEntityType(com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType value) { if (value == null) { throw new NullPointerException(); } @@ -1426,14 +1233,11 @@ public Builder setEntityType( return this; } /** - * - * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; - * * @return This builder for chaining. */ public Builder clearEntityType() { @@ -1442,7 +1246,6 @@ public Builder clearEntityType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1455,12 +1258,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GovernanceEvent.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GovernanceEvent.Entity) private static final com.google.cloud.dataplex.v1.GovernanceEvent.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(); } @@ -1469,28 +1272,27 @@ public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1505,22 +1307,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -1529,29 +1328,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1562,52 +1361,38 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_ = 0; /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The eventType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { - com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = - com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); - return result == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { + com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); + return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED : result; } public static final int ENTITY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.GovernanceEvent.Entity entity_; /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -1615,26 +1400,19 @@ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return The entity. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() { - return entity_ == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
@@ -1644,13 +1422,10 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() {
    */
   @java.lang.Override
   public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrBuilder() {
-    return entity_ == null
-        ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()
-        : entity_;
+    return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1662,13 +1437,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(message_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
     }
-    if (eventType_
-        != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (eventType_ != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, eventType_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
@@ -1686,13 +1460,13 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
     }
-    if (eventType_
-        != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_);
+    if (eventType_ != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, eventType_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntity());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEntity());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1702,19 +1476,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.dataplex.v1.GovernanceEvent)) {
       return super.equals(obj);
     }
-    com.google.cloud.dataplex.v1.GovernanceEvent other =
-        (com.google.cloud.dataplex.v1.GovernanceEvent) obj;
+    com.google.cloud.dataplex.v1.GovernanceEvent other = (com.google.cloud.dataplex.v1.GovernanceEvent) obj;
 
-    if (!getMessage().equals(other.getMessage())) return false;
+    if (!getMessage()
+        .equals(other.getMessage())) return false;
     if (eventType_ != other.eventType_) return false;
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity().equals(other.getEntity())) return false;
+      if (!getEntity()
+          .equals(other.getEntity())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1740,127 +1515,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.dataplex.v1.GovernanceEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Payload associated with Governance related log events.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GovernanceEvent) com.google.cloud.dataplex.v1.GovernanceEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.class, - com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.class, com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GovernanceEvent.newBuilder() @@ -1868,17 +1636,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) { getEntityFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1894,9 +1662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override @@ -1915,11 +1683,8 @@ public com.google.cloud.dataplex.v1.GovernanceEvent build() { @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent buildPartial() { - com.google.cloud.dataplex.v1.GovernanceEvent result = - new com.google.cloud.dataplex.v1.GovernanceEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.GovernanceEvent result = new com.google.cloud.dataplex.v1.GovernanceEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1934,7 +1699,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null + ? entity_ + : entityBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1944,39 +1711,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GovernanceEvent) { - return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent) other); + return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent)other); } else { super.mergeFrom(other); return this; @@ -2022,31 +1788,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - eventType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + eventType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getEntityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2056,25 +1820,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2083,21 +1844,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2105,35 +1865,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2143,21 +1896,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -2167,29 +1916,22 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int eventType_ = 0; /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ @@ -2200,33 +1942,24 @@ public Builder setEventTypeValue(int value) { return this; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The eventType. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { - com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = - com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); - return result == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); + return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @param value The eventType to set. * @return This builder for chaining. */ @@ -2240,14 +1973,11 @@ public Builder setEventType(com.google.cloud.dataplex.v1.GovernanceEvent.EventTy return this; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return This builder for chaining. */ public Builder clearEventType() { @@ -2259,49 +1989,36 @@ public Builder clearEventType() { private com.google.cloud.dataplex.v1.GovernanceEvent.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.GovernanceEvent.Entity, - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, - com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> - entityBuilder_; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity resource information if the log event is associated with a
      * specific entity.
      * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Entity resource information if the log event is associated with a
      * specific entity.
      * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return The entity. */ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2323,8 +2040,6 @@ public Builder setEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity val
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2344,8 +2059,6 @@ public Builder setEntity(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2355,10 +2068,9 @@ public Builder setEntity(
      */
     public Builder mergeEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity value) {
       if (entityBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && entity_ != null
-            && entity_
-                != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          entity_ != null &&
+          entity_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) {
           getEntityBuilder().mergeFrom(value);
         } else {
           entity_ = value;
@@ -2371,8 +2083,6 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity v
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2391,8 +2101,6 @@ public Builder clearEntity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2406,8 +2114,6 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder getEntityBuil
       return getEntityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2419,14 +2125,11 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrB
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null
-            ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()
-            : entity_;
+        return entity_ == null ?
+            com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_;
       }
     }
     /**
-     *
-     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2435,24 +2138,21 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrB
      * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.GovernanceEvent.Entity,
-            com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder,
-            com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>
+        com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> 
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.dataplex.v1.GovernanceEvent.Entity,
-                com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder,
-                com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>(
-                getEntity(), getParentForChildren(), isClean());
+        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>(
+                getEntity(),
+                getParentForChildren(),
+                isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2462,12 +2162,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GovernanceEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GovernanceEvent)
   private static final com.google.cloud.dataplex.v1.GovernanceEvent DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GovernanceEvent();
   }
@@ -2476,27 +2176,27 @@ public static com.google.cloud.dataplex.v1.GovernanceEvent getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GovernanceEvent parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GovernanceEvent parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2511,4 +2211,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.dataplex.v1.GovernanceEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
similarity index 71%
rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
index 512491ff8fe8..7ce9e2705c5b 100644
--- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
+++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
@@ -1,107 +1,72 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/logs.proto
 
 package com.google.cloud.dataplex.v1;
 
-public interface GovernanceEventOrBuilder
-    extends
+public interface GovernanceEventOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GovernanceEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; - * * @return The eventType. */ com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType(); /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; - * * @return The entity. */ com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity(); /** - * - * *
    * Entity resource information if the log event is associated with a
    * specific entity.
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
similarity index 66%
rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
index ceda6c6c4ee1..bff7c0219e5d 100644
--- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
+++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/tasks.proto
 
 package com.google.cloud.dataplex.v1;
 
 /**
- *
- *
  * 
  * A job represents an instance of a task.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Job} */ -public final class Job extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Job extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Job) JobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Job() { name_ = ""; uid_ = ""; @@ -49,40 +31,42 @@ private Job() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Job(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_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.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.Job.class, com.google.cloud.dataplex.v1.Job.Builder.class); } - /** Protobuf enum {@code google.cloud.dataplex.v1.Job.Service} */ - public enum Service implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.dataplex.v1.Job.Service} + */ + public enum Service + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Service used to run the job is unspecified.
      * 
@@ -91,8 +75,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_UNSPECIFIED(0), /** - * - * *
      * Dataproc service is used to run this job.
      * 
@@ -104,8 +86,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Service used to run the job is unspecified.
      * 
@@ -114,8 +94,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Dataproc service is used to run this job.
      * 
@@ -124,6 +102,7 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATAPROC_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -148,47 +127,48 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: - return SERVICE_UNSPECIFIED; - case 1: - return DATAPROC; - default: - return null; + case 0: return SERVICE_UNSPECIFIED; + case 1: return DATAPROC; + 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< + Service> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Service findValueByNumber(int number) { + return Service.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Service findValueByNumber(int number) { - return Service.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(0); } private static final Service[] VALUES = values(); - public static Service valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Service 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; @@ -205,11 +185,12 @@ private Service(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Job.Service) } - /** Protobuf enum {@code google.cloud.dataplex.v1.Job.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.dataplex.v1.Job.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The job state is unknown.
      * 
@@ -218,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The job is running.
      * 
@@ -228,8 +207,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * The job is cancelling.
      * 
@@ -238,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * The job cancellation was successful.
      * 
@@ -248,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The job completed successfully.
      * 
@@ -258,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
      * The job is no longer running due to an error.
      * 
@@ -268,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
      * The job was cancelled outside of Dataplex.
      * 
@@ -281,8 +250,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The job state is unknown.
      * 
@@ -291,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job is running.
      * 
@@ -301,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * The job is cancelling.
      * 
@@ -311,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * The job cancellation was successful.
      * 
@@ -321,8 +282,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The job completed successfully.
      * 
@@ -331,8 +290,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
      * The job is no longer running due to an error.
      * 
@@ -341,8 +298,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
      * The job was cancelled outside of Dataplex.
      * 
@@ -351,6 +306,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORTED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -375,57 +331,53 @@ 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 CANCELLING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - case 5: - return FAILED; - case 6: - return ABORTED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return CANCELLING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + case 5: return FAILED; + case 6: return ABORTED; + 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.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(1); } 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; @@ -443,18 +395,15 @@ private State(int value) { } /** - * - * *
    * Job execution trigger.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Job.Trigger} */ - public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { + public enum Trigger + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The trigger is unspecified.
      * 
@@ -463,8 +412,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ TRIGGER_UNSPECIFIED(0), /** - * - * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -474,8 +421,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum {
      */
     TASK_CONFIG(1),
     /**
-     *
-     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -487,8 +432,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The trigger is unspecified.
      * 
@@ -497,8 +440,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -508,8 +449,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TASK_CONFIG_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -518,6 +457,7 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUN_REQUEST_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -542,49 +482,49 @@ public static Trigger valueOf(int value) { */ public static Trigger forNumber(int value) { switch (value) { - case 0: - return TRIGGER_UNSPECIFIED; - case 1: - return TASK_CONFIG; - case 2: - return RUN_REQUEST; - default: - return null; + case 0: return TRIGGER_UNSPECIFIED; + case 1: return TASK_CONFIG; + case 2: return RUN_REQUEST; + 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< + Trigger> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Trigger findValueByNumber(int number) { + return Trigger.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Trigger findValueByNumber(int number) { - return Trigger.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(2); } private static final Trigger[] VALUES = values(); - public static Trigger valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Trigger 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; @@ -602,21 +542,15 @@ private Trigger(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -625,32 +559,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; } } /** - * - * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -659,18 +591,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -679,29 +607,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -712,15 +640,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -728,15 +652,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -744,14 +664,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -761,15 +678,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -777,15 +690,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -793,14 +702,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -810,54 +716,38 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** - * - * *
    * Output only. Execution state for the job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Execution state for the job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Job.State getState() { - com.google.cloud.dataplex.v1.Job.State result = - com.google.cloud.dataplex.v1.Job.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.Job.State getState() { + com.google.cloud.dataplex.v1.Job.State result = com.google.cloud.dataplex.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.Job.State.UNRECOGNIZED : result; } public static final int RETRY_COUNT_FIELD_NUMBER = 6; private int retryCount_ = 0; /** - * - * *
    * Output only. The number of times the job has been retried (excluding the
    * initial attempt).
    * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retryCount. */ @java.lang.Override @@ -868,56 +758,39 @@ public int getRetryCount() { public static final int SERVICE_FIELD_NUMBER = 7; private int service_ = 0; /** - * - * *
    * Output only. The underlying service running a job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
    * Output only. The underlying service running a job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Job.Service getService() { - com.google.cloud.dataplex.v1.Job.Service result = - com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); + @java.lang.Override public com.google.cloud.dataplex.v1.Job.Service getService() { + com.google.cloud.dataplex.v1.Job.Service result = com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.Job.Service.UNRECOGNIZED : result; } public static final int SERVICE_JOB_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object serviceJob_ = ""; /** - * - * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceJob. */ @java.lang.Override @@ -926,30 +799,30 @@ public java.lang.String getServiceJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; } } /** - * - * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceJob. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceJobBytes() { + public com.google.protobuf.ByteString + getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -958,18 +831,14 @@ public com.google.protobuf.ByteString getServiceJobBytes() { } public static final int MESSAGE_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ @java.lang.Override @@ -978,29 +847,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1009,105 +878,94 @@ public com.google.protobuf.ByteString getMessageBytes() { } 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.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @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(); } /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @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(); } @@ -1117,55 +975,37 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int TRIGGER_FIELD_NUMBER = 11; private int trigger_ = 0; /** - * - * *
    * Output only. Job execution trigger.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
    * Output only. Job execution trigger.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trigger. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { - com.google.cloud.dataplex.v1.Job.Trigger result = - com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); + @java.lang.Override public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { + com.google.cloud.dataplex.v1.Job.Trigger result = com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.Job.Trigger.UNRECOGNIZED : result; } public static final int EXECUTION_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -1173,44 +1013,30 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1222,7 +1048,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1250,8 +1077,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, message_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 10); if (trigger_ != com.google.cloud.dataplex.v1.Job.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(11, trigger_); } @@ -1274,19 +1105,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.Job.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, retryCount_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, retryCount_); } if (service_ != com.google.cloud.dataplex.v1.Job.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, service_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceJob_); @@ -1294,21 +1130,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, message_); } - 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 (trigger_ != com.google.cloud.dataplex.v1.Job.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, trigger_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, trigger_); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getExecutionSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1318,33 +1156,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Job)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Job other = (com.google.cloud.dataplex.v1.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (state_ != other.state_) return false; - if (getRetryCount() != other.getRetryCount()) return false; + if (getRetryCount() + != other.getRetryCount()) return false; if (service_ != other.service_) return false; - if (!getServiceJob().equals(other.getServiceJob())) return false; - if (!getMessage().equals(other.getMessage())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getServiceJob() + .equals(other.getServiceJob())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (trigger_ != other.trigger_) return false; if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec() + .equals(other.getExecutionSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1394,155 +1241,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Job parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Job parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Job parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Job parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Job parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 job represents an instance of a task.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Job} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Job) com.google.cloud.dataplex.v1.JobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_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.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Job.class, - com.google.cloud.dataplex.v1.Job.Builder.class); + com.google.cloud.dataplex.v1.Job.class, com.google.cloud.dataplex.v1.Job.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Job.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1575,9 +1421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Job_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_descriptor; } @java.lang.Override @@ -1597,9 +1443,7 @@ public com.google.cloud.dataplex.v1.Job build() { @java.lang.Override public com.google.cloud.dataplex.v1.Job buildPartial() { com.google.cloud.dataplex.v1.Job result = new com.google.cloud.dataplex.v1.Job(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1613,10 +1457,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.state_ = state_; @@ -1641,8 +1489,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { result.trigger_ = trigger_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.executionSpec_ = - executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build(); + result.executionSpec_ = executionSpecBuilder_ == null + ? executionSpec_ + : executionSpecBuilder_.build(); } } @@ -1650,39 +1499,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Job) { - return mergeFrom((com.google.cloud.dataplex.v1.Job) other); + return mergeFrom((com.google.cloud.dataplex.v1.Job)other); } else { super.mergeFrom(other); return this; @@ -1726,7 +1574,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Job other) { bitField0_ |= 0x00000100; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000200; if (other.trigger_ != 0) { setTriggerValue(other.getTriggerValue()); @@ -1760,91 +1609,82 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - retryCount_ = input.readUInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - service_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - serviceJob_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: - { - trigger_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 802: - { - input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 802 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + retryCount_ = input.readUInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + service_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + serviceJob_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: { + trigger_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 802: { + input.readMessage( + getExecutionSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 802 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1854,28 +1694,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1884,24 +1719,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1909,41 +1741,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1953,24 +1774,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1980,20 +1795,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2002,21 +1815,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2024,35 +1836,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -2062,21 +1867,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -2086,35 +1887,24 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2125,14 +1915,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2148,16 +1935,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2168,20 +1953,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2194,14 +1976,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2214,14 +1993,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -2229,44 +2005,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2274,35 +2042,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_; /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2313,14 +2070,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2336,16 +2090,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2356,20 +2108,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2382,14 +2131,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2402,14 +2148,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -2417,44 +2160,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_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> 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_; @@ -2462,33 +2197,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. Execution state for the job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Execution state for the job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2499,35 +2223,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Execution state for the job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.State getState() { - com.google.cloud.dataplex.v1.Job.State result = - com.google.cloud.dataplex.v1.Job.State.forNumber(state_); + com.google.cloud.dataplex.v1.Job.State result = com.google.cloud.dataplex.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.Job.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Execution state for the job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2541,16 +2254,11 @@ public Builder setState(com.google.cloud.dataplex.v1.Job.State value) { return this; } /** - * - * *
      * Output only. Execution state for the job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2560,17 +2268,14 @@ public Builder clearState() { return this; } - private int retryCount_; + private int retryCount_ ; /** - * - * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retryCount. */ @java.lang.Override @@ -2578,15 +2283,12 @@ public int getRetryCount() { return retryCount_; } /** - * - * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The retryCount to set. * @return This builder for chaining. */ @@ -2598,15 +2300,12 @@ public Builder setRetryCount(int value) { return this; } /** - * - * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRetryCount() { @@ -2618,33 +2317,22 @@ public Builder clearRetryCount() { private int service_ = 0; /** - * - * *
      * Output only. The underlying service running a job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
      * Output only. The underlying service running a job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -2655,35 +2343,24 @@ public Builder setServiceValue(int value) { return this; } /** - * - * *
      * Output only. The underlying service running a job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.Service getService() { - com.google.cloud.dataplex.v1.Job.Service result = - com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); + com.google.cloud.dataplex.v1.Job.Service result = com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.Job.Service.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The underlying service running a job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The service to set. * @return This builder for chaining. */ @@ -2697,16 +2374,11 @@ public Builder setService(com.google.cloud.dataplex.v1.Job.Service value) { return this; } /** - * - * *
      * Output only. The underlying service running a job.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearService() { @@ -2718,21 +2390,19 @@ public Builder clearService() { private java.lang.Object serviceJob_ = ""; /** - * - * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceJob. */ public java.lang.String getServiceJob() { java.lang.Object ref = serviceJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; @@ -2741,22 +2411,21 @@ public java.lang.String getServiceJob() { } } /** - * - * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceJob. */ - public com.google.protobuf.ByteString getServiceJobBytes() { + public com.google.protobuf.ByteString + getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -2764,37 +2433,30 @@ public com.google.protobuf.ByteString getServiceJobBytes() { } } /** - * - * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJob(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceJob( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceJob_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearServiceJob() { @@ -2804,22 +2466,18 @@ public Builder clearServiceJob() { return this; } /** - * - * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceJobBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceJob_ = value; bitField0_ |= 0x00000080; @@ -2829,20 +2487,18 @@ public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { private java.lang.Object message_ = ""; /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2851,21 +2507,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2873,35 +2528,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2911,21 +2559,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000100; @@ -2933,19 +2577,21 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2954,184 +2600,156 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @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(); } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000200); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000200; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000200; return this; } /** - * - * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000200; return this; } private int trigger_ = 0; /** - * - * *
      * Output only. Job execution trigger.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
      * Output only. Job execution trigger.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ @@ -3142,35 +2760,24 @@ public Builder setTriggerValue(int value) { return this; } /** - * - * *
      * Output only. Job execution trigger.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { - com.google.cloud.dataplex.v1.Job.Trigger result = - com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); + com.google.cloud.dataplex.v1.Job.Trigger result = com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.Job.Trigger.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Job execution trigger.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The trigger to set. * @return This builder for chaining. */ @@ -3184,16 +2791,11 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Job.Trigger value) { return this; } /** - * - * *
      * Output only. Job execution trigger.
      * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearTrigger() { @@ -3205,58 +2807,39 @@ public Builder clearTrigger() { private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> - executionSpecBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> executionSpecBuilder_; /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionSpec. */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -3272,15 +2855,11 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec return this; } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder builderForValue) { @@ -3294,22 +2873,17 @@ public Builder setExecutionSpec( return this; } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && executionSpec_ != null - && executionSpec_ - != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + executionSpec_ != null && + executionSpec_ != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -3322,15 +2896,11 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpe return this; } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3343,15 +2913,11 @@ public Builder clearExecutionSpec() { return this; } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000800; @@ -3359,55 +2925,43 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecB return getExecutionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? + com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } } /** - * - * *
      * Output only. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( - getExecutionSpec(), getParentForChildren(), isClean()); + executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( + getExecutionSpec(), + getParentForChildren(), + isClean()); executionSpec_ = null; } return executionSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3417,12 +2971,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Job) private static final com.google.cloud.dataplex.v1.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Job(); } @@ -3431,27 +2985,27 @@ public static com.google.cloud.dataplex.v1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3466,4 +3020,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java similarity index 73% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java index 62dd334cc15b..4a685ae4440c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The payload associated with Job logs that contains events describing jobs
  * that have run within a Lake.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.JobEvent}
  */
-public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.JobEvent)
     JobEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobEvent() {
     message_ = "";
     jobId_ = "";
@@ -50,38 +32,34 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.JobEvent.class,
-            com.google.cloud.dataplex.v1.JobEvent.Builder.class);
+            com.google.cloud.dataplex.v1.JobEvent.class, com.google.cloud.dataplex.v1.JobEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified job type.
      * 
@@ -90,8 +68,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Spark jobs.
      * 
@@ -100,8 +76,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SPARK(1), /** - * - * *
      * Notebook jobs.
      * 
@@ -113,8 +87,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified job type.
      * 
@@ -123,8 +95,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Spark jobs.
      * 
@@ -133,8 +103,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPARK_VALUE = 1; /** - * - * *
      * Notebook jobs.
      * 
@@ -143,6 +111,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOTEBOOK_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return SPARK; - case 2: - return NOTEBOOK; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return SPARK; + case 2: return NOTEBOOK; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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,18 +196,15 @@ private Type(int value) { } /** - * - * *
    * The completion status of the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified job state.
      * 
@@ -247,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Job successfully completed.
      * 
@@ -257,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
      * Job was unsuccessful.
      * 
@@ -267,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * Job was cancelled by the user.
      * 
@@ -277,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * Job was cancelled or aborted via the service executing the job.
      * 
@@ -290,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified job state.
      * 
@@ -300,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Job successfully completed.
      * 
@@ -310,8 +264,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
      * Job was unsuccessful.
      * 
@@ -320,8 +272,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * Job was cancelled by the user.
      * 
@@ -330,8 +280,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * Job was cancelled or aborted via the service executing the job.
      * 
@@ -340,6 +288,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORTED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -364,53 +313,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return SUCCEEDED; - case 2: - return FAILED; - case 3: - return CANCELLED; - case 4: - return ABORTED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return SUCCEEDED; + case 2: return FAILED; + case 3: return CANCELLED; + case 4: return ABORTED; + default: return null; + } } - 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 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(1); } 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; @@ -428,18 +375,15 @@ private State(int value) { } /** - * - * *
    * The service used to execute the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.Service} */ - public enum Service implements com.google.protobuf.ProtocolMessageEnum { + public enum Service + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified service.
      * 
@@ -448,8 +392,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_UNSPECIFIED(0), /** - * - * *
      * Cloud Dataproc.
      * 
@@ -461,8 +403,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified service.
      * 
@@ -471,8 +411,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cloud Dataproc.
      * 
@@ -481,6 +419,7 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATAPROC_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -505,47 +444,48 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: - return SERVICE_UNSPECIFIED; - case 1: - return DATAPROC; - default: - return null; + case 0: return SERVICE_UNSPECIFIED; + case 1: return DATAPROC; + 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< + Service> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Service findValueByNumber(int number) { + return Service.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Service findValueByNumber(int number) { - return Service.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(2); } private static final Service[] VALUES = values(); - public static Service valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Service 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; @@ -563,18 +503,15 @@ private Service(int value) { } /** - * - * *
    * Job Execution trigger.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.ExecutionTrigger} */ - public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum { + public enum ExecutionTrigger + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The job execution trigger is unspecified.
      * 
@@ -583,8 +520,6 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum */ EXECUTION_TRIGGER_UNSPECIFIED(0), /** - * - * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -594,8 +529,6 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum
      */
     TASK_CONFIG(1),
     /**
-     *
-     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -607,8 +540,6 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * The job execution trigger is unspecified.
      * 
@@ -617,8 +548,6 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum */ public static final int EXECUTION_TRIGGER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -628,8 +557,6 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int TASK_CONFIG_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -638,6 +565,7 @@ public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum */ public static final int RUN_REQUEST_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -662,42 +590,39 @@ public static ExecutionTrigger valueOf(int value) { */ public static ExecutionTrigger forNumber(int value) { switch (value) { - case 0: - return EXECUTION_TRIGGER_UNSPECIFIED; - case 1: - return TASK_CONFIG; - case 2: - return RUN_REQUEST; - default: - return null; + case 0: return EXECUTION_TRIGGER_UNSPECIFIED; + case 1: return TASK_CONFIG; + case 2: return RUN_REQUEST; + 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< + ExecutionTrigger> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExecutionTrigger findValueByNumber(int number) { + return ExecutionTrigger.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionTrigger findValueByNumber(int number) { - return ExecutionTrigger.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(3); } @@ -706,7 +631,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ExecutionTrigger 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; @@ -724,18 +650,14 @@ private ExecutionTrigger(int value) { } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -744,29 +666,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -775,18 +697,14 @@ public com.google.protobuf.ByteString getMessageBytes() { } public static final int JOB_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** - * - * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; - * * @return The jobId. */ @java.lang.Override @@ -795,29 +713,29 @@ 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 unique id identifying the job.
    * 
* * string job_id = 2; - * * @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 { @@ -828,14 +746,11 @@ public com.google.protobuf.ByteString getJobIdBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -843,14 +758,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -858,8 +770,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time when the job started running.
    * 
@@ -874,14 +784,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -889,14 +796,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -904,8 +808,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the job ended running.
    * 
@@ -920,49 +822,37 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** - * - * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.JobEvent.State getState() { - com.google.cloud.dataplex.v1.JobEvent.State result = - com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.State getState() { + com.google.cloud.dataplex.v1.JobEvent.State result = com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.State.UNRECOGNIZED : result; } public static final int RETRIES_FIELD_NUMBER = 6; private int retries_ = 0; /** - * - * *
    * The number of retries.
    * 
* * int32 retries = 6; - * * @return The retries. */ @java.lang.Override @@ -973,86 +863,64 @@ public int getRetries() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** - * - * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @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 the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.JobEvent.Type getType() { - com.google.cloud.dataplex.v1.JobEvent.Type result = - com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Type getType() { + com.google.cloud.dataplex.v1.JobEvent.Type result = com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Type.UNRECOGNIZED : result; } public static final int SERVICE_FIELD_NUMBER = 8; private int service_ = 0; /** - * - * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The service. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.JobEvent.Service getService() { - com.google.cloud.dataplex.v1.JobEvent.Service result = - com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); + @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Service getService() { + com.google.cloud.dataplex.v1.JobEvent.Service result = com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Service.UNRECOGNIZED : result; } public static final int SERVICE_JOB_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object serviceJob_ = ""; /** - * - * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; - * * @return The serviceJob. */ @java.lang.Override @@ -1061,29 +929,29 @@ public java.lang.String getServiceJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; } } /** - * - * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; - * * @return The bytes for serviceJob. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceJobBytes() { + public com.google.protobuf.ByteString + getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -1094,42 +962,30 @@ public com.google.protobuf.ByteString getServiceJobBytes() { public static final int EXECUTION_TRIGGER_FIELD_NUMBER = 11; private int executionTrigger_ = 0; /** - * - * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The enum numeric value on the wire for executionTrigger. */ - @java.lang.Override - public int getExecutionTriggerValue() { + @java.lang.Override public int getExecutionTriggerValue() { return executionTrigger_; } /** - * - * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The executionTrigger. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); - return result == null - ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); + return result == null ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1141,7 +997,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -1169,9 +1026,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, serviceJob_); } - if (executionTrigger_ - != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED - .getNumber()) { + if (executionTrigger_ != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(11, executionTrigger_); } getUnknownFields().writeTo(output); @@ -1190,30 +1045,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.JobEvent.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (retries_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, retries_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, retries_); } if (type_ != com.google.cloud.dataplex.v1.JobEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } if (service_ != com.google.cloud.dataplex.v1.JobEvent.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, service_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceJob_); } - if (executionTrigger_ - != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, executionTrigger_); + if (executionTrigger_ != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, executionTrigger_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1223,28 +1083,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.JobEvent)) { return super.equals(obj); } com.google.cloud.dataplex.v1.JobEvent other = (com.google.cloud.dataplex.v1.JobEvent) obj; - if (!getMessage().equals(other.getMessage())) return false; - if (!getJobId().equals(other.getJobId())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getJobId() + .equals(other.getJobId())) 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 (state_ != other.state_) return false; - if (getRetries() != other.getRetries()) return false; + if (getRetries() + != other.getRetries()) return false; if (type_ != other.type_) return false; if (service_ != other.service_) return false; - if (!getServiceJob().equals(other.getServiceJob())) return false; + if (!getServiceJob() + .equals(other.getServiceJob())) return false; if (executionTrigger_ != other.executionTrigger_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1286,103 +1152,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.JobEvent parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.JobEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 payload associated with Job logs that contains events describing jobs
    * that have run within a Lake.
@@ -1390,32 +1252,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.JobEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.JobEvent)
       com.google.cloud.dataplex.v1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.JobEvent.class,
-              com.google.cloud.dataplex.v1.JobEvent.Builder.class);
+              com.google.cloud.dataplex.v1.JobEvent.class, com.google.cloud.dataplex.v1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.JobEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1442,9 +1305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1463,11 +1326,8 @@ public com.google.cloud.dataplex.v1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.JobEvent buildPartial() {
-      com.google.cloud.dataplex.v1.JobEvent result =
-          new com.google.cloud.dataplex.v1.JobEvent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.JobEvent result = new com.google.cloud.dataplex.v1.JobEvent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1481,10 +1341,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.JobEvent result) {
         result.jobId_ = jobId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.state_ = state_;
@@ -1510,39 +1374,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.JobEvent result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.JobEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.JobEvent) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.JobEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1613,73 +1476,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                message_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                jobId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 48:
-              {
-                retries_ = input.readInt32();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 56:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-            case 64:
-              {
-                service_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 74:
-              {
-                serviceJob_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 88:
-              {
-                executionTrigger_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 88
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              message_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              jobId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 48: {
+              retries_ = input.readInt32();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 56: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 56
+            case 64: {
+              service_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 74: {
+              serviceJob_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 88: {
+              executionTrigger_ = input.readEnum();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 88
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1689,25 +1545,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
-     *
-     *
      * 
      * The log message.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1716,21 +1569,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1738,35 +1590,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1776,21 +1621,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -1800,20 +1641,18 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobId_ = ""; /** - * - * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; - * * @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; @@ -1822,21 +1661,20 @@ public java.lang.String getJobId() { } } /** - * - * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; - * * @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 { @@ -1844,35 +1682,28 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; - * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; - * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1882,21 +1713,17 @@ public Builder clearJobId() { return this; } /** - * - * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; - * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000002; @@ -1906,33 +1733,24 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1943,8 +1761,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time when the job started running.
      * 
@@ -1965,15 +1781,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1984,8 +1799,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time when the job started running.
      * 
@@ -1994,9 +1807,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2009,8 +1822,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the job started running.
      * 
@@ -2028,8 +1839,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time when the job started running.
      * 
@@ -2042,8 +1851,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the job started running.
      * 
@@ -2054,12 +1861,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_; } } /** - * - * *
      * The time when the job started running.
      * 
@@ -2067,17 +1873,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 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> 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_; @@ -2085,33 +1888,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_; /** - * - * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2122,8 +1916,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2144,15 +1936,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2163,8 +1954,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2173,9 +1962,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2188,8 +1977,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2207,8 +1994,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2221,8 +2006,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2233,12 +2016,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_; } } /** - * - * *
      * The time when the job ended running.
      * 
@@ -2246,17 +2028,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ 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_; @@ -2264,29 +2043,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2297,31 +2069,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.State getState() { - com.google.cloud.dataplex.v1.JobEvent.State result = - com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); + com.google.cloud.dataplex.v1.JobEvent.State result = com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.State.UNRECOGNIZED : result; } /** - * - * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2335,14 +2100,11 @@ public Builder setState(com.google.cloud.dataplex.v1.JobEvent.State value) { return this; } /** - * - * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2352,16 +2114,13 @@ public Builder clearState() { return this; } - private int retries_; + private int retries_ ; /** - * - * *
      * The number of retries.
      * 
* * int32 retries = 6; - * * @return The retries. */ @java.lang.Override @@ -2369,14 +2128,11 @@ public int getRetries() { return retries_; } /** - * - * *
      * The number of retries.
      * 
* * int32 retries = 6; - * * @param value The retries to set. * @return This builder for chaining. */ @@ -2388,14 +2144,11 @@ public Builder setRetries(int value) { return this; } /** - * - * *
      * The number of retries.
      * 
* * int32 retries = 6; - * * @return This builder for chaining. */ public Builder clearRetries() { @@ -2407,29 +2160,22 @@ public Builder clearRetries() { private int type_ = 0; /** - * - * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @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 the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2440,31 +2186,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Type getType() { - com.google.cloud.dataplex.v1.JobEvent.Type result = - com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); + com.google.cloud.dataplex.v1.JobEvent.Type result = com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Type.UNRECOGNIZED : result; } /** - * - * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2478,14 +2217,11 @@ public Builder setType(com.google.cloud.dataplex.v1.JobEvent.Type value) { return this; } /** - * - * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2497,29 +2233,22 @@ public Builder clearType() { private int service_ = 0; /** - * - * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -2530,31 +2259,24 @@ public Builder setServiceValue(int value) { return this; } /** - * - * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The service. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Service getService() { - com.google.cloud.dataplex.v1.JobEvent.Service result = - com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); + com.google.cloud.dataplex.v1.JobEvent.Service result = com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Service.UNRECOGNIZED : result; } /** - * - * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @param value The service to set. * @return This builder for chaining. */ @@ -2568,14 +2290,11 @@ public Builder setService(com.google.cloud.dataplex.v1.JobEvent.Service value) { return this; } /** - * - * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return This builder for chaining. */ public Builder clearService() { @@ -2587,20 +2306,18 @@ public Builder clearService() { private java.lang.Object serviceJob_ = ""; /** - * - * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; - * * @return The serviceJob. */ public java.lang.String getServiceJob() { java.lang.Object ref = serviceJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; @@ -2609,21 +2326,20 @@ public java.lang.String getServiceJob() { } } /** - * - * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; - * * @return The bytes for serviceJob. */ - public com.google.protobuf.ByteString getServiceJobBytes() { + public com.google.protobuf.ByteString + getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -2631,35 +2347,28 @@ public com.google.protobuf.ByteString getServiceJobBytes() { } } /** - * - * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; - * * @param value The serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJob(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceJob( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceJob_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; - * * @return This builder for chaining. */ public Builder clearServiceJob() { @@ -2669,21 +2378,17 @@ public Builder clearServiceJob() { return this; } /** - * - * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; - * * @param value The bytes for serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceJobBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceJob_ = value; bitField0_ |= 0x00000100; @@ -2693,29 +2398,22 @@ public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { private int executionTrigger_ = 0; /** - * - * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The enum numeric value on the wire for executionTrigger. */ - @java.lang.Override - public int getExecutionTriggerValue() { + @java.lang.Override public int getExecutionTriggerValue() { return executionTrigger_; } /** - * - * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @param value The enum numeric value on the wire for executionTrigger to set. * @return This builder for chaining. */ @@ -2726,38 +2424,28 @@ public Builder setExecutionTriggerValue(int value) { return this; } /** - * - * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The executionTrigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); - return result == null - ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); + return result == null ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED : result; } /** - * - * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @param value The executionTrigger to set. * @return This builder for chaining. */ - public Builder setExecutionTrigger( - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger value) { + public Builder setExecutionTrigger(com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger value) { if (value == null) { throw new NullPointerException(); } @@ -2767,14 +2455,11 @@ public Builder setExecutionTrigger( return this; } /** - * - * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return This builder for chaining. */ public Builder clearExecutionTrigger() { @@ -2783,9 +2468,9 @@ public Builder clearExecutionTrigger() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2795,12 +2480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.JobEvent) private static final com.google.cloud.dataplex.v1.JobEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.JobEvent(); } @@ -2809,27 +2494,27 @@ public static com.google.cloud.dataplex.v1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2844,4 +2529,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java similarity index 80% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java index c29d1e7bf5fd..5ab5342e5194 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface JobEventOrBuilder - extends +public interface JobEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.JobEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); /** - * - * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time when the job started running.
    * 
@@ -109,32 +75,24 @@ public interface JobEventOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the job ended running.
    * 
@@ -144,139 +102,107 @@ public interface JobEventOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; - * * @return The state. */ com.google.cloud.dataplex.v1.JobEvent.State getState(); /** - * - * *
    * The number of retries.
    * 
* * int32 retries = 6; - * * @return The retries. */ int getRetries(); /** - * - * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; - * * @return The type. */ com.google.cloud.dataplex.v1.JobEvent.Type getType(); /** - * - * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** - * - * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; - * * @return The service. */ com.google.cloud.dataplex.v1.JobEvent.Service getService(); /** - * - * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; - * * @return The serviceJob. */ java.lang.String getServiceJob(); /** - * - * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; - * * @return The bytes for serviceJob. */ - com.google.protobuf.ByteString getServiceJobBytes(); + com.google.protobuf.ByteString + getServiceJobBytes(); /** - * - * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The enum numeric value on the wire for executionTrigger. */ int getExecutionTriggerValue(); /** - * - * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; - * * @return The executionTrigger. */ com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java index f4b5d21b8dd7..78aa3b1d518f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java @@ -1,414 +1,296 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Execution state for the job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Execution state for the job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.Job.State getState(); /** - * - * *
    * Output only. The number of times the job has been retried (excluding the
    * initial attempt).
    * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retryCount. */ int getRetryCount(); /** - * - * *
    * Output only. The underlying service running a job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** - * - * *
    * Output only. The underlying service running a job.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ com.google.cloud.dataplex.v1.Job.Service getService(); /** - * - * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceJob. */ java.lang.String getServiceJob(); /** - * - * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceJob. */ - com.google.protobuf.ByteString getServiceJobBytes(); + com.google.protobuf.ByteString + getServiceJobBytes(); /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getLabelsCount(); /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + 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(); /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Job execution trigger.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for trigger. */ int getTriggerValue(); /** - * - * *
    * Output only. Job execution trigger.
    * 
* - * - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trigger. */ com.google.cloud.dataplex.v1.Job.Trigger getTrigger(); /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionSpec. */ com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec(); /** - * - * *
    * Output only. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java index 48ddce5890d8..1348829164e5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A lake is a centralized repository for managing enterprise data across the
  * organization distributed across many cloud projects, and stored in a variety
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Lake}
  */
-public final class Lake extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Lake extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake)
     LakeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Lake.newBuilder() to construct.
   private Lake(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Lake() {
     name_ = "";
     displayName_ = "";
@@ -55,44 +37,41 @@ private Lake() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Lake();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Lake.class,
-            com.google.cloud.dataplex.v1.Lake.Builder.class);
+            com.google.cloud.dataplex.v1.Lake.class, com.google.cloud.dataplex.v1.Lake.Builder.class);
   }
 
-  public interface MetastoreOrBuilder
-      extends
+  public interface MetastoreOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake.Metastore)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -101,13 +80,10 @@ public interface MetastoreOrBuilder
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The service. */ java.lang.String getService(); /** - * - * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -116,62 +92,55 @@ public interface MetastoreOrBuilder
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); } /** - * - * *
    * Settings to manage association of Dataproc Metastore with a lake.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.Metastore} */ - public static final class Metastore extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Metastore extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake.Metastore) MetastoreOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metastore.newBuilder() to construct. private Metastore(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metastore() { service_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Metastore(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.Metastore.class, - com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); + com.google.cloud.dataplex.v1.Lake.Metastore.class, com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object service_ = ""; /** - * - * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -180,7 +149,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The service. */ @java.lang.Override @@ -189,15 +157,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -206,15 +173,16 @@ public java.lang.String getService() {
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -223,7 +191,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -259,15 +227,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake.Metastore)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Lake.Metastore other = - (com.google.cloud.dataplex.v1.Lake.Metastore) obj; + com.google.cloud.dataplex.v1.Lake.Metastore other = (com.google.cloud.dataplex.v1.Lake.Metastore) obj; - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,94 +254,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake.Metastore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -383,41 +347,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Settings to manage association of Dataproc Metastore with a lake.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.Metastore} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake.Metastore) com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.Metastore.class, - com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); + com.google.cloud.dataplex.v1.Lake.Metastore.class, com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Lake.Metastore.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override @@ -448,11 +410,8 @@ public com.google.cloud.dataplex.v1.Lake.Metastore build() { @java.lang.Override public com.google.cloud.dataplex.v1.Lake.Metastore buildPartial() { - com.google.cloud.dataplex.v1.Lake.Metastore result = - new com.google.cloud.dataplex.v1.Lake.Metastore(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Lake.Metastore result = new com.google.cloud.dataplex.v1.Lake.Metastore(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -468,41 +427,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.Metastore result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Lake.Metastore) { - return mergeFrom((com.google.cloud.dataplex.v1.Lake.Metastore) other); + return mergeFrom((com.google.cloud.dataplex.v1.Lake.Metastore)other); } else { super.mergeFrom(other); return this; @@ -542,19 +498,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - service_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + service_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,13 +518,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object service_ = ""; /** - * - * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -579,13 +530,13 @@ public Builder mergeFrom(
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -594,8 +545,6 @@ public java.lang.String getService() { } } /** - * - * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -604,14 +553,15 @@ public java.lang.String getService() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -619,8 +569,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -629,22 +577,18 @@ public com.google.protobuf.ByteString getServiceBytes() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setService( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -653,7 +597,6 @@ public Builder setService(java.lang.String value) {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearService() { @@ -663,8 +606,6 @@ public Builder clearService() { return this; } /** - * - * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -673,21 +614,18 @@ public Builder clearService() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -700,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake.Metastore) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake.Metastore) private static final com.google.cloud.dataplex.v1.Lake.Metastore DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake.Metastore(); } @@ -714,28 +652,27 @@ public static com.google.cloud.dataplex.v1.Lake.Metastore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metastore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metastore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,90 +687,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake.Metastore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MetastoreStatusOrBuilder - extends + public interface MetastoreStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake.MetastoreStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The state. */ com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState(); /** - * - * *
      * Additional information about the current status.
      * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
      * Additional information about the current status.
      * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
@@ -843,49 +761,41 @@ public interface MetastoreStatusOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; - * * @return The endpoint. */ java.lang.String getEndpoint(); /** - * - * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; - * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString getEndpointBytes(); + com.google.protobuf.ByteString + getEndpointBytes(); } /** - * - * *
    * Status of Lake and Dataproc Metastore service instance association.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.MetastoreStatus} */ - public static final class MetastoreStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MetastoreStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake.MetastoreStatus) MetastoreStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetastoreStatus.newBuilder() to construct. private MetastoreStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetastoreStatus() { state_ = 0; message_ = ""; @@ -894,38 +804,34 @@ private MetastoreStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetastoreStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); } /** - * - * *
      * Current state of association.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Lake.MetastoreStatus.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -934,8 +840,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * A Metastore service instance is not associated with the lake.
        * 
@@ -944,8 +848,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ NONE(1), /** - * - * *
        * A Metastore service instance is attached to the lake.
        * 
@@ -954,8 +856,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
        * Attach/detach is in progress.
        * 
@@ -964,8 +864,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(3), /** - * - * *
        * Attach/detach could not be done due to errors.
        * 
@@ -977,8 +875,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified.
        * 
@@ -987,8 +883,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * A Metastore service instance is not associated with the lake.
        * 
@@ -997,8 +891,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 1; /** - * - * *
        * A Metastore service instance is attached to the lake.
        * 
@@ -1007,8 +899,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
        * Attach/detach is in progress.
        * 
@@ -1017,8 +907,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 3; /** - * - * *
        * Attach/detach could not be done due to errors.
        * 
@@ -1027,6 +915,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1051,55 +940,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return NONE; - case 2: - return READY; - case 3: - return UPDATING; - case 4: - return ERROR; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return NONE; + case 2: return READY; + case 3: return UPDATING; + case 4: return ERROR; + 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() { - return com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.Lake.MetastoreStatus.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; @@ -1119,53 +1004,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
      * Additional information about the current status.
      * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -1174,29 +1044,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
      * Additional information about the current status.
      * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1207,14 +1077,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1222,14 +1089,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ @java.lang.Override @@ -1237,8 +1101,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last update time of the metastore status of the lake.
      * 
@@ -1251,18 +1113,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ENDPOINT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** - * - * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; - * * @return The endpoint. */ @java.lang.Override @@ -1271,29 +1129,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** - * - * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; - * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -1302,7 +1160,6 @@ public com.google.protobuf.ByteString getEndpointBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1314,10 +1171,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -1338,16 +1194,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endpoint_); @@ -1360,21 +1216,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake.MetastoreStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Lake.MetastoreStatus other = - (com.google.cloud.dataplex.v1.Lake.MetastoreStatus) obj; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus other = (com.google.cloud.dataplex.v1.Lake.MetastoreStatus) obj; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) 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 (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1402,93 +1260,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake.MetastoreStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1498,41 +1352,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of Lake and Dataproc Metastore service instance association.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.MetastoreStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake.MetastoreStatus) com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Lake.MetastoreStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1549,9 +1401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override @@ -1570,11 +1422,8 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus buildPartial() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus result = - new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Lake.MetastoreStatus result = new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1588,8 +1437,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.MetastoreStatus res result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = - updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.endpoint_ = endpoint_; @@ -1600,41 +1450,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.MetastoreStatus res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Lake.MetastoreStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Lake.MetastoreStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Lake.MetastoreStatus)other); } else { super.mergeFrom(other); return this; @@ -1642,8 +1489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Lake.MetastoreStatus other) { - if (other == com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1686,74 +1532,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private int state_ = 0; - /** - * - * + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int state_ = 0; + /** *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1764,33 +1599,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); + return result == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED : result; } /** - * - * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1804,14 +1630,11 @@ public Builder setState(com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State return this; } /** - * - * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1823,20 +1646,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
        * Additional information about the current status.
        * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1845,21 +1666,20 @@ public java.lang.String getMessage() { } } /** - * - * *
        * Additional information about the current status.
        * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1867,35 +1687,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
        * Additional information about the current status.
        * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Additional information about the current status.
        * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1905,21 +1718,17 @@ public Builder clearMessage() { return this; } /** - * - * *
        * Additional information about the current status.
        * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -1929,47 +1738,34 @@ public Builder setMessageBytes(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_; /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; - * * @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(); } } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1990,15 +1786,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2009,8 +1804,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -2019,9 +1812,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2034,8 +1827,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -2053,8 +1844,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -2067,8 +1856,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -2079,14 +1866,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last update time of the metastore status of the lake.
        * 
@@ -2094,17 +1878,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -2112,20 +1893,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object endpoint_ = ""; /** - * - * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; - * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -2134,21 +1913,20 @@ public java.lang.String getEndpoint() { } } /** - * - * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; - * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -2156,35 +1934,28 @@ public com.google.protobuf.ByteString getEndpointBytes() { } } /** - * - * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; - * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpoint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endpoint_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; - * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -2194,28 +1965,23 @@ public Builder clearEndpoint() { return this; } /** - * - * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; - * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2228,12 +1994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake.MetastoreStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake.MetastoreStatus) private static final com.google.cloud.dataplex.v1.Lake.MetastoreStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(); } @@ -2242,28 +2008,27 @@ public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetastoreStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetastoreStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2278,24 +2043,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -2304,32 +2064,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; } } /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2338,18 +2096,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -2358,29 +2112,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2389,19 +2143,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -2410,30 +2160,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2444,15 +2194,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the lake was created.
    * 
* - * .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 @@ -2460,15 +2206,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the lake was created.
    * 
* - * .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 @@ -2476,14 +2218,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the lake was created.
    * 
* - * .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() { @@ -2493,15 +2232,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 time when the lake was last updated.
    * 
* - * .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 @@ -2509,15 +2244,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the lake was last updated.
    * 
* - * .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 @@ -2525,14 +2256,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the lake was last updated.
    * 
* - * .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() { @@ -2540,34 +2268,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2575,21 +2301,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2601,8 +2326,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2610,19 +2333,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2630,11 +2351,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -2642,18 +2363,14 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -2662,29 +2379,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; } } /** - * - * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2695,47 +2412,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** - * - * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -2743,7 +2446,6 @@ public com.google.cloud.dataplex.v1.State getState() {
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceAccount. */ @java.lang.Override @@ -2752,15 +2454,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -2768,15 +2469,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -2787,17 +2489,12 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int METASTORE_FIELD_NUMBER = 102; private com.google.cloud.dataplex.v1.Lake.Metastore metastore_; /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the metastore field is set. */ @java.lang.Override @@ -2805,57 +2502,39 @@ public boolean hasMetastore() { return metastore_ != null; } /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return The metastore. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.Metastore getMetastore() { - return metastore_ == null - ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() - : metastore_; + return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; } /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder() { - return metastore_ == null - ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() - : metastore_; + return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; } public static final int ASSET_STATUS_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ @java.lang.Override @@ -2863,55 +2542,37 @@ public boolean hasAssetStatus() { return assetStatus_ != null; } /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } public static final int METASTORE_STATUS_FIELD_NUMBER = 104; private com.google.cloud.dataplex.v1.Lake.MetastoreStatus metastoreStatus_; /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metastoreStatus field is set. */ @java.lang.Override @@ -2919,44 +2580,30 @@ public boolean hasMetastoreStatus() { return metastoreStatus_ != null; } /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metastoreStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus() { - return metastoreStatus_ == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() - : metastoreStatus_; + return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; } /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder() { - return metastoreStatus_ == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() - : metastoreStatus_; + return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2968,7 +2615,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2984,8 +2632,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -3023,38 +2675,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (metastore_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(102, getMetastore()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, getMetastore()); } if (assetStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getAssetStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(103, getAssetStatus()); } if (metastoreStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(104, getMetastoreStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(104, getMetastoreStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3064,39 +2722,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Lake other = (com.google.cloud.dataplex.v1.Lake) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (hasMetastore() != other.hasMetastore()) return false; if (hasMetastore()) { - if (!getMetastore().equals(other.getMetastore())) return false; + if (!getMetastore() + .equals(other.getMetastore())) return false; } if (hasAssetStatus() != other.hasAssetStatus()) return false; if (hasAssetStatus()) { - if (!getAssetStatus().equals(other.getAssetStatus())) return false; + if (!getAssetStatus() + .equals(other.getAssetStatus())) return false; } if (hasMetastoreStatus() != other.hasMetastoreStatus()) return false; if (hasMetastoreStatus()) { - if (!getMetastoreStatus().equals(other.getMetastoreStatus())) return false; + if (!getMetastoreStatus() + .equals(other.getMetastoreStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3150,103 +2819,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Lake parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Lake parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Lake parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Lake parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Lake parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lake is a centralized repository for managing enterprise data across the
    * organization distributed across many cloud projects, and stored in a variety
@@ -3260,52 +2925,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Lake}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake)
       com.google.cloud.dataplex.v1.LakeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Lake.class,
-              com.google.cloud.dataplex.v1.Lake.Builder.class);
+              com.google.cloud.dataplex.v1.Lake.class, com.google.cloud.dataplex.v1.Lake.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Lake.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3346,9 +3014,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_descriptor;
     }
 
     @java.lang.Override
@@ -3368,9 +3036,7 @@ public com.google.cloud.dataplex.v1.Lake build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Lake buildPartial() {
       com.google.cloud.dataplex.v1.Lake result = new com.google.cloud.dataplex.v1.Lake(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -3387,10 +3053,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -3406,15 +3076,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
         result.serviceAccount_ = serviceAccount_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.metastore_ = metastoreBuilder_ == null ? metastore_ : metastoreBuilder_.build();
+        result.metastore_ = metastoreBuilder_ == null
+            ? metastore_
+            : metastoreBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.assetStatus_ =
-            assetStatusBuilder_ == null ? assetStatus_ : assetStatusBuilder_.build();
+        result.assetStatus_ = assetStatusBuilder_ == null
+            ? assetStatus_
+            : assetStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.metastoreStatus_ =
-            metastoreStatusBuilder_ == null ? metastoreStatus_ : metastoreStatusBuilder_.build();
+        result.metastoreStatus_ = metastoreStatusBuilder_ == null
+            ? metastoreStatus_
+            : metastoreStatusBuilder_.build();
       }
     }
 
@@ -3422,39 +3096,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Lake) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Lake) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Lake)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3484,7 +3157,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Lake other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -3534,91 +3208,86 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 74:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 818:
-              {
-                input.readMessage(getMetastoreFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 818
-            case 826:
-              {
-                input.readMessage(getAssetStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 826
-            case 834:
-              {
-                input.readMessage(getMetastoreStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 834
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 74: {
+              serviceAccount_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 818: {
+              input.readMessage(
+                  getMetastoreFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 818
+            case 826: {
+              input.readMessage(
+                  getAssetStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 826
+            case 834: {
+              input.readMessage(
+                  getMetastoreStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 834
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3628,28 +3297,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3658,24 +3322,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3683,41 +3344,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -3727,24 +3377,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3754,20 +3398,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3776,21 +3418,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3798,35 +3439,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3836,21 +3470,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3860,21 +3490,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3883,22 +3511,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3906,37 +3533,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3946,22 +3566,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3971,58 +3587,39 @@ public Builder setUidBytes(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 time when the lake was created.
      * 
* - * - * .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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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 time when the lake was created.
      * 
* - * - * .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) { @@ -4038,17 +3635,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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(); } else { @@ -4059,21 +3653,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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 (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4086,15 +3676,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4107,15 +3693,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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() { bitField0_ |= 0x00000008; @@ -4123,48 +3705,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the lake was created.
      * 
* - * - * .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 time when the lake was created.
      * 
* - * - * .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_; @@ -4172,58 +3742,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 time when the lake was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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 time when the lake was last updated.
      * 
* - * - * .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) { @@ -4239,17 +3790,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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(); } else { @@ -4260,21 +3808,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4287,15 +3831,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4308,15 +3848,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000010; @@ -4324,66 +3860,56 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the lake was last updated.
      * 
* - * - * .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 time when the lake was last updated.
      * 
* - * - * .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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4392,13 +3918,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
@@ -4406,21 +3929,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
@@ -4432,8 +3954,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
@@ -4441,19 +3961,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
@@ -4461,95 +3979,91 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -4558,21 +4072,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -4580,35 +4093,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4618,21 +4124,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -4642,31 +4144,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4677,33 +4170,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4717,15 +4201,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4737,8 +4217,6 @@ public Builder clearState() { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4746,13 +4224,13 @@ public Builder clearState() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -4761,8 +4239,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4770,14 +4246,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -4785,8 +4262,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4794,22 +4269,18 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccount_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4817,7 +4288,6 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -4827,8 +4297,6 @@ public Builder clearServiceAccount() { return this; } /** - * - * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4836,14 +4304,12 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000100; @@ -4853,61 +4319,42 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Lake.Metastore metastore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, - com.google.cloud.dataplex.v1.Lake.Metastore.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> - metastoreBuilder_; + com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> metastoreBuilder_; /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the metastore field is set. */ public boolean hasMetastore() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return The metastore. */ public com.google.cloud.dataplex.v1.Lake.Metastore getMetastore() { if (metastoreBuilder_ == null) { - return metastore_ == null - ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() - : metastore_; + return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; } else { return metastoreBuilder_.getMessage(); } } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { if (metastoreBuilder_ == null) { @@ -4923,16 +4370,12 @@ public Builder setMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { return this; } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMetastore( com.google.cloud.dataplex.v1.Lake.Metastore.Builder builderForValue) { @@ -4946,22 +4389,18 @@ public Builder setMetastore( return this; } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { if (metastoreBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && metastore_ != null - && metastore_ != com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + metastore_ != null && + metastore_ != com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance()) { getMetastoreBuilder().mergeFrom(value); } else { metastore_ = value; @@ -4974,16 +4413,12 @@ public Builder mergeMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) return this; } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMetastore() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4996,16 +4431,12 @@ public Builder clearMetastore() { return this; } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Lake.Metastore.Builder getMetastoreBuilder() { bitField0_ |= 0x00000200; @@ -5013,50 +4444,38 @@ public com.google.cloud.dataplex.v1.Lake.Metastore.Builder getMetastoreBuilder() return getMetastoreFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder() { if (metastoreBuilder_ != null) { return metastoreBuilder_.getMessageOrBuilder(); } else { - return metastore_ == null - ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() - : metastore_; + return metastore_ == null ? + com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; } } /** - * - * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, - com.google.cloud.dataplex.v1.Lake.Metastore.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> + com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> getMetastoreFieldBuilder() { if (metastoreBuilder_ == null) { - metastoreBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, - com.google.cloud.dataplex.v1.Lake.Metastore.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder>( - getMetastore(), getParentForChildren(), isClean()); + metastoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder>( + getMetastore(), + getParentForChildren(), + isClean()); metastore_ = null; } return metastoreBuilder_; @@ -5064,58 +4483,39 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilde private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder> - assetStatusBuilder_; + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> assetStatusBuilder_; /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ public boolean hasAssetStatus() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { if (assetStatusBuilder_ == null) { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } else { return assetStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { @@ -5131,15 +4531,11 @@ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAssetStatus( com.google.cloud.dataplex.v1.AssetStatus.Builder builderForValue) { @@ -5153,21 +4549,17 @@ public Builder setAssetStatus( return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && assetStatus_ != null - && assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + assetStatus_ != null && + assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { getAssetStatusBuilder().mergeFrom(value); } else { assetStatus_ = value; @@ -5180,15 +4572,11 @@ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAssetStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -5201,15 +4589,11 @@ public Builder clearAssetStatus() { return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() { bitField0_ |= 0x00000400; @@ -5217,48 +4601,36 @@ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() return getAssetStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { if (assetStatusBuilder_ != null) { return assetStatusBuilder_.getMessageOrBuilder(); } else { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? + com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> getAssetStatusFieldBuilder() { if (assetStatusBuilder_ == null) { - assetStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( - getAssetStatus(), getParentForChildren(), isClean()); + assetStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( + getAssetStatus(), + getParentForChildren(), + isClean()); assetStatus_ = null; } return assetStatusBuilder_; @@ -5266,58 +4638,39 @@ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder private com.google.cloud.dataplex.v1.Lake.MetastoreStatus metastoreStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> - metastoreStatusBuilder_; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> metastoreStatusBuilder_; /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metastoreStatus field is set. */ public boolean hasMetastoreStatus() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metastoreStatus. */ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus() { if (metastoreStatusBuilder_ == null) { - return metastoreStatus_ == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() - : metastoreStatus_; + return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; } else { return metastoreStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreStatus value) { if (metastoreStatusBuilder_ == null) { @@ -5333,15 +4686,11 @@ public Builder setMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreSta return this; } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetastoreStatus( com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder builderForValue) { @@ -5355,22 +4704,17 @@ public Builder setMetastoreStatus( return this; } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreStatus value) { if (metastoreStatusBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && metastoreStatus_ != null - && metastoreStatus_ - != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + metastoreStatus_ != null && + metastoreStatus_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) { getMetastoreStatusBuilder().mergeFrom(value); } else { metastoreStatus_ = value; @@ -5383,15 +4727,11 @@ public Builder mergeMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreS return this; } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetastoreStatus() { bitField0_ = (bitField0_ & ~0x00000800); @@ -5404,15 +4744,11 @@ public Builder clearMetastoreStatus() { return this; } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder getMetastoreStatusBuilder() { bitField0_ |= 0x00000800; @@ -5420,56 +4756,43 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder getMetastoreSta return getMetastoreStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder - getMetastoreStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder() { if (metastoreStatusBuilder_ != null) { return metastoreStatusBuilder_.getMessageOrBuilder(); } else { - return metastoreStatus_ == null - ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() - : metastoreStatus_; + return metastoreStatus_ == null ? + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; } } /** - * - * *
      * Output only. Metastore status of the lake.
      * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> getMetastoreStatusFieldBuilder() { if (metastoreStatusBuilder_ == null) { - metastoreStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, - com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder>( - getMetastoreStatus(), getParentForChildren(), isClean()); + metastoreStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder>( + getMetastoreStatus(), + getParentForChildren(), + isClean()); metastoreStatus_ = null; } return metastoreStatusBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5479,12 +4802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake) private static final com.google.cloud.dataplex.v1.Lake DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake(); } @@ -5493,27 +4816,27 @@ public static com.google.cloud.dataplex.v1.Lake getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Lake parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Lake parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5528,4 +4851,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java index 758bc7b2d851..d3b4ac6cafd5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java @@ -1,190 +1,131 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface LakeOrBuilder - extends +public interface LakeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the lake was created.
    * 
* - * .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 time when the lake was created.
    * 
* - * .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 time when the lake was created.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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(); /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -193,31 +134,30 @@ public interface LakeOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
@@ -225,76 +165,60 @@ public interface LakeOrBuilder * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -302,13 +226,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -316,134 +237,92 @@ java.lang.String getLabelsOrDefault(
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the metastore field is set. */ boolean hasMetastore(); /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; * @return The metastore. */ com.google.cloud.dataplex.v1.Lake.Metastore getMetastore(); /** - * - * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ boolean hasAssetStatus(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ com.google.cloud.dataplex.v1.AssetStatus getAssetStatus(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder(); /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metastoreStatus field is set. */ boolean hasMetastoreStatus(); /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metastoreStatus. */ com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus(); /** - * - * *
    * Output only. Metastore status of the lake.
    * 
* - * - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java index 70dae719803b..c7e09af56700 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List actions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListActionsResponse} */ -public final class ListActionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListActionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListActionsResponse) ListActionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListActionsResponse.newBuilder() to construct. private ListActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListActionsResponse() { actions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListActionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListActionsResponse.class, - com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListActionsResponse.class, com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List actions_; /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -81,8 +59,6 @@ public java.util.List getActionsList() { return actions_; } /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -90,13 +66,11 @@ public java.util.List getActionsList() { * repeated .google.cloud.dataplex.v1.Action actions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getActionsOrBuilderList() { return actions_; } /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -108,8 +82,6 @@ public int getActionsCount() { return actions_.size(); } /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { return actions_.get(index); } /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { * repeated .google.cloud.dataplex.v1.Action actions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( + int index) { return actions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < actions_.size(); i++) { output.writeMessage(1, actions_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, actions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListActionsResponse other = - (com.google.cloud.dataplex.v1.ListActionsResponse) obj; + com.google.cloud.dataplex.v1.ListActionsResponse other = (com.google.cloud.dataplex.v1.ListActionsResponse) obj; - if (!getActionsList().equals(other.getActionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getActionsList() + .equals(other.getActionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +231,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 actions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListActionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListActionsResponse) com.google.cloud.dataplex.v1.ListActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListActionsResponse.class, - com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListActionsResponse.class, com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListActionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListActionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListActionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListActionsResponse result = - new com.google.cloud.dataplex.v1.ListActionsResponse(this); + com.google.cloud.dataplex.v1.ListActionsResponse result = new com.google.cloud.dataplex.v1.ListActionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListActionsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListActionsResponse result) { if (actionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListActionsResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListActionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListActionsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListActionsResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListActionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance()) return this; if (actionsBuilder_ == null) { if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListActionsResponse 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_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Action m = - input.readMessage( - com.google.cloud.dataplex.v1.Action.parser(), extensionRegistry); - if (actionsBuilder_ == null) { - ensureActionsIsMutable(); - actions_.add(m); - } else { - actionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Action m = + input.readMessage( + com.google.cloud.dataplex.v1.Action.parser(), + extensionRegistry); + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.add(m); + } else { + actionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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.cloud.dataplex.v1.Action, - com.google.cloud.dataplex.v1.Action.Builder, - com.google.cloud.dataplex.v1.ActionOrBuilder> - actionsBuilder_; + com.google.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder> actionsBuilder_; /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -634,8 +583,6 @@ public java.util.List getActionsList() { } } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -650,8 +597,6 @@ public int getActionsCount() { } } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { } } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder setActions(int index, com.google.cloud.dataplex.v1.Action value) { + public Builder setActions( + int index, com.google.cloud.dataplex.v1.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setActions(int index, com.google.cloud.dataplex.v1.Action value) return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -708,8 +650,6 @@ public Builder setActions( return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -730,15 +670,14 @@ public Builder addActions(com.google.cloud.dataplex.v1.Action value) { return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder addActions(int index, com.google.cloud.dataplex.v1.Action value) { + public Builder addActions( + int index, com.google.cloud.dataplex.v1.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addActions(int index, com.google.cloud.dataplex.v1.Action value) return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder addActions(com.google.cloud.dataplex.v1.Action.Builder builderForValue) { + public Builder addActions( + com.google.cloud.dataplex.v1.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addActions(com.google.cloud.dataplex.v1.Action.Builder builderFor return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -791,8 +727,6 @@ public Builder addActions( return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -803,7 +737,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); @@ -811,8 +746,6 @@ public Builder addAllActions( return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -830,8 +763,6 @@ public Builder clearActions() { return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -849,44 +780,39 @@ public Builder removeActions(int index) { return this; } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.Action.Builder getActionsBuilder(int index) { + public com.google.cloud.dataplex.v1.Action.Builder getActionsBuilder( + int index) { return getActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( + int index) { if (actionsBuilder_ == null) { - return actions_.get(index); - } else { + return actions_.get(index); } else { return actionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public java.util.List - getActionsOrBuilderList() { + public java.util.List + getActionsOrBuilderList() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int inde } } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -903,47 +827,42 @@ public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int inde * repeated .google.cloud.dataplex.v1.Action actions = 1; */ public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder() { - return getActionsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Action.getDefaultInstance()); + return getActionsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Action.getDefaultInstance()); } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder(int index) { - return getActionsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Action.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder( + int index) { + return getActionsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Action.getDefaultInstance()); } /** - * - * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public java.util.List getActionsBuilderList() { + public java.util.List + getActionsBuilderList() { return getActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Action, - com.google.cloud.dataplex.v1.Action.Builder, - com.google.cloud.dataplex.v1.ActionOrBuilder> + com.google.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { - actionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Action, - com.google.cloud.dataplex.v1.Action.Builder, - com.google.cloud.dataplex.v1.ActionOrBuilder>( - actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder>( + actions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); actions_ = null; } return actionsBuilder_; @@ -951,21 +870,19 @@ public java.util.List getActionsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -974,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -997,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListActionsResponse) private static final com.google.cloud.dataplex.v1.ListActionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListActionsResponse(); } @@ -1085,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListActionsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListActionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java index 384cbfb70f17..5960241b4a20 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListActionsResponseOrBuilder - extends +public interface ListActionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListActionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - java.util.List getActionsList(); + java.util.List + getActionsList(); /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -44,8 +25,6 @@ public interface ListActionsResponseOrBuilder */ com.google.cloud.dataplex.v1.Action getActions(int index); /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -54,50 +33,43 @@ public interface ListActionsResponseOrBuilder */ int getActionsCount(); /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - java.util.List getActionsOrBuilderList(); + java.util.List + getActionsOrBuilderList(); /** - * - * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index); + com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java index 012b53f60f47..c464abe99a76 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List asset actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetActionsRequest} */ -public final class ListAssetActionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetActionsRequest) ListAssetActionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetActionsRequest.newBuilder() to construct. private ListAssetActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListAssetActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, - com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,8 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -132,7 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +111,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -155,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -233,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -246,17 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetActionsRequest other = - (com.google.cloud.dataplex.v1.ListAssetActionsRequest) obj; + com.google.cloud.dataplex.v1.ListAssetActionsRequest other = (com.google.cloud.dataplex.v1.ListAssetActionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,135 +249,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List asset actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetActionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetActionsRequest) com.google.cloud.dataplex.v1.ListAssetActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, - com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetActionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override @@ -441,11 +406,8 @@ public com.google.cloud.dataplex.v1.ListAssetActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListAssetActionsRequest result = - new com.google.cloud.dataplex.v1.ListAssetActionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListAssetActionsRequest result = new com.google.cloud.dataplex.v1.ListAssetActionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -467,39 +429,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetActionsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetActionsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetActionsRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -548,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -582,28 +538,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -637,41 +585,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,24 +618,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,10 +637,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -717,7 +646,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -725,8 +653,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -734,7 +660,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -746,8 +671,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -755,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -767,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -777,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -792,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -802,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -817,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -827,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -851,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -861,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -871,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetActionsRequest) private static final com.google.cloud.dataplex.v1.ListAssetActionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetActionsRequest(); } @@ -911,27 +819,27 @@ public static com.google.cloud.dataplex.v1.ListAssetActionsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java index 3893b4da7b46..b429ff5cdffa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetActionsRequestOrBuilder - extends +public interface ListAssetActionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetActionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -64,14 +37,11 @@ public interface ListAssetActionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -80,13 +50,10 @@ public interface ListAssetActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -95,8 +62,8 @@ public interface ListAssetActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java index 6362349e69ea..b1c862c9c643 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List assets request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsRequest} */ -public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetsRequest) ListAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,41 +28,34 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsRequest.class, - com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsRequest.class, com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of asset to return. The service may return fewer
    * than this value. If unspecified, at most 10 assets will be returned. The
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -157,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +132,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,18 +166,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -220,29 +182,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -251,18 +213,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -271,29 +229,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -302,7 +260,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,7 +271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -343,7 +301,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -362,19 +321,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetsRequest other = - (com.google.cloud.dataplex.v1.ListAssetsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListAssetsRequest other = (com.google.cloud.dataplex.v1.ListAssetsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -401,136 +364,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List assets request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetsRequest) com.google.cloud.dataplex.v1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsRequest.class, - com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsRequest.class, com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -565,11 +524,8 @@ public com.google.cloud.dataplex.v1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListAssetsRequest result = - new com.google.cloud.dataplex.v1.ListAssetsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListAssetsRequest result = new com.google.cloud.dataplex.v1.ListAssetsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -597,39 +553,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetsRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -687,43 +642,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,28 +682,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -763,24 +707,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -788,41 +729,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -832,24 +762,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -857,10 +781,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -868,7 +790,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -876,8 +797,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -885,7 +804,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -897,8 +815,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -906,7 +822,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -918,8 +833,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -928,13 +841,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -943,8 +856,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -953,14 +864,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -968,8 +880,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -978,22 +888,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1002,7 +908,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1012,8 +917,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1022,14 +925,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1039,20 +940,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1061,21 +960,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1083,35 +981,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1121,21 +1012,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1145,20 +1032,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1167,21 +1052,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1189,35 +1073,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1227,30 +1104,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,12 +1133,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetsRequest) private static final com.google.cloud.dataplex.v1.ListAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetsRequest(); } @@ -1274,27 +1147,27 @@ public static com.google.cloud.dataplex.v1.ListAssetsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1182,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java index 6b7adb8d5694..806085f9e281 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetsRequestOrBuilder - extends +public interface ListAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of asset to return. The service may return fewer
    * than this value. If unspecified, at most 10 assets will be returned. The
@@ -64,14 +37,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -80,13 +50,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -95,58 +62,48 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java index a590e0b8eb2a..9a9689acf9c7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List assets response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsResponse} */ -public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetsResponse) ListAssetsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsResponse.class, - com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsResponse.class, com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); } public static final int ASSETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -81,8 +59,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -90,13 +66,11 @@ public java.util.List getAssetsList() { * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -108,8 +82,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < assets_.size(); i++) { output.writeMessage(1, assets_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetsResponse other = - (com.google.cloud.dataplex.v1.ListAssetsResponse) obj; + com.google.cloud.dataplex.v1.ListAssetsResponse other = (com.google.cloud.dataplex.v1.ListAssetsResponse) obj; - if (!getAssetsList().equals(other.getAssetsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +231,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List assets response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetsResponse) com.google.cloud.dataplex.v1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsResponse.class, - com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsResponse.class, com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListAssetsResponse result = - new com.google.cloud.dataplex.v1.ListAssetsResponse(this); + com.google.cloud.dataplex.v1.ListAssetsResponse result = new com.google.cloud.dataplex.v1.ListAssetsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListAssetsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListAssetsResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetsResponse resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance()) return this; if (assetsBuilder_ == null) { if (!other.assets_.isEmpty()) { if (assets_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetsResponse other) assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Asset m = - input.readMessage( - com.google.cloud.dataplex.v1.Asset.parser(), extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Asset m = + input.readMessage( + com.google.cloud.dataplex.v1.Asset.parser(), + extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> - assetsBuilder_; + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetsBuilder_; /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -634,8 +583,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -650,8 +597,6 @@ public int getAssetsCount() { } } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { } } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder setAssets(int index, com.google.cloud.dataplex.v1.Asset value) { + public Builder setAssets( + int index, com.google.cloud.dataplex.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setAssets(int index, com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -708,8 +650,6 @@ public Builder setAssets( return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -730,15 +670,14 @@ public Builder addAssets(com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder addAssets(int index, com.google.cloud.dataplex.v1.Asset value) { + public Builder addAssets( + int index, com.google.cloud.dataplex.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addAssets(int index, com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder addAssets(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder addAssets( + com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addAssets(com.google.cloud.dataplex.v1.Asset.Builder builderForVa return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -791,8 +727,6 @@ public Builder addAssets( return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -803,7 +737,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -811,8 +746,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -830,8 +763,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -849,44 +780,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.Asset.Builder getAssetsBuilder(int index) { + public com.google.cloud.dataplex.v1.Asset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) } } /** - * - * *
      * Asset under the given parent zone.
      * 
@@ -903,47 +827,42 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); } /** - * - * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public java.util.List getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; @@ -951,21 +870,19 @@ public java.util.List getAssetsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -974,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -997,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetsResponse) private static final com.google.cloud.dataplex.v1.ListAssetsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetsResponse(); } @@ -1085,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListAssetsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java index e959aedf42d3..6cabd4ea125b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetsResponseOrBuilder - extends +public interface ListAssetsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -44,8 +25,6 @@ public interface ListAssetsResponseOrBuilder */ com.google.cloud.dataplex.v1.Asset getAssets(int index); /** - * - * *
    * Asset under the given parent zone.
    * 
@@ -54,50 +33,43 @@ public interface ListAssetsResponseOrBuilder */ int getAssetsCount(); /** - * - * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - java.util.List getAssetsOrBuilderList(); + java.util.List + getAssetsOrBuilderList(); /** - * - * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java index dcd31371f42f..427ce43d9e0a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List content request. Returns the BASIC Content view.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentRequest} */ -public final class ListContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListContentRequest) ListContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListContentRequest.newBuilder() to construct. private ListContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListContentRequest() { parent_ = ""; pageToken_ = ""; @@ -45,41 +27,34 @@ private ListContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentRequest.class, - com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); + com.google.cloud.dataplex.v1.ListContentRequest.class, com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,8 +97,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of content to return. The service may return fewer
    * than this value. If unspecified, at most 10 content will be returned. The
@@ -133,7 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -142,12 +112,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -156,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -165,15 +131,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -182,15 +147,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -199,12 +165,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -218,7 +181,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -227,15 +189,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -249,15 +210,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -266,7 +228,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -304,7 +266,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -320,18 +283,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListContentRequest other = - (com.google.cloud.dataplex.v1.ListContentRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListContentRequest other = (com.google.cloud.dataplex.v1.ListContentRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,136 +322,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 content request. Returns the BASIC Content view.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListContentRequest) com.google.cloud.dataplex.v1.ListContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentRequest.class, - com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); + com.google.cloud.dataplex.v1.ListContentRequest.class, com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListContentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override @@ -519,11 +481,8 @@ public com.google.cloud.dataplex.v1.ListContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListContentRequest buildPartial() { - com.google.cloud.dataplex.v1.ListContentRequest result = - new com.google.cloud.dataplex.v1.ListContentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListContentRequest result = new com.google.cloud.dataplex.v1.ListContentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -548,39 +507,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListContentRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListContentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListContentRequest)other); } else { super.mergeFrom(other); return this; @@ -588,8 +546,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentRequest other) { - if (other == com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +591,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,28 +626,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -704,24 +651,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -729,41 +673,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -773,24 +706,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -798,10 +725,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -809,7 +734,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -817,8 +741,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -826,7 +748,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -838,8 +759,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -847,7 +766,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -859,8 +777,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -869,13 +785,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -884,8 +800,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -894,14 +808,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -909,8 +824,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -919,22 +832,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -943,7 +852,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -953,8 +861,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -963,14 +869,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -980,8 +884,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -995,13 +897,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1010,8 +912,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -1025,14 +925,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1040,8 +941,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -1055,22 +954,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -1084,7 +979,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1094,8 +988,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -1109,23 +1001,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1135,12 +1025,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListContentRequest) private static final com.google.cloud.dataplex.v1.ListContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListContentRequest(); } @@ -1149,27 +1039,27 @@ public static com.google.cloud.dataplex.v1.ListContentRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java index 40db66e9356e..d198aa29ca46 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface ListContentRequestOrBuilder - extends +public interface ListContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of content to return. The service may return fewer
    * than this value. If unspecified, at most 10 content will be returned. The
@@ -64,14 +37,11 @@ public interface ListContentRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -80,13 +50,10 @@ public interface ListContentRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -95,14 +62,12 @@ public interface ListContentRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -116,13 +81,10 @@ public interface ListContentRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -136,8 +98,8 @@ public interface ListContentRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java index 3aecd311f59a..4e69eabf8e31 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List content response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentResponse} */ -public final class ListContentResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListContentResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListContentResponse) ListContentResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListContentResponse.newBuilder() to construct. private ListContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListContentResponse() { content_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListContentResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListContentResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentResponse.class, - com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); + com.google.cloud.dataplex.v1.ListContentResponse.class, com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); } public static final int CONTENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List content_; /** - * - * *
    * Content under the given parent lake.
    * 
@@ -81,8 +59,6 @@ public java.util.List getContentList() { return content_; } /** - * - * *
    * Content under the given parent lake.
    * 
@@ -90,13 +66,11 @@ public java.util.List getContentList() { * repeated .google.cloud.dataplex.v1.Content content = 1; */ @java.lang.Override - public java.util.List + public java.util.List getContentOrBuilderList() { return content_; } /** - * - * *
    * Content under the given parent lake.
    * 
@@ -108,8 +82,6 @@ public int getContentCount() { return content_.size(); } /** - * - * *
    * Content under the given parent lake.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { return content_.get(index); } /** - * - * *
    * Content under the given parent lake.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { * repeated .google.cloud.dataplex.v1.Content content = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( + int index) { return content_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < content_.size(); i++) { output.writeMessage(1, content_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < content_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, content_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, content_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListContentResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListContentResponse other = - (com.google.cloud.dataplex.v1.ListContentResponse) obj; + com.google.cloud.dataplex.v1.ListContentResponse other = (com.google.cloud.dataplex.v1.ListContentResponse) obj; - if (!getContentList().equals(other.getContentList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getContentList() + .equals(other.getContentList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +231,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 content response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListContentResponse) com.google.cloud.dataplex.v1.ListContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentResponse.class, - com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); + com.google.cloud.dataplex.v1.ListContentResponse.class, com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListContentResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListContentResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListContentResponse buildPartial() { - com.google.cloud.dataplex.v1.ListContentResponse result = - new com.google.cloud.dataplex.v1.ListContentResponse(this); + com.google.cloud.dataplex.v1.ListContentResponse result = new com.google.cloud.dataplex.v1.ListContentResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListContentResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListContentResponse result) { if (contentBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { content_ = java.util.Collections.unmodifiableList(content_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListContentResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListContentResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListContentResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListContentResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentResponse other) { - if (other == com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance()) return this; if (contentBuilder_ == null) { if (!other.content_.isEmpty()) { if (content_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentResponse other) contentBuilder_ = null; content_ = other.content_; bitField0_ = (bitField0_ & ~0x00000001); - contentBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContentFieldBuilder() - : null; + contentBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContentFieldBuilder() : null; } else { contentBuilder_.addAllMessages(other.content_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Content m = - input.readMessage( - com.google.cloud.dataplex.v1.Content.parser(), extensionRegistry); - if (contentBuilder_ == null) { - ensureContentIsMutable(); - content_.add(m); - } else { - contentBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Content m = + input.readMessage( + com.google.cloud.dataplex.v1.Content.parser(), + extensionRegistry); + if (contentBuilder_ == null) { + ensureContentIsMutable(); + content_.add(m); + } else { + contentBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List content_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContentIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { content_ = new java.util.ArrayList(content_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> - contentBuilder_; + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; /** - * - * *
      * Content under the given parent lake.
      * 
@@ -634,8 +583,6 @@ public java.util.List getContentList() { } } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -650,8 +597,6 @@ public int getContentCount() { } } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { } } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder setContent(int index, com.google.cloud.dataplex.v1.Content value) { + public Builder setContent( + int index, com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setContent(int index, com.google.cloud.dataplex.v1.Content value) return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -708,8 +650,6 @@ public Builder setContent( return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -730,15 +670,14 @@ public Builder addContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder addContent(int index, com.google.cloud.dataplex.v1.Content value) { + public Builder addContent( + int index, com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addContent(int index, com.google.cloud.dataplex.v1.Content value) return this; } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder addContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder addContent( + com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { ensureContentIsMutable(); content_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addContent(com.google.cloud.dataplex.v1.Content.Builder builderFo return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -791,8 +727,6 @@ public Builder addContent( return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -803,7 +737,8 @@ public Builder addAllContent( java.lang.Iterable values) { if (contentBuilder_ == null) { ensureContentIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, content_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, content_); onChanged(); } else { contentBuilder_.addAllMessages(values); @@ -811,8 +746,6 @@ public Builder addAllContent( return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -830,8 +763,6 @@ public Builder clearContent() { return this; } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -849,44 +780,39 @@ public Builder removeContent(int index) { return this; } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder(int index) { + public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder( + int index) { return getContentFieldBuilder().getBuilder(index); } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( + int index) { if (contentBuilder_ == null) { - return content_.get(index); - } else { + return content_.get(index); } else { return contentBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public java.util.List - getContentOrBuilderList() { + public java.util.List + getContentOrBuilderList() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int ind } } /** - * - * *
      * Content under the given parent lake.
      * 
@@ -903,47 +827,42 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int ind * repeated .google.cloud.dataplex.v1.Content content = 1; */ public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder() { - return getContentFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Content.getDefaultInstance()); + return getContentFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Content.getDefaultInstance()); } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder(int index) { - return getContentFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Content.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder( + int index) { + return getContentFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Content.getDefaultInstance()); } /** - * - * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public java.util.List getContentBuilderList() { + public java.util.List + getContentBuilderList() { return getContentFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder>( - content_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + contentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( + content_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); content_ = null; } return contentBuilder_; @@ -951,21 +870,19 @@ public java.util.List getContentBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -974,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -997,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListContentResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListContentResponse) private static final com.google.cloud.dataplex.v1.ListContentResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListContentResponse(); } @@ -1085,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListContentResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java index f7806d28fbe2..2daa3615a519 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface ListContentResponseOrBuilder - extends +public interface ListContentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListContentResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - java.util.List getContentList(); + java.util.List + getContentList(); /** - * - * *
    * Content under the given parent lake.
    * 
@@ -44,8 +25,6 @@ public interface ListContentResponseOrBuilder */ com.google.cloud.dataplex.v1.Content getContent(int index); /** - * - * *
    * Content under the given parent lake.
    * 
@@ -54,50 +33,43 @@ public interface ListContentResponseOrBuilder */ int getContentCount(); /** - * - * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - java.util.List getContentOrBuilderList(); + java.util.List + getContentOrBuilderList(); /** - * - * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index); + com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java index 20dfb9357ad3..d90c643e7193 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataAttributeBindings request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsRequest} */ -public final class ListDataAttributeBindingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataAttributeBindingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) ListDataAttributeBindingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataAttributeBindingsRequest.newBuilder() to construct. - private ListDataAttributeBindingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDataAttributeBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataAttributeBindingsRequest() { parent_ = ""; pageToken_ = ""; @@ -47,41 +28,34 @@ private ListDataAttributeBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataAttributeBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of DataAttributeBindings to return. The service
    * may return fewer than this value. If unspecified, at most 10
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -159,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -185,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,12 +167,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -217,7 +179,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -226,15 +187,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -244,15 +204,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -261,18 +222,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -281,29 +238,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -312,7 +269,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +280,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -353,7 +310,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,19 +330,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other = - (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other = (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,136 +374,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributeBindings request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -555,14 +512,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance(); } @@ -577,17 +533,13 @@ public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result = - new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result) { + private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -610,39 +562,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest)other); } else { super.mergeFrom(other); return this; @@ -650,9 +601,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other) { - if (other - == com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -702,43 +651,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -748,28 +691,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -778,24 +716,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -803,41 +738,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -847,24 +771,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -872,10 +790,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -884,7 +800,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -892,8 +807,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -902,7 +815,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -914,8 +826,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -924,7 +834,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -936,8 +845,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -946,13 +853,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -961,8 +868,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -971,14 +876,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -986,8 +892,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -996,22 +900,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -1020,7 +920,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1030,8 +929,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -1040,14 +937,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1057,8 +952,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1068,13 +961,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1083,8 +976,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1094,14 +985,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1109,8 +1001,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1120,22 +1010,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1145,7 +1031,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1155,8 +1040,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1166,14 +1049,12 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1183,20 +1064,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1205,21 +1084,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1227,35 +1105,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1265,30 +1136,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1298,13 +1165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) - private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(); } @@ -1313,27 +1179,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributeBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributeBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1348,4 +1214,6 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java index 619fd3bf4435..0a569c571d6e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributeBindingsRequestOrBuilder - extends +public interface ListDataAttributeBindingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of DataAttributeBindings to return. The service
    * may return fewer than this value. If unspecified, at most 10
@@ -65,14 +38,11 @@ public interface ListDataAttributeBindingsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -81,13 +51,10 @@ public interface ListDataAttributeBindingsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -96,14 +63,12 @@ public interface ListDataAttributeBindingsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -113,13 +78,10 @@ public interface ListDataAttributeBindingsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -129,33 +91,28 @@ public interface ListDataAttributeBindingsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java index 67c593aea6bb..f36b6db64394 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java @@ -1,162 +1,122 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataAttributeBindings response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsResponse} */ -public final class ListDataAttributeBindingsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataAttributeBindingsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) ListDataAttributeBindingsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataAttributeBindingsResponse.newBuilder() to construct. - private ListDataAttributeBindingsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDataAttributeBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataAttributeBindingsResponse() { dataAttributeBindings_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataAttributeBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); } public static final int DATA_ATTRIBUTE_BINDINGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataAttributeBindings_; /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ @java.lang.Override - public java.util.List - getDataAttributeBindingsList() { + public java.util.List getDataAttributeBindingsList() { return dataAttributeBindings_; } /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataAttributeBindingsOrBuilderList() { return dataAttributeBindings_; } /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ @java.lang.Override public int getDataAttributeBindingsCount() { return dataAttributeBindings_.size(); } /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index) { return dataAttributeBindings_.get(index); } /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( + int index) { return dataAttributeBindings_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -197,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { return unreachableLocations_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -245,23 +196,20 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataAttributeBindings_.size(); i++) { output.writeMessage(1, dataAttributeBindings_.get(i)); } @@ -281,8 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -294,9 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataAttributeBindings_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, dataAttributeBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataAttributeBindings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -317,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other = - (com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) obj; + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other = (com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) obj; - if (!getDataAttributeBindingsList().equals(other.getDataAttributeBindingsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; + if (!getDataAttributeBindingsList() + .equals(other.getDataAttributeBindingsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList() + .equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,136 +304,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributeBindings response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,19 +441,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance(); } @@ -524,18 +468,14 @@ public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result = - new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(this); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { if (dataAttributeBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataAttributeBindings_ = java.util.Collections.unmodifiableList(dataAttributeBindings_); @@ -547,8 +487,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { + private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -563,39 +502,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse)other); } else { super.mergeFrom(other); return this; @@ -603,9 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other) { - if (other - == com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance()) return this; if (dataAttributeBindingsBuilder_ == null) { if (!other.dataAttributeBindings_.isEmpty()) { if (dataAttributeBindings_.isEmpty()) { @@ -624,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsR dataAttributeBindingsBuilder_ = null; dataAttributeBindings_ = other.dataAttributeBindings_; bitField0_ = (bitField0_ & ~0x00000001); - dataAttributeBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataAttributeBindingsFieldBuilder() - : null; + dataAttributeBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataAttributeBindingsFieldBuilder() : null; } else { dataAttributeBindingsBuilder_.addAllMessages(other.dataAttributeBindings_); } @@ -674,40 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataAttributeBinding m = - input.readMessage( - com.google.cloud.dataplex.v1.DataAttributeBinding.parser(), - extensionRegistry); - if (dataAttributeBindingsBuilder_ == null) { - ensureDataAttributeBindingsIsMutable(); - dataAttributeBindings_.add(m); - } else { - dataAttributeBindingsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataAttributeBinding m = + input.readMessage( + com.google.cloud.dataplex.v1.DataAttributeBinding.parser(), + extensionRegistry); + if (dataAttributeBindingsBuilder_ == null) { + ensureDataAttributeBindingsIsMutable(); + dataAttributeBindings_.add(m); + } else { + dataAttributeBindingsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -717,39 +648,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - dataAttributeBindings_ = java.util.Collections.emptyList(); - + private java.util.List dataAttributeBindings_ = + java.util.Collections.emptyList(); private void ensureDataAttributeBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataAttributeBindings_ = - new java.util.ArrayList( - dataAttributeBindings_); + dataAttributeBindings_ = new java.util.ArrayList(dataAttributeBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> - dataAttributeBindingsBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingsBuilder_; /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public java.util.List - getDataAttributeBindingsList() { + public java.util.List getDataAttributeBindingsList() { if (dataAttributeBindingsBuilder_ == null) { return java.util.Collections.unmodifiableList(dataAttributeBindings_); } else { @@ -757,14 +677,11 @@ private void ensureDataAttributeBindingsIsMutable() { } } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public int getDataAttributeBindingsCount() { if (dataAttributeBindingsBuilder_ == null) { @@ -774,14 +691,11 @@ public int getDataAttributeBindingsCount() { } } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index) { if (dataAttributeBindingsBuilder_ == null) { @@ -791,14 +705,11 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding } } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder setDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding value) { @@ -815,14 +726,11 @@ public Builder setDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder setDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -836,17 +744,13 @@ public Builder setDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public Builder addDataAttributeBindings( - com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder addDataAttributeBindings(com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -860,14 +764,11 @@ public Builder addDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder addDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding value) { @@ -884,14 +785,11 @@ public Builder addDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder addDataAttributeBindings( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -905,14 +803,11 @@ public Builder addDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder addDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -926,20 +821,18 @@ public Builder addDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder addAllDataAttributeBindings( java.lang.Iterable values) { if (dataAttributeBindingsBuilder_ == null) { ensureDataAttributeBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataAttributeBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataAttributeBindings_); onChanged(); } else { dataAttributeBindingsBuilder_.addAllMessages(values); @@ -947,14 +840,11 @@ public Builder addAllDataAttributeBindings( return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder clearDataAttributeBindings() { if (dataAttributeBindingsBuilder_ == null) { @@ -967,14 +857,11 @@ public Builder clearDataAttributeBindings() { return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ public Builder removeDataAttributeBindings(int index) { if (dataAttributeBindingsBuilder_ == null) { @@ -987,49 +874,39 @@ public Builder removeDataAttributeBindings(int index) { return this; } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder - getDataAttributeBindingsBuilder(int index) { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingsBuilder( + int index) { return getDataAttributeBindingsFieldBuilder().getBuilder(index); } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( + int index) { if (dataAttributeBindingsBuilder_ == null) { - return dataAttributeBindings_.get(index); - } else { + return dataAttributeBindings_.get(index); } else { return dataAttributeBindingsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public java.util.List - getDataAttributeBindingsOrBuilderList() { + public java.util.List + getDataAttributeBindingsOrBuilderList() { if (dataAttributeBindingsBuilder_ != null) { return dataAttributeBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -1037,62 +914,45 @@ public Builder removeDataAttributeBindings(int index) { } } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder - addDataAttributeBindingsBuilder() { - return getDataAttributeBindingsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder addDataAttributeBindingsBuilder() { + return getDataAttributeBindingsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder - addDataAttributeBindingsBuilder(int index) { - return getDataAttributeBindingsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder addDataAttributeBindingsBuilder( + int index) { + return getDataAttributeBindingsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); } /** - * - * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - public java.util.List - getDataAttributeBindingsBuilderList() { + public java.util.List + getDataAttributeBindingsBuilderList() { return getDataAttributeBindingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingsFieldBuilder() { if (dataAttributeBindingsBuilder_ == null) { - dataAttributeBindingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + dataAttributeBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( dataAttributeBindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1104,21 +964,19 @@ public Builder removeDataAttributeBindings(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1127,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1150,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1190,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1215,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1223,43 +1068,35 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1267,37 +1104,31 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1305,21 +1136,17 @@ public Builder setUnreachableLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1327,58 +1154,50 @@ public Builder addUnreachableLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations(java.lang.Iterable values) { + public Builder addAllUnreachableLocations( + java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1386,9 +1205,9 @@ public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override - 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,43 +1217,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) - private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributeBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributeBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1446,8 +1263,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java index 78114259130e..34e7d5b26a36 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java @@ -1,161 +1,116 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributeBindingsResponseOrBuilder - extends +public interface ListDataAttributeBindingsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - java.util.List getDataAttributeBindingsList(); + java.util.List + getDataAttributeBindingsList(); /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index); /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ int getDataAttributeBindingsCount(); /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ - java.util.List + java.util.List getDataAttributeBindingsOrBuilderList(); /** - * - * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; - * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - java.util.List getUnreachableLocationsList(); + java.util.List + getUnreachableLocationsList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java index 67383b8c5ed5..4eee5a086b16 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataAttributes request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesRequest} */ -public final class ListDataAttributesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataAttributesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributesRequest) ListDataAttributesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataAttributesRequest.newBuilder() to construct. private ListDataAttributesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataAttributesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,41 +28,34 @@ private ListDataAttributesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataAttributesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, - com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of DataAttributes to return. The service may
    * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,18 +167,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -221,29 +183,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -252,18 +214,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -272,29 +230,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -303,7 +261,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,7 +302,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -363,19 +322,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributesRequest other = - (com.google.cloud.dataplex.v1.ListDataAttributesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataAttributesRequest other = (com.google.cloud.dataplex.v1.ListDataAttributesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,136 +366,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataAttributesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributes request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributesRequest) com.google.cloud.dataplex.v1.ListDataAttributesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, - com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override @@ -567,11 +525,8 @@ public com.google.cloud.dataplex.v1.ListDataAttributesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributesRequest result = - new com.google.cloud.dataplex.v1.ListDataAttributesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListDataAttributesRequest result = new com.google.cloud.dataplex.v1.ListDataAttributesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -599,39 +554,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributesReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesRequest)other); } else { super.mergeFrom(other); return this; @@ -639,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -690,43 +643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -736,28 +683,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -766,24 +708,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -791,41 +730,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -835,24 +763,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -860,10 +782,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -872,7 +792,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -880,8 +799,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -890,7 +807,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -902,8 +818,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -912,7 +826,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -924,8 +837,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -934,13 +845,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -949,8 +860,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -959,14 +868,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -974,8 +884,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -984,22 +892,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1008,7 +912,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1018,8 +921,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1028,14 +929,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1045,20 +944,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1067,21 +964,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1089,35 +985,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1127,21 +1016,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1151,20 +1036,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1173,21 +1056,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1195,35 +1077,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1233,30 +1108,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1266,12 +1137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributesRequest) private static final com.google.cloud.dataplex.v1.ListDataAttributesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributesRequest(); } @@ -1280,27 +1151,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributesRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,4 +1186,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataAttributesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java index 5f9a51a113e9..75adca989721 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributesRequestOrBuilder - extends +public interface ListDataAttributesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of DataAttributes to return. The service may
    * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -65,14 +38,11 @@ public interface ListDataAttributesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -81,13 +51,10 @@ public interface ListDataAttributesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -96,58 +63,48 @@ public interface ListDataAttributesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java index 071837389be9..f6c9e2405e61 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataAttributes response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesResponse} */ -public final class ListDataAttributesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataAttributesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributesResponse) ListDataAttributesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataAttributesResponse.newBuilder() to construct. private ListDataAttributesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataAttributesResponse() { dataAttributes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataAttributesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, - com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); } public static final int DATA_ATTRIBUTES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataAttributes_; /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -82,8 +61,6 @@ public java.util.List getDataAttribu return dataAttributes_; } /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -91,13 +68,11 @@ public java.util.List getDataAttribu * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataAttributesOrBuilderList() { return dataAttributes_; } /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -109,8 +84,6 @@ public int getDataAttributesCount() { return dataAttributes_.size(); } /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { return dataAttributes_.get(index); } /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -131,24 +102,21 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( + int index) { return dataAttributes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -189,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { return unreachableLocations_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -237,23 +196,20 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataAttributes_.size(); i++) { output.writeMessage(1, dataAttributes_.get(i)); } @@ -273,8 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -286,7 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataAttributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataAttributes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataAttributes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -307,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributesResponse other = - (com.google.cloud.dataplex.v1.ListDataAttributesResponse) obj; + com.google.cloud.dataplex.v1.ListDataAttributesResponse other = (com.google.cloud.dataplex.v1.ListDataAttributesResponse) obj; - if (!getDataAttributesList().equals(other.getDataAttributesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; + if (!getDataAttributesList() + .equals(other.getDataAttributesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList() + .equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,136 +304,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataAttributesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributes response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributesResponse) com.google.cloud.dataplex.v1.ListDataAttributesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, - com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +441,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override @@ -513,18 +468,14 @@ public com.google.cloud.dataplex.v1.ListDataAttributesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributesResponse result = - new com.google.cloud.dataplex.v1.ListDataAttributesResponse(this); + com.google.cloud.dataplex.v1.ListDataAttributesResponse result = new com.google.cloud.dataplex.v1.ListDataAttributesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListDataAttributesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataAttributesResponse result) { if (dataAttributesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataAttributes_ = java.util.Collections.unmodifiableList(dataAttributes_); @@ -551,39 +502,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributesRespon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesResponse)other); } else { super.mergeFrom(other); return this; @@ -591,8 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance()) return this; if (dataAttributesBuilder_ == null) { if (!other.dataAttributes_.isEmpty()) { if (dataAttributes_.isEmpty()) { @@ -611,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesResponse dataAttributesBuilder_ = null; dataAttributes_ = other.dataAttributes_; bitField0_ = (bitField0_ & ~0x00000001); - dataAttributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataAttributesFieldBuilder() - : null; + dataAttributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataAttributesFieldBuilder() : null; } else { dataAttributesBuilder_.addAllMessages(other.dataAttributes_); } @@ -661,39 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataAttribute m = - input.readMessage( - com.google.cloud.dataplex.v1.DataAttribute.parser(), extensionRegistry); - if (dataAttributesBuilder_ == null) { - ensureDataAttributesIsMutable(); - dataAttributes_.add(m); - } else { - dataAttributesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataAttribute m = + input.readMessage( + com.google.cloud.dataplex.v1.DataAttribute.parser(), + extensionRegistry); + if (dataAttributesBuilder_ == null) { + ensureDataAttributesIsMutable(); + dataAttributes_.add(m); + } else { + dataAttributesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,29 +648,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataAttributes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataAttributes_ = - new java.util.ArrayList(dataAttributes_); + dataAttributes_ = new java.util.ArrayList(dataAttributes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> - dataAttributesBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributesBuilder_; /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -740,8 +677,6 @@ public java.util.List getDataAttribu } } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -756,8 +691,6 @@ public int getDataAttributesCount() { } } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -772,15 +705,14 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { } } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public Builder setDataAttributes(int index, com.google.cloud.dataplex.v1.DataAttribute value) { + public Builder setDataAttributes( + int index, com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -794,8 +726,6 @@ public Builder setDataAttributes(int index, com.google.cloud.dataplex.v1.DataAtt return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -814,8 +744,6 @@ public Builder setDataAttributes( return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -836,15 +764,14 @@ public Builder addDataAttributes(com.google.cloud.dataplex.v1.DataAttribute valu return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public Builder addDataAttributes(int index, com.google.cloud.dataplex.v1.DataAttribute value) { + public Builder addDataAttributes( + int index, com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -858,8 +785,6 @@ public Builder addDataAttributes(int index, com.google.cloud.dataplex.v1.DataAtt return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -878,8 +803,6 @@ public Builder addDataAttributes( return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -898,8 +821,6 @@ public Builder addDataAttributes( return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -910,7 +831,8 @@ public Builder addAllDataAttributes( java.lang.Iterable values) { if (dataAttributesBuilder_ == null) { ensureDataAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataAttributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataAttributes_); onChanged(); } else { dataAttributesBuilder_.addAllMessages(values); @@ -918,8 +840,6 @@ public Builder addAllDataAttributes( return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -937,8 +857,6 @@ public Builder clearDataAttributes() { return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -956,20 +874,17 @@ public Builder removeDataAttributes(int index) { return this; } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuilder(int index) { + public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuilder( + int index) { return getDataAttributesFieldBuilder().getBuilder(index); } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -979,22 +894,19 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuild public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( int index) { if (dataAttributesBuilder_ == null) { - return dataAttributes_.get(index); - } else { + return dataAttributes_.get(index); } else { return dataAttributesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public java.util.List - getDataAttributesOrBuilderList() { + public java.util.List + getDataAttributesOrBuilderList() { if (dataAttributesBuilder_ != null) { return dataAttributesBuilder_.getMessageOrBuilderList(); } else { @@ -1002,8 +914,6 @@ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBu } } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -1011,47 +921,38 @@ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBu * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder() { - return getDataAttributesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); + return getDataAttributesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder(int index) { - return getDataAttributesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder( + int index) { + return getDataAttributesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); } /** - * - * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public java.util.List - getDataAttributesBuilderList() { + public java.util.List + getDataAttributesBuilderList() { return getDataAttributesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributesFieldBuilder() { if (dataAttributesBuilder_ == null) { - dataAttributesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + dataAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( dataAttributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1063,21 +964,19 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1086,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1109,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1149,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1174,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1182,43 +1068,35 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1226,37 +1104,31 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1264,21 +1136,17 @@ public Builder setUnreachableLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1286,58 +1154,50 @@ public Builder addUnreachableLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations(java.lang.Iterable values) { + public Builder addAllUnreachableLocations( + java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1345,9 +1205,9 @@ public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributesResponse) private static final com.google.cloud.dataplex.v1.ListDataAttributesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributesResponse(); } @@ -1371,27 +1231,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributesResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataAttributesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java index e2911a87108b..b03504e30d23 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributesResponseOrBuilder - extends +public interface ListDataAttributesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - java.util.List getDataAttributesList(); + java.util.List + getDataAttributesList(); /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -44,8 +25,6 @@ public interface ListDataAttributesResponseOrBuilder */ com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index); /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -54,102 +33,84 @@ public interface ListDataAttributesResponseOrBuilder */ int getDataAttributesCount(); /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - java.util.List + java.util.List getDataAttributesOrBuilderList(); /** - * - * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder(int index); + com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - java.util.List getUnreachableLocationsList(); + java.util.List + getUnreachableLocationsList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java similarity index 73% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java index 3fe683a12926..9ef3a09a52c0 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataScanJobs request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsRequest} */ -public final class ListDataScanJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataScanJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScanJobsRequest) ListDataScanJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataScanJobsRequest.newBuilder() to construct. private ListDataScanJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataScanJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +27,28 @@ private ListDataScanJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataScanJobsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -90,15 +65,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -106,18 +80,17 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of DataScanJobs to return. The service may return
    * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -161,7 +128,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -170,15 +136,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -187,15 +152,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,12 +170,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -231,7 +194,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -240,15 +202,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -270,15 +231,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -287,7 +249,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -325,7 +287,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -341,18 +304,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScanJobsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScanJobsRequest other = - (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListDataScanJobsRequest other = (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,135 +344,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScanJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJobs request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScanJobsRequest) com.google.cloud.dataplex.v1.ListDataScanJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScanJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override @@ -540,11 +502,8 @@ public com.google.cloud.dataplex.v1.ListDataScanJobsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScanJobsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataScanJobsRequest result = - new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListDataScanJobsRequest result = new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -569,39 +528,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScanJobsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScanJobsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -609,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -655,37 +612,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,13 +647,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -709,16 +658,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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,8 +674,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -736,17 +681,16 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -754,8 +698,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -763,25 +705,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -789,10 +725,7 @@ public Builder setParent(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -802,8 +735,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -811,17 +742,13 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -829,10 +756,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -841,7 +766,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -849,8 +773,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -859,7 +781,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -871,8 +792,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -881,7 +800,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -893,8 +811,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -903,13 +819,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -918,8 +834,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -928,14 +842,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -943,8 +858,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -953,22 +866,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -977,7 +886,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -987,8 +895,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -997,14 +903,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1014,8 +918,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1037,13 +939,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1052,8 +954,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1075,14 +975,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1090,8 +991,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1113,22 +1012,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1150,7 +1045,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1160,8 +1054,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1183,23 +1075,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1209,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScanJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScanJobsRequest) private static final com.google.cloud.dataplex.v1.ListDataScanJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(); } @@ -1223,27 +1113,27 @@ public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScanJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScanJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1258,4 +1148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScanJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java similarity index 76% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java index 50bc7f0b7644..b44a8e001382 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScanJobsRequestOrBuilder - extends +public interface ListDataScanJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScanJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -33,16 +15,11 @@ public interface ListDataScanJobsRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -50,17 +27,13 @@ public interface ListDataScanJobsRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of DataScanJobs to return. The service may return
    * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -69,14 +42,11 @@ public interface ListDataScanJobsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -85,13 +55,10 @@ public interface ListDataScanJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -100,14 +67,12 @@ public interface ListDataScanJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -129,13 +94,10 @@ public interface ListDataScanJobsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -157,8 +119,8 @@ public interface ListDataScanJobsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java index 2921691abaac..febd6b2c6100 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataScanJobs response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsResponse} */ -public final class ListDataScanJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataScanJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScanJobsResponse) ListDataScanJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataScanJobsResponse.newBuilder() to construct. private ListDataScanJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataScanJobsResponse() { dataScanJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListDataScanJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataScanJobsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); } public static final int DATA_SCAN_JOBS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataScanJobs_; /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -81,8 +59,6 @@ public java.util.List getDataScanJobsL return dataScanJobs_; } /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -90,13 +66,11 @@ public java.util.List getDataScanJobsL * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataScanJobsOrBuilderList() { return dataScanJobs_; } /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -108,8 +82,6 @@ public int getDataScanJobsCount() { return dataScanJobs_.size(); } /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { return dataScanJobs_.get(index); } /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( + int index) { return dataScanJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataScanJobs_.size(); i++) { output.writeMessage(1, dataScanJobs_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataScanJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataScanJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataScanJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScanJobsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScanJobsResponse other = - (com.google.cloud.dataplex.v1.ListDataScanJobsResponse) obj; + com.google.cloud.dataplex.v1.ListDataScanJobsResponse other = (com.google.cloud.dataplex.v1.ListDataScanJobsResponse) obj; - if (!getDataScanJobsList().equals(other.getDataScanJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDataScanJobsList() + .equals(other.getDataScanJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +232,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScanJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJobs response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScanJobsResponse) com.google.cloud.dataplex.v1.ListDataScanJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScanJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override @@ -430,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListDataScanJobsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScanJobsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataScanJobsResponse result = - new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(this); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse result = new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataScanJobsResponse result) { if (dataScanJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataScanJobs_ = java.util.Collections.unmodifiableList(dataScanJobs_); @@ -464,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScanJobsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScanJobsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -504,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance()) return this; if (dataScanJobsBuilder_ == null) { if (!other.dataScanJobs_.isEmpty()) { if (dataScanJobs_.isEmpty()) { @@ -524,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsResponse o dataScanJobsBuilder_ = null; dataScanJobs_ = other.dataScanJobs_; bitField0_ = (bitField0_ & ~0x00000001); - dataScanJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataScanJobsFieldBuilder() - : null; + dataScanJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataScanJobsFieldBuilder() : null; } else { dataScanJobsBuilder_.addAllMessages(other.dataScanJobs_); } @@ -564,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataScanJob m = - input.readMessage( - com.google.cloud.dataplex.v1.DataScanJob.parser(), extensionRegistry); - if (dataScanJobsBuilder_ == null) { - ensureDataScanJobsIsMutable(); - dataScanJobs_.add(m); - } else { - dataScanJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataScanJob m = + input.readMessage( + com.google.cloud.dataplex.v1.DataScanJob.parser(), + extensionRegistry); + if (dataScanJobsBuilder_ == null) { + ensureDataScanJobsIsMutable(); + dataScanJobs_.add(m); + } else { + dataScanJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,29 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataScanJobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataScanJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataScanJobs_ = - new java.util.ArrayList(dataScanJobs_); + dataScanJobs_ = new java.util.ArrayList(dataScanJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder> - dataScanJobsBuilder_; + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> dataScanJobsBuilder_; /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -636,8 +583,6 @@ public java.util.List getDataScanJobsL } } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -652,8 +597,6 @@ public int getDataScanJobsCount() { } } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -668,15 +611,14 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { } } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public Builder setDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJob value) { + public Builder setDataScanJobs( + int index, com.google.cloud.dataplex.v1.DataScanJob value) { if (dataScanJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,8 +632,6 @@ public Builder setDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJ return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -710,8 +650,6 @@ public Builder setDataScanJobs( return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -732,15 +670,14 @@ public Builder addDataScanJobs(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public Builder addDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJob value) { + public Builder addDataScanJobs( + int index, com.google.cloud.dataplex.v1.DataScanJob value) { if (dataScanJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,8 +691,6 @@ public Builder addDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJ return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -774,8 +709,6 @@ public Builder addDataScanJobs( return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -794,8 +727,6 @@ public Builder addDataScanJobs( return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -806,7 +737,8 @@ public Builder addAllDataScanJobs( java.lang.Iterable values) { if (dataScanJobsBuilder_ == null) { ensureDataScanJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataScanJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataScanJobs_); onChanged(); } else { dataScanJobsBuilder_.addAllMessages(values); @@ -814,8 +746,6 @@ public Builder addAllDataScanJobs( return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -833,8 +763,6 @@ public Builder clearDataScanJobs() { return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -852,44 +780,39 @@ public Builder removeDataScanJobs(int index) { return this; } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJob.Builder getDataScanJobsBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScanJob.Builder getDataScanJobsBuilder( + int index) { return getDataScanJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( + int index) { if (dataScanJobsBuilder_ == null) { - return dataScanJobs_.get(index); - } else { + return dataScanJobs_.get(index); } else { return dataScanJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public java.util.List - getDataScanJobsOrBuilderList() { + public java.util.List + getDataScanJobsOrBuilderList() { if (dataScanJobsBuilder_ != null) { return dataScanJobsBuilder_.getMessageOrBuilderList(); } else { @@ -897,8 +820,6 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde } } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -906,48 +827,42 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder() { - return getDataScanJobsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); + return getDataScanJobsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder(int index) { - return getDataScanJobsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder( + int index) { + return getDataScanJobsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); } /** - * - * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public java.util.List - getDataScanJobsBuilderList() { + public java.util.List + getDataScanJobsBuilderList() { return getDataScanJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> getDataScanJobsFieldBuilder() { if (dataScanJobsBuilder_ == null) { - dataScanJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( - dataScanJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataScanJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( + dataScanJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataScanJobs_ = null; } return dataScanJobsBuilder_; @@ -955,21 +870,19 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -978,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1001,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScanJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScanJobsResponse) private static final com.google.cloud.dataplex.v1.ListDataScanJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(); } @@ -1089,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScanJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScanJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScanJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java index 2eac958994ae..c0494a420171 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScanJobsResponseOrBuilder - extends +public interface ListDataScanJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScanJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - java.util.List getDataScanJobsList(); + java.util.List + getDataScanJobsList(); /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -44,8 +25,6 @@ public interface ListDataScanJobsResponseOrBuilder */ com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index); /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -54,51 +33,43 @@ public interface ListDataScanJobsResponseOrBuilder */ int getDataScanJobsCount(); /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - java.util.List + java.util.List getDataScanJobsOrBuilderList(); /** - * - * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index); + com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java index b6460a980123..65032af690dd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List dataScans request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansRequest} */ -public final class ListDataScansRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataScansRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScansRequest) ListDataScansRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataScansRequest.newBuilder() to construct. private ListDataScansRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataScansRequest() { parent_ = ""; pageToken_ = ""; @@ -46,32 +28,28 @@ private ListDataScansRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataScansRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansRequest.class, - com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansRequest.class, com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of dataScans to return. The service may return
    * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -161,7 +128,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -170,15 +136,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -187,15 +152,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,18 +170,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -224,29 +186,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -255,19 +217,15 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -276,30 +234,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -308,7 +266,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +277,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -349,7 +307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -368,19 +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.cloud.dataplex.v1.ListDataScansRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScansRequest other = - (com.google.cloud.dataplex.v1.ListDataScansRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataScansRequest other = (com.google.cloud.dataplex.v1.ListDataScansRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -408,135 +371,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScansRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dataScans request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScansRequest) com.google.cloud.dataplex.v1.ListDataScansRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansRequest.class, - com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansRequest.class, com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScansRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +509,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override @@ -571,11 +530,8 @@ public com.google.cloud.dataplex.v1.ListDataScansRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScansRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataScansRequest result = - new com.google.cloud.dataplex.v1.ListDataScansRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListDataScansRequest result = new com.google.cloud.dataplex.v1.ListDataScansRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -603,39 +559,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScansRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScansRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansRequest)other); } else { super.mergeFrom(other); return this; @@ -643,8 +598,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -694,43 +648,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -740,13 +688,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -754,16 +699,14 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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; @@ -772,8 +715,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -781,17 +722,16 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -799,8 +739,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -808,25 +746,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -834,10 +766,7 @@ public Builder setParent(java.lang.String value) {
      * `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -847,8 +776,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -856,17 +783,13 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,10 +797,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -885,7 +806,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -893,8 +813,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -902,7 +820,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -914,8 +831,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -923,7 +838,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -935,8 +849,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -945,13 +857,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -960,8 +872,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -970,14 +880,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -985,8 +896,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -995,22 +904,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1019,7 +924,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1029,8 +933,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1039,14 +941,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1056,20 +956,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1078,21 +976,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1100,35 +997,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1138,21 +1028,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1162,21 +1048,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1185,22 +1069,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1208,37 +1091,30 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1248,31 +1124,27 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1282,12 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScansRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScansRequest) private static final com.google.cloud.dataplex.v1.ListDataScansRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScansRequest(); } @@ -1296,27 +1168,27 @@ public static com.google.cloud.dataplex.v1.ListDataScansRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScansRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScansRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1331,4 +1203,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScansRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java index f2d45390b583..9531e3f97e60 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScansRequestOrBuilder - extends +public interface ListDataScansRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScansRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -33,16 +15,11 @@ public interface ListDataScansRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -50,17 +27,13 @@ public interface ListDataScansRequestOrBuilder
    * `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of dataScans to return. The service may return
    * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -68,14 +41,11 @@ public interface ListDataScansRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -84,13 +54,10 @@ public interface ListDataScansRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -99,60 +66,50 @@ public interface ListDataScansRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java index 50d5384bff9e..86fdcabeef64 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List dataScans response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansResponse} */ -public final class ListDataScansResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataScansResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScansResponse) ListDataScansResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataScansResponse.newBuilder() to construct. private ListDataScansResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataScansResponse() { dataScans_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataScansResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansResponse.class, - com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansResponse.class, com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); } public static final int DATA_SCANS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataScans_; /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -82,8 +61,6 @@ public java.util.List getDataScansList() return dataScans_; } /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -91,13 +68,11 @@ public java.util.List getDataScansList() * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataScansOrBuilderList() { return dataScans_; } /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -109,8 +84,6 @@ public int getDataScansCount() { return dataScans_.size(); } /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { return dataScans_.get(index); } /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -131,24 +102,21 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( + int index) { return dataScans_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -189,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -237,23 +196,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataScans_.size(); i++) { output.writeMessage(1, dataScans_.get(i)); } @@ -285,7 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataScans_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataScans_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataScans_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -306,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScansResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScansResponse other = - (com.google.cloud.dataplex.v1.ListDataScansResponse) obj; + com.google.cloud.dataplex.v1.ListDataScansResponse other = (com.google.cloud.dataplex.v1.ListDataScansResponse) obj; - if (!getDataScansList().equals(other.getDataScansList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getDataScansList() + .equals(other.getDataScansList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,135 +304,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScansResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dataScans response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScansResponse) com.google.cloud.dataplex.v1.ListDataScansResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansResponse.class, - com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansResponse.class, com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScansResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +441,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override @@ -511,18 +468,14 @@ public com.google.cloud.dataplex.v1.ListDataScansResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScansResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataScansResponse result = - new com.google.cloud.dataplex.v1.ListDataScansResponse(this); + com.google.cloud.dataplex.v1.ListDataScansResponse result = new com.google.cloud.dataplex.v1.ListDataScansResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListDataScansResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataScansResponse result) { if (dataScansBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataScans_ = java.util.Collections.unmodifiableList(dataScans_); @@ -549,39 +502,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScansResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScansResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansResponse)other); } else { super.mergeFrom(other); return this; @@ -589,8 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance()) return this; if (dataScansBuilder_ == null) { if (!other.dataScans_.isEmpty()) { if (dataScans_.isEmpty()) { @@ -609,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansResponse othe dataScansBuilder_ = null; dataScans_ = other.dataScans_; bitField0_ = (bitField0_ & ~0x00000001); - dataScansBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataScansFieldBuilder() - : null; + dataScansBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataScansFieldBuilder() : null; } else { dataScansBuilder_.addAllMessages(other.dataScans_); } @@ -659,39 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataScan m = - input.readMessage( - com.google.cloud.dataplex.v1.DataScan.parser(), extensionRegistry); - if (dataScansBuilder_ == null) { - ensureDataScansIsMutable(); - dataScans_.add(m); - } else { - dataScansBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataScan m = + input.readMessage( + com.google.cloud.dataplex.v1.DataScan.parser(), + extensionRegistry); + if (dataScansBuilder_ == null) { + ensureDataScansIsMutable(); + dataScans_.add(m); + } else { + dataScansBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -701,28 +648,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataScans_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataScansIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataScans_ = new java.util.ArrayList(dataScans_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> - dataScansBuilder_; + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScansBuilder_; /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -737,8 +677,6 @@ public java.util.List getDataScansList() } } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -753,8 +691,6 @@ public int getDataScansCount() { } } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -769,15 +705,14 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { } } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder setDataScans(int index, com.google.cloud.dataplex.v1.DataScan value) { + public Builder setDataScans( + int index, com.google.cloud.dataplex.v1.DataScan value) { if (dataScansBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -791,8 +726,6 @@ public Builder setDataScans(int index, com.google.cloud.dataplex.v1.DataScan val return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -811,8 +744,6 @@ public Builder setDataScans( return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -833,15 +764,14 @@ public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder addDataScans(int index, com.google.cloud.dataplex.v1.DataScan value) { + public Builder addDataScans( + int index, com.google.cloud.dataplex.v1.DataScan value) { if (dataScansBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -855,15 +785,14 @@ public Builder addDataScans(int index, com.google.cloud.dataplex.v1.DataScan val return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder addDataScans( + com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScansBuilder_ == null) { ensureDataScansIsMutable(); dataScans_.add(builderForValue.build()); @@ -874,8 +803,6 @@ public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan.Builder builde return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -894,8 +821,6 @@ public Builder addDataScans( return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -906,7 +831,8 @@ public Builder addAllDataScans( java.lang.Iterable values) { if (dataScansBuilder_ == null) { ensureDataScansIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataScans_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataScans_); onChanged(); } else { dataScansBuilder_.addAllMessages(values); @@ -914,8 +840,6 @@ public Builder addAllDataScans( return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -933,8 +857,6 @@ public Builder clearDataScans() { return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -952,44 +874,39 @@ public Builder removeDataScans(int index) { return this; } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScan.Builder getDataScansBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScan.Builder getDataScansBuilder( + int index) { return getDataScansFieldBuilder().getBuilder(index); } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( + int index) { if (dataScansBuilder_ == null) { - return dataScans_.get(index); - } else { + return dataScans_.get(index); } else { return dataScansBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public java.util.List - getDataScansOrBuilderList() { + public java.util.List + getDataScansOrBuilderList() { if (dataScansBuilder_ != null) { return dataScansBuilder_.getMessageOrBuilderList(); } else { @@ -997,8 +914,6 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int } } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -1006,47 +921,42 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder() { - return getDataScansFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); + return getDataScansFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder(int index) { - return getDataScansFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder( + int index) { + return getDataScansFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); } /** - * - * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public java.util.List getDataScansBuilderList() { + public java.util.List + getDataScansBuilderList() { return getDataScansFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScansFieldBuilder() { if (dataScansBuilder_ == null) { - dataScansBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder>( - dataScans_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataScansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( + dataScans_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataScans_ = null; } return dataScansBuilder_; @@ -1054,21 +964,19 @@ public java.util.List getDataScan private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1077,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1100,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1140,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1165,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1173,43 +1068,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1217,37 +1104,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1255,21 +1136,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1277,58 +1154,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1336,9 +1205,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1348,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScansResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScansResponse) private static final com.google.cloud.dataplex.v1.ListDataScansResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScansResponse(); } @@ -1362,27 +1231,27 @@ public static com.google.cloud.dataplex.v1.ListDataScansResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScansResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScansResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1397,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScansResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java index a443345d13d1..ec10c5955440 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScansResponseOrBuilder - extends +public interface ListDataScansResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScansResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - java.util.List getDataScansList(); + java.util.List + getDataScansList(); /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -44,8 +25,6 @@ public interface ListDataScansResponseOrBuilder */ com.google.cloud.dataplex.v1.DataScan getDataScans(int index); /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -54,102 +33,84 @@ public interface ListDataScansResponseOrBuilder */ int getDataScansCount(); /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - java.util.List + java.util.List getDataScansOrBuilderList(); /** - * - * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index); + com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java index fe9de6b8c494..cd06dda720f0 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataTaxonomies request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesRequest} */ -public final class ListDataTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataTaxonomiesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) ListDataTaxonomiesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataTaxonomiesRequest.newBuilder() to construct. private ListDataTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataTaxonomiesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +28,35 @@ private ListDataTaxonomiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataTaxonomiesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -127,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of DataTaxonomies to return. The service may
    * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -160,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -169,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -186,15 +151,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,18 +169,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -223,29 +185,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -254,18 +216,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -274,29 +232,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -305,7 +263,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -346,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -365,19 +324,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other = - (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other = (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -405,136 +368,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataTaxonomies request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) com.google.cloud.dataplex.v1.ListDataTaxonomiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override @@ -569,11 +527,8 @@ public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest result = - new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest result = new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -601,39 +556,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataTaxonomiesReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest)other); } else { super.mergeFrom(other); return this; @@ -641,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -692,43 +645,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -738,29 +685,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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; @@ -769,25 +711,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -795,43 +734,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -841,25 +769,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -867,10 +789,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -879,7 +799,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +806,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -897,7 +814,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -909,8 +825,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -919,7 +833,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -931,8 +844,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -941,13 +852,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -956,8 +867,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -966,14 +875,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -981,8 +891,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -991,22 +899,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1015,7 +919,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1025,8 +928,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1035,14 +936,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1052,20 +951,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1074,21 +971,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1096,35 +992,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1134,21 +1023,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1158,20 +1043,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1180,21 +1063,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1202,35 +1084,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1240,30 +1115,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1273,12 +1144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) private static final com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(); } @@ -1287,27 +1158,27 @@ public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1322,4 +1193,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java index ab714c286b16..ba8c103a83e7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataTaxonomiesRequestOrBuilder - extends +public interface ListDataTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of DataTaxonomies to return. The service may
    * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -67,14 +40,11 @@ public interface ListDataTaxonomiesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -83,13 +53,10 @@ public interface ListDataTaxonomiesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -98,58 +65,48 @@ public interface ListDataTaxonomiesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java index 499015b05747..37e3bd52b910 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List DataTaxonomies response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesResponse} */ -public final class ListDataTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataTaxonomiesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) ListDataTaxonomiesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataTaxonomiesResponse.newBuilder() to construct. private ListDataTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataTaxonomiesResponse() { dataTaxonomies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataTaxonomiesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); } public static final int DATA_TAXONOMIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataTaxonomies_; /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -82,8 +61,6 @@ public java.util.List getDataTaxonomi return dataTaxonomies_; } /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -91,13 +68,11 @@ public java.util.List getDataTaxonomi * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataTaxonomiesOrBuilderList() { return dataTaxonomies_; } /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -109,8 +84,6 @@ public int getDataTaxonomiesCount() { return dataTaxonomies_.size(); } /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { return dataTaxonomies_.get(index); } /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -131,24 +102,21 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( + int index) { return dataTaxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -189,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { return unreachableLocations_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -237,23 +196,20 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataTaxonomies_.size(); i++) { output.writeMessage(1, dataTaxonomies_.get(i)); } @@ -273,8 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -286,7 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataTaxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataTaxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataTaxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -307,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other = - (com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) obj; + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other = (com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) obj; - if (!getDataTaxonomiesList().equals(other.getDataTaxonomiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; + if (!getDataTaxonomiesList() + .equals(other.getDataTaxonomiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList() + .equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,136 +304,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataTaxonomies response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) com.google.cloud.dataplex.v1.ListDataTaxonomiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +441,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override @@ -513,18 +468,14 @@ public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result = - new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(this); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result = new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result) { if (dataTaxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataTaxonomies_ = java.util.Collections.unmodifiableList(dataTaxonomies_); @@ -551,39 +502,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataTaxonomiesRespon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse)other); } else { super.mergeFrom(other); return this; @@ -591,8 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance()) return this; if (dataTaxonomiesBuilder_ == null) { if (!other.dataTaxonomies_.isEmpty()) { if (dataTaxonomies_.isEmpty()) { @@ -611,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse dataTaxonomiesBuilder_ = null; dataTaxonomies_ = other.dataTaxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - dataTaxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataTaxonomiesFieldBuilder() - : null; + dataTaxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataTaxonomiesFieldBuilder() : null; } else { dataTaxonomiesBuilder_.addAllMessages(other.dataTaxonomies_); } @@ -661,39 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.DataTaxonomy m = - input.readMessage( - com.google.cloud.dataplex.v1.DataTaxonomy.parser(), extensionRegistry); - if (dataTaxonomiesBuilder_ == null) { - ensureDataTaxonomiesIsMutable(); - dataTaxonomies_.add(m); - } else { - dataTaxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.DataTaxonomy m = + input.readMessage( + com.google.cloud.dataplex.v1.DataTaxonomy.parser(), + extensionRegistry); + if (dataTaxonomiesBuilder_ == null) { + ensureDataTaxonomiesIsMutable(); + dataTaxonomies_.add(m); + } else { + dataTaxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,29 +648,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataTaxonomies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataTaxonomies_ = - new java.util.ArrayList(dataTaxonomies_); + dataTaxonomies_ = new java.util.ArrayList(dataTaxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> - dataTaxonomiesBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomiesBuilder_; /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -740,8 +677,6 @@ public java.util.List getDataTaxonomi } } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -756,8 +691,6 @@ public int getDataTaxonomiesCount() { } } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -772,15 +705,14 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { } } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public Builder setDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { + public Builder setDataTaxonomies( + int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -794,8 +726,6 @@ public Builder setDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTax return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -814,8 +744,6 @@ public Builder setDataTaxonomies( return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -836,15 +764,14 @@ public Builder addDataTaxonomies(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public Builder addDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { + public Builder addDataTaxonomies( + int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -858,8 +785,6 @@ public Builder addDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTax return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -878,8 +803,6 @@ public Builder addDataTaxonomies( return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -898,8 +821,6 @@ public Builder addDataTaxonomies( return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -910,7 +831,8 @@ public Builder addAllDataTaxonomies( java.lang.Iterable values) { if (dataTaxonomiesBuilder_ == null) { ensureDataTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataTaxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataTaxonomies_); onChanged(); } else { dataTaxonomiesBuilder_.addAllMessages(values); @@ -918,8 +840,6 @@ public Builder addAllDataTaxonomies( return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -937,8 +857,6 @@ public Builder clearDataTaxonomies() { return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -956,20 +874,17 @@ public Builder removeDataTaxonomies(int index) { return this; } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilder(int index) { + public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilder( + int index) { return getDataTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -979,22 +894,19 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilde public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( int index) { if (dataTaxonomiesBuilder_ == null) { - return dataTaxonomies_.get(index); - } else { + return dataTaxonomies_.get(index); } else { return dataTaxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public java.util.List - getDataTaxonomiesOrBuilderList() { + public java.util.List + getDataTaxonomiesOrBuilderList() { if (dataTaxonomiesBuilder_ != null) { return dataTaxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -1002,8 +914,6 @@ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBui } } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
@@ -1011,47 +921,38 @@ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBui * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder() { - return getDataTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); + return getDataTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder(int index) { - return getDataTaxonomiesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder( + int index) { + return getDataTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); } /** - * - * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public java.util.List - getDataTaxonomiesBuilderList() { + public java.util.List + getDataTaxonomiesBuilderList() { return getDataTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomiesFieldBuilder() { if (dataTaxonomiesBuilder_ == null) { - dataTaxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + dataTaxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( dataTaxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1063,21 +964,19 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1086,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1109,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1149,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1174,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1182,43 +1068,35 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1226,37 +1104,31 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1264,21 +1136,17 @@ public Builder setUnreachableLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1286,58 +1154,50 @@ public Builder addUnreachableLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations(java.lang.Iterable values) { + public Builder addAllUnreachableLocations( + java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1345,9 +1205,9 @@ public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) private static final com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(); } @@ -1371,27 +1231,27 @@ public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java index 170641f225f4..3df988a2e490 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataTaxonomiesResponseOrBuilder - extends +public interface ListDataTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - java.util.List getDataTaxonomiesList(); + java.util.List + getDataTaxonomiesList(); /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -44,8 +25,6 @@ public interface ListDataTaxonomiesResponseOrBuilder */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index); /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
@@ -54,102 +33,84 @@ public interface ListDataTaxonomiesResponseOrBuilder */ int getDataTaxonomiesCount(); /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - java.util.List + java.util.List getDataTaxonomiesOrBuilderList(); /** - * - * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder(int index); + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - java.util.List getUnreachableLocationsList(); + java.util.List + getUnreachableLocationsList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java index 1c963115f8af..c551c8bbae5a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List metadata entities request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesRequest} */ -public final class ListEntitiesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntitiesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEntitiesRequest) ListEntitiesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntitiesRequest.newBuilder() to construct. private ListEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntitiesRequest() { parent_ = ""; view_ = 0; @@ -46,38 +28,34 @@ private ListEntitiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntitiesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesRequest.class, - com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesRequest.class, com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); } /** - * - * *
    * Entity views.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.ListEntitiesRequest.EntityView} */ - public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default unset value. Return both table and fileset entities
      * if unspecified.
@@ -87,8 +65,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum {
      */
     ENTITY_VIEW_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Only list table entities.
      * 
@@ -97,8 +73,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ TABLES(1), /** - * - * *
      * Only list fileset entities.
      * 
@@ -110,8 +84,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default unset value. Return both table and fileset entities
      * if unspecified.
@@ -121,8 +93,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ENTITY_VIEW_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Only list table entities.
      * 
@@ -131,8 +101,6 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLES_VALUE = 1; /** - * - * *
      * Only list fileset entities.
      * 
@@ -141,6 +109,7 @@ public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILESETS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static EntityView valueOf(int value) { */ public static EntityView forNumber(int value) { switch (value) { - case 0: - return ENTITY_VIEW_UNSPECIFIED; - case 1: - return TABLES; - case 2: - return FILESETS; - default: - return null; + case 0: return ENTITY_VIEW_UNSPECIFIED; + case 1: return TABLES; + case 2: return FILESETS; + 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< + EntityView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityView findValueByNumber(int number) { + return EntityView.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityView findValueByNumber(int number) { - return EntityView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.ListEntitiesRequest.getDescriptor().getEnumTypes().get(0); } private static final EntityView[] VALUES = values(); - public static EntityView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityView 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; @@ -225,21 +194,15 @@ private EntityView(int value) { } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -248,32 +211,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -284,49 +245,32 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of entities to return. The service may return
    * fewer than this value. If unspecified, 100 entities will be returned by
@@ -335,7 +279,6 @@ public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -344,12 +287,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -358,7 +298,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -367,15 +306,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -384,15 +322,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -401,12 +340,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -419,7 +355,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -428,15 +363,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -449,15 +383,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -466,7 +401,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -478,13 +412,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ - != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -508,13 +441,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ - != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -530,19 +463,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEntitiesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEntitiesRequest other = - (com.google.cloud.dataplex.v1.ListEntitiesRequest) obj; + com.google.cloud.dataplex.v1.ListEntitiesRequest other = (com.google.cloud.dataplex.v1.ListEntitiesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -569,136 +505,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEntitiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata entities request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEntitiesRequest) com.google.cloud.dataplex.v1.ListEntitiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesRequest.class, - com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesRequest.class, com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEntitiesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +644,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override @@ -733,11 +665,8 @@ public com.google.cloud.dataplex.v1.ListEntitiesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListEntitiesRequest result = - new com.google.cloud.dataplex.v1.ListEntitiesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListEntitiesRequest result = new com.google.cloud.dataplex.v1.ListEntitiesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -765,39 +694,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEntitiesRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEntitiesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesRequest)other); } else { super.mergeFrom(other); return this; @@ -805,8 +733,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -854,43 +781,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -900,28 +821,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -930,24 +846,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -955,41 +868,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -999,24 +901,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1026,33 +922,22 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -1063,37 +948,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); - return result == null - ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); + return result == null ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED : result; } /** - * - * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The view to set. * @return This builder for chaining. */ @@ -1107,16 +979,11 @@ public Builder setView(com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityVi return this; } /** - * - * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearView() { @@ -1126,10 +993,8 @@ public Builder clearView() { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1138,7 +1003,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1146,8 +1010,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1156,7 +1018,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1168,8 +1029,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1178,7 +1037,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1190,8 +1048,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1200,13 +1056,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1215,8 +1071,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1225,14 +1079,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1240,8 +1095,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1250,22 +1103,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1274,7 +1123,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1284,8 +1132,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1294,14 +1140,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1311,8 +1155,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1325,13 +1167,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1340,8 +1182,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1354,14 +1194,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1369,8 +1210,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1383,22 +1222,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1411,7 +1246,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1421,8 +1255,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1435,23 +1267,21 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1461,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEntitiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEntitiesRequest) private static final com.google.cloud.dataplex.v1.ListEntitiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEntitiesRequest(); } @@ -1475,27 +1305,27 @@ public static com.google.cloud.dataplex.v1.ListEntitiesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEntitiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java index 02689ae27f4a..7754600fdad3 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java @@ -1,91 +1,54 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListEntitiesRequestOrBuilder - extends +public interface ListEntitiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEntitiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView(); /** - * - * *
    * Optional. Maximum number of entities to return. The service may return
    * fewer than this value. If unspecified, 100 entities will be returned by
@@ -94,14 +57,11 @@ public interface ListEntitiesRequestOrBuilder
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -110,13 +70,10 @@ public interface ListEntitiesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -125,14 +82,12 @@ public interface ListEntitiesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -145,13 +100,10 @@ public interface ListEntitiesRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -164,8 +116,8 @@ public interface ListEntitiesRequestOrBuilder
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java index 29b9ac50c3aa..f751b4bd8160 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List metadata entities response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesResponse} */ -public final class ListEntitiesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntitiesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEntitiesResponse) ListEntitiesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntitiesResponse.newBuilder() to construct. private ListEntitiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntitiesResponse() { entities_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListEntitiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntitiesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesResponse.class, - com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesResponse.class, com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); } public static final int ENTITIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List entities_; /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -81,8 +59,6 @@ public java.util.List getEntitiesList() { return entities_; } /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -90,13 +66,11 @@ public java.util.List getEntitiesList() { * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitiesOrBuilderList() { return entities_; } /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -108,8 +82,6 @@ public int getEntitiesCount() { return entities_.size(); } /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { return entities_.get(index); } /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( + int index) { return entities_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entities_.size(); i++) { output.writeMessage(1, entities_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entities_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEntitiesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEntitiesResponse other = - (com.google.cloud.dataplex.v1.ListEntitiesResponse) obj; + com.google.cloud.dataplex.v1.ListEntitiesResponse other = (com.google.cloud.dataplex.v1.ListEntitiesResponse) obj; - if (!getEntitiesList().equals(other.getEntitiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntitiesList() + .equals(other.getEntitiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,135 +232,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEntitiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata entities response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEntitiesResponse) com.google.cloud.dataplex.v1.ListEntitiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesResponse.class, - com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesResponse.class, com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEntitiesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListEntitiesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListEntitiesResponse result = - new com.google.cloud.dataplex.v1.ListEntitiesResponse(this); + com.google.cloud.dataplex.v1.ListEntitiesResponse result = new com.google.cloud.dataplex.v1.ListEntitiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListEntitiesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListEntitiesResponse result) { if (entitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEntitiesResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEntitiesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance()) return this; if (entitiesBuilder_ == null) { if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesResponse other entitiesBuilder_ = null; entities_ = other.entities_; bitField0_ = (bitField0_ & ~0x00000001); - entitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntitiesFieldBuilder() - : null; + entitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntitiesFieldBuilder() : null; } else { entitiesBuilder_.addAllMessages(other.entities_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Entity m = - input.readMessage( - com.google.cloud.dataplex.v1.Entity.parser(), extensionRegistry); - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(m); - } else { - entitiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Entity m = + input.readMessage( + com.google.cloud.dataplex.v1.Entity.parser(), + extensionRegistry); + if (entitiesBuilder_ == null) { + ensureEntitiesIsMutable(); + entities_.add(m); + } else { + entitiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(entities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder> - entitiesBuilder_; + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entitiesBuilder_; /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -634,8 +583,6 @@ public java.util.List getEntitiesList() { } } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -650,8 +597,6 @@ public int getEntitiesCount() { } } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { } } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder setEntities(int index, com.google.cloud.dataplex.v1.Entity value) { + public Builder setEntities( + int index, com.google.cloud.dataplex.v1.Entity value) { if (entitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setEntities(int index, com.google.cloud.dataplex.v1.Entity value) return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -708,8 +650,6 @@ public Builder setEntities( return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -730,15 +670,14 @@ public Builder addEntities(com.google.cloud.dataplex.v1.Entity value) { return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder addEntities(int index, com.google.cloud.dataplex.v1.Entity value) { + public Builder addEntities( + int index, com.google.cloud.dataplex.v1.Entity value) { if (entitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addEntities(int index, com.google.cloud.dataplex.v1.Entity value) return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder addEntities(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder addEntities( + com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); entities_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addEntities(com.google.cloud.dataplex.v1.Entity.Builder builderFo return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -791,8 +727,6 @@ public Builder addEntities( return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -803,7 +737,8 @@ public Builder addAllEntities( java.lang.Iterable values) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entities_); onChanged(); } else { entitiesBuilder_.addAllMessages(values); @@ -811,8 +746,6 @@ public Builder addAllEntities( return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -830,8 +763,6 @@ public Builder clearEntities() { return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -849,44 +780,39 @@ public Builder removeEntities(int index) { return this; } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.Entity.Builder getEntitiesBuilder(int index) { + public com.google.cloud.dataplex.v1.Entity.Builder getEntitiesBuilder( + int index) { return getEntitiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( + int index) { if (entitiesBuilder_ == null) { - return entities_.get(index); - } else { + return entities_.get(index); } else { return entitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public java.util.List - getEntitiesOrBuilderList() { + public java.util.List + getEntitiesOrBuilderList() { if (entitiesBuilder_ != null) { return entitiesBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int ind } } /** - * - * *
      * Entities in the specified parent zone.
      * 
@@ -903,47 +827,42 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int ind * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder() { - return getEntitiesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); + return getEntitiesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder(int index) { - return getEntitiesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder( + int index) { + return getEntitiesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); } /** - * - * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public java.util.List getEntitiesBuilderList() { + public java.util.List + getEntitiesBuilderList() { return getEntitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> getEntitiesFieldBuilder() { if (entitiesBuilder_ == null) { - entitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder>( - entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( + entities_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entities_ = null; } return entitiesBuilder_; @@ -951,21 +870,19 @@ public java.util.List getEntitiesBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * 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; @@ -974,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * 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 { @@ -997,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEntitiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEntitiesResponse) private static final com.google.cloud.dataplex.v1.ListEntitiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEntitiesResponse(); } @@ -1085,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListEntitiesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEntitiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java index 46a2032a6ca0..4297e1e7f526 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListEntitiesResponseOrBuilder - extends +public interface ListEntitiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEntitiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - java.util.List getEntitiesList(); + java.util.List + getEntitiesList(); /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -44,8 +25,6 @@ public interface ListEntitiesResponseOrBuilder */ com.google.cloud.dataplex.v1.Entity getEntities(int index); /** - * - * *
    * Entities in the specified parent zone.
    * 
@@ -54,50 +33,43 @@ public interface ListEntitiesResponseOrBuilder */ int getEntitiesCount(); /** - * - * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - java.util.List getEntitiesOrBuilderList(); + java.util.List + getEntitiesOrBuilderList(); /** - * - * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index); + com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java index 5e87564af98b..71b908229d21 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List environments request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,41 +28,34 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of environments to return. The service may return
    * fewer than this value. If unspecified, at most 10 environments will be
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,18 +167,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -221,29 +183,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -252,18 +214,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -272,29 +230,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -303,7 +261,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,7 +302,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -363,19 +322,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEnvironmentsRequest other = - (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListEnvironmentsRequest other = (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,135 +366,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEnvironmentsRequest) com.google.cloud.dataplex.v1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEnvironmentsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override @@ -566,11 +525,8 @@ public com.google.cloud.dataplex.v1.ListEnvironmentsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEnvironmentsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListEnvironmentsRequest result = - new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListEnvironmentsRequest result = new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -598,39 +554,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEnvironmentsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEnvironmentsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsRequest)other); } else { super.mergeFrom(other); return this; @@ -638,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -689,43 +643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,28 +683,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -765,24 +708,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -790,41 +730,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -834,24 +763,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -859,10 +782,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -871,7 +792,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -879,8 +799,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -889,7 +807,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -901,8 +818,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -911,7 +826,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -923,8 +837,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -933,13 +845,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -948,8 +860,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -958,14 +868,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -973,8 +884,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -983,22 +892,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1007,7 +912,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1017,8 +921,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1027,14 +929,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1044,20 +944,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1066,21 +964,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1088,35 +985,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1126,21 +1016,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1150,20 +1036,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,21 +1056,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1194,35 +1077,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1232,30 +1108,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEnvironmentsRequest) private static final com.google.cloud.dataplex.v1.ListEnvironmentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(); } @@ -1279,27 +1151,27 @@ public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,4 +1186,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEnvironmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java index 1fe52a5edd66..834fdacbaf60 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListEnvironmentsRequestOrBuilder - extends +public interface ListEnvironmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of environments to return. The service may return
    * fewer than this value. If unspecified, at most 10 environments will be
@@ -65,14 +38,11 @@ public interface ListEnvironmentsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -81,13 +51,10 @@ public interface ListEnvironmentsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -96,58 +63,48 @@ public interface ListEnvironmentsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java index 900334f90aac..d9a10ee71cde 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List environments response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List environments_; /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -81,8 +59,6 @@ public java.util.List getEnvironmentsL return environments_; } /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -90,13 +66,11 @@ public java.util.List getEnvironmentsL * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEnvironmentsOrBuilderList() { return environments_; } /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -108,8 +82,6 @@ public int getEnvironmentsCount() { return environments_.size(); } /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { return environments_.get(index); } /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEnvironmentsResponse other = - (com.google.cloud.dataplex.v1.ListEnvironmentsResponse) obj; + com.google.cloud.dataplex.v1.ListEnvironmentsResponse other = (com.google.cloud.dataplex.v1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList() + .equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +232,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEnvironmentsResponse) com.google.cloud.dataplex.v1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEnvironmentsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override @@ -430,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListEnvironmentsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEnvironmentsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListEnvironmentsResponse result = - new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(this); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse result = new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListEnvironmentsResponse result) { if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -464,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEnvironmentsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEnvironmentsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsResponse)other); } else { super.mergeFrom(other); return this; @@ -504,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance()) return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -524,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsResponse o environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEnvironmentsFieldBuilder() - : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEnvironmentsFieldBuilder() : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -564,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Environment m = - input.readMessage( - com.google.cloud.dataplex.v1.Environment.parser(), extensionRegistry); - if (environmentsBuilder_ == null) { - ensureEnvironmentsIsMutable(); - environments_.add(m); - } else { - environmentsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Environment m = + input.readMessage( + com.google.cloud.dataplex.v1.Environment.parser(), + extensionRegistry); + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(m); + } else { + environmentsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,29 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List environments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = - new java.util.ArrayList(environments_); + environments_ = new java.util.ArrayList(environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> - environmentsBuilder_; + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentsBuilder_; /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -636,8 +583,6 @@ public java.util.List getEnvironmentsL } } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -652,8 +597,6 @@ public int getEnvironmentsCount() { } } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -668,15 +611,14 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { } } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public Builder setEnvironments(int index, com.google.cloud.dataplex.v1.Environment value) { + public Builder setEnvironments( + int index, com.google.cloud.dataplex.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,8 +632,6 @@ public Builder setEnvironments(int index, com.google.cloud.dataplex.v1.Environme return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -710,8 +650,6 @@ public Builder setEnvironments( return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -732,15 +670,14 @@ public Builder addEnvironments(com.google.cloud.dataplex.v1.Environment value) { return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public Builder addEnvironments(int index, com.google.cloud.dataplex.v1.Environment value) { + public Builder addEnvironments( + int index, com.google.cloud.dataplex.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,8 +691,6 @@ public Builder addEnvironments(int index, com.google.cloud.dataplex.v1.Environme return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -774,8 +709,6 @@ public Builder addEnvironments( return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -794,8 +727,6 @@ public Builder addEnvironments( return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -806,7 +737,8 @@ public Builder addAllEnvironments( java.lang.Iterable values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -814,8 +746,6 @@ public Builder addAllEnvironments( return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -833,8 +763,6 @@ public Builder clearEnvironments() { return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -852,44 +780,39 @@ public Builder removeEnvironments(int index) { return this; } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentsBuilder(int index) { + public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentsBuilder( + int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); - } else { + return environments_.get(index); } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsOrBuilderList() { + public java.util.List + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -897,8 +820,6 @@ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilde } } /** - * - * *
      * Environments under the given parent lake.
      * 
@@ -906,48 +827,42 @@ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilde * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); + return getEnvironmentsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder(int index) { - return getEnvironmentsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder( + int index) { + return getEnvironmentsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); } /** - * - * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsBuilderList() { + public java.util.List + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + environments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); environments_ = null; } return environmentsBuilder_; @@ -955,21 +870,19 @@ public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -978,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1001,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEnvironmentsResponse) private static final com.google.cloud.dataplex.v1.ListEnvironmentsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(); } @@ -1089,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEnvironmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java index e19cfc207fc2..fccea6288177 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListEnvironmentsResponseOrBuilder - extends +public interface ListEnvironmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - java.util.List getEnvironmentsList(); + java.util.List + getEnvironmentsList(); /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -44,8 +25,6 @@ public interface ListEnvironmentsResponseOrBuilder */ com.google.cloud.dataplex.v1.Environment getEnvironments(int index); /** - * - * *
    * Environments under the given parent lake.
    * 
@@ -54,51 +33,43 @@ public interface ListEnvironmentsResponseOrBuilder */ int getEnvironmentsCount(); /** - * - * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - java.util.List + java.util.List getEnvironmentsOrBuilderList(); /** - * - * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index); + com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java index d9d95c8dce07..b96980e9d9ef 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsRequest.class, - com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListJobsRequest.class, com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,8 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of jobs to return. The service may return fewer
    * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -132,7 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +111,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -155,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -233,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -246,17 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListJobsRequest other = - (com.google.cloud.dataplex.v1.ListJobsRequest) obj; + com.google.cloud.dataplex.v1.ListJobsRequest other = (com.google.cloud.dataplex.v1.ListJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,136 +248,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 jobs request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListJobsRequest) com.google.cloud.dataplex.v1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsRequest.class, - com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListJobsRequest.class, com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override @@ -441,11 +406,8 @@ public com.google.cloud.dataplex.v1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListJobsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListJobsRequest result = - new com.google.cloud.dataplex.v1.ListJobsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListJobsRequest result = new com.google.cloud.dataplex.v1.ListJobsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -467,39 +429,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListJobsRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListJobsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListJobsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -547,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -581,28 +538,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -611,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -636,41 +585,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -680,24 +618,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +637,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -716,7 +646,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +653,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -733,7 +660,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -745,8 +671,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -754,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -776,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -801,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -826,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -850,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -870,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListJobsRequest) private static final com.google.cloud.dataplex.v1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListJobsRequest(); } @@ -910,27 +819,27 @@ public static com.google.cloud.dataplex.v1.ListJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java index 4c1a67d33c26..33d18753b1b5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of jobs to return. The service may return fewer
    * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -64,14 +37,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -80,13 +50,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -95,8 +62,8 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java index e971864cda19..5f839ed84e1a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsResponse.class, - com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListJobsResponse.class, com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List jobs_; /** - * - * *
    * Jobs under a given task.
    * 
@@ -81,8 +59,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Jobs under a given task.
    * 
@@ -90,13 +66,11 @@ public java.util.List getJobsList() { * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Jobs under a given task.
    * 
@@ -108,8 +82,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Jobs under a given task.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Jobs under a given task.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -217,7 +184,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_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListJobsResponse other = - (com.google.cloud.dataplex.v1.ListJobsResponse) obj; + com.google.cloud.dataplex.v1.ListJobsResponse other = (com.google.cloud.dataplex.v1.ListJobsResponse) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +231,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 jobs response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListJobsResponse) com.google.cloud.dataplex.v1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsResponse.class, - com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListJobsResponse.class, com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override @@ -429,12 +394,9 @@ public com.google.cloud.dataplex.v1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListJobsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListJobsResponse result = - new com.google.cloud.dataplex.v1.ListJobsResponse(this); + com.google.cloud.dataplex.v1.ListJobsResponse result = new com.google.cloud.dataplex.v1.ListJobsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -462,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListJobsResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListJobsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -521,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListJobsResponse 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_); } @@ -561,31 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Job m = - input.readMessage(com.google.cloud.dataplex.v1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Job m = + input.readMessage( + com.google.cloud.dataplex.v1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,28 +554,21 @@ public Builder mergeFrom( } // finally 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.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Jobs under a given task.
      * 
@@ -631,8 +583,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Jobs under a given task.
      * 
@@ -647,8 +597,6 @@ public int getJobsCount() { } } /** - * - * *
      * Jobs under a given task.
      * 
@@ -663,15 +611,14 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { } } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job value) { + public Builder setJobs( + int index, com.google.cloud.dataplex.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -685,15 +632,14 @@ public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -704,8 +650,6 @@ public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job.Builder build return this; } /** - * - * *
      * Jobs under a given task.
      * 
@@ -726,15 +670,14 @@ public Builder addJobs(com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job value) { + public Builder addJobs( + int index, com.google.cloud.dataplex.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -748,15 +691,14 @@ public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -767,15 +709,14 @@ public Builder addJobs(com.google.cloud.dataplex.v1.Job.Builder builderForValue) return this; } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -786,8 +727,6 @@ public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job.Builder build return this; } /** - * - * *
      * Jobs under a given task.
      * 
@@ -798,7 +737,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); @@ -806,8 +746,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * Jobs under a given task.
      * 
@@ -825,8 +763,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Jobs under a given task.
      * 
@@ -844,44 +780,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.dataplex.v1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -889,8 +820,6 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * Jobs under a given task.
      * 
@@ -898,47 +827,42 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Job.getDefaultInstance()); } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Job.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Job.getDefaultInstance()); } /** - * - * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -946,21 +870,19 @@ public java.util.List getJobsBuilderLi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -969,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -992,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1032,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListJobsResponse) private static final com.google.cloud.dataplex.v1.ListJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListJobsResponse(); } @@ -1080,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java index 30a55784c94b..8819b4128350 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListJobsResponseOrBuilder - extends +public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Jobs under a given task.
    * 
@@ -44,8 +25,6 @@ public interface ListJobsResponseOrBuilder */ com.google.cloud.dataplex.v1.Job getJobs(int index); /** - * - * *
    * Jobs under a given task.
    * 
@@ -54,50 +33,43 @@ public interface ListJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java index 27a6508695b9..56dafdc0f050 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List lake actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakeActionsRequest} */ -public final class ListLakeActionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLakeActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakeActionsRequest) ListLakeActionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLakeActionsRequest.newBuilder() to construct. private ListLakeActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLakeActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListLakeActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLakeActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, - com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,8 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -132,7 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +111,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -155,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -233,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -246,17 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakeActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakeActionsRequest other = - (com.google.cloud.dataplex.v1.ListLakeActionsRequest) obj; + com.google.cloud.dataplex.v1.ListLakeActionsRequest other = (com.google.cloud.dataplex.v1.ListLakeActionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,135 +249,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakeActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lake actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakeActionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakeActionsRequest) com.google.cloud.dataplex.v1.ListLakeActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, - com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakeActionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override @@ -441,11 +406,8 @@ public com.google.cloud.dataplex.v1.ListLakeActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakeActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListLakeActionsRequest result = - new com.google.cloud.dataplex.v1.ListLakeActionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListLakeActionsRequest result = new com.google.cloud.dataplex.v1.ListLakeActionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -467,39 +429,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakeActionsRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakeActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakeActionsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakeActionsRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListLakeActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -548,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -582,28 +538,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -637,41 +585,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,24 +618,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,10 +637,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -717,7 +646,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -725,8 +653,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -734,7 +660,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -746,8 +671,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -755,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -767,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -777,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -792,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -802,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -817,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -827,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -851,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -861,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -871,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakeActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakeActionsRequest) private static final com.google.cloud.dataplex.v1.ListLakeActionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakeActionsRequest(); } @@ -911,27 +819,27 @@ public static com.google.cloud.dataplex.v1.ListLakeActionsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakeActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakeActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakeActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java index c6acf1b39d24..4ddba642668a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakeActionsRequestOrBuilder - extends +public interface ListLakeActionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakeActionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -64,14 +37,11 @@ public interface ListLakeActionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -80,13 +50,10 @@ public interface ListLakeActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -95,8 +62,8 @@ public interface ListLakeActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java index 3675586c7b50..e0289231a5a7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List lakes request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesRequest} */ -public final class ListLakesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLakesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakesRequest) ListLakesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLakesRequest.newBuilder() to construct. private ListLakesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLakesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +28,35 @@ private ListLakesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLakesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesRequest.class, - com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakesRequest.class, com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 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 { @@ -127,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of Lakes to return. The service may return fewer
    * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -136,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,18 +166,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -220,29 +182,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -251,18 +213,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -271,29 +229,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -302,7 +260,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,7 +271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -343,7 +301,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -362,19 +321,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakesRequest other = - (com.google.cloud.dataplex.v1.ListLakesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListLakesRequest other = (com.google.cloud.dataplex.v1.ListLakesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -401,136 +364,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lakes request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakesRequest) com.google.cloud.dataplex.v1.ListLakesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesRequest.class, - com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakesRequest.class, com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override @@ -565,11 +524,8 @@ public com.google.cloud.dataplex.v1.ListLakesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListLakesRequest result = - new com.google.cloud.dataplex.v1.ListLakesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListLakesRequest result = new com.google.cloud.dataplex.v1.ListLakesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -597,39 +553,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakesRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakesRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakesRequest)other); } else { super.mergeFrom(other); return this; @@ -687,43 +642,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,29 +682,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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; @@ -764,25 +708,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 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 { @@ -790,43 +731,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * - * string 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() { @@ -836,25 +766,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -862,10 +786,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -873,7 +795,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -881,8 +802,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -890,7 +809,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -902,8 +820,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -911,7 +827,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -923,8 +838,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -932,13 +845,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -947,8 +860,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -956,14 +867,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -971,8 +883,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -980,22 +890,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1003,7 +909,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1013,8 +918,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1022,14 +925,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1039,20 +940,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1061,21 +960,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1083,35 +981,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1121,21 +1012,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1145,20 +1032,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1167,21 +1052,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1189,35 +1073,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1227,30 +1104,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,12 +1133,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakesRequest) private static final com.google.cloud.dataplex.v1.ListLakesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakesRequest(); } @@ -1274,27 +1147,27 @@ public static com.google.cloud.dataplex.v1.ListLakesRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1182,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java index cbc0d478896a..185628a57dac 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakesRequestOrBuilder - extends +public interface ListLakesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of Lakes to return. The service may return fewer
    * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -66,14 +39,11 @@ public interface ListLakesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -81,13 +51,10 @@ public interface ListLakesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -95,58 +62,48 @@ public interface ListLakesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java index 7510e1e8f92f..48ce500e0271 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List lakes response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesResponse} */ -public final class ListLakesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLakesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakesResponse) ListLakesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLakesResponse.newBuilder() to construct. private ListLakesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLakesResponse() { lakes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLakesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesResponse.class, - com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListLakesResponse.class, com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); } public static final int LAKES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List lakes_; /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -82,8 +61,6 @@ public java.util.List getLakesList() { return lakes_; } /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -91,13 +68,11 @@ public java.util.List getLakesList() { * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLakesOrBuilderList() { return lakes_; } /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -109,8 +84,6 @@ public int getLakesCount() { return lakes_.size(); } /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { return lakes_.get(index); } /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -131,24 +102,21 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( + int index) { return lakes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -189,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { return unreachableLocations_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -237,23 +196,20 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < lakes_.size(); i++) { output.writeMessage(1, lakes_.get(i)); } @@ -273,8 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -286,7 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < lakes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, lakes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, lakes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -307,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakesResponse other = - (com.google.cloud.dataplex.v1.ListLakesResponse) obj; + com.google.cloud.dataplex.v1.ListLakesResponse other = (com.google.cloud.dataplex.v1.ListLakesResponse) obj; - if (!getLakesList().equals(other.getLakesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; + if (!getLakesList() + .equals(other.getLakesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList() + .equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,136 +303,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lakes response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakesResponse) com.google.cloud.dataplex.v1.ListLakesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesResponse.class, - com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListLakesResponse.class, com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -486,14 +441,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override @@ -512,12 +468,9 @@ public com.google.cloud.dataplex.v1.ListLakesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListLakesResponse result = - new com.google.cloud.dataplex.v1.ListLakesResponse(this); + com.google.cloud.dataplex.v1.ListLakesResponse result = new com.google.cloud.dataplex.v1.ListLakesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -549,39 +502,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakesResponse result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakesResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakesResponse)other); } else { super.mergeFrom(other); return this; @@ -608,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListLakesResponse other) { lakesBuilder_ = null; lakes_ = other.lakes_; bitField0_ = (bitField0_ & ~0x00000001); - lakesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLakesFieldBuilder() - : null; + lakesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLakesFieldBuilder() : null; } else { lakesBuilder_.addAllMessages(other.lakes_); } @@ -658,39 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Lake m = - input.readMessage( - com.google.cloud.dataplex.v1.Lake.parser(), extensionRegistry); - if (lakesBuilder_ == null) { - ensureLakesIsMutable(); - lakes_.add(m); - } else { - lakesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Lake m = + input.readMessage( + com.google.cloud.dataplex.v1.Lake.parser(), + extensionRegistry); + if (lakesBuilder_ == null) { + ensureLakesIsMutable(); + lakes_.add(m); + } else { + lakesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,28 +648,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List lakes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLakesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { lakes_ = new java.util.ArrayList(lakes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> - lakesBuilder_; + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakesBuilder_; /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -736,8 +677,6 @@ public java.util.List getLakesList() { } } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -752,8 +691,6 @@ public int getLakesCount() { } } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -768,15 +705,14 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { } } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake value) { + public Builder setLakes( + int index, com.google.cloud.dataplex.v1.Lake value) { if (lakesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,15 +726,14 @@ public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLakes( + int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.set(index, builderForValue.build()); @@ -809,8 +744,6 @@ public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder bui return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -831,15 +764,14 @@ public Builder addLakes(com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake value) { + public Builder addLakes( + int index, com.google.cloud.dataplex.v1.Lake value) { if (lakesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +785,14 @@ public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder addLakes( + com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.add(builderForValue.build()); @@ -872,15 +803,14 @@ public Builder addLakes(com.google.cloud.dataplex.v1.Lake.Builder builderForValu return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder addLakes( + int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.add(index, builderForValue.build()); @@ -891,8 +821,6 @@ public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder bui return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -903,7 +831,8 @@ public Builder addAllLakes( java.lang.Iterable values) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lakes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, lakes_); onChanged(); } else { lakesBuilder_.addAllMessages(values); @@ -911,8 +840,6 @@ public Builder addAllLakes( return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -930,8 +857,6 @@ public Builder clearLakes() { return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -949,44 +874,39 @@ public Builder removeLakes(int index) { return this; } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.Lake.Builder getLakesBuilder(int index) { + public com.google.cloud.dataplex.v1.Lake.Builder getLakesBuilder( + int index) { return getLakesFieldBuilder().getBuilder(index); } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( + int index) { if (lakesBuilder_ == null) { - return lakes_.get(index); - } else { + return lakes_.get(index); } else { return lakesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public java.util.List - getLakesOrBuilderList() { + public java.util.List + getLakesOrBuilderList() { if (lakesBuilder_ != null) { return lakesBuilder_.getMessageOrBuilderList(); } else { @@ -994,8 +914,6 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { } } /** - * - * *
      * Lakes under the given parent location.
      * 
@@ -1003,47 +921,42 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder() { - return getLakesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); + return getLakesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder(int index) { - return getLakesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder( + int index) { + return getLakesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); } /** - * - * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public java.util.List getLakesBuilderList() { + public java.util.List + getLakesBuilderList() { return getLakesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> getLakesFieldBuilder() { if (lakesBuilder_ == null) { - lakesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder>( - lakes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + lakesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( + lakes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); lakes_ = null; } return lakesBuilder_; @@ -1051,21 +964,19 @@ public java.util.List getLakesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1074,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1097,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1137,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1162,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1170,43 +1068,35 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1214,37 +1104,31 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1252,21 +1136,17 @@ public Builder setUnreachableLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1274,58 +1154,50 @@ public Builder addUnreachableLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations(java.lang.Iterable values) { + public Builder addAllUnreachableLocations( + java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1333,9 +1205,9 @@ public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1345,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakesResponse) private static final com.google.cloud.dataplex.v1.ListLakesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakesResponse(); } @@ -1359,27 +1231,27 @@ public static com.google.cloud.dataplex.v1.ListLakesResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1394,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java index 4816f726f306..8946bbc59810 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakesResponseOrBuilder - extends +public interface ListLakesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - java.util.List getLakesList(); + java.util.List + getLakesList(); /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -44,8 +25,6 @@ public interface ListLakesResponseOrBuilder */ com.google.cloud.dataplex.v1.Lake getLakes(int index); /** - * - * *
    * Lakes under the given parent location.
    * 
@@ -54,101 +33,84 @@ public interface ListLakesResponseOrBuilder */ int getLakesCount(); /** - * - * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - java.util.List getLakesOrBuilderList(); + java.util.List + getLakesOrBuilderList(); /** - * - * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index); + com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - java.util.List getUnreachableLocationsList(); + java.util.List + getUnreachableLocationsList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java similarity index 74% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java index c1c7e066e0f2..1e474d618a9f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List metadata partitions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsRequest} */ -public final class ListPartitionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPartitionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListPartitionsRequest) ListPartitionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPartitionsRequest.newBuilder() to construct. private ListPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPartitionsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,41 +27,34 @@ private ListPartitionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPartitionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsRequest.class, - com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsRequest.class, com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,8 +97,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of partitions to return. The service may return
    * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -157,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +132,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,12 +166,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -229,7 +192,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -238,15 +200,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -270,15 +231,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -287,7 +249,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -325,7 +287,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -341,18 +304,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListPartitionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListPartitionsRequest other = - (com.google.cloud.dataplex.v1.ListPartitionsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListPartitionsRequest other = (com.google.cloud.dataplex.v1.ListPartitionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,135 +344,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata partitions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListPartitionsRequest) com.google.cloud.dataplex.v1.ListPartitionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsRequest.class, - com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsRequest.class, com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListPartitionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override @@ -540,11 +502,8 @@ public com.google.cloud.dataplex.v1.ListPartitionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListPartitionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListPartitionsRequest result = - new com.google.cloud.dataplex.v1.ListPartitionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListPartitionsRequest result = new com.google.cloud.dataplex.v1.ListPartitionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -569,39 +528,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListPartitionsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListPartitionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsRequest)other); } else { super.mergeFrom(other); return this; @@ -609,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -655,37 +612,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,28 +647,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -725,24 +672,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -750,41 +694,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -794,24 +727,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -819,10 +746,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -831,7 +756,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -839,8 +763,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -849,7 +771,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -861,8 +782,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -871,7 +790,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -883,8 +801,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -893,13 +809,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -908,8 +824,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -918,14 +832,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -933,8 +848,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -943,22 +856,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -967,7 +876,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -977,8 +885,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -987,14 +893,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1004,8 +908,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1029,13 +931,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1044,8 +946,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1069,14 +969,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1084,8 +985,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1109,22 +1008,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1148,7 +1043,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1158,8 +1052,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1183,23 +1075,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1209,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListPartitionsRequest) private static final com.google.cloud.dataplex.v1.ListPartitionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListPartitionsRequest(); } @@ -1223,27 +1113,27 @@ public static com.google.cloud.dataplex.v1.ListPartitionsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1258,4 +1148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java similarity index 77% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java index 7501a560369c..050eb9be1181 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListPartitionsRequestOrBuilder - extends +public interface ListPartitionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of partitions to return. The service may return
    * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -65,14 +38,11 @@ public interface ListPartitionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -81,13 +51,10 @@ public interface ListPartitionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -96,14 +63,12 @@ public interface ListPartitionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -127,13 +92,10 @@ public interface ListPartitionsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -157,8 +119,8 @@ public interface ListPartitionsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java index b9db406402b3..f1d9ac9352f0 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List metadata partitions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsResponse} */ -public final class ListPartitionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPartitionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListPartitionsResponse) ListPartitionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPartitionsResponse.newBuilder() to construct. private ListPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPartitionsResponse() { partitions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListPartitionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPartitionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsResponse.class, - com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsResponse.class, com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); } public static final int PARTITIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List partitions_; /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -81,8 +59,6 @@ public java.util.List getPartitionsList( return partitions_; } /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -90,13 +66,11 @@ public java.util.List getPartitionsList( * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -108,8 +82,6 @@ public int getPartitionsCount() { return partitions_.size(); } /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { return partitions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, partitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListPartitionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListPartitionsResponse other = - (com.google.cloud.dataplex.v1.ListPartitionsResponse) obj; + com.google.cloud.dataplex.v1.ListPartitionsResponse other = (com.google.cloud.dataplex.v1.ListPartitionsResponse) obj; - if (!getPartitionsList().equals(other.getPartitionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPartitionsList() + .equals(other.getPartitionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,135 +232,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata partitions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListPartitionsResponse) com.google.cloud.dataplex.v1.ListPartitionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsResponse.class, - com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsResponse.class, com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListPartitionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListPartitionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListPartitionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListPartitionsResponse result = - new com.google.cloud.dataplex.v1.ListPartitionsResponse(this); + com.google.cloud.dataplex.v1.ListPartitionsResponse result = new com.google.cloud.dataplex.v1.ListPartitionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListPartitionsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListPartitionsResponse result) { if (partitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitions_ = java.util.Collections.unmodifiableList(partitions_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListPartitionsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListPartitionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance()) return this; if (partitionsBuilder_ == null) { if (!other.partitions_.isEmpty()) { if (partitions_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsResponse oth partitionsBuilder_ = null; partitions_ = other.partitions_; bitField0_ = (bitField0_ & ~0x00000001); - partitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartitionsFieldBuilder() - : null; + partitionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartitionsFieldBuilder() : null; } else { partitionsBuilder_.addAllMessages(other.partitions_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Partition m = - input.readMessage( - com.google.cloud.dataplex.v1.Partition.parser(), extensionRegistry); - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.add(m); - } else { - partitionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Partition m = + input.readMessage( + com.google.cloud.dataplex.v1.Partition.parser(), + extensionRegistry); + if (partitionsBuilder_ == null) { + ensurePartitionsIsMutable(); + partitions_.add(m); + } else { + partitionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List partitions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePartitionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { partitions_ = new java.util.ArrayList(partitions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder> - partitionsBuilder_; + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> partitionsBuilder_; /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -634,8 +583,6 @@ public java.util.List getPartitionsList( } } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -650,8 +597,6 @@ public int getPartitionsCount() { } } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { } } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder setPartitions(int index, com.google.cloud.dataplex.v1.Partition value) { + public Builder setPartitions( + int index, com.google.cloud.dataplex.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setPartitions(int index, com.google.cloud.dataplex.v1.Partition v return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -708,8 +650,6 @@ public Builder setPartitions( return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -730,15 +670,14 @@ public Builder addPartitions(com.google.cloud.dataplex.v1.Partition value) { return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder addPartitions(int index, com.google.cloud.dataplex.v1.Partition value) { + public Builder addPartitions( + int index, com.google.cloud.dataplex.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addPartitions(int index, com.google.cloud.dataplex.v1.Partition v return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder addPartitions(com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { + public Builder addPartitions( + com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addPartitions(com.google.cloud.dataplex.v1.Partition.Builder buil return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -791,8 +727,6 @@ public Builder addPartitions( return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -803,7 +737,8 @@ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); @@ -811,8 +746,6 @@ public Builder addAllPartitions( return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -830,8 +763,6 @@ public Builder clearPartitions() { return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -849,44 +780,39 @@ public Builder removePartitions(int index) { return this; } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.Partition.Builder getPartitionsBuilder(int index) { + public com.google.cloud.dataplex.v1.Partition.Builder getPartitionsBuilder( + int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { if (partitionsBuilder_ == null) { - return partitions_.get(index); - } else { + return partitions_.get(index); } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsOrBuilderList() { + public java.util.List + getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(in } } /** - * - * *
      * Partitions under the specified parent entity.
      * 
@@ -903,48 +827,42 @@ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(in * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); + return getPartitionsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder(int index) { - return getPartitionsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder( + int index) { + return getPartitionsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsBuilderList() { + public java.util.List + getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder> + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { - partitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, - com.google.cloud.dataplex.v1.Partition.Builder, - com.google.cloud.dataplex.v1.PartitionOrBuilder>( - partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder>( + partitions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); partitions_ = null; } return partitionsBuilder_; @@ -952,21 +870,19 @@ public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * 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; @@ -975,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * 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 { @@ -998,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1038,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListPartitionsResponse) private static final com.google.cloud.dataplex.v1.ListPartitionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListPartitionsResponse(); } @@ -1086,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListPartitionsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListPartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java index 5f8ef1d7b8f1..c5d9f5cfa9ec 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListPartitionsResponseOrBuilder - extends +public interface ListPartitionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - java.util.List getPartitionsList(); + java.util.List + getPartitionsList(); /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -44,8 +25,6 @@ public interface ListPartitionsResponseOrBuilder */ com.google.cloud.dataplex.v1.Partition getPartitions(int index); /** - * - * *
    * Partitions under the specified parent entity.
    * 
@@ -54,51 +33,43 @@ public interface ListPartitionsResponseOrBuilder */ int getPartitionsCount(); /** - * - * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - java.util.List + java.util.List getPartitionsOrBuilderList(); /** - * - * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index); + com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java index c5e8571d1f91..54f37f2418b6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List sessions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsRequest} */ -public final class ListSessionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListSessionsRequest) ListSessionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsRequest.newBuilder() to construct. private ListSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,41 +27,34 @@ private ListSessionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsRequest.class, - com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsRequest.class, com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,8 +97,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of sessions to return. The service may return
    * fewer than this value. If unspecified, at most 10 sessions will be
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -157,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +132,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,12 +166,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -218,7 +181,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -227,15 +189,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -248,15 +209,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -265,7 +227,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +238,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -303,7 +265,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -319,18 +282,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListSessionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListSessionsRequest other = - (com.google.cloud.dataplex.v1.ListSessionsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListSessionsRequest other = (com.google.cloud.dataplex.v1.ListSessionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,136 +321,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sessions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListSessionsRequest) com.google.cloud.dataplex.v1.ListSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsRequest.class, - com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsRequest.class, com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListSessionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override @@ -518,11 +480,8 @@ public com.google.cloud.dataplex.v1.ListSessionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListSessionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListSessionsRequest result = - new com.google.cloud.dataplex.v1.ListSessionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListSessionsRequest result = new com.google.cloud.dataplex.v1.ListSessionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -547,39 +506,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListSessionsRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListSessionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsRequest)other); } else { super.mergeFrom(other); return this; @@ -587,8 +545,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +590,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,28 +625,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -703,24 +650,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -728,41 +672,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -772,24 +705,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -797,10 +724,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -809,7 +734,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -817,8 +741,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -827,7 +749,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -839,8 +760,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -849,7 +768,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -861,8 +779,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -871,13 +787,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -886,8 +802,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -896,14 +810,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -911,8 +826,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -921,22 +834,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -945,7 +854,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -955,8 +863,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -965,14 +871,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -982,8 +886,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -996,13 +898,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1011,8 +913,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -1025,14 +925,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1040,8 +941,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -1054,22 +953,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -1082,7 +977,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1092,8 +986,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -1106,23 +998,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1132,12 +1022,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListSessionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListSessionsRequest) private static final com.google.cloud.dataplex.v1.ListSessionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListSessionsRequest(); } @@ -1146,27 +1036,27 @@ public static com.google.cloud.dataplex.v1.ListSessionsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1181,4 +1071,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java similarity index 73% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java index 9adef9718491..4a16f4ebd09d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListSessionsRequestOrBuilder - extends +public interface ListSessionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListSessionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of sessions to return. The service may return
    * fewer than this value. If unspecified, at most 10 sessions will be
@@ -65,14 +38,11 @@ public interface ListSessionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -81,13 +51,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -96,14 +63,12 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -116,13 +81,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -135,8 +97,8 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java index 76d9d7d850df..2e278adb5c33 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List sessions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsResponse} */ -public final class ListSessionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListSessionsResponse) ListSessionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsResponse.newBuilder() to construct. private ListSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsResponse() { sessions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListSessionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsResponse.class, - com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsResponse.class, com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); } public static final int SESSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List sessions_; /** - * - * *
    * Sessions under a given environment.
    * 
@@ -81,8 +59,6 @@ public java.util.List getSessionsList() { return sessions_; } /** - * - * *
    * Sessions under a given environment.
    * 
@@ -90,13 +66,11 @@ public java.util.List getSessionsList() { * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionsOrBuilderList() { return sessions_; } /** - * - * *
    * Sessions under a given environment.
    * 
@@ -108,8 +82,6 @@ public int getSessionsCount() { return sessions_.size(); } /** - * - * *
    * Sessions under a given environment.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { return sessions_.get(index); } /** - * - * *
    * Sessions under a given environment.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { return sessions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sessions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sessions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sessions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListSessionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListSessionsResponse other = - (com.google.cloud.dataplex.v1.ListSessionsResponse) obj; + com.google.cloud.dataplex.v1.ListSessionsResponse other = (com.google.cloud.dataplex.v1.ListSessionsResponse) obj; - if (!getSessionsList().equals(other.getSessionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSessionsList() + .equals(other.getSessionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,135 +232,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sessions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListSessionsResponse) com.google.cloud.dataplex.v1.ListSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsResponse.class, - com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsResponse.class, com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListSessionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override @@ -429,18 +394,14 @@ public com.google.cloud.dataplex.v1.ListSessionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListSessionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListSessionsResponse result = - new com.google.cloud.dataplex.v1.ListSessionsResponse(this); + com.google.cloud.dataplex.v1.ListSessionsResponse result = new com.google.cloud.dataplex.v1.ListSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.ListSessionsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListSessionsResponse result) { if (sessionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { sessions_ = java.util.Collections.unmodifiableList(sessions_); @@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListSessionsResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListSessionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsResponse)other); } else { super.mergeFrom(other); return this; @@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance()) return this; if (sessionsBuilder_ == null) { if (!other.sessions_.isEmpty()) { if (sessions_.isEmpty()) { @@ -523,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsResponse other sessionsBuilder_ = null; sessions_ = other.sessions_; bitField0_ = (bitField0_ & ~0x00000001); - sessionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSessionsFieldBuilder() - : null; + sessionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSessionsFieldBuilder() : null; } else { sessionsBuilder_.addAllMessages(other.sessions_); } @@ -563,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Session m = - input.readMessage( - com.google.cloud.dataplex.v1.Session.parser(), extensionRegistry); - if (sessionsBuilder_ == null) { - ensureSessionsIsMutable(); - sessions_.add(m); - } else { - sessionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Session m = + input.readMessage( + com.google.cloud.dataplex.v1.Session.parser(), + extensionRegistry); + if (sessionsBuilder_ == null) { + ensureSessionsIsMutable(); + sessions_.add(m); + } else { + sessionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List sessions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSessionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sessions_ = new java.util.ArrayList(sessions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, - com.google.cloud.dataplex.v1.Session.Builder, - com.google.cloud.dataplex.v1.SessionOrBuilder> - sessionsBuilder_; + com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder> sessionsBuilder_; /** - * - * *
      * Sessions under a given environment.
      * 
@@ -634,8 +583,6 @@ public java.util.List getSessionsList() { } } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -650,8 +597,6 @@ public int getSessionsCount() { } } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -666,15 +611,14 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { } } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder setSessions(int index, com.google.cloud.dataplex.v1.Session value) { + public Builder setSessions( + int index, com.google.cloud.dataplex.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +632,6 @@ public Builder setSessions(int index, com.google.cloud.dataplex.v1.Session value return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -708,8 +650,6 @@ public Builder setSessions( return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -730,15 +670,14 @@ public Builder addSessions(com.google.cloud.dataplex.v1.Session value) { return this; } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder addSessions(int index, com.google.cloud.dataplex.v1.Session value) { + public Builder addSessions( + int index, com.google.cloud.dataplex.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,15 +691,14 @@ public Builder addSessions(int index, com.google.cloud.dataplex.v1.Session value return this; } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder addSessions(com.google.cloud.dataplex.v1.Session.Builder builderForValue) { + public Builder addSessions( + com.google.cloud.dataplex.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(builderForValue.build()); @@ -771,8 +709,6 @@ public Builder addSessions(com.google.cloud.dataplex.v1.Session.Builder builderF return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -791,8 +727,6 @@ public Builder addSessions( return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -803,7 +737,8 @@ public Builder addAllSessions( java.lang.Iterable values) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sessions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessions_); onChanged(); } else { sessionsBuilder_.addAllMessages(values); @@ -811,8 +746,6 @@ public Builder addAllSessions( return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -830,8 +763,6 @@ public Builder clearSessions() { return this; } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -849,44 +780,39 @@ public Builder removeSessions(int index) { return this; } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.Session.Builder getSessionsBuilder(int index) { + public com.google.cloud.dataplex.v1.Session.Builder getSessionsBuilder( + int index) { return getSessionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { if (sessionsBuilder_ == null) { - return sessions_.get(index); - } else { + return sessions_.get(index); } else { return sessionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public java.util.List - getSessionsOrBuilderList() { + public java.util.List + getSessionsOrBuilderList() { if (sessionsBuilder_ != null) { return sessionsBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +820,6 @@ public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int in } } /** - * - * *
      * Sessions under a given environment.
      * 
@@ -903,47 +827,42 @@ public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int in * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder() { - return getSessionsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Session.getDefaultInstance()); + return getSessionsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Session.getDefaultInstance()); } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder(int index) { - return getSessionsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Session.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder( + int index) { + return getSessionsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Session.getDefaultInstance()); } /** - * - * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public java.util.List getSessionsBuilderList() { + public java.util.List + getSessionsBuilderList() { return getSessionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, - com.google.cloud.dataplex.v1.Session.Builder, - com.google.cloud.dataplex.v1.SessionOrBuilder> + com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder> getSessionsFieldBuilder() { if (sessionsBuilder_ == null) { - sessionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, - com.google.cloud.dataplex.v1.Session.Builder, - com.google.cloud.dataplex.v1.SessionOrBuilder>( - sessions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder>( + sessions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); sessions_ = null; } return sessionsBuilder_; @@ -951,21 +870,19 @@ public java.util.List getSessionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -974,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -997,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListSessionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListSessionsResponse) private static final com.google.cloud.dataplex.v1.ListSessionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListSessionsResponse(); } @@ -1085,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListSessionsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java index 1a74dc13f60c..5a288cbc915b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListSessionsResponseOrBuilder - extends +public interface ListSessionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListSessionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - java.util.List getSessionsList(); + java.util.List + getSessionsList(); /** - * - * *
    * Sessions under a given environment.
    * 
@@ -44,8 +25,6 @@ public interface ListSessionsResponseOrBuilder */ com.google.cloud.dataplex.v1.Session getSessions(int index); /** - * - * *
    * Sessions under a given environment.
    * 
@@ -54,51 +33,43 @@ public interface ListSessionsResponseOrBuilder */ int getSessionsCount(); /** - * - * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - java.util.List + java.util.List getSessionsOrBuilderList(); /** - * - * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index); + com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java index 55b5360aaf25..0c7423180485 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List tasks request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksRequest} */ -public final class ListTasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListTasksRequest) ListTasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTasksRequest.newBuilder() to construct. private ListTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTasksRequest() { parent_ = ""; pageToken_ = ""; @@ -46,41 +28,34 @@ private ListTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTasksRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksRequest.class, - com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); + com.google.cloud.dataplex.v1.ListTasksRequest.class, com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of tasks to return. The service may return fewer
    * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -156,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -165,15 +131,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,18 +164,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -218,29 +180,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -249,18 +211,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -269,29 +227,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -300,7 +258,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -341,7 +299,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -360,19 +319,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListTasksRequest other = - (com.google.cloud.dataplex.v1.ListTasksRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListTasksRequest other = (com.google.cloud.dataplex.v1.ListTasksRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,136 +362,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListTasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tasks request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListTasksRequest) com.google.cloud.dataplex.v1.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksRequest.class, - com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); + com.google.cloud.dataplex.v1.ListTasksRequest.class, com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListTasksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override @@ -563,11 +522,8 @@ public com.google.cloud.dataplex.v1.ListTasksRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListTasksRequest buildPartial() { - com.google.cloud.dataplex.v1.ListTasksRequest result = - new com.google.cloud.dataplex.v1.ListTasksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListTasksRequest result = new com.google.cloud.dataplex.v1.ListTasksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -595,39 +551,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListTasksRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListTasksRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListTasksRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -685,43 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,28 +680,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -761,24 +705,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -786,41 +727,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -830,24 +760,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -855,10 +779,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -866,7 +788,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -874,8 +795,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -883,7 +802,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -895,8 +813,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -904,7 +820,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -916,8 +831,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -925,13 +838,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -940,8 +853,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -949,14 +860,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -964,8 +876,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -973,22 +883,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -996,7 +902,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1006,8 +911,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1015,14 +918,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1032,20 +933,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1054,21 +953,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1076,35 +974,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1114,21 +1005,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1138,20 +1025,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1160,21 +1045,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1182,35 +1066,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1220,30 +1097,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1253,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListTasksRequest) private static final com.google.cloud.dataplex.v1.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListTasksRequest(); } @@ -1267,27 +1140,27 @@ public static com.google.cloud.dataplex.v1.ListTasksRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1302,4 +1175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java index c35ed2fc06cb..a22fbe4d27ba 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of tasks to return. The service may return fewer
    * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -64,14 +37,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -79,13 +49,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -93,58 +60,48 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java similarity index 72% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java index 40edf9c0d583..74e110658aaa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List tasks response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksResponse} */ -public final class ListTasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListTasksResponse) ListTasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTasksResponse.newBuilder() to construct. private ListTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTasksResponse() { tasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTasksResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksResponse.class, - com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); + com.google.cloud.dataplex.v1.ListTasksResponse.class, com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List tasks_; /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -82,8 +61,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -91,13 +68,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -109,8 +84,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -131,24 +102,21 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( + int index) { return tasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -189,47 +157,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { return unreachableLocations_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -237,23 +196,20 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -273,8 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -286,7 +242,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tasks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -307,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListTasksResponse other = - (com.google.cloud.dataplex.v1.ListTasksResponse) obj; + com.google.cloud.dataplex.v1.ListTasksResponse other = (com.google.cloud.dataplex.v1.ListTasksResponse) obj; - if (!getTasksList().equals(other.getTasksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; + if (!getTasksList() + .equals(other.getTasksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList() + .equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,136 +303,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tasks response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListTasksResponse) com.google.cloud.dataplex.v1.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksResponse.class, - com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); + com.google.cloud.dataplex.v1.ListTasksResponse.class, com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListTasksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -486,14 +441,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override @@ -512,12 +468,9 @@ public com.google.cloud.dataplex.v1.ListTasksResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListTasksResponse buildPartial() { - com.google.cloud.dataplex.v1.ListTasksResponse result = - new com.google.cloud.dataplex.v1.ListTasksResponse(this); + com.google.cloud.dataplex.v1.ListTasksResponse result = new com.google.cloud.dataplex.v1.ListTasksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -549,39 +502,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListTasksResponse result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListTasksResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListTasksResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -608,10 +560,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListTasksResponse other) { tasksBuilder_ = null; tasks_ = other.tasks_; bitField0_ = (bitField0_ & ~0x00000001); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTasksFieldBuilder() - : null; + tasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTasksFieldBuilder() : null; } else { tasksBuilder_.addAllMessages(other.tasks_); } @@ -658,39 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Task m = - input.readMessage( - com.google.cloud.dataplex.v1.Task.parser(), extensionRegistry); - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(m); - } else { - tasksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Task m = + input.readMessage( + com.google.cloud.dataplex.v1.Task.parser(), + extensionRegistry); + if (tasksBuilder_ == null) { + ensureTasksIsMutable(); + tasks_.add(m); + } else { + tasksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,28 +648,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -736,8 +677,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -752,8 +691,6 @@ public int getTasksCount() { } } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -768,15 +705,14 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { } } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task value) { + public Builder setTasks( + int index, com.google.cloud.dataplex.v1.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,15 +726,14 @@ public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTasks( + int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -809,8 +744,6 @@ public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task.Builder bui return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -831,15 +764,14 @@ public Builder addTasks(com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task value) { + public Builder addTasks( + int index, com.google.cloud.dataplex.v1.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +785,14 @@ public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -872,15 +803,14 @@ public Builder addTasks(com.google.cloud.dataplex.v1.Task.Builder builderForValu return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder addTasks( + int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -891,8 +821,6 @@ public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task.Builder bui return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -903,7 +831,8 @@ public Builder addAllTasks( java.lang.Iterable values) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tasks_); onChanged(); } else { tasksBuilder_.addAllMessages(values); @@ -911,8 +840,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -930,8 +857,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -949,44 +874,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.dataplex.v1.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -994,8 +914,6 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { } } /** - * - * *
      * Tasks under the given parent lake.
      * 
@@ -1003,47 +921,42 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Task.getDefaultInstance()); } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Task.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Task.getDefaultInstance()); } /** - * - * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -1051,21 +964,19 @@ public java.util.List getTasksBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -1074,22 +985,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1097,37 +1007,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1137,22 +1040,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1162,7 +1061,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1170,43 +1068,35 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1214,37 +1104,31 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1252,21 +1136,17 @@ public Builder setUnreachableLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1274,58 +1154,50 @@ public Builder addUnreachableLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations(java.lang.Iterable values) { + public Builder addAllUnreachableLocations( + java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; - * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1333,9 +1205,9 @@ public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1345,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListTasksResponse) private static final com.google.cloud.dataplex.v1.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListTasksResponse(); } @@ -1359,27 +1231,27 @@ public static com.google.cloud.dataplex.v1.ListTasksResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1394,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java index 0e8a296664ea..ff67481ba294 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.dataplex.v1.Task getTasks(int index); /** - * - * *
    * Tasks under the given parent lake.
    * 
@@ -54,101 +33,84 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return A list containing the unreachableLocations. */ - java.util.List getUnreachableLocationsList(); + java.util.List + getUnreachableLocationsList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString + getUnreachableLocationsBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java index 1d2f786d0aa6..b5a586f16310 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List zone actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZoneActionsRequest} */ -public final class ListZoneActionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListZoneActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZoneActionsRequest) ListZoneActionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListZoneActionsRequest.newBuilder() to construct. private ListZoneActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListZoneActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListZoneActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListZoneActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, - com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,8 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -132,7 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +111,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -155,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -233,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -246,17 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZoneActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZoneActionsRequest other = - (com.google.cloud.dataplex.v1.ListZoneActionsRequest) obj; + com.google.cloud.dataplex.v1.ListZoneActionsRequest other = (com.google.cloud.dataplex.v1.ListZoneActionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,135 +249,131 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZoneActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zone actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZoneActionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZoneActionsRequest) com.google.cloud.dataplex.v1.ListZoneActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, - com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZoneActionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override @@ -441,11 +406,8 @@ public com.google.cloud.dataplex.v1.ListZoneActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZoneActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListZoneActionsRequest result = - new com.google.cloud.dataplex.v1.ListZoneActionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListZoneActionsRequest result = new com.google.cloud.dataplex.v1.ListZoneActionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -467,39 +429,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZoneActionsRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZoneActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZoneActionsRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZoneActionsRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListZoneActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -548,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -582,28 +538,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -637,41 +585,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,24 +618,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,10 +637,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -717,7 +646,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -725,8 +653,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -734,7 +660,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -746,8 +671,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -755,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -767,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -777,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -792,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -802,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -817,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -827,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -851,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -861,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -871,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZoneActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZoneActionsRequest) private static final com.google.cloud.dataplex.v1.ListZoneActionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZoneActionsRequest(); } @@ -911,27 +819,27 @@ public static com.google.cloud.dataplex.v1.ListZoneActionsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZoneActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZoneActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZoneActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java index c40dfe833f1c..cad29af6a1bb 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZoneActionsRequestOrBuilder - extends +public interface ListZoneActionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZoneActionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -64,14 +37,11 @@ public interface ListZoneActionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -80,13 +50,10 @@ public interface ListZoneActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -95,8 +62,8 @@ public interface ListZoneActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java index a78d8bb693cb..930809ea98e9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List zones request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesRequest} */ -public final class ListZonesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListZonesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZonesRequest) ListZonesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListZonesRequest.newBuilder() to construct. private ListZonesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListZonesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,41 +28,34 @@ private ListZonesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListZonesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesRequest.class, - com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZonesRequest.class, com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Maximum number of zones to return. The service may return fewer
    * than this value. If unspecified, at most 10 zones will be returned. The
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -156,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -165,15 +131,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,18 +164,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -218,29 +180,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -249,18 +211,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -269,29 +227,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -300,7 +258,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -341,7 +299,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -360,19 +319,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZonesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZonesRequest other = - (com.google.cloud.dataplex.v1.ListZonesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListZonesRequest other = (com.google.cloud.dataplex.v1.ListZonesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,136 +362,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZonesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zones request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZonesRequest) com.google.cloud.dataplex.v1.ListZonesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesRequest.class, - com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZonesRequest.class, com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZonesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override @@ -563,11 +522,8 @@ public com.google.cloud.dataplex.v1.ListZonesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZonesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListZonesRequest result = - new com.google.cloud.dataplex.v1.ListZonesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ListZonesRequest result = new com.google.cloud.dataplex.v1.ListZonesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -595,39 +551,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZonesRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZonesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZonesRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZonesRequest)other); } else { super.mergeFrom(other); return this; @@ -685,43 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,28 +680,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -761,24 +705,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -786,41 +727,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -830,24 +760,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -855,10 +779,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -866,7 +788,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -874,8 +795,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -883,7 +802,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -895,8 +813,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -904,7 +820,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -916,8 +831,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -925,13 +838,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -940,8 +853,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -949,14 +860,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -964,8 +876,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -973,22 +883,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -996,7 +902,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1006,8 +911,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1015,14 +918,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1032,20 +933,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1054,21 +953,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1076,35 +974,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1114,21 +1005,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1138,20 +1025,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1160,21 +1045,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1182,35 +1066,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1220,30 +1097,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1253,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZonesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZonesRequest) private static final com.google.cloud.dataplex.v1.ListZonesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZonesRequest(); } @@ -1267,27 +1140,27 @@ public static com.google.cloud.dataplex.v1.ListZonesRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1302,4 +1175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZonesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java index c2849a2a0897..8eec515ab3b3 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZonesRequestOrBuilder - extends +public interface ListZonesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZonesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of zones to return. The service may return fewer
    * than this value. If unspecified, at most 10 zones will be returned. The
@@ -64,14 +37,11 @@ public interface ListZonesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -79,13 +49,10 @@ public interface ListZonesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -93,58 +60,48 @@ public interface ListZonesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java index 4a13060faa0a..f2db5b4618b8 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * List zones response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesResponse} */ -public final class ListZonesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListZonesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZonesResponse) ListZonesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListZonesResponse.newBuilder() to construct. private ListZonesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListZonesResponse() { zones_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListZonesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListZonesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesResponse.class, - com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListZonesResponse.class, com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); } public static final int ZONES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List zones_; /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -81,8 +59,6 @@ public java.util.List getZonesList() { return zones_; } /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -90,13 +66,11 @@ public java.util.List getZonesList() { * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ @java.lang.Override - public java.util.List + public java.util.List getZonesOrBuilderList() { return zones_; } /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -108,8 +82,6 @@ public int getZonesCount() { return zones_.size(); } /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { return zones_.get(index); } /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -130,24 +100,21 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( + int index) { return zones_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +123,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < zones_.size(); i++) { output.writeMessage(1, zones_.get(i)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < zones_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, zones_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, zones_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZonesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZonesResponse other = - (com.google.cloud.dataplex.v1.ListZonesResponse) obj; + com.google.cloud.dataplex.v1.ListZonesResponse other = (com.google.cloud.dataplex.v1.ListZonesResponse) obj; - if (!getZonesList().equals(other.getZonesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getZonesList() + .equals(other.getZonesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +231,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZonesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zones response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZonesResponse) com.google.cloud.dataplex.v1.ListZonesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesResponse.class, - com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListZonesResponse.class, com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZonesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override @@ -429,12 +394,9 @@ public com.google.cloud.dataplex.v1.ListZonesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZonesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListZonesResponse result = - new com.google.cloud.dataplex.v1.ListZonesResponse(this); + com.google.cloud.dataplex.v1.ListZonesResponse result = new com.google.cloud.dataplex.v1.ListZonesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -462,39 +424,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZonesResponse result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZonesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZonesResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZonesResponse)other); } else { super.mergeFrom(other); return this; @@ -521,10 +482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListZonesResponse other) { zonesBuilder_ = null; zones_ = other.zones_; bitField0_ = (bitField0_ & ~0x00000001); - zonesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getZonesFieldBuilder() - : null; + zonesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getZonesFieldBuilder() : null; } else { zonesBuilder_.addAllMessages(other.zones_); } @@ -561,32 +521,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.dataplex.v1.Zone m = - input.readMessage( - com.google.cloud.dataplex.v1.Zone.parser(), extensionRegistry); - if (zonesBuilder_ == null) { - ensureZonesIsMutable(); - zones_.add(m); - } else { - zonesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.dataplex.v1.Zone m = + input.readMessage( + com.google.cloud.dataplex.v1.Zone.parser(), + extensionRegistry); + if (zonesBuilder_ == null) { + ensureZonesIsMutable(); + zones_.add(m); + } else { + zonesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,28 +554,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List zones_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { zones_ = new java.util.ArrayList(zones_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> - zonesBuilder_; + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zonesBuilder_; /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -632,8 +583,6 @@ public java.util.List getZonesList() { } } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -648,8 +597,6 @@ public int getZonesCount() { } } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -664,15 +611,14 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { } } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone value) { + public Builder setZones( + int index, com.google.cloud.dataplex.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -686,15 +632,14 @@ public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZones( + int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.set(index, builderForValue.build()); @@ -705,8 +650,6 @@ public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone.Builder bui return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -727,15 +670,14 @@ public Builder addZones(com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone value) { + public Builder addZones( + int index, com.google.cloud.dataplex.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -749,15 +691,14 @@ public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder addZones( + com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.add(builderForValue.build()); @@ -768,15 +709,14 @@ public Builder addZones(com.google.cloud.dataplex.v1.Zone.Builder builderForValu return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder addZones( + int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.add(index, builderForValue.build()); @@ -787,8 +727,6 @@ public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone.Builder bui return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -799,7 +737,8 @@ public Builder addAllZones( java.lang.Iterable values) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, zones_); onChanged(); } else { zonesBuilder_.addAllMessages(values); @@ -807,8 +746,6 @@ public Builder addAllZones( return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -826,8 +763,6 @@ public Builder clearZones() { return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -845,44 +780,39 @@ public Builder removeZones(int index) { return this; } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.Zone.Builder getZonesBuilder(int index) { + public com.google.cloud.dataplex.v1.Zone.Builder getZonesBuilder( + int index) { return getZonesFieldBuilder().getBuilder(index); } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { + public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( + int index) { if (zonesBuilder_ == null) { - return zones_.get(index); - } else { + return zones_.get(index); } else { return zonesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public java.util.List - getZonesOrBuilderList() { + public java.util.List + getZonesOrBuilderList() { if (zonesBuilder_ != null) { return zonesBuilder_.getMessageOrBuilderList(); } else { @@ -890,8 +820,6 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { } } /** - * - * *
      * Zones under the given parent lake.
      * 
@@ -899,47 +827,42 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder() { - return getZonesFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); + return getZonesFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder(int index) { - return getZonesFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder( + int index) { + return getZonesFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); } /** - * - * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public java.util.List getZonesBuilderList() { + public java.util.List + getZonesBuilderList() { return getZonesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> getZonesFieldBuilder() { if (zonesBuilder_ == null) { - zonesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder>( - zones_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + zonesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( + zones_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); zones_ = null; } return zonesBuilder_; @@ -947,21 +870,19 @@ public java.util.List getZonesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -970,22 +891,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -993,37 +913,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1033,31 +946,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1067,12 +976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZonesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZonesResponse) private static final com.google.cloud.dataplex.v1.ListZonesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZonesResponse(); } @@ -1081,27 +990,27 @@ public static com.google.cloud.dataplex.v1.ListZonesResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZonesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java index 03ce4797663f..b176eafa6f26 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZonesResponseOrBuilder - extends +public interface ListZonesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZonesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - java.util.List getZonesList(); + java.util.List + getZonesList(); /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -44,8 +25,6 @@ public interface ListZonesResponseOrBuilder */ com.google.cloud.dataplex.v1.Zone getZones(int index); /** - * - * *
    * Zones under the given parent lake.
    * 
@@ -54,50 +33,43 @@ public interface ListZonesResponseOrBuilder */ int getZonesCount(); /** - * - * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - java.util.List getZonesOrBuilderList(); + java.util.List + getZonesOrBuilderList(); /** - * - * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index); + com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java new file mode 100644 index 000000000000..6889d89c2a46 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java @@ -0,0 +1,465 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/logs.proto + +package com.google.cloud.dataplex.v1; + +public final class LogsProto { + private LogsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/dataplex/v1/logs.proto\022\030g" + + "oogle.cloud.dataplex.v1\032\031google/api/reso" + + "urce.proto\032\036google/protobuf/duration.pro" + + "to\032\037google/protobuf/timestamp.proto\"\240\t\n\016" + + "DiscoveryEvent\022\017\n\007message\030\001 \001(\t\022\017\n\007lake_" + + "id\030\002 \001(\t\022\017\n\007zone_id\030\003 \001(\t\022\020\n\010asset_id\030\004 " + + "\001(\t\022\025\n\rdata_location\030\005 \001(\t\022@\n\004type\030\n \001(\016" + + "22.google.cloud.dataplex.v1.DiscoveryEve" + + "nt.EventType\022H\n\006config\030\024 \001(\01326.google.cl" + + "oud.dataplex.v1.DiscoveryEvent.ConfigDet" + + "ailsH\000\022H\n\006entity\030\025 \001(\01326.google.cloud.da" + + "taplex.v1.DiscoveryEvent.EntityDetailsH\000" + + "\022N\n\tpartition\030\026 \001(\01329.google.cloud.datap" + + "lex.v1.DiscoveryEvent.PartitionDetailsH\000" + + "\022H\n\006action\030\027 \001(\01326.google.cloud.dataplex" + + ".v1.DiscoveryEvent.ActionDetailsH\000\032\236\001\n\rC" + + "onfigDetails\022Z\n\nparameters\030\001 \003(\0132F.googl" + + "e.cloud.dataplex.v1.DiscoveryEvent.Confi" + + "gDetails.ParametersEntry\0321\n\017ParametersEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032b\n\rE" + + "ntityDetails\022\016\n\006entity\030\001 \001(\t\022A\n\004type\030\002 \001" + + "(\01623.google.cloud.dataplex.v1.DiscoveryE" + + "vent.EntityType\032\230\001\n\020PartitionDetails\022\021\n\t" + + "partition\030\001 \001(\t\022\016\n\006entity\030\002 \001(\t\022A\n\004type\030" + + "\003 \001(\01623.google.cloud.dataplex.v1.Discove" + + "ryEvent.EntityType\022\036\n\026sampled_data_locat" + + "ions\030\004 \003(\t\032\035\n\rActionDetails\022\014\n\004type\030\001 \001(" + + "\t\"\264\001\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006CONFIG\020\001\022\022\n\016ENTITY_CREATED\020\002\022\022\n\016E" + + "NTITY_UPDATED\020\003\022\022\n\016ENTITY_DELETED\020\004\022\025\n\021P" + + "ARTITION_CREATED\020\005\022\025\n\021PARTITION_UPDATED\020" + + "\006\022\025\n\021PARTITION_DELETED\020\007\"A\n\nEntityType\022\033" + + "\n\027ENTITY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\013" + + "\n\007FILESET\020\002B\t\n\007details\"\305\005\n\010JobEvent\022\017\n\007m" + + "essage\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t\022.\n\nstart_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + + "end_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mp\0227\n\005state\030\005 \001(\0162(.google.cloud.dataple" + + "x.v1.JobEvent.State\022\017\n\007retries\030\006 \001(\005\0225\n\004" + + "type\030\007 \001(\0162\'.google.cloud.dataplex.v1.Jo" + + "bEvent.Type\022;\n\007service\030\010 \001(\0162*.google.cl" + + "oud.dataplex.v1.JobEvent.Service\022\023\n\013serv" + + "ice_job\030\t \001(\t\022N\n\021execution_trigger\030\013 \001(\016" + + "23.google.cloud.dataplex.v1.JobEvent.Exe" + + "cutionTrigger\"5\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\t\n\005SPARK\020\001\022\014\n\010NOTEBOOK\020\002\"U\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006F" + + "AILED\020\002\022\r\n\tCANCELLED\020\003\022\013\n\007ABORTED\020\004\"0\n\007S" + + "ervice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAP" + + "ROC\020\001\"W\n\020ExecutionTrigger\022!\n\035EXECUTION_T" + + "RIGGER_UNSPECIFIED\020\000\022\017\n\013TASK_CONFIG\020\001\022\017\n" + + "\013RUN_REQUEST\020\002\"\275\005\n\014SessionEvent\022\017\n\007messa" + + "ge\030\001 \001(\t\022\017\n\007user_id\030\002 \001(\t\022\022\n\nsession_id\030" + + "\003 \001(\t\022>\n\004type\030\004 \001(\01620.google.cloud.datap" + + "lex.v1.SessionEvent.EventType\022C\n\005query\030\005" + + " \001(\01322.google.cloud.dataplex.v1.SessionE" + + "vent.QueryDetailH\000\022\027\n\017event_succeeded\030\006 " + + "\001(\010\022\034\n\024fast_startup_enabled\030\007 \001(\010\0226\n\023una" + + "ssigned_duration\030\010 \001(\0132\031.google.protobuf" + + ".Duration\032\243\002\n\013QueryDetail\022\020\n\010query_id\030\001 " + + "\001(\t\022\022\n\nquery_text\030\002 \001(\t\022I\n\006engine\030\003 \001(\0162" + + "9.google.cloud.dataplex.v1.SessionEvent." + + "QueryDetail.Engine\022+\n\010duration\030\004 \001(\0132\031.g" + + "oogle.protobuf.Duration\022\031\n\021result_size_b" + + "ytes\030\005 \001(\003\022\034\n\024data_processed_bytes\030\006 \001(\003" + + "\"=\n\006Engine\022\026\n\022ENGINE_UNSPECIFIED\020\000\022\r\n\tSP" + + "ARK_SQL\020\001\022\014\n\010BIGQUERY\020\002\"S\n\tEventType\022\032\n\026" + + "EVENT_TYPE_UNSPECIFIED\020\000\022\t\n\005START\020\001\022\010\n\004S" + + "TOP\020\002\022\t\n\005QUERY\020\003\022\n\n\006CREATE\020\004B\010\n\006detail\"\232" + + "\007\n\017GovernanceEvent\022\017\n\007message\030\001 \001(\t\022G\n\ne" + + "vent_type\030\002 \001(\01623.google.cloud.dataplex." + + "v1.GovernanceEvent.EventType\022E\n\006entity\030\003" + + " \001(\01320.google.cloud.dataplex.v1.Governan" + + "ceEvent.EntityH\000\210\001\001\032\322\001\n\006Entity\0223\n\006entity" + + "\030\001 \001(\tB#\372A \n\036dataplex.googleapis.com/Ent" + + "ity\022P\n\013entity_type\030\002 \001(\0162;.google.cloud." + + "dataplex.v1.GovernanceEvent.Entity.Entit" + + "yType\"A\n\nEntityType\022\033\n\027ENTITY_TYPE_UNSPE" + + "CIFIED\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002\"\205\004\n\tEve" + + "ntType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032RE" + + "SOURCE_IAM_POLICY_UPDATE\020\001\022\031\n\025BIGQUERY_T" + + "ABLE_CREATE\020\002\022\031\n\025BIGQUERY_TABLE_UPDATE\020\003" + + "\022\031\n\025BIGQUERY_TABLE_DELETE\020\004\022\036\n\032BIGQUERY_" + + "CONNECTION_CREATE\020\005\022\036\n\032BIGQUERY_CONNECTI" + + "ON_UPDATE\020\006\022\036\n\032BIGQUERY_CONNECTION_DELET" + + "E\020\007\022\034\n\030BIGQUERY_TAXONOMY_CREATE\020\n\022\036\n\032BIG" + + "QUERY_POLICY_TAG_CREATE\020\013\022\036\n\032BIGQUERY_PO" + + "LICY_TAG_DELETE\020\014\022&\n\"BIGQUERY_POLICY_TAG" + + "_SET_IAM_POLICY\020\r\022\030\n\024ACCESS_POLICY_UPDAT" + + "E\020\016\022%\n!GOVERNANCE_RULE_MATCHED_RESOURCES" + + "\020\017\022(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEE" + + "DS\020\020\022\032\n\026GOVERNANCE_RULE_ERRORS\020\021B\t\n\007_ent" + + "ity\"\363\022\n\rDataScanEvent\022\023\n\013data_source\030\001 \001" + + "(\t\022\016\n\006job_id\030\002 \001(\t\022/\n\013create_time\030\014 \001(\0132" + + "\032.google.protobuf.Timestamp\022.\n\nstart_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "p\022>\n\004type\030\005 \001(\01620.google.cloud.dataplex." + + "v1.DataScanEvent.ScanType\022<\n\005state\030\006 \001(\016" + + "2-.google.cloud.dataplex.v1.DataScanEven" + + "t.State\022\017\n\007message\030\007 \001(\t\022\024\n\014spec_version" + + "\030\010 \001(\t\022@\n\007trigger\030\t \001(\0162/.google.cloud.d" + + "ataplex.v1.DataScanEvent.Trigger\022<\n\005scop" + + "e\030\n \001(\0162-.google.cloud.dataplex.v1.DataS" + + "canEvent.Scope\022Q\n\014data_profile\030e \001(\01329.g" + + "oogle.cloud.dataplex.v1.DataScanEvent.Da" + + "taProfileResultH\000\022Q\n\014data_quality\030f \001(\0132" + + "9.google.cloud.dataplex.v1.DataScanEvent" + + ".DataQualityResultH\000\022b\n\024data_profile_con" + + "figs\030\311\001 \001(\0132A.google.cloud.dataplex.v1.D" + + "ataScanEvent.DataProfileAppliedConfigsH\001" + + "\022b\n\024data_quality_configs\030\312\001 \001(\0132A.google" + + ".cloud.dataplex.v1.DataScanEvent.DataQua" + + "lityAppliedConfigsH\001\022_\n\030post_scan_action" + + "s_result\030\013 \001(\0132=.google.cloud.dataplex.v" + + "1.DataScanEvent.PostScanActionsResult\032&\n" + + "\021DataProfileResult\022\021\n\trow_count\030\001 \001(\003\032\234\004" + + "\n\021DataQualityResult\022\021\n\trow_count\030\001 \001(\003\022\016" + + "\n\006passed\030\002 \001(\010\022h\n\020dimension_passed\030\003 \003(\013" + + "2N.google.cloud.dataplex.v1.DataScanEven" + + "t.DataQualityResult.DimensionPassedEntry" + + "\022\r\n\005score\030\004 \001(\002\022f\n\017dimension_score\030\005 \003(\013" + + "2M.google.cloud.dataplex.v1.DataScanEven" + + "t.DataQualityResult.DimensionScoreEntry\022" + + "`\n\014column_score\030\006 \003(\0132J.google.cloud.dat" + + "aplex.v1.DataScanEvent.DataQualityResult" + + ".ColumnScoreEntry\0326\n\024DimensionPassedEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\0325\n\023Dim" + + "ensionScoreEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\002:\0028\001\0322\n\020ColumnScoreEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\002:\0028\001\032p\n\031DataProfileAppli" + + "edConfigs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022r" + + "ow_filter_applied\030\002 \001(\010\022\035\n\025column_filter" + + "_applied\030\003 \001(\010\032Q\n\031DataQualityAppliedConf" + + "igs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022row_fil" + + "ter_applied\030\002 \001(\010\032\346\002\n\025PostScanActionsRes" + + "ult\022r\n\026bigquery_export_result\030\001 \001(\0132R.go" + + "ogle.cloud.dataplex.v1.DataScanEvent.Pos" + + "tScanActionsResult.BigQueryExportResult\032" + + "\330\001\n\024BigQueryExportResult\022g\n\005state\030\001 \001(\0162" + + "X.google.cloud.dataplex.v1.DataScanEvent" + + ".PostScanActionsResult.BigQueryExportRes" + + "ult.State\022\017\n\007message\030\002 \001(\t\"F\n\005State\022\025\n\021S" + + "TATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAI" + + "LED\020\002\022\013\n\007SKIPPED\020\003\"I\n\010ScanType\022\031\n\025SCAN_T" + + "YPE_UNSPECIFIED\020\000\022\020\n\014DATA_PROFILE\020\001\022\020\n\014D" + + "ATA_QUALITY\020\002\"b\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\013\n\007STARTED\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAI" + + "LED\020\003\022\r\n\tCANCELLED\020\004\022\013\n\007CREATED\020\005\"?\n\007Tri" + + "gger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\r\n\tON_DEMA" + + "ND\020\001\022\014\n\010SCHEDULE\020\002\"9\n\005Scope\022\025\n\021SCOPE_UNS" + + "PECIFIED\020\000\022\010\n\004FULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n" + + "\006resultB\020\n\016appliedConfigs\"\351\006\n\031DataQualit" + + "yScanRuleResult\022\016\n\006job_id\030\001 \001(\t\022\023\n\013data_" + + "source\030\002 \001(\t\022\016\n\006column\030\003 \001(\t\022\021\n\trule_nam" + + "e\030\004 \001(\t\022O\n\trule_type\030\005 \001(\0162<.google.clou" + + "d.dataplex.v1.DataQualityScanRuleResult." + + "RuleType\022Z\n\016evalution_type\030\006 \001(\0162B.googl" + + "e.cloud.dataplex.v1.DataQualityScanRuleR" + + "esult.EvaluationType\022\026\n\016rule_dimension\030\007" + + " \001(\t\022\031\n\021threshold_percent\030\010 \001(\001\022J\n\006resul" + + "t\030\t \001(\0162:.google.cloud.dataplex.v1.DataQ" + + "ualityScanRuleResult.Result\022\033\n\023evaluated" + + "_row_count\030\n \001(\003\022\030\n\020passed_row_count\030\013 \001" + + "(\003\022\026\n\016null_row_count\030\014 \001(\003\"\377\001\n\010RuleType\022" + + "\031\n\025RULE_TYPE_UNSPECIFIED\020\000\022\030\n\024NON_NULL_E" + + "XPECTATION\020\001\022\025\n\021RANGE_EXPECTATION\020\002\022\025\n\021R" + + "EGEX_EXPECTATION\020\003\022\035\n\031ROW_CONDITION_EXPE" + + "CTATION\020\004\022\023\n\017SET_EXPECTATION\020\005\022\037\n\033STATIS" + + "TIC_RANGE_EXPECTATION\020\006\022\037\n\033TABLE_CONDITI" + + "ON_EXPECTATION\020\007\022\032\n\026UNIQUENESS_EXPECTATI" + + "ON\020\010\"M\n\016EvaluationType\022\037\n\033EVALUATION_TYP" + + "E_UNSPECIFIED\020\000\022\013\n\007PER_ROW\020\001\022\r\n\tAGGREGAT" + + "E\020\002\"8\n\006Result\022\026\n\022RESULT_UNSPECIFIED\020\000\022\n\n" + + "\006PASSED\020\001\022\n\n\006FAILED\020\002Be\n\034com.google.clou" + + "d.dataplex.v1B\tLogsProtoP\001Z8cloud.google" + + ".com/go/dataplex/apiv1/dataplexpb;datapl" + + "expbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor, + new java.lang.String[] { "Message", "LakeId", "ZoneId", "AssetId", "DataLocation", "Type", "Config", "Entity", "Partition", "Action", "Details", }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor, + new java.lang.String[] { "Parameters", }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor, + new java.lang.String[] { "Entity", "Type", }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor, + new java.lang.String[] { "Partition", "Entity", "Type", "SampledDataLocations", }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor, + new java.lang.String[] { "Type", }); + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor, + new java.lang.String[] { "Message", "JobId", "StartTime", "EndTime", "State", "Retries", "Type", "Service", "ServiceJob", "ExecutionTrigger", }); + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor, + new java.lang.String[] { "Message", "UserId", "SessionId", "Type", "Query", "EventSucceeded", "FastStartupEnabled", "UnassignedDuration", "Detail", }); + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor = + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor, + new java.lang.String[] { "QueryId", "QueryText", "Engine", "Duration", "ResultSizeBytes", "DataProcessedBytes", }); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor, + new java.lang.String[] { "Message", "EventType", "Entity", "Entity", }); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor = + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor, + new java.lang.String[] { "Entity", "EntityType", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor, + new java.lang.String[] { "DataSource", "JobId", "CreateTime", "StartTime", "EndTime", "Type", "State", "Message", "SpecVersion", "Trigger", "Scope", "DataProfile", "DataQuality", "DataProfileConfigs", "DataQualityConfigs", "PostScanActionsResult", "Result", "AppliedConfigs", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor, + new java.lang.String[] { "RowCount", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor, + new java.lang.String[] { "RowCount", "Passed", "DimensionPassed", "Score", "DimensionScore", "ColumnScore", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor, + new java.lang.String[] { "SamplingPercent", "RowFilterApplied", "ColumnFilterApplied", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor, + new java.lang.String[] { "SamplingPercent", "RowFilterApplied", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor, + new java.lang.String[] { "BigqueryExportResult", }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { "State", "Message", }); + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor, + new java.lang.String[] { "JobId", "DataSource", "Column", "RuleName", "RuleType", "EvalutionType", "RuleDimension", "ThresholdPercent", "Result", "EvaluatedRowCount", "PassedRowCount", "NullRowCount", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java new file mode 100644 index 000000000000..6084c3133dfe --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java @@ -0,0 +1,496 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public final class MetadataProto { + private MetadataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Partition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/dataplex/v1/metadata.prot" + + "o\022\030google.cloud.dataplex.v1\032\034google/api/" + + "annotations.proto\032\027google/api/client.pro" + + "to\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\032\033google/protobuf/" + + "empty.proto\032\037google/protobuf/timestamp.p" + + "roto\"\241\001\n\023CreateEntityRequest\0225\n\006parent\030\001" + + " \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Z" + + "one\0226\n\006entity\030\003 \001(\0132 .google.cloud.datap" + + "lex.v1.EntityB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"j\n\023UpdateEntityRequest\0226\n\006entit" + + "y\030\002 \001(\0132 .google.cloud.dataplex.v1.Entit" + + "yB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"`\n\023" + + "DeleteEntityRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372" + + "A \n\036dataplex.googleapis.com/Entity\022\022\n\004et" + + "ag\030\002 \001(\tB\004\342A\001\002\"\250\002\n\023ListEntitiesRequest\0225" + + "\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.google" + + "apis.com/Zone\022L\n\004view\030\002 \001(\01628.google.clo" + + "ud.dataplex.v1.ListEntitiesRequest.Entit" + + "yViewB\004\342A\001\002\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" + + "page_token\030\004 \001(\tB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004" + + "\342A\001\001\"C\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPEC" + + "IFIED\020\000\022\n\n\006TABLES\020\001\022\014\n\010FILESETS\020\002\"c\n\024Lis" + + "tEntitiesResponse\0222\n\010entities\030\001 \003(\0132 .go" + + "ogle.cloud.dataplex.v1.Entity\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\340\001\n\020GetEntityRequest\0225\n\004n" + + "ame\030\001 \001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis." + + "com/Entity\022I\n\004view\030\002 \001(\01625.google.cloud." + + "dataplex.v1.GetEntityRequest.EntityViewB" + + "\004\342A\001\001\"J\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPE" + + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\n\n\006SCHEMA\020\002\022\010\n\004FULL\020" + + "\004\"\231\001\n\025ListPartitionsRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis.com/En" + + "tity\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_to" + + "ken\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"\254\001" + + "\n\026CreatePartitionRequest\0227\n\006parent\030\001 \001(\t" + + "B\'\342A\001\002\372A \n\036dataplex.googleapis.com/Entit" + + "y\022<\n\tpartition\030\003 \001(\0132#.google.cloud.data" + + "plex.v1.PartitionB\004\342A\001\002\022\033\n\rvalidate_only" + + "\030\004 \001(\010B\004\342A\001\001\"h\n\026DeletePartitionRequest\0228" + + "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!dataplex.googleap" + + "is.com/Partition\022\024\n\004etag\030\002 \001(\tB\006\030\001\342A\001\001\"j" + + "\n\026ListPartitionsResponse\0227\n\npartitions\030\001" + + " \003(\0132#.google.cloud.dataplex.v1.Partitio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"O\n\023GetPartiti" + + "onRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!datapl" + + "ex.googleapis.com/Partition\"\327\t\n\006Entity\0225" + + "\n\004name\030\001 \001(\tB\'\342A\001\003\372A \n\036dataplex.googleap" + + "is.com/Entity\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" + + "\001\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" + + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022\020\n\002id\030\007 \001(\tB\004\342A\001\002\022\022\n\004" + + "etag\030\010 \001(\tB\004\342A\001\001\022:\n\004type\030\n \001(\0162%.google." + + "cloud.dataplex.v1.Entity.TypeB\005\342A\002\002\005\022\024\n\005" + + "asset\030\013 \001(\tB\005\342A\002\002\005\022\030\n\tdata_path\030\014 \001(\tB\005\342" + + "A\002\002\005\022\037\n\021data_path_pattern\030\r \001(\tB\004\342A\001\001\022\033\n" + + "\rcatalog_entry\030\016 \001(\tB\004\342A\001\003\022>\n\006system\030\017 \001" + + "(\0162\'.google.cloud.dataplex.v1.StorageSys" + + "temB\005\342A\002\002\005\022=\n\006format\030\020 \001(\0132\'.google.clou" + + "d.dataplex.v1.StorageFormatB\004\342A\001\002\022Q\n\rcom" + + "patibility\030\023 \001(\01324.google.cloud.dataplex" + + ".v1.Entity.CompatibilityStatusB\004\342A\001\003\022=\n\006" + + "access\030\025 \001(\0132\'.google.cloud.dataplex.v1." + + "StorageAccessB\004\342A\001\003\022\021\n\003uid\030\026 \001(\tB\004\342A\001\003\0226" + + "\n\006schema\0302 \001(\0132 .google.cloud.dataplex.v" + + "1.SchemaB\004\342A\001\002\032\224\002\n\023CompatibilityStatus\022`" + + "\n\016hive_metastore\030\001 \001(\0132B.google.cloud.da" + + "taplex.v1.Entity.CompatibilityStatus.Com" + + "patibilityB\004\342A\001\003\022Z\n\010bigquery\030\002 \001(\0132B.goo" + + "gle.cloud.dataplex.v1.Entity.Compatibili" + + "tyStatus.CompatibilityB\004\342A\001\003\032?\n\rCompatib" + + "ility\022\030\n\ncompatible\030\001 \001(\010B\004\342A\001\003\022\024\n\006reaso" + + "n\030\002 \001(\tB\004\342A\001\003\"4\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002:x\352Au\n\036datapl" + + "ex.googleapis.com/Entity\022Sprojects/{proj" + + "ect}/locations/{location}/lakes/{lake}/z" + + "ones/{zone}/entities/{entity}\"\241\002\n\tPartit" + + "ion\0228\n\004name\030\001 \001(\tB*\342A\001\003\372A#\n!dataplex.goo" + + "gleapis.com/Partition\022\025\n\006values\030\002 \003(\tB\005\342" + + "A\002\002\005\022\027\n\010location\030\003 \001(\tB\005\342A\002\002\005\022\024\n\004etag\030\004 " + + "\001(\tB\006\030\001\342A\001\001:\223\001\352A\217\001\n!dataplex.googleapis." + + "com/Partition\022jprojects/{project}/locati" + + "ons/{location}/lakes/{lake}/zones/{zone}" + + "/entities/{entity}/partitions/{partition" + + "}\"\300\007\n\006Schema\022\032\n\014user_managed\030\001 \001(\010B\004\342A\001\002" + + "\022B\n\006fields\030\002 \003(\0132,.google.cloud.dataplex" + + ".v1.Schema.SchemaFieldB\004\342A\001\001\022O\n\020partitio" + + "n_fields\030\003 \003(\0132/.google.cloud.dataplex.v" + + "1.Schema.PartitionFieldB\004\342A\001\001\022N\n\017partiti" + + "on_style\030\004 \001(\0162/.google.cloud.dataplex.v" + + "1.Schema.PartitionStyleB\004\342A\001\001\032\366\001\n\013Schema" + + "Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description" + + "\030\002 \001(\tB\004\342A\001\001\0229\n\004type\030\003 \001(\0162%.google.clou" + + "d.dataplex.v1.Schema.TypeB\004\342A\001\002\0229\n\004mode\030" + + "\004 \001(\0162%.google.cloud.dataplex.v1.Schema." + + "ModeB\004\342A\001\002\022B\n\006fields\030\n \003(\0132,.google.clou" + + "d.dataplex.v1.Schema.SchemaFieldB\004\342A\001\001\032`" + + "\n\016PartitionField\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022:\n\004" + + "type\030\002 \001(\0162%.google.cloud.dataplex.v1.Sc" + + "hema.TypeB\005\342A\002\002\005\"\311\001\n\004Type\022\024\n\020TYPE_UNSPEC" + + "IFIED\020\000\022\013\n\007BOOLEAN\020\001\022\010\n\004BYTE\020\002\022\t\n\005INT16\020" + + "\003\022\t\n\005INT32\020\004\022\t\n\005INT64\020\005\022\t\n\005FLOAT\020\006\022\n\n\006DO" + + "UBLE\020\007\022\013\n\007DECIMAL\020\010\022\n\n\006STRING\020\t\022\n\n\006BINAR" + + "Y\020\n\022\r\n\tTIMESTAMP\020\013\022\010\n\004DATE\020\014\022\010\n\004TIME\020\r\022\n" + + "\n\006RECORD\020\016\022\010\n\004NULL\020d\"F\n\004Mode\022\024\n\020MODE_UNS" + + "PECIFIED\020\000\022\014\n\010REQUIRED\020\001\022\014\n\010NULLABLE\020\002\022\014" + + "\n\010REPEATED\020\003\"F\n\016PartitionStyle\022\037\n\033PARTIT" + + "ION_STYLE_UNSPECIFIED\020\000\022\023\n\017HIVE_COMPATIB" + + "LE\020\001\"\200\007\n\rStorageFormat\022D\n\006format\030\001 \001(\0162." + + ".google.cloud.dataplex.v1.StorageFormat." + + "FormatB\004\342A\001\003\022[\n\022compression_format\030\002 \001(\016" + + "29.google.cloud.dataplex.v1.StorageForma" + + "t.CompressionFormatB\004\342A\001\001\022\027\n\tmime_type\030\003" + + " \001(\tB\004\342A\001\002\022G\n\003csv\030\n \001(\01322.google.cloud.d" + + "ataplex.v1.StorageFormat.CsvOptionsB\004\342A\001" + + "\001H\000\022I\n\004json\030\013 \001(\01323.google.cloud.dataple" + + "x.v1.StorageFormat.JsonOptionsB\004\342A\001\001H\000\022O" + + "\n\007iceberg\030\014 \001(\01326.google.cloud.dataplex." + + "v1.StorageFormat.IcebergOptionsB\004\342A\001\001H\000\032" + + "m\n\nCsvOptions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\022\031\n" + + "\013header_rows\030\002 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\003 " + + "\001(\tB\004\342A\001\001\022\023\n\005quote\030\004 \001(\tB\004\342A\001\001\032%\n\013JsonOp" + + "tions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\0321\n\016Iceberg" + + "Options\022\037\n\021metadata_location\030\001 \001(\tB\004\342A\001\001" + + "\"\253\001\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\013\n\007P" + + "ARQUET\020\001\022\010\n\004AVRO\020\002\022\007\n\003ORC\020\003\022\007\n\003CSV\020d\022\010\n\004" + + "JSON\020e\022\n\n\005IMAGE\020\310\001\022\n\n\005AUDIO\020\311\001\022\n\n\005VIDEO\020" + + "\312\001\022\t\n\004TEXT\020\313\001\022\r\n\010TFRECORD\020\314\001\022\n\n\005OTHER\020\350\007" + + "\022\014\n\007UNKNOWN\020\351\007\"L\n\021CompressionFormat\022\"\n\036C" + + "OMPRESSION_FORMAT_UNSPECIFIED\020\000\022\010\n\004GZIP\020" + + "\002\022\t\n\005BZIP2\020\003B\t\n\007options\"\233\001\n\rStorageAcces" + + "s\022F\n\004read\030\025 \001(\01622.google.cloud.dataplex." + + "v1.StorageAccess.AccessModeB\004\342A\001\003\"B\n\nAcc" + + "essMode\022\033\n\027ACCESS_MODE_UNSPECIFIED\020\000\022\n\n\006" + + "DIRECT\020\001\022\013\n\007MANAGED\020\002*P\n\rStorageSystem\022\036" + + "\n\032STORAGE_SYSTEM_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + + "STORAGE\020\001\022\014\n\010BIGQUERY\020\0022\211\016\n\017MetadataServ" + + "ice\022\275\001\n\014CreateEntity\022-.google.cloud.data" + + "plex.v1.CreateEntityRequest\032 .google.clo" + + "ud.dataplex.v1.Entity\"\\\332A\rparent,entity\202" + + "\323\344\223\002F\"*\022\022 * Represents the metadata of a long-running operation. *
* * Protobuf type {@code google.cloud.dataplex.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,37 +28,32 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.OperationMetadata.class, - com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); + com.google.cloud.dataplex.v1.OperationMetadata.class, com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +61,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +73,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +87,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +99,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +111,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -164,18 +123,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -184,29 +139,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -215,18 +170,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -235,29 +186,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -266,18 +217,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -286,29 +233,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -319,8 +266,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -330,7 +275,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -339,18 +283,14 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -359,29 +299,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -390,7 +330,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -434,10 +374,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -449,7 +391,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -462,27 +405,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.cloud.dataplex.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.OperationMetadata other = - (com.google.cloud.dataplex.v1.OperationMetadata) obj; + com.google.cloud.dataplex.v1.OperationMetadata other = (com.google.cloud.dataplex.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -509,7 +458,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -517,136 +467,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.OperationMetadata) com.google.cloud.dataplex.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.OperationMetadata.class, - com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); + com.google.cloud.dataplex.v1.OperationMetadata.class, com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.dataplex.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -670,9 +616,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -691,11 +637,8 @@ public com.google.cloud.dataplex.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.dataplex.v1.OperationMetadata buildPartial() { - com.google.cloud.dataplex.v1.OperationMetadata result = - new com.google.cloud.dataplex.v1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.OperationMetadata result = new com.google.cloud.dataplex.v1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -703,10 +646,14 @@ public com.google.cloud.dataplex.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -729,39 +676,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.OperationMetadata result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.dataplex.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.dataplex.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -825,55 +771,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -883,63 +825,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -955,17 +877,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -976,21 +895,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1003,15 +918,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1024,15 +935,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -1040,48 +947,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1089,35 +984,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1128,14 +1012,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1151,16 +1032,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1171,20 +1050,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1197,14 +1073,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1217,14 +1090,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1232,44 +1102,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.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> 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_; @@ -1277,20 +1139,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1299,21 +1159,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1321,35 +1180,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1359,21 +1211,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1383,20 +1231,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1405,21 +1251,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1427,35 +1272,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1465,21 +1303,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1489,20 +1323,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1511,21 +1343,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1533,35 +1364,28 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1571,21 +1395,17 @@ public Builder clearStatusMessage() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1593,10 +1413,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1606,7 +1424,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1614,8 +1431,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1625,7 +1440,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1637,8 +1451,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1648,7 +1460,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1660,20 +1471,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1682,21 +1491,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1704,35 +1512,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1742,30 +1543,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1775,12 +1572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.OperationMetadata) private static final com.google.cloud.dataplex.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.OperationMetadata(); } @@ -1789,27 +1586,27 @@ public static com.google.cloud.dataplex.v1.OperationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1824,4 +1621,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java similarity index 75% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java index f62cad39f065..14baa7a35e59 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java @@ -1,182 +1,127 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -186,33 +131,27 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java index cb74529d72bd..4b99e9bc8906 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java @@ -1,77 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Represents partition metadata contained within entity instances.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Partition} */ -public final class Partition extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Partition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Partition) PartitionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Partition.newBuilder() to construct. private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Partition() { name_ = ""; - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; etag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Partition(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Partition.class, - com.google.cloud.dataplex.v1.Partition.Builder.class); + com.google.cloud.dataplex.v1.Partition.class, com.google.cloud.dataplex.v1.Partition.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The name field in the response retains the encoded format.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -109,18 +84,17 @@ public java.lang.String getName() {
    * The name field in the response retains the encoded format.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,56 +103,41 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VALUES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the element to return. * @return The values at the given index. */ @@ -186,41 +145,31 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The location. */ @java.lang.Override @@ -229,33 +178,31 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -264,55 +211,49 @@ public com.google.protobuf.ByteString getLocationBytes() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getEtag() { + @java.lang.Deprecated public java.lang.String getEtag() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getEtagBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -321,7 +262,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -380,17 +321,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Partition)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Partition other = (com.google.cloud.dataplex.v1.Partition) obj; - if (!getName().equals(other.getName())) return false; - if (!getValuesList().equals(other.getValuesList())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -417,151 +362,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Partition parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Partition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Partition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Partition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Partition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Partition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Partition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 partition metadata contained within entity instances.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Partition} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Partition) com.google.cloud.dataplex.v1.PartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Partition.class, - com.google.cloud.dataplex.v1.Partition.Builder.class); + com.google.cloud.dataplex.v1.Partition.class, com.google.cloud.dataplex.v1.Partition.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Partition.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; etag_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override @@ -580,11 +522,8 @@ public com.google.cloud.dataplex.v1.Partition build() { @java.lang.Override public com.google.cloud.dataplex.v1.Partition buildPartial() { - com.google.cloud.dataplex.v1.Partition result = - new com.google.cloud.dataplex.v1.Partition(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Partition result = new com.google.cloud.dataplex.v1.Partition(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -610,39 +549,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Partition result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Partition) { - return mergeFrom((com.google.cloud.dataplex.v1.Partition) other); + return mergeFrom((com.google.cloud.dataplex.v1.Partition)other); } else { super.mergeFrom(other); return this; @@ -702,38 +640,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValuesIsMutable(); - values_.add(s); - break; - } // case 18 - case 26: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValuesIsMutable(); + values_.add(s); + break; + } // case 18 + case 26: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -743,13 +676,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -758,16 +688,14 @@ public Builder mergeFrom(
      * The name field in the response retains the encoded format.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -776,8 +704,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -786,17 +712,16 @@ public java.lang.String getName() {
      * The name field in the response retains the encoded format.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -804,8 +729,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -814,25 +737,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * The name field in the response retains the encoded format.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -841,10 +758,7 @@ public Builder setName(java.lang.String value) {
      * The name field in the response retains the encoded format.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -854,8 +768,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -864,17 +776,13 @@ public Builder clearName() {
      * The name field in the response retains the encoded format.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -884,7 +792,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -892,52 +799,38 @@ private void ensureValuesIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { values_.makeImmutable(); return values_; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the element to return. * @return The values at the given index. */ @@ -945,43 +838,33 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); bitField0_ |= 0x00000002; @@ -989,24 +872,18 @@ public Builder setValues(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); bitField0_ |= 0x00000002; @@ -1014,67 +891,53 @@ public Builder addValues(java.lang.String value) { return this; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearValues() { - values_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + values_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1085,24 +948,20 @@ public Builder addValuesBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1111,25 +970,22 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1137,43 +993,32 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearLocation() { @@ -1183,25 +1028,19 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000004; @@ -1211,23 +1050,20 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ - @java.lang.Deprecated - public java.lang.String getEtag() { + @java.lang.Deprecated public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1236,24 +1072,22 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getEtagBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1261,77 +1095,63 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @param value The etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearEtag() { + @java.lang.Deprecated public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * - * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @param value The bytes for etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Partition) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Partition) private static final com.google.cloud.dataplex.v1.Partition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Partition(); } @@ -1355,27 +1175,27 @@ public static com.google.cloud.dataplex.v1.Partition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1210,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Partition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java index 3979c0a3c995..553910bd0f15 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface PartitionOrBuilder - extends +public interface PartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Partition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -34,16 +16,11 @@ public interface PartitionOrBuilder
    * The name field in the response retains the encoded format.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -52,138 +29,102 @@ public interface PartitionOrBuilder
    * The name field in the response retains the encoded format.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The count of values. */ int getValuesCount(); /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); /** - * - * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ - @java.lang.Deprecated - java.lang.String getEtag(); + @java.lang.Deprecated java.lang.String getEtag(); /** - * - * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See - * google/cloud/dataplex/v1/metadata.proto;l=513 + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. + * See google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getEtagBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java new file mode 100644 index 000000000000..17fcd26e8229 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java @@ -0,0 +1,129 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/processing.proto + +package com.google.cloud.dataplex.v1; + +public final class ProcessingProto { + private ProcessingProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/dataplex/v1/processing.pr" + + "oto\022\030google.cloud.dataplex.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\276\001\n\007Trigger\022?\n\ton_demand\030d \001(\013" + + "2*.google.cloud.dataplex.v1.Trigger.OnDe" + + "mandH\000\022>\n\010schedule\030e \001(\0132*.google.cloud." + + "dataplex.v1.Trigger.ScheduleH\000\032\n\n\010OnDema" + + "nd\032\036\n\010Schedule\022\022\n\004cron\030\001 \001(\tB\004\342A\001\002B\006\n\004mo" + + "de\"k\n\nDataSource\0229\n\006entity\030d \001(\tB\'\342A\001\005\372A" + + " \n\036dataplex.googleapis.com/EntityH\000\022\030\n\010r" + + "esource\030e \001(\tB\004\342A\001\005H\000B\010\n\006source\"\257\001\n\013Scan" + + "nedData\022S\n\021incremental_field\030\001 \001(\01326.goo" + + "gle.cloud.dataplex.v1.ScannedData.Increm" + + "entalFieldH\000\032=\n\020IncrementalField\022\r\n\005fiel" + + "d\030\001 \001(\t\022\r\n\005start\030\002 \001(\t\022\013\n\003end\030\003 \001(\tB\014\n\nd" + + "ata_rangeBk\n\034com.google.cloud.dataplex.v" + + "1B\017ProcessingProtoP\001Z8cloud.google.com/g" + + "o/dataplex/apiv1/dataplexpb;dataplexpbb\006" + + "proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Trigger_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_descriptor, + new java.lang.String[] { "OnDemand", "Schedule", "Mode", }); + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor = + internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor = + internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor, + new java.lang.String[] { "Cron", }); + internal_static_google_cloud_dataplex_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataSource_descriptor, + new java.lang.String[] { "Entity", "Resource", "Source", }); + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor, + new java.lang.String[] { "IncrementalField", "DataRange", }); + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor = + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor, + new java.lang.String[] { "Field", "Start", "End", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java similarity index 74% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java index 499452ba92ac..c136f5cb1428 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * ResourceAccessSpec holds the access control configuration to be enforced
  * on the resources, for example, Cloud Storage bucket, BigQuery dataset,
@@ -29,51 +12,49 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.ResourceAccessSpec}
  */
-public final class ResourceAccessSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResourceAccessSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ResourceAccessSpec)
     ResourceAccessSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResourceAccessSpec.newBuilder() to construct.
   private ResourceAccessSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResourceAccessSpec() {
-    readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
-    writers_ = com.google.protobuf.LazyStringArrayList.emptyList();
-    owners_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    readers_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+    writers_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+    owners_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResourceAccessSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.SecurityProto
-        .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.SecurityProto
-        .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.ResourceAccessSpec.class,
-            com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
+            com.google.cloud.dataplex.v1.ResourceAccessSpec.class, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
   }
 
   public static final int READERS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList readers_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -81,15 +62,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList getReadersList() { + public com.google.protobuf.ProtocolStringList + getReadersList() { return readers_; } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -97,15 +76,12 @@ public com.google.protobuf.ProtocolStringList getReadersList() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -113,7 +89,6 @@ public int getReadersCount() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -121,8 +96,6 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -130,56 +103,47 @@ public java.lang.String getReaders(int index) {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString getReadersBytes(int index) { + public com.google.protobuf.ByteString + getReadersBytes(int index) { return readers_.getByteString(index); } public static final int WRITERS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the writers. */ - public com.google.protobuf.ProtocolStringList getWritersList() { + public com.google.protobuf.ProtocolStringList + getWritersList() { return writers_; } /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of writers. */ public int getWritersCount() { return writers_.size(); } /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The writers at the given index. */ @@ -187,63 +151,52 @@ public java.lang.String getWriters(int index) { return writers_.get(index); } /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - public com.google.protobuf.ByteString getWritersBytes(int index) { + public com.google.protobuf.ByteString + getWritersBytes(int index) { return writers_.getByteString(index); } public static final int OWNERS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the owners. */ - public com.google.protobuf.ProtocolStringList getOwnersList() { + public com.google.protobuf.ProtocolStringList + getOwnersList() { return owners_; } /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of owners. */ public int getOwnersCount() { return owners_.size(); } /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The owners at the given index. */ @@ -251,23 +204,20 @@ public java.lang.String getOwners(int index) { return owners_.get(index); } /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - public com.google.protobuf.ByteString getOwnersBytes(int index) { + public com.google.protobuf.ByteString + getOwnersBytes(int index) { return owners_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < readers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readers_.getRaw(i)); } @@ -330,17 +281,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ResourceAccessSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ResourceAccessSpec other = - (com.google.cloud.dataplex.v1.ResourceAccessSpec) obj; - - if (!getReadersList().equals(other.getReadersList())) return false; - if (!getWritersList().equals(other.getWritersList())) return false; - if (!getOwnersList().equals(other.getOwnersList())) return false; + com.google.cloud.dataplex.v1.ResourceAccessSpec other = (com.google.cloud.dataplex.v1.ResourceAccessSpec) obj; + + if (!getReadersList() + .equals(other.getReadersList())) return false; + if (!getWritersList() + .equals(other.getWritersList())) return false; + if (!getOwnersList() + .equals(other.getOwnersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,104 +322,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ResourceAccessSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ResourceAccessSpec holds the access control configuration to be enforced
    * on the resources, for example, Cloud Storage bucket, BigQuery dataset,
@@ -475,46 +423,50 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.ResourceAccessSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ResourceAccessSpec)
       com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.ResourceAccessSpec.class,
-              com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
+              com.google.cloud.dataplex.v1.ResourceAccessSpec.class, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.ResourceAccessSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      writers_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      owners_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      readers_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      writers_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      owners_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.SecurityProto
-          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
     }
 
     @java.lang.Override
@@ -533,11 +485,8 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpec build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.ResourceAccessSpec buildPartial() {
-      com.google.cloud.dataplex.v1.ResourceAccessSpec result =
-          new com.google.cloud.dataplex.v1.ResourceAccessSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.ResourceAccessSpec result = new com.google.cloud.dataplex.v1.ResourceAccessSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -562,39 +511,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ResourceAccessSpec resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.ResourceAccessSpec) {
-        return mergeFrom((com.google.cloud.dataplex.v1.ResourceAccessSpec) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.ResourceAccessSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -602,8 +550,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.ResourceAccessSpec other) {
-      if (other == com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) return this;
       if (!other.readers_.isEmpty()) {
         if (readers_.isEmpty()) {
           readers_ = other.readers_;
@@ -660,34 +607,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureReadersIsMutable();
-                readers_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureWritersIsMutable();
-                writers_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureOwnersIsMutable();
-                owners_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureReadersIsMutable();
+              readers_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureWritersIsMutable();
+              writers_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureOwnersIsMutable();
+              owners_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -697,12 +640,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList readers_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureReadersIsMutable() {
       if (!readers_.isModifiable()) {
         readers_ = new com.google.protobuf.LazyStringArrayList(readers_);
@@ -710,8 +651,6 @@ private void ensureReadersIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -719,16 +658,14 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList getReadersList() { + public com.google.protobuf.ProtocolStringList + getReadersList() { readers_.makeImmutable(); return readers_; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -736,15 +673,12 @@ public com.google.protobuf.ProtocolStringList getReadersList() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -752,7 +686,6 @@ public int getReadersCount() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -760,8 +693,6 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -769,16 +700,14 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString getReadersBytes(int index) { + public com.google.protobuf.ByteString + getReadersBytes(int index) { return readers_.getByteString(index); } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -786,15 +715,13 @@ public com.google.protobuf.ByteString getReadersBytes(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The readers to set. * @return This builder for chaining. */ - public Builder setReaders(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReaders( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadersIsMutable(); readers_.set(index, value); bitField0_ |= 0x00000001; @@ -802,8 +729,6 @@ public Builder setReaders(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -811,14 +736,12 @@ public Builder setReaders(int index, java.lang.String value) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The readers to add. * @return This builder for chaining. */ - public Builder addReaders(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReaders( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadersIsMutable(); readers_.add(value); bitField0_ |= 0x00000001; @@ -826,8 +749,6 @@ public Builder addReaders(java.lang.String value) { return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -835,20 +756,19 @@ public Builder addReaders(java.lang.String value) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The readers to add. * @return This builder for chaining. */ - public Builder addAllReaders(java.lang.Iterable values) { + public Builder addAllReaders( + java.lang.Iterable values) { ensureReadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, readers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, readers_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -856,19 +776,16 @@ public Builder addAllReaders(java.lang.Iterable values) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearReaders() { - readers_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + readers_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -876,14 +793,12 @@ public Builder clearReaders() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the readers to add. * @return This builder for chaining. */ - public Builder addReadersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReadersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReadersIsMutable(); readers_.add(value); @@ -894,7 +809,6 @@ public Builder addReadersBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureWritersIsMutable() { if (!writers_.isModifiable()) { writers_ = new com.google.protobuf.LazyStringArrayList(writers_); @@ -902,43 +816,35 @@ private void ensureWritersIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the writers. */ - public com.google.protobuf.ProtocolStringList getWritersList() { + public com.google.protobuf.ProtocolStringList + getWritersList() { writers_.makeImmutable(); return writers_; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of writers. */ public int getWritersCount() { return writers_.size(); } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The writers at the given index. */ @@ -946,37 +852,31 @@ public java.lang.String getWriters(int index) { return writers_.get(index); } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - public com.google.protobuf.ByteString getWritersBytes(int index) { + public com.google.protobuf.ByteString + getWritersBytes(int index) { return writers_.getByteString(index); } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The writers to set. * @return This builder for chaining. */ - public Builder setWriters(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriters( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWritersIsMutable(); writers_.set(index, value); bitField0_ |= 0x00000002; @@ -984,21 +884,17 @@ public Builder setWriters(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The writers to add. * @return This builder for chaining. */ - public Builder addWriters(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWriters( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWritersIsMutable(); writers_.add(value); bitField0_ |= 0x00000002; @@ -1006,58 +902,50 @@ public Builder addWriters(java.lang.String value) { return this; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The writers to add. * @return This builder for chaining. */ - public Builder addAllWriters(java.lang.Iterable values) { + public Builder addAllWriters( + java.lang.Iterable values) { ensureWritersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, writers_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearWriters() { - writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + writers_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the writers to add. * @return This builder for chaining. */ - public Builder addWritersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWritersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWritersIsMutable(); writers_.add(value); @@ -1068,7 +956,6 @@ public Builder addWritersBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureOwnersIsMutable() { if (!owners_.isModifiable()) { owners_ = new com.google.protobuf.LazyStringArrayList(owners_); @@ -1076,43 +963,35 @@ private void ensureOwnersIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the owners. */ - public com.google.protobuf.ProtocolStringList getOwnersList() { + public com.google.protobuf.ProtocolStringList + getOwnersList() { owners_.makeImmutable(); return owners_; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of owners. */ public int getOwnersCount() { return owners_.size(); } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The owners at the given index. */ @@ -1120,37 +999,31 @@ public java.lang.String getOwners(int index) { return owners_.get(index); } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - public com.google.protobuf.ByteString getOwnersBytes(int index) { + public com.google.protobuf.ByteString + getOwnersBytes(int index) { return owners_.getByteString(index); } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The owners to set. * @return This builder for chaining. */ - public Builder setOwners(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOwners( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureOwnersIsMutable(); owners_.set(index, value); bitField0_ |= 0x00000004; @@ -1158,21 +1031,17 @@ public Builder setOwners(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The owners to add. * @return This builder for chaining. */ - public Builder addOwners(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addOwners( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureOwnersIsMutable(); owners_.add(value); bitField0_ |= 0x00000004; @@ -1180,58 +1049,50 @@ public Builder addOwners(java.lang.String value) { return this; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The owners to add. * @return This builder for chaining. */ - public Builder addAllOwners(java.lang.Iterable values) { + public Builder addAllOwners( + java.lang.Iterable values) { ensureOwnersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, owners_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, owners_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOwners() { - owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + owners_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the owners to add. * @return This builder for chaining. */ - public Builder addOwnersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addOwnersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureOwnersIsMutable(); owners_.add(value); @@ -1239,9 +1100,9 @@ public Builder addOwnersBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ResourceAccessSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ResourceAccessSpec) private static final com.google.cloud.dataplex.v1.ResourceAccessSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ResourceAccessSpec(); } @@ -1265,27 +1126,27 @@ public static com.google.cloud.dataplex.v1.ResourceAccessSpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceAccessSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceAccessSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,4 +1161,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ResourceAccessSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java similarity index 78% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java index 3bcb9bd52428..c14ec3192418 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; -public interface ResourceAccessSpecOrBuilder - extends +public interface ResourceAccessSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ResourceAccessSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -33,13 +15,11 @@ public interface ResourceAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the readers. */ - java.util.List getReadersList(); + java.util.List + getReadersList(); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -47,13 +27,10 @@ public interface ResourceAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of readers. */ int getReadersCount(); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -61,14 +38,11 @@ public interface ResourceAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The readers at the given index. */ java.lang.String getReaders(int index); /** - * - * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -76,111 +50,91 @@ public interface ResourceAccessSpecOrBuilder
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - com.google.protobuf.ByteString getReadersBytes(int index); + com.google.protobuf.ByteString + getReadersBytes(int index); /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the writers. */ - java.util.List getWritersList(); + java.util.List + getWritersList(); /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of writers. */ int getWritersCount(); /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The writers at the given index. */ java.lang.String getWriters(int index); /** - * - * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - com.google.protobuf.ByteString getWritersBytes(int index); + com.google.protobuf.ByteString + getWritersBytes(int index); /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the owners. */ - java.util.List getOwnersList(); + java.util.List + getOwnersList(); /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of owners. */ int getOwnersCount(); /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The owners at the given index. */ java.lang.String getOwners(int index); /** - * - * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - com.google.protobuf.ByteString getOwnersBytes(int index); + com.google.protobuf.ByteString + getOwnersBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java new file mode 100644 index 000000000000..abb439fec16c --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java @@ -0,0 +1,582 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/resources.proto + +package com.google.cloud.dataplex.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/dataplex/v1/resources.pro" + + "to\022\030google.cloud.dataplex.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\207\010\n\004La" + + "ke\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.goog" + + "leapis.com/Lake\022\032\n\014display_name\030\002 \001(\tB\004\342" + + "A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google.cl" + + "oud.dataplex.v1.Lake.LabelsEntryB\004\342A\001\001\022\031" + + "\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001(\016" + + "2\037.google.cloud.dataplex.v1.StateB\004\342A\001\003\022" + + "\035\n\017service_account\030\t \001(\tB\004\342A\001\003\022A\n\tmetast" + + "ore\030f \001(\0132(.google.cloud.dataplex.v1.Lak" + + "e.MetastoreB\004\342A\001\001\022A\n\014asset_status\030g \001(\0132" + + "%.google.cloud.dataplex.v1.AssetStatusB\004" + + "\342A\001\003\022N\n\020metastore_status\030h \001(\0132..google." + + "cloud.dataplex.v1.Lake.MetastoreStatusB\004" + + "\342A\001\003\032\"\n\tMetastore\022\025\n\007service\030\001 \001(\tB\004\342A\001\001" + + "\032\370\001\n\017MetastoreStatus\022C\n\005state\030\001 \001(\01624.go" + + "ogle.cloud.dataplex.v1.Lake.MetastoreSta" + + "tus.State\022\017\n\007message\030\002 \001(\t\022/\n\013update_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022\020\n\010e" + + "ndpoint\030\004 \001(\t\"L\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\010\n\004NONE\020\001\022\t\n\005READY\020\002\022\014\n\010UPDATING\020\003" + + "\022\t\n\005ERROR\020\004\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001:W\352AT\n\034dataplex.google" + + "apis.com/Lake\0224projects/{project}/locati" + + "ons/{location}/lakes/{lake}\"~\n\013AssetStat" + + "us\022/\n\013update_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022\025\n\ractive_assets\030\002 \001(\005\022\'\n\037se" + + "curity_policy_applying_assets\030\003 \001(\005\"\211\014\n\004" + + "Zone\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.go" + + "ogleapis.com/Zone\022\032\n\014display_name\030\002 \001(\tB" + + "\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google." + + "cloud.dataplex.v1.Zone.LabelsEntryB\004\342A\001\001" + + "\022\031\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001" + + "(\0162\037.google.cloud.dataplex.v1.StateB\004\342A\001" + + "\003\0228\n\004type\030\t \001(\0162#.google.cloud.dataplex." + + "v1.Zone.TypeB\005\342A\002\002\005\022J\n\016discovery_spec\030g " + + "\001(\0132,.google.cloud.dataplex.v1.Zone.Disc" + + "overySpecB\004\342A\001\001\022H\n\rresource_spec\030h \001(\0132+" + + ".google.cloud.dataplex.v1.Zone.ResourceS" + + "pecB\004\342A\001\002\022A\n\014asset_status\030i \001(\0132%.google" + + ".cloud.dataplex.v1.AssetStatusB\004\342A\001\003\032\272\001\n" + + "\014ResourceSpec\022V\n\rlocation_type\030\001 \001(\01628.g" + + "oogle.cloud.dataplex.v1.Zone.ResourceSpe" + + "c.LocationTypeB\005\342A\002\002\005\"R\n\014LocationType\022\035\n" + + "\031LOCATION_TYPE_UNSPECIFIED\020\000\022\021\n\rSINGLE_R" + + "EGION\020\001\022\020\n\014MULTI_REGION\020\002\032\202\004\n\rDiscoveryS" + + "pec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\002\022\036\n\020include_pa" + + "tterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patterns\030\003" + + " \003(\tB\004\342A\001\001\022R\n\013csv_options\030\004 \001(\01327.google" + + ".cloud.dataplex.v1.Zone.DiscoverySpec.Cs" + + "vOptionsB\004\342A\001\001\022T\n\014json_options\030\005 \001(\01328.g" + + "oogle.cloud.dataplex.v1.Zone.DiscoverySp" + + "ec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule\030\n \001(\tB\004" + + "\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_rows\030\001 \001(" + + "\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001\022\026\n\010enco" + + "ding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type_inferen" + + "ce\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n\010encodin" + + "g\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_inference\030" + + "\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"2\n\004Type\022\024\n" + + "\020TYPE_UNSPECIFIED\020\000\022\007\n\003RAW\020\001\022\013\n\007CURATED\020" + + "\002:d\352Aa\n\034dataplex.googleapis.com/Zone\022Apr" + + "ojects/{project}/locations/{location}/la" + + "kes/{lake}/zones/{zone}\"\257\021\n\006Action\022;\n\010ca" + + "tegory\030\001 \001(\0162).google.cloud.dataplex.v1." + + "Action.Category\022\r\n\005issue\030\002 \001(\t\022/\n\013detect" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + + "5\n\004name\030\005 \001(\tB\'\342A\001\003\372A \n\036dataplex.googlea" + + "pis.com/Action\0223\n\004lake\030\006 \001(\tB%\342A\001\003\372A\036\n\034d" + + "ataplex.googleapis.com/Lake\0223\n\004zone\030\007 \001(" + + "\tB%\342A\001\003\372A\036\n\034dataplex.googleapis.com/Zone" + + "\0225\n\005asset\030\010 \001(\tB&\342A\001\003\372A\037\n\035dataplex.googl" + + "eapis.com/Asset\022\026\n\016data_locations\030\t \003(\t\022" + + "Q\n\023invalid_data_format\030\n \001(\01322.google.cl" + + "oud.dataplex.v1.Action.InvalidDataFormat" + + "H\000\022[\n\030incompatible_data_schema\030\013 \001(\01327.g" + + "oogle.cloud.dataplex.v1.Action.Incompati" + + "bleDataSchemaH\000\022W\n\026invalid_data_partitio" + + "n\030\014 \001(\01325.google.cloud.dataplex.v1.Actio" + + "n.InvalidDataPartitionH\000\022D\n\014missing_data" + + "\030\r \001(\0132,.google.cloud.dataplex.v1.Action" + + ".MissingDataH\000\022L\n\020missing_resource\030\016 \001(\013" + + "20.google.cloud.dataplex.v1.Action.Missi" + + "ngResourceH\000\022V\n\025unauthorized_resource\030\017 " + + "\001(\01325.google.cloud.dataplex.v1.Action.Un" + + "authorizedResourceH\000\022b\n\034failed_security_" + + "policy_apply\030\025 \001(\0132:.google.cloud.datapl" + + "ex.v1.Action.FailedSecurityPolicyApplyH\000" + + "\022]\n\031invalid_data_organization\030\026 \001(\01328.go" + + "ogle.cloud.dataplex.v1.Action.InvalidDat" + + "aOrganizationH\000\032\021\n\017MissingResource\032\026\n\024Un" + + "authorizedResource\032*\n\031FailedSecurityPoli" + + "cyApply\022\r\n\005asset\030\001 \001(\t\032`\n\021InvalidDataFor" + + "mat\022\036\n\026sampled_data_locations\030\001 \003(\t\022\027\n\017e" + + "xpected_format\030\002 \001(\t\022\022\n\nnew_format\030\003 \001(\t" + + "\032\240\002\n\026IncompatibleDataSchema\022\r\n\005table\030\001 \001" + + "(\t\022\027\n\017existing_schema\030\002 \001(\t\022\022\n\nnew_schem" + + "a\030\003 \001(\t\022\036\n\026sampled_data_locations\030\004 \003(\t\022" + + "[\n\rschema_change\030\005 \001(\0162D.google.cloud.da" + + "taplex.v1.Action.IncompatibleDataSchema." + + "SchemaChange\"M\n\014SchemaChange\022\035\n\031SCHEMA_C" + + "HANGE_UNSPECIFIED\020\000\022\020\n\014INCOMPATIBLE\020\001\022\014\n" + + "\010MODIFIED\020\002\032\341\001\n\024InvalidDataPartition\022d\n\022" + + "expected_structure\030\001 \001(\0162H.google.cloud." + + "dataplex.v1.Action.InvalidDataPartition." + + "PartitionStructure\"c\n\022PartitionStructure" + + "\022#\n\037PARTITION_STRUCTURE_UNSPECIFIED\020\000\022\023\n" + + "\017CONSISTENT_KEYS\020\001\022\023\n\017HIVE_STYLE_KEYS\020\002\032" + + "\r\n\013MissingData\032\031\n\027InvalidDataOrganizatio" + + "n\"f\n\010Category\022\030\n\024CATEGORY_UNSPECIFIED\020\000\022" + + "\027\n\023RESOURCE_MANAGEMENT\020\001\022\023\n\017SECURITY_POL" + + "ICY\020\002\022\022\n\016DATA_DISCOVERY\020\003:\242\002\352A\236\002\n\036datapl" + + "ex.googleapis.com/Action\022Eprojects/{proj" + + "ect}/locations/{location}/lakes/{lake}/a" + + "ctions/{action}\022Rprojects/{project}/loca" + + "tions/{location}/lakes/{lake}/zones/{zon" + + "e}/actions/{action}\022aprojects/{project}/" + + "locations/{location}/lakes/{lake}/zones/" + + "{zone}/assets/{asset}/actions/{action}B\t" + + "\n\007details\"\277\025\n\005Asset\0224\n\004name\030\001 \001(\tB&\342A\001\003\372" + + "A\037\n\035dataplex.googleapis.com/Asset\022\032\n\014dis" + + "play_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003" + + "\0225\n\013create_time\030\004 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels" + + "\030\006 \003(\0132+.google.cloud.dataplex.v1.Asset." + + "LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\tB\004" + + "\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.datap" + + "lex.v1.StateB\004\342A\001\003\022I\n\rresource_spec\030d \001(" + + "\0132,.google.cloud.dataplex.v1.Asset.Resou" + + "rceSpecB\004\342A\001\002\022M\n\017resource_status\030e \001(\0132." + + ".google.cloud.dataplex.v1.Asset.Resource" + + "StatusB\004\342A\001\003\022M\n\017security_status\030g \001(\0132.." + + "google.cloud.dataplex.v1.Asset.SecurityS" + + "tatusB\004\342A\001\003\022K\n\016discovery_spec\030j \001(\0132-.go" + + "ogle.cloud.dataplex.v1.Asset.DiscoverySp" + + "ecB\004\342A\001\001\022O\n\020discovery_status\030k \001(\0132/.goo" + + "gle.cloud.dataplex.v1.Asset.DiscoverySta" + + "tusB\004\342A\001\003\032\333\001\n\016SecurityStatus\022C\n\005state\030\001 " + + "\001(\01624.google.cloud.dataplex.v1.Asset.Sec" + + "urityStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\"B\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005R" + + "EADY\020\001\022\014\n\010APPLYING\020\002\022\t\n\005ERROR\020\003\032\204\004\n\rDisc" + + "overySpec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\001\022\036\n\020incl" + + "ude_patterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patt" + + "erns\030\003 \003(\tB\004\342A\001\001\022S\n\013csv_options\030\004 \001(\01328." + + "google.cloud.dataplex.v1.Asset.Discovery" + + "Spec.CsvOptionsB\004\342A\001\001\022U\n\014json_options\030\005 " + + "\001(\01329.google.cloud.dataplex.v1.Asset.Dis" + + "coverySpec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule" + + "\030\n \001(\tB\004\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_r" + + "ows\030\001 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001" + + "\022\026\n\010encoding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type" + + "_inference\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n" + + "\010encoding\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_in" + + "ference\030\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032\317\002\n\014Resou" + + "rceSpec\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022F\n\004type\030\002 \001(" + + "\01621.google.cloud.dataplex.v1.Asset.Resou" + + "rceSpec.TypeB\005\342A\002\002\005\022W\n\020read_access_mode\030" + + "\005 \001(\01627.google.cloud.dataplex.v1.Asset.R" + + "esourceSpec.AccessModeB\004\342A\001\001\"F\n\004Type\022\024\n\020" + + "TYPE_UNSPECIFIED\020\000\022\022\n\016STORAGE_BUCKET\020\001\022\024" + + "\n\020BIGQUERY_DATASET\020\002\"B\n\nAccessMode\022\033\n\027AC" + + "CESS_MODE_UNSPECIFIED\020\000\022\n\n\006DIRECT\020\001\022\013\n\007M" + + "ANAGED\020\002\032\364\001\n\016ResourceStatus\022C\n\005state\030\001 \001" + + "(\01624.google.cloud.dataplex.v1.Asset.Reso" + + "urceStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013upd" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022%\n\027managed_access_identity\030\004 \001(\tB\004\342A\001" + + "\003\"4\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005REA" + + "DY\020\001\022\t\n\005ERROR\020\002\032\364\003\n\017DiscoveryStatus\022D\n\005s" + + "tate\030\001 \001(\01625.google.cloud.dataplex.v1.As" + + "set.DiscoveryStatus.State\022\017\n\007message\030\002 \001" + + "(\t\022/\n\013update_time\030\003 \001(\0132\032.google.protobu" + + "f.Timestamp\0221\n\rlast_run_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022D\n\005stats\030\006 \001(\01325." + + "google.cloud.dataplex.v1.Asset.Discovery" + + "Status.Stats\0224\n\021last_run_duration\030\007 \001(\0132" + + "\031.google.protobuf.Duration\032P\n\005Stats\022\022\n\nd" + + "ata_items\030\001 \001(\003\022\021\n\tdata_size\030\002 \001(\003\022\016\n\006ta" + + "bles\030\003 \001(\003\022\020\n\010filesets\030\004 \001(\003\"X\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\017\n\013I" + + "N_PROGRESS\020\002\022\n\n\006PAUSED\020\003\022\014\n\010DISABLED\020\005\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001:t\352Aq\n\035dataplex.googleapis.com/Asse" + + "t\022Pprojects/{project}/locations/{locatio" + + "n}/lakes/{lake}/zones/{zone}/assets/{ass" + + "et}*[\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" + + "CTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010DELETING\020\003\022\023\n\017A" + + "CTION_REQUIRED\020\004Bj\n\034com.google.cloud.dat" + + "aplex.v1B\016ResourcesProtoP\001Z8cloud.google" + + ".com/go/dataplex/apiv1/dataplexpb;datapl" + + "expbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Lake_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "ServiceAccount", "Metastore", "AssetStatus", "MetastoreStatus", }); + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor, + new java.lang.String[] { "Service", }); + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor, + new java.lang.String[] { "State", "Message", "UpdateTime", "Endpoint", }); + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor, + new java.lang.String[] { "UpdateTime", "ActiveAssets", "SecurityPolicyApplyingAssets", }); + internal_static_google_cloud_dataplex_v1_Zone_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "Type", "DiscoverySpec", "ResourceSpec", "AssetStatus", }); + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor, + new java.lang.String[] { "LocationType", }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor, + new java.lang.String[] { "Enabled", "IncludePatterns", "ExcludePatterns", "CsvOptions", "JsonOptions", "Schedule", "Trigger", }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor, + new java.lang.String[] { "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor, + new java.lang.String[] { "Encoding", "DisableTypeInference", }); + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Action_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_descriptor, + new java.lang.String[] { "Category", "Issue", "DetectTime", "Name", "Lake", "Zone", "Asset", "DataLocations", "InvalidDataFormat", "IncompatibleDataSchema", "InvalidDataPartition", "MissingData", "MissingResource", "UnauthorizedResource", "FailedSecurityPolicyApply", "InvalidDataOrganization", "Details", }); + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor, + new java.lang.String[] { "Asset", }); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor, + new java.lang.String[] { "SampledDataLocations", "ExpectedFormat", "NewFormat", }); + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor, + new java.lang.String[] { "Table", "ExistingSchema", "NewSchema", "SampledDataLocations", "SchemaChange", }); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor, + new java.lang.String[] { "ExpectedStructure", }); + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataplex_v1_Asset_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "ResourceSpec", "ResourceStatus", "SecurityStatus", "DiscoverySpec", "DiscoveryStatus", }); + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor, + new java.lang.String[] { "State", "Message", "UpdateTime", }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor, + new java.lang.String[] { "Enabled", "IncludePatterns", "ExcludePatterns", "CsvOptions", "JsonOptions", "Schedule", "Trigger", }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor, + new java.lang.String[] { "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor, + new java.lang.String[] { "Encoding", "DisableTypeInference", }); + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor, + new java.lang.String[] { "Name", "Type", "ReadAccessMode", }); + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor, + new java.lang.String[] { "State", "Message", "UpdateTime", "ManagedAccessIdentity", }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor, + new java.lang.String[] { "State", "Message", "UpdateTime", "LastRunTime", "Stats", "LastRunDuration", }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor, + new java.lang.String[] { "DataItems", "DataSize", "Tables", "Filesets", }); + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java index 95aba55bc6bc..2296f87034ee 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Run DataScan Request
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanRequest} */ -public final class RunDataScanRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunDataScanRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunDataScanRequest) RunDataScanRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunDataScanRequest.newBuilder() to construct. private RunDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunDataScanRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanRequest.class, - com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanRequest.class, com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Only **OnDemand** data scans are allowed.
    * 
* - * - * string name = 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 @@ -90,15 +65,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -108,18 +82,17 @@ public java.lang.String getName() {
    * Only **OnDemand** data scans are allowed.
    * 
* - * - * string name = 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 { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunDataScanRequest other = - (com.google.cloud.dataplex.v1.RunDataScanRequest) obj; + com.google.cloud.dataplex.v1.RunDataScanRequest other = (com.google.cloud.dataplex.v1.RunDataScanRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.RunDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Run DataScan Request
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunDataScanRequest) com.google.cloud.dataplex.v1.RunDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanRequest.class, - com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanRequest.class, com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunDataScanRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +299,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override @@ -351,11 +320,8 @@ public com.google.cloud.dataplex.v1.RunDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.RunDataScanRequest result = - new com.google.cloud.dataplex.v1.RunDataScanRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.RunDataScanRequest result = new com.google.cloud.dataplex.v1.RunDataScanRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +337,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +376,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.RunDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +408,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,13 +428,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -482,16 +441,14 @@ public Builder mergeFrom(
      * Only **OnDemand** data scans are allowed.
      * 
* - * - * string name = 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; @@ -500,8 +457,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -511,17 +466,16 @@ public java.lang.String getName() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * - * string name = 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 { @@ -529,8 +483,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -540,25 +492,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -568,10 +514,7 @@ public Builder setName(java.lang.String value) {
      * Only **OnDemand** data scans are allowed.
      * 
* - * - * string 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() { @@ -581,8 +524,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -592,26 +533,22 @@ public Builder clearName() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,12 +558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunDataScanRequest) private static final com.google.cloud.dataplex.v1.RunDataScanRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunDataScanRequest(); } @@ -635,27 +572,27 @@ public static com.google.cloud.dataplex.v1.RunDataScanRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,4 +607,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java similarity index 51% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java index 98afca2f8d1d..fc042b6bf1ab 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface RunDataScanRequestOrBuilder - extends +public interface RunDataScanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunDataScanRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -35,16 +17,11 @@ public interface RunDataScanRequestOrBuilder
    * Only **OnDemand** data scans are allowed.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -54,11 +31,9 @@ public interface RunDataScanRequestOrBuilder
    * Only **OnDemand** data scans are allowed.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java index 89d4f146c32b..985ceb02dfd1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Run DataScan Response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanResponse} */ -public final class RunDataScanResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunDataScanResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunDataScanResponse) RunDataScanResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunDataScanResponse.newBuilder() to construct. private RunDataScanResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RunDataScanResponse() {} + private RunDataScanResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunDataScanResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanResponse.class, - com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanResponse.class, com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataScanJob job_; /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return The job. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { return job_ == null ? com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; } /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
@@ -107,7 +81,6 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -133,7 +107,8 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,17 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunDataScanResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunDataScanResponse other = - (com.google.cloud.dataplex.v1.RunDataScanResponse) obj; + com.google.cloud.dataplex.v1.RunDataScanResponse other = (com.google.cloud.dataplex.v1.RunDataScanResponse) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -175,136 +150,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.RunDataScanResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Run DataScan Response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunDataScanResponse) com.google.cloud.dataplex.v1.RunDataScanResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanResponse.class, - com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanResponse.class, com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunDataScanResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override @@ -339,11 +310,8 @@ public com.google.cloud.dataplex.v1.RunDataScanResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunDataScanResponse buildPartial() { - com.google.cloud.dataplex.v1.RunDataScanResponse result = - new com.google.cloud.dataplex.v1.RunDataScanResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.RunDataScanResponse result = new com.google.cloud.dataplex.v1.RunDataScanResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,7 +319,9 @@ public com.google.cloud.dataplex.v1.RunDataScanResponse buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.job_ = jobBuilder_ == null ? job_ : jobBuilder_.build(); + result.job_ = jobBuilder_ == null + ? job_ + : jobBuilder_.build(); } } @@ -359,39 +329,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunDataScanResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanResponse)other); } else { super.mergeFrom(other); return this; @@ -399,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.RunDataScanResponse other) { - if (other == com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -430,19 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,38 +420,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.dataplex.v1.DataScanJob job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder> - jobBuilder_; + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> jobBuilder_; /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return The job. */ public com.google.cloud.dataplex.v1.DataScanJob getJob() { @@ -494,8 +452,6 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { } } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -516,15 +472,14 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; */ - public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob.Builder builderForValue) { + public Builder setJob( + com.google.cloud.dataplex.v1.DataScanJob.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); } else { @@ -535,8 +490,6 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob.Builder builderFo return this; } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -545,9 +498,9 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob.Builder builderFo */ public Builder mergeJob(com.google.cloud.dataplex.v1.DataScanJob value) { if (jobBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && job_ != null - && job_ != com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + job_ != null && + job_ != com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()) { getJobBuilder().mergeFrom(value); } else { job_ = value; @@ -560,8 +513,6 @@ public Builder mergeJob(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -579,8 +530,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -593,8 +542,6 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -605,12 +552,11 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; } } /** - * - * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -618,24 +564,21 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { * .google.cloud.dataplex.v1.DataScanJob job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, - com.google.cloud.dataplex.v1.DataScanJob.Builder, - com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -645,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunDataScanResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunDataScanResponse) private static final com.google.cloud.dataplex.v1.RunDataScanResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunDataScanResponse(); } @@ -659,27 +602,27 @@ public static com.google.cloud.dataplex.v1.RunDataScanResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunDataScanResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunDataScanResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -694,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunDataScanResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java index 242b218b4f48..b680420617da 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface RunDataScanResponseOrBuilder - extends +public interface RunDataScanResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunDataScanResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; - * * @return The job. */ com.google.cloud.dataplex.v1.DataScanJob getJob(); /** - * - * *
    * DataScanJob created by RunDataScan request.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java index 0cafcbe8dc62..d8483e946eef 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java @@ -1,88 +1,68 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -/** Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} */ -public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} + */ +public final class RunTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunTaskRequest) RunTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunTaskRequest.newBuilder() to construct. private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_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(); case 4: return internalGetArgs(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunTaskRequest.class, - com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.RunTaskRequest.class, com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +71,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,34 +103,32 @@ public com.google.protobuf.ByteString getNameBytes() { } 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.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -166,21 +142,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @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();
   }
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -198,8 +173,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -213,19 +186,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -239,11 +210,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @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();
     }
@@ -251,34 +222,32 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ARGS_FIELD_NUMBER = 4;
-
   private static final class ArgsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.dataplex.v1.ServiceProto
-                .internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField args_;
-
-  private com.google.protobuf.MapField internalGetArgs() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> args_;
+  private com.google.protobuf.MapField
+  internalGetArgs() {
     if (args_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          ArgsDefaultEntryHolder.defaultEntry);
     }
     return args_;
   }
-
   public int getArgsCount() {
     return internalGetArgs().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -292,21 +261,20 @@ public int getArgsCount() {
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsArgs(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsArgs(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetArgs().getMap().containsKey(key);
   }
-  /** Use {@link #getArgsMap()} instead. */
+  /**
+   * Use {@link #getArgsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getArgs() {
     return getArgsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -324,8 +292,6 @@ public java.util.Map getArgsMap() {
     return internalGetArgs().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -339,19 +305,17 @@ public java.util.Map getArgsMap() {
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getArgsOrDefault(
+  public /* nullable */
+java.lang.String getArgsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetArgs().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetArgs().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -365,11 +329,11 @@ public java.util.Map getArgsMap() {
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getArgsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetArgs().getMap();
+  public java.lang.String getArgsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetArgs().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -377,7 +341,6 @@ public java.lang.String getArgsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -389,14 +352,23 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetArgs(), ArgsDefaultEntryHolder.defaultEntry, 4);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetArgs(),
+        ArgsDefaultEntryHolder.defaultEntry,
+        4);
     getUnknownFields().writeTo(output);
   }
 
@@ -409,25 +381,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    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 :
-        internalGetArgs().getMap().entrySet()) {
-      com.google.protobuf.MapEntry args__ =
-          ArgsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args__);
+    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
+         : internalGetArgs().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      args__ = ArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, args__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -437,17 +409,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.dataplex.v1.RunTaskRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.dataplex.v1.RunTaskRequest other =
-        (com.google.cloud.dataplex.v1.RunTaskRequest) obj;
+    com.google.cloud.dataplex.v1.RunTaskRequest other = (com.google.cloud.dataplex.v1.RunTaskRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!internalGetArgs().equals(other.internalGetArgs())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!internalGetArgs().equals(
+        other.internalGetArgs())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -474,152 +448,154 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.dataplex.v1.RunTaskRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
-  /** Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  /**
+   * Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest}
+   */
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunTaskRequest)
       com.google.cloud.dataplex.v1.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ServiceProto
-          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_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();
         case 4:
           return internalGetArgs();
         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();
         case 4:
           return internalGetMutableArgs();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ServiceProto
-          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.RunTaskRequest.class,
-              com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class);
+              com.google.cloud.dataplex.v1.RunTaskRequest.class, com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.RunTaskRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -631,9 +607,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ServiceProto
-          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -652,11 +628,8 @@ public com.google.cloud.dataplex.v1.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.RunTaskRequest buildPartial() {
-      com.google.cloud.dataplex.v1.RunTaskRequest result =
-          new com.google.cloud.dataplex.v1.RunTaskRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.RunTaskRequest result = new com.google.cloud.dataplex.v1.RunTaskRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -680,39 +653,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.dataplex.v1.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,9 +698,11 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.RunTaskRequest other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000002;
-      internalGetMutableArgs().mergeFrom(other.internalGetArgs());
+      internalGetMutableArgs().mergeFrom(
+          other.internalGetArgs());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -756,40 +730,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.protobuf.MapEntry args__ =
-                    input.readMessage(
-                        ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                internalGetMutableArgs().getMutableMap().put(args__.getKey(), args__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            case 34: {
+              com.google.protobuf.MapEntry
+              args__ = input.readMessage(
+                  ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableArgs().getMutableMap().put(
+                  args__.getKey(), args__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -799,28 +768,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -829,24 +793,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -854,41 +815,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -898,24 +848,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -923,19 +867,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -944,13 +890,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -964,21 +907,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @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();
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -996,8 +938,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1011,19 +951,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1037,25 +975,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1068,22 +1004,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1096,20 +1033,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1122,25 +1056,29 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
-    private com.google.protobuf.MapField args_;
-
-    private com.google.protobuf.MapField internalGetArgs() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> args_;
+    private com.google.protobuf.MapField
+        internalGetArgs() {
       if (args_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            ArgsDefaultEntryHolder.defaultEntry);
       }
       return args_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableArgs() {
       if (args_ == null) {
-        args_ = com.google.protobuf.MapField.newMapField(ArgsDefaultEntryHolder.defaultEntry);
+        args_ = com.google.protobuf.MapField.newMapField(
+            ArgsDefaultEntryHolder.defaultEntry);
       }
       if (!args_.isMutable()) {
         args_ = args_.copy();
@@ -1149,13 +1087,10 @@ private com.google.protobuf.MapField interna
       onChanged();
       return args_;
     }
-
     public int getArgsCount() {
       return internalGetArgs().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1169,21 +1104,20 @@ public int getArgsCount() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsArgs(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsArgs(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetArgs().getMap().containsKey(key);
     }
-    /** Use {@link #getArgsMap()} instead. */
+    /**
+     * Use {@link #getArgsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getArgs() {
       return getArgsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1201,8 +1135,6 @@ public java.util.Map getArgsMap() {
       return internalGetArgs().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1216,19 +1148,17 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getArgsOrDefault(
+    public /* nullable */
+java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetArgs().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetArgs().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1242,25 +1172,23 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getArgsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetArgs().getMap();
+    public java.lang.String getArgsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetArgs().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearArgs() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableArgs().getMutableMap().clear();
+      internalGetMutableArgs().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1273,22 +1201,23 @@ public Builder clearArgs() {
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeArgs(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableArgs().getMutableMap().remove(key);
+    public Builder removeArgs(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableArgs().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableArgs() {
+    public java.util.Map
+        getMutableArgs() {
       bitField0_ |= 0x00000004;
       return internalGetMutableArgs().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1301,20 +1230,17 @@ public java.util.Map getMutableArgs() {
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putArgs(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableArgs().getMutableMap().put(key, value);
+    public Builder putArgs(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableArgs().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1327,14 +1253,16 @@ public Builder putArgs(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllArgs(java.util.Map values) {
-      internalGetMutableArgs().getMutableMap().putAll(values);
+    public Builder putAllArgs(
+        java.util.Map values) {
+      internalGetMutableArgs().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1344,12 +1272,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunTaskRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunTaskRequest)
   private static final com.google.cloud.dataplex.v1.RunTaskRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunTaskRequest();
   }
@@ -1358,27 +1286,27 @@ public static com.google.cloud.dataplex.v1.RunTaskRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunTaskRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RunTaskRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1393,4 +1321,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.dataplex.v1.RunTaskRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
similarity index 80%
rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
index 8d081df16956..a9b1e24a3a60 100644
--- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
+++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
@@ -1,62 +1,35 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/service.proto
 
 package com.google.cloud.dataplex.v1;
 
-public interface RunTaskRequestOrBuilder
-    extends
+public interface RunTaskRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunTaskRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -71,8 +44,6 @@ public interface RunTaskRequestOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -85,13 +56,15 @@ public interface RunTaskRequestOrBuilder
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  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();
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -104,10 +77,9 @@ public interface RunTaskRequestOrBuilder
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -121,13 +93,11 @@ public interface RunTaskRequestOrBuilder
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -140,11 +110,10 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -159,8 +128,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getArgsCount();
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -173,13 +140,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsArgs(java.lang.String key);
-  /** Use {@link #getArgsMap()} instead. */
+  boolean containsArgs(
+      java.lang.String key);
+  /**
+   * Use {@link #getArgsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getArgs();
+  java.util.Map
+  getArgs();
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -192,10 +161,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getArgsMap();
+  java.util.Map
+  getArgsMap();
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -209,13 +177,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getArgsOrDefault(
+java.lang.String getArgsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -228,5 +194,6 @@ java.lang.String getArgsOrDefault(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getArgsOrThrow(java.lang.String key);
+  java.lang.String getArgsOrThrow(
+      java.lang.String key);
 }
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
similarity index 65%
rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
index 7746b4d02641..d8c82f470268 100644
--- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
+++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
@@ -1,68 +1,51 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/service.proto
 
 package com.google.cloud.dataplex.v1;
 
-/** Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} */
-public final class RunTaskResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+/**
+ * Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse}
+ */
+public final class RunTaskResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunTaskResponse)
     RunTaskResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskResponse.newBuilder() to construct.
   private RunTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RunTaskResponse() {}
+  private RunTaskResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.ServiceProto
-        .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ServiceProto
-        .internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.RunTaskResponse.class,
-            com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class);
+            com.google.cloud.dataplex.v1.RunTaskResponse.class, com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class);
   }
 
   public static final int JOB_FIELD_NUMBER = 1;
   private com.google.cloud.dataplex.v1.Job job_;
   /**
-   *
-   *
    * 
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -70,14 +53,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -85,8 +65,6 @@ public com.google.cloud.dataplex.v1.Job getJob() { return job_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Jobs created by RunTask API.
    * 
@@ -99,7 +77,6 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,7 +88,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -125,7 +103,8 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -135,17 +114,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunTaskResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunTaskResponse other = - (com.google.cloud.dataplex.v1.RunTaskResponse) obj; + com.google.cloud.dataplex.v1.RunTaskResponse other = (com.google.cloud.dataplex.v1.RunTaskResponse) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -167,128 +146,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.RunTaskResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunTaskResponse) com.google.cloud.dataplex.v1.RunTaskResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunTaskResponse.class, - com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class); + com.google.cloud.dataplex.v1.RunTaskResponse.class, com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunTaskResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -302,9 +281,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; } @java.lang.Override @@ -323,11 +302,8 @@ public com.google.cloud.dataplex.v1.RunTaskResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunTaskResponse buildPartial() { - com.google.cloud.dataplex.v1.RunTaskResponse result = - new com.google.cloud.dataplex.v1.RunTaskResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.RunTaskResponse result = new com.google.cloud.dataplex.v1.RunTaskResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -335,7 +311,9 @@ public com.google.cloud.dataplex.v1.RunTaskResponse buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.job_ = jobBuilder_ == null ? job_ : jobBuilder_.build(); + result.job_ = jobBuilder_ == null + ? job_ + : jobBuilder_.build(); } } @@ -343,39 +321,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunTaskResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.RunTaskResponse) other); + return mergeFrom((com.google.cloud.dataplex.v1.RunTaskResponse)other); } else { super.mergeFrom(other); return this; @@ -413,19 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -435,38 +412,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.dataplex.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> - jobBuilder_; + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return The job. */ public com.google.cloud.dataplex.v1.Job getJob() { @@ -477,8 +444,6 @@ public com.google.cloud.dataplex.v1.Job getJob() { } } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -499,15 +464,14 @@ public Builder setJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; */ - public Builder setJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); } else { @@ -518,8 +482,6 @@ public Builder setJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) return this; } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -528,9 +490,9 @@ public Builder setJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) */ public Builder mergeJob(com.google.cloud.dataplex.v1.Job value) { if (jobBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && job_ != null - && job_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + job_ != null && + job_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { getJobBuilder().mergeFrom(value); } else { job_ = value; @@ -543,8 +505,6 @@ public Builder mergeJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -562,8 +522,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -576,8 +534,6 @@ public com.google.cloud.dataplex.v1.Job.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -588,12 +544,11 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Jobs created by RunTask API.
      * 
@@ -601,24 +556,21 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { * .google.cloud.dataplex.v1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunTaskResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunTaskResponse) private static final com.google.cloud.dataplex.v1.RunTaskResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunTaskResponse(); } @@ -642,27 +594,27 @@ public static com.google.cloud.dataplex.v1.RunTaskResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,4 +629,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunTaskResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java similarity index 55% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java index 159622b240f3..f713a5ee702a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface RunTaskResponseOrBuilder - extends +public interface RunTaskResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunTaskResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; - * * @return The job. */ com.google.cloud.dataplex.v1.Job getJob(); /** - * - * *
    * Jobs created by RunTask API.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java index 9e4cfff68d50..fbda9a2f1fc4 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java @@ -1,166 +1,129 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * The data scanned during processing (e.g. in incremental DataScan)
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData} */ -public final class ScannedData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ScannedData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ScannedData) ScannedDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ScannedData.newBuilder() to construct. private ScannedData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ScannedData() {} + private ScannedData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ScannedData(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.class, - com.google.cloud.dataplex.v1.ScannedData.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.class, com.google.cloud.dataplex.v1.ScannedData.Builder.class); } - public interface IncrementalFieldOrBuilder - extends + public interface IncrementalFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ScannedData.IncrementalField) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; - * * @return The field. */ java.lang.String getField(); /** - * - * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; - * * @return The bytes for field. */ - com.google.protobuf.ByteString getFieldBytes(); + com.google.protobuf.ByteString + getFieldBytes(); /** - * - * *
      * Value that marks the start of the range.
      * 
* * string start = 2; - * * @return The start. */ java.lang.String getStart(); /** - * - * *
      * Value that marks the start of the range.
      * 
* * string start = 2; - * * @return The bytes for start. */ - com.google.protobuf.ByteString getStartBytes(); + com.google.protobuf.ByteString + getStartBytes(); /** - * - * *
      * Value that marks the end of the range.
      * 
* * string end = 3; - * * @return The end. */ java.lang.String getEnd(); /** - * - * *
      * Value that marks the end of the range.
      * 
* * string end = 3; - * * @return The bytes for end. */ - com.google.protobuf.ByteString getEndBytes(); + com.google.protobuf.ByteString + getEndBytes(); } /** - * - * *
    * A data range denoted by a pair of start/end values of a field.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData.IncrementalField} */ - public static final class IncrementalField extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IncrementalField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ScannedData.IncrementalField) IncrementalFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncrementalField.newBuilder() to construct. private IncrementalField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IncrementalField() { field_ = ""; start_ = ""; @@ -169,39 +132,34 @@ private IncrementalField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IncrementalField(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object field_ = ""; /** - * - * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; - * * @return The field. */ @java.lang.Override @@ -210,30 +168,30 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** - * - * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; - * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -242,18 +200,14 @@ public com.google.protobuf.ByteString getFieldBytes() { } public static final int START_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object start_ = ""; /** - * - * *
      * Value that marks the start of the range.
      * 
* * string start = 2; - * * @return The start. */ @java.lang.Override @@ -262,29 +216,29 @@ public java.lang.String getStart() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); start_ = s; return s; } } /** - * - * *
      * Value that marks the start of the range.
      * 
* * string start = 2; - * * @return The bytes for start. */ @java.lang.Override - public com.google.protobuf.ByteString getStartBytes() { + public com.google.protobuf.ByteString + getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); start_ = b; return b; } else { @@ -293,18 +247,14 @@ public com.google.protobuf.ByteString getStartBytes() { } public static final int END_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object end_ = ""; /** - * - * *
      * Value that marks the end of the range.
      * 
* * string end = 3; - * * @return The end. */ @java.lang.Override @@ -313,29 +263,29 @@ public java.lang.String getEnd() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); end_ = s; return s; } } /** - * - * *
      * Value that marks the end of the range.
      * 
* * string end = 3; - * * @return The bytes for end. */ @java.lang.Override - public com.google.protobuf.ByteString getEndBytes() { + public com.google.protobuf.ByteString + getEndBytes() { java.lang.Object ref = end_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); end_ = b; return b; } else { @@ -344,7 +294,6 @@ public com.google.protobuf.ByteString getEndBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_); } @@ -392,17 +342,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ScannedData.IncrementalField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ScannedData.IncrementalField other = - (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) obj; + com.google.cloud.dataplex.v1.ScannedData.IncrementalField other = (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) obj; - if (!getField().equals(other.getField())) return false; - if (!getStart().equals(other.getStart())) return false; - if (!getEnd().equals(other.getEnd())) return false; + if (!getField() + .equals(other.getField())) return false; + if (!getStart() + .equals(other.getStart())) return false; + if (!getEnd() + .equals(other.getEnd())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,94 +378,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.ScannedData.IncrementalField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -523,41 +470,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A data range denoted by a pair of start/end values of a field.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData.IncrementalField} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ScannedData.IncrementalField) com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override @@ -590,11 +535,8 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField build() { @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData.IncrementalField buildPartial() { - com.google.cloud.dataplex.v1.ScannedData.IncrementalField result = - new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ScannedData.IncrementalField result = new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -616,41 +558,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ScannedData.IncrementalF public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ScannedData.IncrementalField) { - return mergeFrom((com.google.cloud.dataplex.v1.ScannedData.IncrementalField) other); + return mergeFrom((com.google.cloud.dataplex.v1.ScannedData.IncrementalField)other); } else { super.mergeFrom(other); return this; @@ -658,8 +597,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ScannedData.IncrementalField other) { - if (other == com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) return this; if (!other.getField().isEmpty()) { field_ = other.field_; bitField0_ |= 0x00000001; @@ -701,31 +639,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - field_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - start_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - end_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + field_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + start_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + end_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,26 +669,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object field_ = ""; /** - * - * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; - * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -763,22 +694,21 @@ public java.lang.String getField() { } } /** - * - * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; - * * @return The bytes for field. */ - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -786,37 +716,30 @@ public com.google.protobuf.ByteString getFieldBytes() { } } /** - * - * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; - * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setField( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } field_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; - * * @return This builder for chaining. */ public Builder clearField() { @@ -826,22 +749,18 @@ public Builder clearField() { return this; } /** - * - * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; - * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000001; @@ -851,20 +770,18 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { private java.lang.Object start_ = ""; /** - * - * *
        * Value that marks the start of the range.
        * 
* * string start = 2; - * * @return The start. */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); start_ = s; return s; @@ -873,21 +790,20 @@ public java.lang.String getStart() { } } /** - * - * *
        * Value that marks the start of the range.
        * 
* * string start = 2; - * * @return The bytes for start. */ - public com.google.protobuf.ByteString getStartBytes() { + public com.google.protobuf.ByteString + getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); start_ = b; return b; } else { @@ -895,35 +811,28 @@ public com.google.protobuf.ByteString getStartBytes() { } } /** - * - * *
        * Value that marks the start of the range.
        * 
* * string start = 2; - * * @param value The start to set. * @return This builder for chaining. */ - public Builder setStart(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStart( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } start_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Value that marks the start of the range.
        * 
* * string start = 2; - * * @return This builder for chaining. */ public Builder clearStart() { @@ -933,21 +842,17 @@ public Builder clearStart() { return this; } /** - * - * *
        * Value that marks the start of the range.
        * 
* * string start = 2; - * * @param value The bytes for start to set. * @return This builder for chaining. */ - public Builder setStartBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); start_ = value; bitField0_ |= 0x00000002; @@ -957,20 +862,18 @@ public Builder setStartBytes(com.google.protobuf.ByteString value) { private java.lang.Object end_ = ""; /** - * - * *
        * Value that marks the end of the range.
        * 
* * string end = 3; - * * @return The end. */ public java.lang.String getEnd() { java.lang.Object ref = end_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); end_ = s; return s; @@ -979,21 +882,20 @@ public java.lang.String getEnd() { } } /** - * - * *
        * Value that marks the end of the range.
        * 
* * string end = 3; - * * @return The bytes for end. */ - public com.google.protobuf.ByteString getEndBytes() { + public com.google.protobuf.ByteString + getEndBytes() { java.lang.Object ref = end_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); end_ = b; return b; } else { @@ -1001,35 +903,28 @@ public com.google.protobuf.ByteString getEndBytes() { } } /** - * - * *
        * Value that marks the end of the range.
        * 
* * string end = 3; - * * @param value The end to set. * @return This builder for chaining. */ - public Builder setEnd(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEnd( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } end_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Value that marks the end of the range.
        * 
* * string end = 3; - * * @return This builder for chaining. */ public Builder clearEnd() { @@ -1039,28 +934,23 @@ public Builder clearEnd() { return this; } /** - * - * *
        * Value that marks the end of the range.
        * 
* * string end = 3; - * * @param value The bytes for end to set. * @return This builder for chaining. */ - public Builder setEndBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); end_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1073,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ScannedData.IncrementalField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ScannedData.IncrementalField) private static final com.google.cloud.dataplex.v1.ScannedData.IncrementalField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(); } @@ -1087,28 +977,27 @@ public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncrementalField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,21 +1012,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int dataRangeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object dataRange_; - public enum DataRangeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INCREMENTAL_FIELD(1), DATARANGE_NOT_SET(0); private final int value; - private DataRangeCase(int value) { this.value = value; } @@ -1153,34 +1039,29 @@ public static DataRangeCase valueOf(int value) { public static DataRangeCase forNumber(int value) { switch (value) { - case 1: - return INCREMENTAL_FIELD; - case 0: - return DATARANGE_NOT_SET; - default: - return null; + case 1: return INCREMENTAL_FIELD; + case 0: return DATARANGE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataRangeCase getDataRangeCase() { - return DataRangeCase.forNumber(dataRangeCase_); + public DataRangeCase + getDataRangeCase() { + return DataRangeCase.forNumber( + dataRangeCase_); } public static final int INCREMENTAL_FIELD_FIELD_NUMBER = 1; /** - * - * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return Whether the incrementalField field is set. */ @java.lang.Override @@ -1188,26 +1069,21 @@ public boolean hasIncrementalField() { return dataRangeCase_ == 1; } /** - * - * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return The incrementalField. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalField() { if (dataRangeCase_ == 1) { - return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; + return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; } return com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } /** - * - * *
    * The range denoted by values of an incremental field
    * 
@@ -1215,16 +1091,14 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalF * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder - getIncrementalFieldOrBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getIncrementalFieldOrBuilder() { if (dataRangeCase_ == 1) { - return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; + return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; } return com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1236,10 +1110,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 (dataRangeCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); + output.writeMessage(1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); } getUnknownFields().writeTo(output); } @@ -1251,9 +1125,8 @@ public int getSerializedSize() { size = 0; if (dataRangeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1263,7 +1136,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ScannedData)) { return super.equals(obj); @@ -1273,7 +1146,8 @@ public boolean equals(final java.lang.Object obj) { if (!getDataRangeCase().equals(other.getDataRangeCase())) return false; switch (dataRangeCase_) { case 1: - if (!getIncrementalField().equals(other.getIncrementalField())) return false; + if (!getIncrementalField() + .equals(other.getIncrementalField())) return false; break; case 0: default: @@ -1302,136 +1176,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ScannedData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 scanned during processing (e.g. in incremental DataScan)
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ScannedData) com.google.cloud.dataplex.v1.ScannedDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.class, - com.google.cloud.dataplex.v1.ScannedData.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.class, com.google.cloud.dataplex.v1.ScannedData.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ScannedData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1445,9 +1315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override @@ -1466,11 +1336,8 @@ public com.google.cloud.dataplex.v1.ScannedData build() { @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData buildPartial() { - com.google.cloud.dataplex.v1.ScannedData result = - new com.google.cloud.dataplex.v1.ScannedData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.ScannedData result = new com.google.cloud.dataplex.v1.ScannedData(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1483,7 +1350,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ScannedData result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.ScannedData result) { result.dataRangeCase_ = dataRangeCase_; result.dataRange_ = this.dataRange_; - if (dataRangeCase_ == 1 && incrementalFieldBuilder_ != null) { + if (dataRangeCase_ == 1 && + incrementalFieldBuilder_ != null) { result.dataRange_ = incrementalFieldBuilder_.build(); } } @@ -1492,39 +1360,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.ScannedData result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ScannedData) { - return mergeFrom((com.google.cloud.dataplex.v1.ScannedData) other); + return mergeFrom((com.google.cloud.dataplex.v1.ScannedData)other); } else { super.mergeFrom(other); return this; @@ -1534,15 +1401,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.ScannedData other) { if (other == com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) return this; switch (other.getDataRangeCase()) { - case INCREMENTAL_FIELD: - { - mergeIncrementalField(other.getIncrementalField()); - break; - } - case DATARANGE_NOT_SET: - { - break; - } + case INCREMENTAL_FIELD: { + mergeIncrementalField(other.getIncrementalField()); + break; + } + case DATARANGE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1570,20 +1435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getIncrementalFieldFieldBuilder().getBuilder(), extensionRegistry); - dataRangeCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIncrementalFieldFieldBuilder().getBuilder(), + extensionRegistry); + dataRangeCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1593,12 +1457,12 @@ public Builder mergeFrom( } // finally return this; } - private int dataRangeCase_ = 0; private java.lang.Object dataRange_; - - public DataRangeCase getDataRangeCase() { - return DataRangeCase.forNumber(dataRangeCase_); + public DataRangeCase + getDataRangeCase() { + return DataRangeCase.forNumber( + dataRangeCase_); } public Builder clearDataRange() { @@ -1611,19 +1475,13 @@ public Builder clearDataRange() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, - com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> - incrementalFieldBuilder_; + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> incrementalFieldBuilder_; /** - * - * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return Whether the incrementalField field is set. */ @java.lang.Override @@ -1631,14 +1489,11 @@ public boolean hasIncrementalField() { return dataRangeCase_ == 1; } /** - * - * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return The incrementalField. */ @java.lang.Override @@ -1656,16 +1511,13 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalF } } /** - * - * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public Builder setIncrementalField( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { + public Builder setIncrementalField(com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { if (incrementalFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1679,8 +1531,6 @@ public Builder setIncrementalField( return this; } /** - * - * *
      * The range denoted by values of an incremental field
      * 
@@ -1699,25 +1549,18 @@ public Builder setIncrementalField( return this; } /** - * - * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public Builder mergeIncrementalField( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { + public Builder mergeIncrementalField(com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { if (incrementalFieldBuilder_ == null) { - if (dataRangeCase_ == 1 - && dataRange_ - != com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) { - dataRange_ = - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder( - (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_) - .mergeFrom(value) - .buildPartial(); + if (dataRangeCase_ == 1 && + dataRange_ != com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) { + dataRange_ = com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder((com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_) + .mergeFrom(value).buildPartial(); } else { dataRange_ = value; } @@ -1733,8 +1576,6 @@ public Builder mergeIncrementalField( return this; } /** - * - * *
      * The range denoted by values of an incremental field
      * 
@@ -1758,21 +1599,16 @@ public Builder clearIncrementalField() { return this; } /** - * - * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder - getIncrementalFieldBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder getIncrementalFieldBuilder() { return getIncrementalFieldFieldBuilder().getBuilder(); } /** - * - * *
      * The range denoted by values of an incremental field
      * 
@@ -1780,8 +1616,7 @@ public Builder clearIncrementalField() { * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder - getIncrementalFieldOrBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getIncrementalFieldOrBuilder() { if ((dataRangeCase_ == 1) && (incrementalFieldBuilder_ != null)) { return incrementalFieldBuilder_.getMessageOrBuilder(); } else { @@ -1792,8 +1627,6 @@ public Builder clearIncrementalField() { } } /** - * - * *
      * The range denoted by values of an incremental field
      * 
@@ -1801,20 +1634,14 @@ public Builder clearIncrementalField() { * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, - com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> getIncrementalFieldFieldBuilder() { if (incrementalFieldBuilder_ == null) { if (!(dataRangeCase_ == 1)) { - dataRange_ = - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); + dataRange_ = com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } - incrementalFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, - com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder>( + incrementalFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder>( (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_, getParentForChildren(), isClean()); @@ -1824,9 +1651,9 @@ public Builder clearIncrementalField() { onChanged(); return incrementalFieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1836,12 +1663,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ScannedData) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ScannedData) private static final com.google.cloud.dataplex.v1.ScannedData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ScannedData(); } @@ -1850,27 +1677,27 @@ public static com.google.cloud.dataplex.v1.ScannedData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScannedData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScannedData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1885,4 +1712,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ScannedData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java index 3c428a1aa13f..8b1cf09d9240 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface ScannedDataOrBuilder - extends +public interface ScannedDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ScannedData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return Whether the incrementalField field is set. */ boolean hasIncrementalField(); /** - * - * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; - * * @return The incrementalField. */ com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalField(); /** - * - * *
    * The range denoted by values of an incremental field
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java index a20528c3fad2..a5e9da684f35 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Schema information describing the structure and layout of the data.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema} */ -public final class Schema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Schema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema) SchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Schema.newBuilder() to construct. private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Schema() { fields_ = java.util.Collections.emptyList(); partitionFields_ = java.util.Collections.emptyList(); @@ -45,38 +27,34 @@ private Schema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.class, - com.google.cloud.dataplex.v1.Schema.Builder.class); + com.google.cloud.dataplex.v1.Schema.class, com.google.cloud.dataplex.v1.Schema.Builder.class); } /** - * - * *
    * Type information for fields in schemas and partition schemas.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * SchemaType unspecified.
      * 
@@ -85,8 +63,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Boolean field.
      * 
@@ -95,8 +71,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOLEAN(1), /** - * - * *
      * Single byte numeric field.
      * 
@@ -105,8 +79,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BYTE(2), /** - * - * *
      * 16-bit numeric field.
      * 
@@ -115,8 +87,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT16(3), /** - * - * *
      * 32-bit numeric field.
      * 
@@ -125,8 +95,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT32(4), /** - * - * *
      * 64-bit numeric field.
      * 
@@ -135,8 +103,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT64(5), /** - * - * *
      * Floating point numeric field.
      * 
@@ -145,8 +111,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ FLOAT(6), /** - * - * *
      * Double precision numeric field.
      * 
@@ -155,8 +119,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(7), /** - * - * *
      * Real value numeric field.
      * 
@@ -165,8 +127,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DECIMAL(8), /** - * - * *
      * Sequence of characters field.
      * 
@@ -175,8 +135,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(9), /** - * - * *
      * Sequence of bytes field.
      * 
@@ -185,8 +143,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(10), /** - * - * *
      * Date and time field.
      * 
@@ -195,8 +151,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(11), /** - * - * *
      * Date field.
      * 
@@ -205,8 +159,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATE(12), /** - * - * *
      * Time field.
      * 
@@ -215,8 +167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIME(13), /** - * - * *
      * Structured field. Nested fields that define the structure of the map.
      * If all nested fields are nullable, this field represents a union.
@@ -226,8 +176,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECORD(14),
     /**
-     *
-     *
      * 
      * Null field that does not have values.
      * 
@@ -239,8 +187,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * SchemaType unspecified.
      * 
@@ -249,8 +195,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Boolean field.
      * 
@@ -259,8 +203,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOLEAN_VALUE = 1; /** - * - * *
      * Single byte numeric field.
      * 
@@ -269,8 +211,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTE_VALUE = 2; /** - * - * *
      * 16-bit numeric field.
      * 
@@ -279,8 +219,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT16_VALUE = 3; /** - * - * *
      * 32-bit numeric field.
      * 
@@ -289,8 +227,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT32_VALUE = 4; /** - * - * *
      * 64-bit numeric field.
      * 
@@ -299,8 +235,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 5; /** - * - * *
      * Floating point numeric field.
      * 
@@ -309,8 +243,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLOAT_VALUE = 6; /** - * - * *
      * Double precision numeric field.
      * 
@@ -319,8 +251,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 7; /** - * - * *
      * Real value numeric field.
      * 
@@ -329,8 +259,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DECIMAL_VALUE = 8; /** - * - * *
      * Sequence of characters field.
      * 
@@ -339,8 +267,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 9; /** - * - * *
      * Sequence of bytes field.
      * 
@@ -349,8 +275,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 10; /** - * - * *
      * Date and time field.
      * 
@@ -359,8 +283,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 11; /** - * - * *
      * Date field.
      * 
@@ -369,8 +291,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 12; /** - * - * *
      * Time field.
      * 
@@ -379,8 +299,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_VALUE = 13; /** - * - * *
      * Structured field. Nested fields that define the structure of the map.
      * If all nested fields are nullable, this field represents a union.
@@ -390,8 +308,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECORD_VALUE = 14;
     /**
-     *
-     *
      * 
      * Null field that does not have values.
      * 
@@ -400,6 +316,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NULL_VALUE = 100; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -424,75 +341,62 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return BOOLEAN; - case 2: - return BYTE; - case 3: - return INT16; - case 4: - return INT32; - case 5: - return INT64; - case 6: - return FLOAT; - case 7: - return DOUBLE; - case 8: - return DECIMAL; - case 9: - return STRING; - case 10: - return BINARY; - case 11: - return TIMESTAMP; - case 12: - return DATE; - case 13: - return TIME; - case 14: - return RECORD; - case 100: - return NULL; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return TYPE_UNSPECIFIED; + case 1: return BOOLEAN; + case 2: return BYTE; + case 3: return INT16; + case 4: return INT32; + case 5: return INT64; + case 6: return FLOAT; + case 7: return DOUBLE; + case 8: return DECIMAL; + case 9: return STRING; + case 10: return BINARY; + case 11: return TIMESTAMP; + case 12: return DATE; + case 13: return TIME; + case 14: return RECORD; + case 100: return NULL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -510,18 +414,15 @@ private Type(int value) { } /** - * - * *
    * Additional qualifiers to define field semantics.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Mode unspecified.
      * 
@@ -530,8 +431,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * The field has required semantics.
      * 
@@ -540,8 +439,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ REQUIRED(1), /** - * - * *
      * The field has optional semantics, and may be null.
      * 
@@ -550,8 +447,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ NULLABLE(2), /** - * - * *
      * The field has repeated (0 or more) semantics, and is a list of values.
      * 
@@ -563,8 +458,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Mode unspecified.
      * 
@@ -573,8 +466,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The field has required semantics.
      * 
@@ -583,8 +474,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REQUIRED_VALUE = 1; /** - * - * *
      * The field has optional semantics, and may be null.
      * 
@@ -593,8 +482,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NULLABLE_VALUE = 2; /** - * - * *
      * The field has repeated (0 or more) semantics, and is a list of values.
      * 
@@ -603,6 +490,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REPEATED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -627,51 +515,50 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return REQUIRED; - case 2: - return NULLABLE; - case 3: - return REPEATED; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return REQUIRED; + case 2: return NULLABLE; + case 3: return REPEATED; + 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< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode 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; @@ -689,18 +576,15 @@ private Mode(int value) { } /** - * - * *
    * The structure of paths within the entity, which represent partitions.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.PartitionStyle} */ - public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionStyle + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * PartitionStyle unspecified
      * 
@@ -709,8 +593,6 @@ public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum { */ PARTITION_STYLE_UNSPECIFIED(0), /** - * - * *
      * Partitions are hive-compatible.
      * Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`,
@@ -724,8 +606,6 @@ public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * PartitionStyle unspecified
      * 
@@ -734,8 +614,6 @@ public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_STYLE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Partitions are hive-compatible.
      * Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`,
@@ -746,6 +624,7 @@ public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIVE_COMPATIBLE_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -770,47 +649,48 @@ public static PartitionStyle valueOf(int value) {
      */
     public static PartitionStyle forNumber(int value) {
       switch (value) {
-        case 0:
-          return PARTITION_STYLE_UNSPECIFIED;
-        case 1:
-          return HIVE_COMPATIBLE;
-        default:
-          return null;
+        case 0: return PARTITION_STYLE_UNSPECIFIED;
+        case 1: return HIVE_COMPATIBLE;
+        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<
+        PartitionStyle> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PartitionStyle findValueByNumber(int number) {
+              return PartitionStyle.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PartitionStyle findValueByNumber(int number) {
-            return PartitionStyle.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final PartitionStyle[] VALUES = values();
 
-    public static PartitionStyle valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionStyle 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;
@@ -827,14 +707,11 @@ private PartitionStyle(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Schema.PartitionStyle)
   }
 
-  public interface SchemaFieldOrBuilder
-      extends
+  public interface SchemaFieldOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema.SchemaField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -842,13 +719,10 @@ public interface SchemaFieldOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -856,177 +730,131 @@ public interface SchemaFieldOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Required. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Required. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.dataplex.v1.Schema.Type getType(); /** - * - * *
      * Required. Additional field semantics.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Required. Additional field semantics.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ com.google.cloud.dataplex.v1.Schema.Mode getMode(); /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index); /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ int getFieldsCount(); /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index); + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( + int index); } /** - * - * *
    * Represents a column field within a table schema.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema.SchemaField} */ - public static final class SchemaField extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SchemaField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema.SchemaField) SchemaFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SchemaField.newBuilder() to construct. private SchemaField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SchemaField() { name_ = ""; description_ = ""; @@ -1037,32 +865,28 @@ private SchemaField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SchemaField(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.SchemaField.class, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); + com.google.cloud.dataplex.v1.Schema.SchemaField.class, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -1070,7 +894,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -1079,15 +902,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -1095,15 +917,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 { @@ -1112,19 +935,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1133,30 +952,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; } } /** - * - * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1167,164 +986,117 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** - * - * *
      * Required. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = - com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { + com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 4; private int mode_ = 0; /** - * - * *
      * Required. Additional field semantics.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Required. Additional field semantics.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.Mode getMode() { - com.google.cloud.dataplex.v1.Schema.Mode result = - com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); + @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Mode getMode() { + com.google.cloud.dataplex.v1.Schema.Mode result = com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); return result == null ? com.google.cloud.dataplex.v1.Schema.Mode.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { return fields_.get(index); } /** - * - * *
      * Optional. Any nested field for complex types.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( + int index) { return fields_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1336,7 +1108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1368,13 +1141,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.dataplex.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } if (mode_ != com.google.cloud.dataplex.v1.Schema.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, mode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1384,19 +1160,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema.SchemaField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Schema.SchemaField other = - (com.google.cloud.dataplex.v1.Schema.SchemaField) obj; + com.google.cloud.dataplex.v1.Schema.SchemaField other = (com.google.cloud.dataplex.v1.Schema.SchemaField) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (type_ != other.type_) return false; if (mode_ != other.mode_) return false; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1426,93 +1204,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1522,41 +1296,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a column field within a table schema.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema.SchemaField} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema.SchemaField) com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.SchemaField.class, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); + com.google.cloud.dataplex.v1.Schema.SchemaField.class, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Schema.SchemaField.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1576,9 +1348,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override @@ -1597,18 +1369,14 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField build() { @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField buildPartial() { - com.google.cloud.dataplex.v1.Schema.SchemaField result = - new com.google.cloud.dataplex.v1.Schema.SchemaField(this); + com.google.cloud.dataplex.v1.Schema.SchemaField result = new com.google.cloud.dataplex.v1.Schema.SchemaField(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.dataplex.v1.Schema.SchemaField result) { + private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.Schema.SchemaField result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1640,41 +1408,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema.SchemaField resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Schema.SchemaField) { - return mergeFrom((com.google.cloud.dataplex.v1.Schema.SchemaField) other); + return mergeFrom((com.google.cloud.dataplex.v1.Schema.SchemaField)other); } else { super.mergeFrom(other); return this; @@ -1682,8 +1447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.SchemaField other) { - if (other == com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1718,10 +1482,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.SchemaField other) fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000010); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1753,67 +1516,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 82: - { - com.google.cloud.dataplex.v1.Schema.SchemaField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 82: { + com.google.cloud.dataplex.v1.Schema.SchemaField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1821,13 +1575,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; @@ -1836,8 +1590,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1845,14 +1597,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 { @@ -1860,8 +1613,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1869,22 +1620,18 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1892,7 +1639,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1902,8 +1648,6 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1911,14 +1655,12 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1928,21 +1670,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1951,22 +1691,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1974,37 +1713,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2014,22 +1746,18 @@ public Builder clearDescription() { return this; } /** - * - * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2039,33 +1767,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * Required. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Required. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2076,35 +1793,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * Required. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = - com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } /** - * - * *
        * Required. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -2118,16 +1824,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Schema.Type value) { return this; } /** - * - * *
        * Required. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -2139,33 +1840,22 @@ public Builder clearType() { private int mode_ = 0; /** - * - * *
        * Required. Additional field semantics.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Required. Additional field semantics.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -2176,35 +1866,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
        * Required. Additional field semantics.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Mode getMode() { - com.google.cloud.dataplex.v1.Schema.Mode result = - com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); + com.google.cloud.dataplex.v1.Schema.Mode result = com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); return result == null ? com.google.cloud.dataplex.v1.Schema.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Required. Additional field semantics.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The mode to set. * @return This builder for chaining. */ @@ -2218,16 +1897,11 @@ public Builder setMode(com.google.cloud.dataplex.v1.Schema.Mode value) { return this; } /** - * - * *
        * Required. Additional field semantics.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMode() { @@ -2238,32 +1912,23 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - fields_ = - new java.util.ArrayList(fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> - fieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> fieldsBuilder_; /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -2273,15 +1938,11 @@ public java.util.List getFields } } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -2291,15 +1952,11 @@ public int getFieldsCount() { } } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { if (fieldsBuilder_ == null) { @@ -2309,17 +1966,14 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { } } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder setFields( + int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2333,15 +1987,11 @@ public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaFi return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2355,15 +2005,11 @@ public Builder setFields( return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { @@ -2379,17 +2025,14 @@ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder addFields( + int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2403,15 +2046,11 @@ public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaFi return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2425,15 +2064,11 @@ public Builder addFields( return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2447,21 +2082,18 @@ public Builder addFields( return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ 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); @@ -2469,15 +2101,11 @@ public Builder addAllFields( return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -2490,15 +2118,11 @@ public Builder clearFields() { return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -2511,51 +2135,39 @@ public Builder removeFields(int index) { return this; } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder(int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2563,69 +2175,53 @@ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuild } } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** - * - * *
        * Optional. Any nested field for complex types.
        * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( - fields_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( + fields_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2638,12 +2234,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema.SchemaField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema.SchemaField) private static final com.google.cloud.dataplex.v1.Schema.SchemaField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema.SchemaField(); } @@ -2652,28 +2248,27 @@ public static com.google.cloud.dataplex.v1.Schema.SchemaField getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchemaField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchemaField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2688,16 +2283,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema.SchemaField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PartitionFieldOrBuilder - extends + public interface PartitionFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema.PartitionField) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2705,13 +2298,10 @@ public interface PartitionFieldOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2719,43 +2309,31 @@ public interface PartitionFieldOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Required. Immutable. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Required. Immutable. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.dataplex.v1.Schema.Type getType(); } /** - * - * *
    * Represents a key field within the entity's partition structure. You could
    * have up to 20 partition fields, but only the first 10 partitions have the
@@ -2765,16 +2343,15 @@ public interface PartitionFieldOrBuilder
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Schema.PartitionField}
    */
-  public static final class PartitionField extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PartitionField extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema.PartitionField)
       PartitionFieldOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PartitionField.newBuilder() to construct.
     private PartitionField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PartitionField() {
       name_ = "";
       type_ = 0;
@@ -2782,32 +2359,28 @@ private PartitionField() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PartitionField();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.MetadataProto
-          .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.MetadataProto
-          .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Schema.PartitionField.class,
-              com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
+              com.google.cloud.dataplex.v1.Schema.PartitionField.class, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2815,7 +2388,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -2824,15 +2396,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. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2840,15 +2411,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 { @@ -2859,44 +2431,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
      * Required. Immutable. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. The type of field.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = - com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { + com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2908,7 +2466,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2928,7 +2487,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.cloud.dataplex.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2938,15 +2498,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema.PartitionField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Schema.PartitionField other = - (com.google.cloud.dataplex.v1.Schema.PartitionField) obj; + com.google.cloud.dataplex.v1.Schema.PartitionField other = (com.google.cloud.dataplex.v1.Schema.PartitionField) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2969,93 +2529,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema.PartitionField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3065,8 +2621,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a key field within the entity's partition structure. You could
      * have up to 20 partition fields, but only the first 10 partitions have the
@@ -3076,33 +2630,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Schema.PartitionField}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema.PartitionField)
         com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataplex.v1.MetadataProto
-            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.MetadataProto
-            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Schema.PartitionField.class,
-                com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
+                com.google.cloud.dataplex.v1.Schema.PartitionField.class, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Schema.PartitionField.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3113,9 +2667,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.MetadataProto
-            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
       }
 
       @java.lang.Override
@@ -3134,11 +2688,8 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Schema.PartitionField buildPartial() {
-        com.google.cloud.dataplex.v1.Schema.PartitionField result =
-            new com.google.cloud.dataplex.v1.Schema.PartitionField(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.dataplex.v1.Schema.PartitionField result = new com.google.cloud.dataplex.v1.Schema.PartitionField(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -3157,41 +2708,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema.PartitionField re
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Schema.PartitionField) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Schema.PartitionField) other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Schema.PartitionField)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3199,8 +2747,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.PartitionField other) {
-        if (other == com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -3235,25 +2782,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  name_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  type_ = input.readEnum();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3263,13 +2807,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -3277,13 +2818,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; @@ -3292,8 +2833,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -3301,14 +2840,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 { @@ -3316,8 +2856,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -3325,22 +2863,18 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -3348,7 +2882,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3358,8 +2891,6 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -3367,14 +2898,12 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3384,33 +2913,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * Required. Immutable. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Required. Immutable. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3421,35 +2939,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * Required. Immutable. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = - com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } /** - * - * *
        * Required. Immutable. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -3463,16 +2970,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Schema.Type value) { return this; } /** - * - * *
        * Required. Immutable. The type of field.
        * 
* - * - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -3481,7 +2983,6 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3494,12 +2995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema.PartitionField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema.PartitionField) private static final com.google.cloud.dataplex.v1.Schema.PartitionField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema.PartitionField(); } @@ -3508,28 +3009,27 @@ public static com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3544,13 +3044,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int USER_MANAGED_FIELD_NUMBER = 1; private boolean userManaged_ = false; /** - * - * *
    * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
    * The default is `false` (managed by Dataplex).
@@ -3568,7 +3067,6 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInstanceForT
    * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userManaged. */ @java.lang.Override @@ -3577,172 +3075,130 @@ public boolean getUserManaged() { } public static final int FIELDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { return fields_.get(index); } /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( + int index) { return fields_.get(index); } public static final int PARTITION_FIELDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List partitionFields_; /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getPartitionFieldsList() { + public java.util.List getPartitionFieldsList() { return partitionFields_; } /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionFieldsOrBuilderList() { return partitionFields_; } /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getPartitionFieldsCount() { return partitionFields_.size(); } /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index) { return partitionFields_.get(index); } /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( @@ -3753,48 +3209,32 @@ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionF public static final int PARTITION_STYLE_FIELD_NUMBER = 4; private int partitionStyle_ = 0; /** - * - * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for partitionStyle. */ - @java.lang.Override - public int getPartitionStyleValue() { + @java.lang.Override public int getPartitionStyleValue() { return partitionStyle_; } /** - * - * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The partitionStyle. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { - com.google.cloud.dataplex.v1.Schema.PartitionStyle result = - com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); - return result == null - ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { + com.google.cloud.dataplex.v1.Schema.PartitionStyle result = com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); + return result == null ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3806,7 +3246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (userManaged_ != false) { output.writeBool(1, userManaged_); } @@ -3816,9 +3257,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < partitionFields_.size(); i++) { output.writeMessage(3, partitionFields_.get(i)); } - if (partitionStyle_ - != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED - .getNumber()) { + if (partitionStyle_ != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED.getNumber()) { output.writeEnum(4, partitionStyle_); } getUnknownFields().writeTo(output); @@ -3831,18 +3270,20 @@ public int getSerializedSize() { size = 0; if (userManaged_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, userManaged_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, userManaged_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, fields_.get(i)); } for (int i = 0; i < partitionFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, partitionFields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, partitionFields_.get(i)); } - if (partitionStyle_ - != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, partitionStyle_); + if (partitionStyle_ != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, partitionStyle_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3852,16 +3293,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Schema other = (com.google.cloud.dataplex.v1.Schema) obj; - if (getUserManaged() != other.getUserManaged()) return false; - if (!getFieldsList().equals(other.getFieldsList())) return false; - if (!getPartitionFieldsList().equals(other.getPartitionFieldsList())) return false; + if (getUserManaged() + != other.getUserManaged()) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; + if (!getPartitionFieldsList() + .equals(other.getPartitionFieldsList())) return false; if (partitionStyle_ != other.partitionStyle_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3875,7 +3319,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USER_MANAGED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUserManaged()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUserManaged()); if (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); @@ -3891,135 +3336,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Schema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Schema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Schema parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Schema parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Schema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Schema information describing the structure and layout of the data.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema) com.google.cloud.dataplex.v1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.class, - com.google.cloud.dataplex.v1.Schema.Builder.class); + com.google.cloud.dataplex.v1.Schema.class, com.google.cloud.dataplex.v1.Schema.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Schema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4044,9 +3486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override @@ -4067,9 +3509,7 @@ public com.google.cloud.dataplex.v1.Schema build() { public com.google.cloud.dataplex.v1.Schema buildPartial() { com.google.cloud.dataplex.v1.Schema result = new com.google.cloud.dataplex.v1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -4109,39 +3549,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Schema) { - return mergeFrom((com.google.cloud.dataplex.v1.Schema) other); + return mergeFrom((com.google.cloud.dataplex.v1.Schema)other); } else { super.mergeFrom(other); return this; @@ -4171,10 +3610,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000002); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -4198,10 +3636,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema other) { partitionFieldsBuilder_ = null; partitionFields_ = other.partitionFields_; bitField0_ = (bitField0_ & ~0x00000004); - partitionFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartitionFieldsFieldBuilder() - : null; + partitionFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartitionFieldsFieldBuilder() : null; } else { partitionFieldsBuilder_.addAllMessages(other.partitionFields_); } @@ -4236,53 +3673,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - userManaged_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.cloud.dataplex.v1.Schema.SchemaField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.cloud.dataplex.v1.Schema.PartitionField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.PartitionField.parser(), - extensionRegistry); - if (partitionFieldsBuilder_ == null) { - ensurePartitionFieldsIsMutable(); - partitionFields_.add(m); - } else { - partitionFieldsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - partitionStyle_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + userManaged_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.cloud.dataplex.v1.Schema.SchemaField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.cloud.dataplex.v1.Schema.PartitionField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.PartitionField.parser(), + extensionRegistry); + if (partitionFieldsBuilder_ == null) { + ensurePartitionFieldsIsMutable(); + partitionFields_.add(m); + } else { + partitionFieldsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + partitionStyle_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4292,13 +3724,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean userManaged_; + private boolean userManaged_ ; /** - * - * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -4316,7 +3745,6 @@ public Builder mergeFrom(
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userManaged. */ @java.lang.Override @@ -4324,8 +3752,6 @@ public boolean getUserManaged() { return userManaged_; } /** - * - * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -4343,7 +3769,6 @@ public boolean getUserManaged() {
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The userManaged to set. * @return This builder for chaining. */ @@ -4355,8 +3780,6 @@ public Builder setUserManaged(boolean value) { return this; } /** - * - * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -4374,7 +3797,6 @@ public Builder setUserManaged(boolean value) {
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUserManaged() { @@ -4385,32 +3807,24 @@ public Builder clearUserManaged() { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> - fieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> fieldsBuilder_; /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -4420,16 +3834,12 @@ public java.util.List getFields } } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -4439,16 +3849,12 @@ public int getFieldsCount() { } } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { if (fieldsBuilder_ == null) { @@ -4458,18 +3864,15 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { } } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder setFields( + int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4483,16 +3886,12 @@ public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaFi return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -4506,16 +3905,12 @@ public Builder setFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { @@ -4531,18 +3926,15 @@ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder addFields( + int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4556,16 +3948,12 @@ public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaFi return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -4579,16 +3967,12 @@ public Builder addFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -4602,22 +3986,19 @@ public Builder addFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ 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); @@ -4625,16 +4006,12 @@ public Builder addAllFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -4647,16 +4024,12 @@ public Builder clearFields() { return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -4669,53 +4042,42 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder(int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -4723,103 +4085,78 @@ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuild } } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder(index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** - * - * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, - com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( - fields_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( + fields_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; } private java.util.List partitionFields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePartitionFieldsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - partitionFields_ = - new java.util.ArrayList( - partitionFields_); + partitionFields_ = new java.util.ArrayList(partitionFields_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, - com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, - com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> - partitionFieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> partitionFieldsBuilder_; /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPartitionFieldsList() { + public java.util.List getPartitionFieldsList() { if (partitionFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionFields_); } else { @@ -4827,16 +4164,12 @@ private void ensurePartitionFieldsIsMutable() { } } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPartitionFieldsCount() { if (partitionFieldsBuilder_ == null) { @@ -4846,16 +4179,12 @@ public int getPartitionFieldsCount() { } } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index) { if (partitionFieldsBuilder_ == null) { @@ -4865,16 +4194,12 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int } } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField value) { @@ -4891,16 +4216,12 @@ public Builder setPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -4914,16 +4235,12 @@ public Builder setPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPartitionFields(com.google.cloud.dataplex.v1.Schema.PartitionField value) { if (partitionFieldsBuilder_ == null) { @@ -4939,16 +4256,12 @@ public Builder addPartitionFields(com.google.cloud.dataplex.v1.Schema.PartitionF return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField value) { @@ -4965,16 +4278,12 @@ public Builder addPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPartitionFields( com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -4988,16 +4297,12 @@ public Builder addPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -5011,22 +4316,19 @@ public Builder addPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllPartitionFields( java.lang.Iterable values) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitionFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partitionFields_); onChanged(); } else { partitionFieldsBuilder_.addAllMessages(values); @@ -5034,16 +4336,12 @@ public Builder addAllPartitionFields( return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPartitionFields() { if (partitionFieldsBuilder_ == null) { @@ -5056,16 +4354,12 @@ public Builder clearPartitionFields() { return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removePartitionFields(int index) { if (partitionFieldsBuilder_ == null) { @@ -5078,55 +4372,42 @@ public Builder removePartitionFields(int index) { return this; } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder getPartitionFieldsBuilder( int index) { return getPartitionFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( int index) { if (partitionFieldsBuilder_ == null) { - return partitionFields_.get(index); - } else { + return partitionFields_.get(index); } else { return partitionFieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPartitionFieldsOrBuilderList() { + public java.util.List + getPartitionFieldsOrBuilderList() { if (partitionFieldsBuilder_ != null) { return partitionFieldsBuilder_.getMessageOrBuilderList(); } else { @@ -5134,67 +4415,48 @@ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionF } } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFieldsBuilder() { - return getPartitionFieldsFieldBuilder() - .addBuilder(com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); + return getPartitionFieldsFieldBuilder().addBuilder( + com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFieldsBuilder( int index) { - return getPartitionFieldsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); + return getPartitionFieldsFieldBuilder().addBuilder( + index, com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); } /** - * - * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPartitionFieldsBuilderList() { + public java.util.List + getPartitionFieldsBuilderList() { return getPartitionFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, - com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, - com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> getPartitionFieldsFieldBuilder() { if (partitionFieldsBuilder_ == null) { - partitionFieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, - com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, - com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder>( + partitionFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder>( partitionFields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -5206,35 +4468,24 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFi private int partitionStyle_ = 0; /** - * - * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for partitionStyle. */ - @java.lang.Override - public int getPartitionStyleValue() { + @java.lang.Override public int getPartitionStyleValue() { return partitionStyle_; } /** - * - * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for partitionStyle to set. * @return This builder for chaining. */ @@ -5245,39 +4496,26 @@ public Builder setPartitionStyleValue(int value) { return this; } /** - * - * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The partitionStyle. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { - com.google.cloud.dataplex.v1.Schema.PartitionStyle result = - com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); - return result == null - ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Schema.PartitionStyle result = com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); + return result == null ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The partitionStyle to set. * @return This builder for chaining. */ @@ -5291,17 +4529,12 @@ public Builder setPartitionStyle(com.google.cloud.dataplex.v1.Schema.PartitionSt return this; } /** - * - * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPartitionStyle() { @@ -5310,9 +4543,9 @@ public Builder clearPartitionStyle() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5322,12 +4555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema) private static final com.google.cloud.dataplex.v1.Schema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema(); } @@ -5336,27 +4569,27 @@ public static com.google.cloud.dataplex.v1.Schema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Schema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Schema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5371,4 +4604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java similarity index 61% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java index 623f63b84070..4361b4e4c6ee 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface SchemaOrBuilder - extends +public interface SchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
    * The default is `false` (managed by Dataplex).
@@ -43,173 +25,125 @@ public interface SchemaOrBuilder
    * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userManaged. */ boolean getUserManaged(); /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index); /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getFieldsCount(); /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index); + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( + int index); /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getPartitionFieldsList(); + java.util.List + getPartitionFieldsList(); /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index); /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getPartitionFieldsCount(); /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getPartitionFieldsOrBuilderList(); /** - * - * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( int index); /** - * - * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for partitionStyle. */ int getPartitionStyleValue(); /** - * - * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The partitionStyle. */ com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java new file mode 100644 index 000000000000..4d8a5d953cce --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/security.proto + +package com.google.cloud.dataplex.v1; + +public final class SecurityProto { + private SecurityProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/dataplex/v1/security.prot" + + "o\022\030google.cloud.dataplex.v1\032\037google/api/" + + "field_behavior.proto\"X\n\022ResourceAccessSp" + + "ec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001\022\025\n\007writers\030\002 \003" + + "(\tB\004\342A\001\001\022\024\n\006owners\030\003 \003(\tB\004\342A\001\001\"\'\n\016DataAc" + + "cessSpec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001Bi\n\034com.g" + + "oogle.cloud.dataplex.v1B\rSecurityProtoP\001" + + "Z8cloud.google.com/go/dataplex/apiv1/dat" + + "aplexpb;dataplexpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor, + new java.lang.String[] { "Readers", "Writers", "Owners", }); + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor, + new java.lang.String[] { "Readers", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java new file mode 100644 index 000000000000..32daf733f99d --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java @@ -0,0 +1,880 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public final class ServiceProto { + private ServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/service.proto" + + "\022\030google.cloud.dataplex.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032&google/cloud/data" + + "plex/v1/analyze.proto\032(google/cloud/data" + + "plex/v1/resources.proto\032$google/cloud/da" + + "taplex/v1/tasks.proto\032#google/longrunnin" + + "g/operations.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\"\267\001\n\021C" + + "reateLakeRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A" + + "#\n!locations.googleapis.com/Location\022\025\n\007" + + "lake_id\030\002 \001(\tB\004\342A\001\002\0222\n\004lake\030\003 \001(\0132\036.goog" + + "le.cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalid" + + "ate_only\030\004 \001(\010B\004\342A\001\001\"\233\001\n\021UpdateLakeReque" + + "st\0225\n\013update_mask\030\001 \001(\0132\032.google.protobu" + + "f.FieldMaskB\004\342A\001\002\0222\n\004lake\030\002 \001(\0132\036.google" + + ".cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalidat" + + "e_only\030\003 \001(\010B\004\342A\001\001\"H\n\021DeleteLakeRequest\022" + + "3\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googlea" + + "pis.com/Lake\"\257\001\n\020ListLakesRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis" + + ".com/Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + + "B\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"z\n\021ListLa" + + "kesResponse\022-\n\005lakes\030\001 \003(\0132\036.google.clou" + + "d.dataplex.v1.Lake\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\035\n\025unreachable_locations\030\003 \003(\t\"\202\001\n\026L" + + "istLakeActionsRequest\0225\n\006parent\030\001 \001(\tB%\342" + + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\"a\n\023ListActionsResponse\0221\n\007action" + + "s\030\001 \003(\0132 .google.cloud.dataplex.v1.Actio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"E\n\016GetLakeReq" + + "uest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + + "ogleapis.com/Lake\"\262\001\n\021CreateZoneRequest\022" + + "5\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googl" + + "eapis.com/Lake\022\025\n\007zone_id\030\002 \001(\tB\004\342A\001\002\0222\n" + + "\004zone\030\003 \001(\0132\036.google.cloud.dataplex.v1.Z" + + "oneB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\233" + + "\001\n\021UpdateZoneRequest\0225\n\013update_mask\030\001 \001(" + + "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\0222\n\004z" + + "one\030\002 \001(\0132\036.google.cloud.dataplex.v1.Zon" + + "eB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"H\n\021" + + "DeleteZoneRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" + + "\n\034dataplex.googleapis.com/Zone\"\252\001\n\020ListZ" + + "onesRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034da" + + "taplex.googleapis.com/Lake\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + + "A\001\001\"[\n\021ListZonesResponse\022-\n\005zones\030\001 \003(\0132" + + "\036.google.cloud.dataplex.v1.Zone\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\202\001\n\026ListZoneActionsRequ" + + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + + "oogleapis.com/Zone\022\027\n\tpage_size\030\002 \001(\005B\004\342" + + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"E\n\016GetZone" + + "Request\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex" + + ".googleapis.com/Zone\"\266\001\n\022CreateAssetRequ" + + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + + "oogleapis.com/Zone\022\026\n\010asset_id\030\002 \001(\tB\004\342A" + + "\001\002\0224\n\005asset\030\003 \001(\0132\037.google.cloud.dataple" + + "x.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B" + + "\004\342A\001\001\"\236\001\n\022UpdateAssetRequest\0225\n\013update_m" + + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + + "A\001\002\0224\n\005asset\030\002 \001(\0132\037.google.cloud.datapl" + + "ex.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + + "B\004\342A\001\001\"J\n\022DeleteAssetRequest\0224\n\004name\030\001 \001" + + "(\tB&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Ass" + + "et\"\253\001\n\021ListAssetsRequest\0225\n\006parent\030\001 \001(\t" + + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Zone\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010orde" + + "r_by\030\005 \001(\tB\004\342A\001\001\"^\n\022ListAssetsResponse\022/" + + "\n\006assets\030\001 \003(\0132\037.google.cloud.dataplex.v" + + "1.Asset\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\027Lis" + + "tAssetActionsRequest\0226\n\006parent\030\001 \001(\tB&\342A" + + "\001\002\372A\037\n\035dataplex.googleapis.com/Asset\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\"G\n\017GetAssetRequest\0224\n\004name\030\001 \001(\t" + + "B&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Asset" + + "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" + + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" + + "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" + + "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" + + "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"\262\001\n\021CreateTas" + + "kRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datap" + + "lex.googleapis.com/Lake\022\025\n\007task_id\030\002 \001(\t" + + "B\004\342A\001\002\0222\n\004task\030\003 \001(\0132\036.google.cloud.data" + + "plex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(" + + "\010B\004\342A\001\001\"\233\001\n\021UpdateTaskRequest\0225\n\013update_" + + "mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004" + + "\342A\001\002\0222\n\004task\030\002 \001(\0132\036.google.cloud.datapl" + + "ex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B" + + "\004\342A\001\001\"H\n\021DeleteTaskRequest\0223\n\004name\030\001 \001(\t" + + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Task\"" + + "\252\001\n\020ListTasksRequest\0225\n\006parent\030\001 \001(\tB%\342A" + + "\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\tp" + + "age_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\t" + + "B\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by" + + "\030\005 \001(\tB\004\342A\001\001\"z\n\021ListTasksResponse\022-\n\005tas" + + "ks\030\001 \003(\0132\036.google.cloud.dataplex.v1.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachable" + + "_locations\030\003 \003(\t\"E\n\016GetTaskRequest\0223\n\004na" + + "me\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.c" + + "om/Task\"C\n\rGetJobRequest\0222\n\004name\030\001 \001(\tB$" + + "\342A\001\002\372A\035\n\033dataplex.googleapis.com/Job\"\265\002\n" + + "\016RunTaskRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034" + + "dataplex.googleapis.com/Task\022J\n\006labels\030\003" + + " \003(\01324.google.cloud.dataplex.v1.RunTaskR" + + "equest.LabelsEntryB\004\342A\001\001\022F\n\004args\030\004 \003(\01322" + + ".google.cloud.dataplex.v1.RunTaskRequest" + + ".ArgsEntryB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+\n\tArgsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"=\n\017RunTaskR" + + "esponse\022*\n\003job\030\001 \001(\0132\035.google.cloud.data" + + "plex.v1.Job\"{\n\017ListJobsRequest\0225\n\006parent" + + "\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com" + + "/Task\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t" + + "oken\030\003 \001(\tB\004\342A\001\001\"X\n\020ListJobsResponse\022+\n\004" + + "jobs\030\001 \003(\0132\035.google.cloud.dataplex.v1.Jo" + + "b\022\027\n\017next_page_token\030\002 \001(\t\"F\n\020CancelJobR" + + "equest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033dataplex." + + "googleapis.com/Job\"\316\001\n\030CreateEnvironment" + + "Request\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datapl" + + "ex.googleapis.com/Lake\022\034\n\016environment_id" + + "\030\002 \001(\tB\004\342A\001\002\022@\n\013environment\030\003 \001(\0132%.goog" + + "le.cloud.dataplex.v1.EnvironmentB\004\342A\001\002\022\033" + + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\260\001\n\030UpdateEn" + + "vironmentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\022@\n\013envir" + + "onment\030\002 \001(\0132%.google.cloud.dataplex.v1." + + "EnvironmentB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + + "B\004\342A\001\001\"V\n\030DeleteEnvironmentRequest\022:\n\004na" + + "me\030\001 \001(\tB,\342A\001\002\372A%\n#dataplex.googleapis.c" + + "om/Environment\"\261\001\n\027ListEnvironmentsReque" + + "st\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + + "ogleapis.com/Lake\022\027\n\tpage_size\030\002 \001(\005B\004\342A" + + "\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004" + + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"p\n\030Li" + + "stEnvironmentsResponse\022;\n\014environments\030\001" + + " \003(\0132%.google.cloud.dataplex.v1.Environm" + + "ent\022\027\n\017next_page_token\030\002 \001(\t\"S\n\025GetEnvir" + + "onmentRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#da" + + "taplex.googleapis.com/Environment\"\234\001\n\023Li" + + "stSessionsRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372" + + "A%\n#dataplex.googleapis.com/Environment\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"d\n\024List" + + "SessionsResponse\0223\n\010sessions\030\001 \003(\0132!.goo" + + "gle.cloud.dataplex.v1.Session\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t2\2542\n\017DataplexService\022\303\001\n\nC" + + "reateLake\022+.google.cloud.dataplex.v1.Cre" + + "ateLakeRequest\032\035.google.longrunning.Oper" + + "ation\"i\312A\031\n\004Lake\022\021OperationMetadata\332A\023pa" + + "rent,lake,lake_id\202\323\344\223\0021\")/v1/{parent=pro" + + "jects/*/locations/*}/lakes:\004lake\022\305\001\n\nUpd" + + "ateLake\022+.google.cloud.dataplex.v1.Updat" + + "eLakeRequest\032\035.google.longrunning.Operat" + + "ion\"k\312A\031\n\004Lake\022\021OperationMetadata\332A\020lake" + + ",update_mask\202\323\344\223\00262./v1/{lake.name=proje" + + "cts/*/locations/*/lakes/*}:\004lake\022\277\001\n\nDel" + + "eteLake\022+.google.cloud.dataplex.v1.Delet" + + "eLakeRequest\032\035.google.longrunning.Operat" + + "ion\"e\312A*\n\025google.protobuf.Empty\022\021Operati" + + "onMetadata\332A\004name\202\323\344\223\002+*)/v1/{name=proje" + + "cts/*/locations/*/lakes/*}\022\240\001\n\tListLakes" + + "\022*.google.cloud.dataplex.v1.ListLakesReq" + + "uest\032+.google.cloud.dataplex.v1.ListLake" + + "sResponse\":\332A\006parent\202\323\344\223\002+\022)/v1/{parent=" + + "projects/*/locations/*}/lakes\022\215\001\n\007GetLak" + + "e\022(.google.cloud.dataplex.v1.GetLakeRequ" + + "est\032\036.google.cloud.dataplex.v1.Lake\"8\332A\004" + + "name\202\323\344\223\002+\022)/v1/{name=projects/*/locatio" + + "ns/*/lakes/*}\022\270\001\n\017ListLakeActions\0220.goog" + + "le.cloud.dataplex.v1.ListLakeActionsRequ" + + "est\032-.google.cloud.dataplex.v1.ListActio" + + "nsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent" + + "=projects/*/locations/*/lakes/*}/actions" + + "\022\313\001\n\nCreateZone\022+.google.cloud.dataplex." + + "v1.CreateZoneRequest\032\035.google.longrunnin" + + "g.Operation\"q\312A\031\n\004Zone\022\021OperationMetadat" + + "a\332A\023parent,zone,zone_id\202\323\344\223\0029\"1/v1/{pare" + + "nt=projects/*/locations/*/lakes/*}/zones" + + ":\004zone\022\315\001\n\nUpdateZone\022+.google.cloud.dat" + + "aplex.v1.UpdateZoneRequest\032\035.google.long" + + "running.Operation\"s\312A\031\n\004Zone\022\021OperationM" + + "etadata\332A\020zone,update_mask\202\323\344\223\002>26/v1/{z" + + "one.name=projects/*/locations/*/lakes/*/" + + "zones/*}:\004zone\022\307\001\n\nDeleteZone\022+.google.c" + + "loud.dataplex.v1.DeleteZoneRequest\032\035.goo" + + "gle.longrunning.Operation\"m\312A*\n\025google.p" + + "rotobuf.Empty\022\021OperationMetadata\332A\004name\202" + + "\323\344\223\0023*1/v1/{name=projects/*/locations/*/" + + "lakes/*/zones/*}\022\250\001\n\tListZones\022*.google." + + "cloud.dataplex.v1.ListZonesRequest\032+.goo" + + "gle.cloud.dataplex.v1.ListZonesResponse\"" + + "B\332A\006parent\202\323\344\223\0023\0221/v1/{parent=projects/*" + + "/locations/*/lakes/*}/zones\022\225\001\n\007GetZone\022" + + "(.google.cloud.dataplex.v1.GetZoneReques" + + "t\032\036.google.cloud.dataplex.v1.Zone\"@\332A\004na" + + "me\202\323\344\223\0023\0221/v1/{name=projects/*/locations" + + "/*/lakes/*/zones/*}\022\300\001\n\017ListZoneActions\022" + + "0.google.cloud.dataplex.v1.ListZoneActio" + + "nsRequest\032-.google.cloud.dataplex.v1.Lis" + + "tActionsResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{" + + "parent=projects/*/locations/*/lakes/*/zo" + + "nes/*}/actions\022\332\001\n\013CreateAsset\022,.google." + + "cloud.dataplex.v1.CreateAssetRequest\032\035.g" + + "oogle.longrunning.Operation\"~\312A\032\n\005Asset\022" + + "\021OperationMetadata\332A\025parent,asset,asset_" + + "id\202\323\344\223\002C\":/v1/{parent=projects/*/locatio" + + "ns/*/lakes/*/zones/*}/assets:\005asset\022\335\001\n\013" + + "UpdateAsset\022,.google.cloud.dataplex.v1.U" + + "pdateAssetRequest\032\035.google.longrunning.O" + + "peration\"\200\001\312A\032\n\005Asset\022\021OperationMetadata" + + "\332A\021asset,update_mask\202\323\344\223\002I2@/v1/{asset.n" + + "ame=projects/*/locations/*/lakes/*/zones" + + "/*/assets/*}:\005asset\022\322\001\n\013DeleteAsset\022,.go" + + "ogle.cloud.dataplex.v1.DeleteAssetReques" + + "t\032\035.google.longrunning.Operation\"v\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\332" + + "A\004name\202\323\344\223\002<*:/v1/{name=projects/*/locat" + + "ions/*/lakes/*/zones/*/assets/*}\022\264\001\n\nLis" + + "tAssets\022+.google.cloud.dataplex.v1.ListA" + + "ssetsRequest\032,.google.cloud.dataplex.v1." + + "ListAssetsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "zones/*}/assets\022\241\001\n\010GetAsset\022).google.cl" + + "oud.dataplex.v1.GetAssetRequest\032\037.google" + + ".cloud.dataplex.v1.Asset\"I\332A\004name\202\323\344\223\002<\022" + + ":/v1/{name=projects/*/locations/*/lakes/" + + "*/zones/*/assets/*}\022\313\001\n\020ListAssetActions" + + "\0221.google.cloud.dataplex.v1.ListAssetAct" + + "ionsRequest\032-.google.cloud.dataplex.v1.L" + + "istActionsResponse\"U\332A\006parent\202\323\344\223\002F\022D/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "zones/*/assets/*}/actions\022\313\001\n\nCreateTask" + + "\022+.google.cloud.dataplex.v1.CreateTaskRe" + + "quest\032\035.google.longrunning.Operation\"q\312A" + + "\031\n\004Task\022\021OperationMetadata\332A\023parent,task" + + ",task_id\202\323\344\223\0029\"1/v1/{parent=projects/*/l" + + "ocations/*/lakes/*}/tasks:\004task\022\315\001\n\nUpda" + + "teTask\022+.google.cloud.dataplex.v1.Update" + + "TaskRequest\032\035.google.longrunning.Operati" + + "on\"s\312A\031\n\004Task\022\021OperationMetadata\332A\020task," + + "update_mask\202\323\344\223\002>26/v1/{task.name=projec" + + "ts/*/locations/*/lakes/*/tasks/*}:\004task\022" + + "\307\001\n\nDeleteTask\022+.google.cloud.dataplex.v" + + "1.DeleteTaskRequest\032\035.google.longrunning" + + ".Operation\"m\312A*\n\025google.protobuf.Empty\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\0023*1/v1/{nam" + + "e=projects/*/locations/*/lakes/*/tasks/*" + + "}\022\250\001\n\tListTasks\022*.google.cloud.dataplex." + + "v1.ListTasksRequest\032+.google.cloud.datap" + + "lex.v1.ListTasksResponse\"B\332A\006parent\202\323\344\223\002" + + "3\0221/v1/{parent=projects/*/locations/*/la" + + "kes/*}/tasks\022\225\001\n\007GetTask\022(.google.cloud." + + "dataplex.v1.GetTaskRequest\032\036.google.clou" + + "d.dataplex.v1.Task\"@\332A\004name\202\323\344\223\0023\0221/v1/{" + + "name=projects/*/locations/*/lakes/*/task" + + "s/*}\022\254\001\n\010ListJobs\022).google.cloud.dataple" + + "x.v1.ListJobsRequest\032*.google.cloud.data" + + "plex.v1.ListJobsResponse\"I\332A\006parent\202\323\344\223\002" + + ":\0228/v1/{parent=projects/*/locations/*/la" + + "kes/*/tasks/*}/jobs\022\247\001\n\007RunTask\022(.google" + + ".cloud.dataplex.v1.RunTaskRequest\032).goog" + + "le.cloud.dataplex.v1.RunTaskResponse\"G\332A" + + "\004name\202\323\344\223\002:\"5/v1/{name=projects/*/locati" + + "ons/*/lakes/*/tasks/*}:run:\001*\022\231\001\n\006GetJob" + + "\022\'.google.cloud.dataplex.v1.GetJobReques" + + "t\032\035.google.cloud.dataplex.v1.Job\"G\332A\004nam" + + "e\202\323\344\223\002:\0228/v1/{name=projects/*/locations/" + + "*/lakes/*/tasks/*/jobs/*}\022\242\001\n\tCancelJob\022" + + "*.google.cloud.dataplex.v1.CancelJobRequ" + + "est\032\026.google.protobuf.Empty\"Q\332A\004name\202\323\344\223" + + "\002D\"?/v1/{name=projects/*/locations/*/lak" + + "es/*/tasks/*/jobs/*}:cancel:\001*\022\375\001\n\021Creat" + + "eEnvironment\0222.google.cloud.dataplex.v1." + + "CreateEnvironmentRequest\032\035.google.longru" + + "nning.Operation\"\224\001\312A \n\013Environment\022\021Oper" + + "ationMetadata\332A!parent,environment,envir" + + "onment_id\202\323\344\223\002G\"8/v1/{parent=projects/*/" + + "locations/*/lakes/*}/environments:\013envir" + + "onment\022\377\001\n\021UpdateEnvironment\0222.google.cl" + + "oud.dataplex.v1.UpdateEnvironmentRequest" + + "\032\035.google.longrunning.Operation\"\226\001\312A \n\013E" + + "nvironment\022\021OperationMetadata\332A\027environm" + + "ent,update_mask\202\323\344\223\002S2D/v1/{environment." + + "name=projects/*/locations/*/lakes/*/envi" + + "ronments/*}:\013environment\022\334\001\n\021DeleteEnvir" + + "onment\0222.google.cloud.dataplex.v1.Delete" + + "EnvironmentRequest\032\035.google.longrunning." + + "Operation\"t\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\332A\004name\202\323\344\223\002:*8/v1/{name" + + "=projects/*/locations/*/lakes/*/environm" + + "ents/*}\022\304\001\n\020ListEnvironments\0221.google.cl" + + "oud.dataplex.v1.ListEnvironmentsRequest\032" + + "2.google.cloud.dataplex.v1.ListEnvironme" + + "ntsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren" + + "t=projects/*/locations/*/lakes/*}/enviro" + + "nments\022\261\001\n\016GetEnvironment\022/.google.cloud" + + ".dataplex.v1.GetEnvironmentRequest\032%.goo" + + "gle.cloud.dataplex.v1.Environment\"G\332A\004na" + + "me\202\323\344\223\002:\0228/v1/{name=projects/*/locations" + + "/*/lakes/*/environments/*}\022\303\001\n\014ListSessi" + + "ons\022-.google.cloud.dataplex.v1.ListSessi" + + "onsRequest\032..google.cloud.dataplex.v1.Li" + + "stSessionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "environments/*}/sessions\032K\312A\027dataplex.go" + + "ogleapis.com\322A.https://www.googleapis.co" + + "m/auth/cloud-platformBh\n\034com.google.clou" + + "d.dataplex.v1B\014ServiceProtoP\001Z8cloud.goo" + + "gle.com/go/dataplex/apiv1/dataplexpb;dat" + + "aplexpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.cloud.dataplex.v1.TasksProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor, + new java.lang.String[] { "Parent", "LakeId", "Lake", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Lake", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor, + new java.lang.String[] { "Lakes", "NextPageToken", "UnreachableLocations", }); + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor, + new java.lang.String[] { "Actions", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor, + new java.lang.String[] { "Parent", "ZoneId", "Zone", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Zone", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor, + new java.lang.String[] { "Zones", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor, + new java.lang.String[] { "Parent", "AssetId", "Asset", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Asset", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor, + new java.lang.String[] { "Assets", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor, + new java.lang.String[] { "Parent", "TaskId", "Task", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Task", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor, + new java.lang.String[] { "Tasks", "NextPageToken", "UnreachableLocations", }); + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor, + new java.lang.String[] { "Name", "Labels", "Args", }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor, + new java.lang.String[] { "Job", }); + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor, + new java.lang.String[] { "Parent", "EnvironmentId", "Environment", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Environment", "ValidateOnly", }); + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor, + new java.lang.String[] { "Environments", "NextPageToken", }); + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor, + new java.lang.String[] { "Sessions", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.cloud.dataplex.v1.TasksProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java index 70ba4c023ef2..1a54ece67121 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Represents an active analyze session running for a user.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Session} */ -public final class Session extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Session extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Session) SessionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Session.newBuilder() to construct. private Session(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Session() { name_ = ""; userId_ = ""; @@ -45,41 +27,34 @@ private Session() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Session(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Session.class, - com.google.cloud.dataplex.v1.Session.Builder.class); + com.google.cloud.dataplex.v1.Session.class, com.google.cloud.dataplex.v1.Session.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,32 +63,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; } } /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int USER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** - * - * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The userId. */ @java.lang.Override @@ -142,29 +111,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -175,15 +144,11 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -191,15 +156,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -207,14 +168,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -224,42 +182,30 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** - * - * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -300,10 +247,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,18 +262,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Session)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Session other = (com.google.cloud.dataplex.v1.Session) obj; - if (!getName().equals(other.getName())) return false; - if (!getUserId().equals(other.getUserId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUserId() + .equals(other.getUserId())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -353,135 +305,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Session parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Session parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Session parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Session parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Session parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Session parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Session parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Session parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Session parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Session parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Session prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 an active analyze session running for a user.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Session} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Session) com.google.cloud.dataplex.v1.SessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Session.class, - com.google.cloud.dataplex.v1.Session.Builder.class); + com.google.cloud.dataplex.v1.Session.class, com.google.cloud.dataplex.v1.Session.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Session.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto - .internal_static_google_cloud_dataplex_v1_Session_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override @@ -520,9 +469,7 @@ public com.google.cloud.dataplex.v1.Session build() { @java.lang.Override public com.google.cloud.dataplex.v1.Session buildPartial() { com.google.cloud.dataplex.v1.Session result = new com.google.cloud.dataplex.v1.Session(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -536,7 +483,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Session result) { result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.state_ = state_; @@ -547,39 +496,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Session result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Session) { - return mergeFrom((com.google.cloud.dataplex.v1.Session) other); + return mergeFrom((com.google.cloud.dataplex.v1.Session)other); } else { super.mergeFrom(other); return this; @@ -630,37 +578,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -670,28 +615,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -700,24 +640,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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,41 +662,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -769,24 +695,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -796,20 +716,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -818,21 +736,20 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -840,35 +757,28 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -878,21 +788,17 @@ public Builder clearUserId() { return this; } /** - * - * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -902,58 +808,39 @@ public Builder setUserIdBytes(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. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -969,17 +856,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -990,21 +874,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1017,15 +897,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1038,15 +914,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1054,48 +926,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Session start time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1103,31 +963,22 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1138,33 +989,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1178,15 +1020,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1195,9 +1033,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1207,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Session) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Session) private static final com.google.cloud.dataplex.v1.Session DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Session(); } @@ -1221,27 +1059,27 @@ public static com.google.cloud.dataplex.v1.Session getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Session parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Session parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,4 +1094,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Session getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java similarity index 73% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java index b39bf77a8827..f19683fc62df 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * These messages contain information about sessions within an environment.
  * The monitored resource is 'Environment'.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent}
  */
-public final class SessionEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SessionEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.SessionEvent)
     SessionEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SessionEvent.newBuilder() to construct.
   private SessionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SessionEvent() {
     message_ = "";
     userId_ = "";
@@ -47,38 +29,34 @@ private SessionEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SessionEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto
-        .internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.SessionEvent.class,
-            com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
+            com.google.cloud.dataplex.v1.SessionEvent.class, com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.SessionEvent.EventType} */ - public enum EventType implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified event type.
      * 
@@ -87,8 +65,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Event when the session is assigned to a user.
      * 
@@ -97,8 +73,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ START(1), /** - * - * *
      * Event for stop of a session.
      * 
@@ -107,8 +81,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ STOP(2), /** - * - * *
      * Query events in the session.
      * 
@@ -117,8 +89,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ QUERY(3), /** - * - * *
      * Event for creation of a cluster. It is not yet assigned to a user.
      * This comes before START in the sequence
@@ -131,8 +101,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * An unspecified event type.
      * 
@@ -141,8 +109,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Event when the session is assigned to a user.
      * 
@@ -151,8 +117,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int START_VALUE = 1; /** - * - * *
      * Event for stop of a session.
      * 
@@ -161,8 +125,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOP_VALUE = 2; /** - * - * *
      * Query events in the session.
      * 
@@ -171,8 +133,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int QUERY_VALUE = 3; /** - * - * *
      * Event for creation of a cluster. It is not yet assigned to a user.
      * This comes before START in the sequence
@@ -182,6 +142,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATE_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -206,53 +167,51 @@ public static EventType valueOf(int value) {
      */
     public static EventType forNumber(int value) {
       switch (value) {
-        case 0:
-          return EVENT_TYPE_UNSPECIFIED;
-        case 1:
-          return START;
-        case 2:
-          return STOP;
-        case 3:
-          return QUERY;
-        case 4:
-          return CREATE;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return EVENT_TYPE_UNSPECIFIED;
+        case 1: return START;
+        case 2: return STOP;
+        case 3: return QUERY;
+        case 4: return CREATE;
+        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.cloud.dataplex.v1.SessionEvent.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;
@@ -269,113 +228,88 @@ private EventType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.SessionEvent.EventType)
   }
 
-  public interface QueryDetailOrBuilder
-      extends
+  public interface QueryDetailOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.SessionEvent.QueryDetail)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; - * * @return The queryId. */ java.lang.String getQueryId(); /** - * - * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; - * * @return The bytes for queryId. */ - com.google.protobuf.ByteString getQueryIdBytes(); + com.google.protobuf.ByteString + getQueryIdBytes(); /** - * - * *
      * The query text executed.
      * 
* * string query_text = 2; - * * @return The queryText. */ java.lang.String getQueryText(); /** - * - * *
      * The query text executed.
      * 
* * string query_text = 2; - * * @return The bytes for queryText. */ - com.google.protobuf.ByteString getQueryTextBytes(); + com.google.protobuf.ByteString + getQueryTextBytes(); /** - * - * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The enum numeric value on the wire for engine. */ int getEngineValue(); /** - * - * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The engine. */ com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine(); /** - * - * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Time taken for execution of the query.
      * 
@@ -385,50 +319,41 @@ public interface QueryDetailOrBuilder com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** - * - * *
      * The size of results the query produced.
      * 
* * int64 result_size_bytes = 5; - * * @return The resultSizeBytes. */ long getResultSizeBytes(); /** - * - * *
      * The data processed by the query.
      * 
* * int64 data_processed_bytes = 6; - * * @return The dataProcessedBytes. */ long getDataProcessedBytes(); } /** - * - * *
    * Execution details of the query.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail} */ - public static final class QueryDetail extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryDetail extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.SessionEvent.QueryDetail) QueryDetailOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDetail.newBuilder() to construct. private QueryDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryDetail() { queryId_ = ""; queryText_ = ""; @@ -437,38 +362,34 @@ private QueryDetail() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryDetail(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); } /** - * - * *
      * Query Execution engine.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine} */ - public enum Engine implements com.google.protobuf.ProtocolMessageEnum { + public enum Engine + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * An unspecified Engine type.
        * 
@@ -477,8 +398,6 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { */ ENGINE_UNSPECIFIED(0), /** - * - * *
        * Spark-sql engine is specified in Query.
        * 
@@ -487,8 +406,6 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { */ SPARK_SQL(1), /** - * - * *
        * BigQuery engine is specified in Query.
        * 
@@ -500,8 +417,6 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * An unspecified Engine type.
        * 
@@ -510,8 +425,6 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENGINE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Spark-sql engine is specified in Query.
        * 
@@ -520,8 +433,6 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPARK_SQL_VALUE = 1; /** - * - * *
        * BigQuery engine is specified in Query.
        * 
@@ -530,6 +441,7 @@ public enum Engine implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -554,51 +466,49 @@ public static Engine valueOf(int value) { */ public static Engine forNumber(int value) { switch (value) { - case 0: - return ENGINE_UNSPECIFIED; - case 1: - return SPARK_SQL; - case 2: - return BIGQUERY; - default: - return null; + case 0: return ENGINE_UNSPECIFIED; + case 1: return SPARK_SQL; + case 2: return BIGQUERY; + 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< + Engine> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Engine findValueByNumber(int number) { + return Engine.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Engine findValueByNumber(int number) { - return Engine.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDescriptor().getEnumTypes().get(0); } private static final Engine[] VALUES = values(); - public static Engine valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Engine 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; @@ -616,18 +526,14 @@ private Engine(int value) { } public static final int QUERY_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object queryId_ = ""; /** - * - * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; - * * @return The queryId. */ @java.lang.Override @@ -636,29 +542,29 @@ public java.lang.String getQueryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryId_ = s; return s; } } /** - * - * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; - * * @return The bytes for queryId. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryIdBytes() { + public com.google.protobuf.ByteString + getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryId_ = b; return b; } else { @@ -667,18 +573,14 @@ public com.google.protobuf.ByteString getQueryIdBytes() { } public static final int QUERY_TEXT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object queryText_ = ""; /** - * - * *
      * The query text executed.
      * 
* * string query_text = 2; - * * @return The queryText. */ @java.lang.Override @@ -687,29 +589,29 @@ public java.lang.String getQueryText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryText_ = s; return s; } } /** - * - * *
      * The query text executed.
      * 
* * string query_text = 2; - * * @return The bytes for queryText. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryTextBytes() { + public com.google.protobuf.ByteString + getQueryTextBytes() { java.lang.Object ref = queryText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryText_ = b; return b; } else { @@ -720,51 +622,37 @@ public com.google.protobuf.ByteString getQueryTextBytes() { public static final int ENGINE_FIELD_NUMBER = 3; private int engine_ = 0; /** - * - * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override - public int getEngineValue() { + @java.lang.Override public int getEngineValue() { return engine_; } /** - * - * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The engine. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); - return result == null - ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); + return result == null ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED : result; } public static final int DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration duration_; /** - * - * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -772,14 +660,11 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; - * * @return The duration. */ @java.lang.Override @@ -787,8 +672,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Time taken for execution of the query.
      * 
@@ -803,14 +686,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int RESULT_SIZE_BYTES_FIELD_NUMBER = 5; private long resultSizeBytes_ = 0L; /** - * - * *
      * The size of results the query produced.
      * 
* * int64 result_size_bytes = 5; - * * @return The resultSizeBytes. */ @java.lang.Override @@ -821,14 +701,11 @@ public long getResultSizeBytes() { public static final int DATA_PROCESSED_BYTES_FIELD_NUMBER = 6; private long dataProcessedBytes_ = 0L; /** - * - * *
      * The data processed by the query.
      * 
* * int64 data_processed_bytes = 6; - * * @return The dataProcessedBytes. */ @java.lang.Override @@ -837,7 +714,6 @@ public long getDataProcessedBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -849,16 +725,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryText_); } - if (engine_ - != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED - .getNumber()) { + if (engine_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED.getNumber()) { output.writeEnum(3, engine_); } if (duration_ != null) { @@ -885,19 +760,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryText_); } - if (engine_ - != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, engine_); + if (engine_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, engine_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDuration()); } if (resultSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, resultSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, resultSizeBytes_); } if (dataProcessedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, dataProcessedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, dataProcessedBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -907,23 +784,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.SessionEvent.QueryDetail)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other = - (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) obj; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other = (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) obj; - if (!getQueryId().equals(other.getQueryId())) return false; - if (!getQueryText().equals(other.getQueryText())) return false; + if (!getQueryId() + .equals(other.getQueryId())) return false; + if (!getQueryText() + .equals(other.getQueryText())) return false; if (engine_ != other.engine_) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } - if (getResultSizeBytes() != other.getResultSizeBytes()) return false; - if (getDataProcessedBytes() != other.getDataProcessedBytes()) return false; + if (getResultSizeBytes() + != other.getResultSizeBytes()) return false; + if (getDataProcessedBytes() + != other.getDataProcessedBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -946,103 +827,100 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + RESULT_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResultSizeBytes()); hash = (37 * hash) + DATA_PROCESSED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataProcessedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataProcessedBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1052,41 +930,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Execution details of the query.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.SessionEvent.QueryDetail) com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); } // Construct using com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1105,9 +981,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto - .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override @@ -1126,11 +1002,8 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail build() { @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail buildPartial() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result = - new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result = new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1147,7 +1020,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result.engine_ = engine_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build(); + result.duration_ = durationBuilder_ == null + ? duration_ + : durationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.resultSizeBytes_ = resultSizeBytes_; @@ -1161,41 +1036,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) { - return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) other); + return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail)other); } else { super.mergeFrom(other); return this; @@ -1203,8 +1075,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other) { - if (other == com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) return this; if (!other.getQueryId().isEmpty()) { queryId_ = other.queryId_; bitField0_ |= 0x00000001; @@ -1253,49 +1124,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - queryId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - queryText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - engine_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - resultSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - dataProcessedBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + queryId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + queryText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + engine_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + resultSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + dataProcessedBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1305,25 +1171,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object queryId_ = ""; /** - * - * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; - * * @return The queryId. */ public java.lang.String getQueryId() { java.lang.Object ref = queryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryId_ = s; return s; @@ -1332,21 +1195,20 @@ public java.lang.String getQueryId() { } } /** - * - * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; - * * @return The bytes for queryId. */ - public com.google.protobuf.ByteString getQueryIdBytes() { + public com.google.protobuf.ByteString + getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryId_ = b; return b; } else { @@ -1354,35 +1216,28 @@ public com.google.protobuf.ByteString getQueryIdBytes() { } } /** - * - * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; - * * @param value The queryId to set. * @return This builder for chaining. */ - public Builder setQueryId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; - * * @return This builder for chaining. */ public Builder clearQueryId() { @@ -1392,21 +1247,17 @@ public Builder clearQueryId() { return this; } /** - * - * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; - * * @param value The bytes for queryId to set. * @return This builder for chaining. */ - public Builder setQueryIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryId_ = value; bitField0_ |= 0x00000001; @@ -1416,20 +1267,18 @@ public Builder setQueryIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object queryText_ = ""; /** - * - * *
        * The query text executed.
        * 
* * string query_text = 2; - * * @return The queryText. */ public java.lang.String getQueryText() { java.lang.Object ref = queryText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryText_ = s; return s; @@ -1438,21 +1287,20 @@ public java.lang.String getQueryText() { } } /** - * - * *
        * The query text executed.
        * 
* * string query_text = 2; - * * @return The bytes for queryText. */ - public com.google.protobuf.ByteString getQueryTextBytes() { + public com.google.protobuf.ByteString + getQueryTextBytes() { java.lang.Object ref = queryText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryText_ = b; return b; } else { @@ -1460,35 +1308,28 @@ public com.google.protobuf.ByteString getQueryTextBytes() { } } /** - * - * *
        * The query text executed.
        * 
* * string query_text = 2; - * * @param value The queryText to set. * @return This builder for chaining. */ - public Builder setQueryText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The query text executed.
        * 
* * string query_text = 2; - * * @return This builder for chaining. */ public Builder clearQueryText() { @@ -1498,21 +1339,17 @@ public Builder clearQueryText() { return this; } /** - * - * *
        * The query text executed.
        * 
* * string query_text = 2; - * * @param value The bytes for queryText to set. * @return This builder for chaining. */ - public Builder setQueryTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryText_ = value; bitField0_ |= 0x00000002; @@ -1522,29 +1359,22 @@ public Builder setQueryTextBytes(com.google.protobuf.ByteString value) { private int engine_ = 0; /** - * - * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override - public int getEngineValue() { + @java.lang.Override public int getEngineValue() { return engine_; } /** - * - * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @param value The enum numeric value on the wire for engine to set. * @return This builder for chaining. */ @@ -1555,33 +1385,24 @@ public Builder setEngineValue(int value) { return this; } /** - * - * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return The engine. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); - return result == null - ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); + return result == null ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED : result; } /** - * - * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @param value The engine to set. * @return This builder for chaining. */ @@ -1595,14 +1416,11 @@ public Builder setEngine(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.E return this; } /** - * - * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; - * * @return This builder for chaining. */ public Builder clearEngine() { @@ -1614,33 +1432,24 @@ public Builder clearEngine() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1651,8 +1460,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1673,15 +1480,14 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; */ - public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); } else { @@ -1692,8 +1498,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1702,9 +1506,9 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && duration_ != null - && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + duration_ != null && + duration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDurationBuilder().mergeFrom(value); } else { duration_ = value; @@ -1717,8 +1521,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1736,8 +1538,6 @@ public Builder clearDuration() { return this; } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1750,8 +1550,6 @@ public com.google.protobuf.Duration.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1762,12 +1560,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** - * - * *
        * Time taken for execution of the query.
        * 
@@ -1775,32 +1572,26 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { * .google.protobuf.Duration duration = 4; */ 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> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getDuration(), getParentForChildren(), isClean()); + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); duration_ = null; } return durationBuilder_; } - private long resultSizeBytes_; + private long resultSizeBytes_ ; /** - * - * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; - * * @return The resultSizeBytes. */ @java.lang.Override @@ -1808,14 +1599,11 @@ public long getResultSizeBytes() { return resultSizeBytes_; } /** - * - * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; - * * @param value The resultSizeBytes to set. * @return This builder for chaining. */ @@ -1827,14 +1615,11 @@ public Builder setResultSizeBytes(long value) { return this; } /** - * - * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; - * * @return This builder for chaining. */ public Builder clearResultSizeBytes() { @@ -1844,16 +1629,13 @@ public Builder clearResultSizeBytes() { return this; } - private long dataProcessedBytes_; + private long dataProcessedBytes_ ; /** - * - * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; - * * @return The dataProcessedBytes. */ @java.lang.Override @@ -1861,14 +1643,11 @@ public long getDataProcessedBytes() { return dataProcessedBytes_; } /** - * - * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; - * * @param value The dataProcessedBytes to set. * @return This builder for chaining. */ @@ -1880,14 +1659,11 @@ public Builder setDataProcessedBytes(long value) { return this; } /** - * - * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; - * * @return This builder for chaining. */ public Builder clearDataProcessedBytes() { @@ -1896,7 +1672,6 @@ public Builder clearDataProcessedBytes() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1909,12 +1684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.SessionEvent.QueryDetail) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.SessionEvent.QueryDetail) private static final com.google.cloud.dataplex.v1.SessionEvent.QueryDetail DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(); } @@ -1923,28 +1698,27 @@ public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1959,21 +1733,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int detailCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object detail_; - public enum DetailCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(5), DETAIL_NOT_SET(0); private final int value; - private DetailCase(int value) { this.value = value; } @@ -1989,37 +1760,31 @@ public static DetailCase valueOf(int value) { public static DetailCase forNumber(int value) { switch (value) { - case 5: - return QUERY; - case 0: - return DETAIL_NOT_SET; - default: - return null; + case 5: return QUERY; + case 0: return DETAIL_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailCase getDetailCase() { - return DetailCase.forNumber(detailCase_); + public DetailCase + getDetailCase() { + return DetailCase.forNumber( + detailCase_); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -2028,29 +1793,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2059,19 +1824,15 @@ public com.google.protobuf.ByteString getMessageBytes() { } public static final int USER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** - * - * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; - * * @return The userId. */ @java.lang.Override @@ -2080,30 +1841,30 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -2112,18 +1873,14 @@ public com.google.protobuf.ByteString getUserIdBytes() { } public static final int SESSION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** - * - * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; - * * @return The sessionId. */ @java.lang.Override @@ -2132,29 +1889,29 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** - * - * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; - * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -2165,50 +1922,36 @@ public com.google.protobuf.ByteString getSessionIdBytes() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @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 the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { - com.google.cloud.dataplex.v1.SessionEvent.EventType result = - com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { + com.google.cloud.dataplex.v1.SessionEvent.EventType result = com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED : result; } public static final int QUERY_FIELD_NUMBER = 5; /** - * - * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return Whether the query field is set. */ @java.lang.Override @@ -2216,26 +1959,21 @@ public boolean hasQuery() { return detailCase_ == 5; } /** - * - * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return The query. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { if (detailCase_ == 5) { - return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; + return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; } return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } /** - * - * *
    * The execution details of the query.
    * 
@@ -2245,7 +1983,7 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOrBuilder() { if (detailCase_ == 5) { - return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; + return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; } return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } @@ -2253,14 +1991,11 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr public static final int EVENT_SUCCEEDED_FIELD_NUMBER = 6; private boolean eventSucceeded_ = false; /** - * - * *
    * The status of the event.
    * 
* * bool event_succeeded = 6; - * * @return The eventSucceeded. */ @java.lang.Override @@ -2271,15 +2006,12 @@ public boolean getEventSucceeded() { public static final int FAST_STARTUP_ENABLED_FIELD_NUMBER = 7; private boolean fastStartupEnabled_ = false; /** - * - * *
    * If the session is associated with an environment with fast startup enabled,
    * and was created before being assigned to a user.
    * 
* * bool fast_startup_enabled = 7; - * * @return The fastStartupEnabled. */ @java.lang.Override @@ -2290,14 +2022,11 @@ public boolean getFastStartupEnabled() { public static final int UNASSIGNED_DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration unassignedDuration_; /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return Whether the unassignedDuration field is set. */ @java.lang.Override @@ -2305,25 +2034,18 @@ public boolean hasUnassignedDuration() { return unassignedDuration_ != null; } /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return The unassignedDuration. */ @java.lang.Override public com.google.protobuf.Duration getUnassignedDuration() { - return unassignedDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : unassignedDuration_; + return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; } /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
@@ -2332,13 +2054,10 @@ public com.google.protobuf.Duration getUnassignedDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { - return unassignedDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : unassignedDuration_; + return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2350,7 +2069,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -2360,8 +2080,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sessionId_); } - if (type_ - != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } if (detailCase_ == 5) { @@ -2394,23 +2113,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sessionId_); } - if (type_ - != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + if (type_ != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); } if (detailCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_); } if (eventSucceeded_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, eventSucceeded_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, eventSucceeded_); } if (fastStartupEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, fastStartupEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, fastStartupEnabled_); } if (unassignedDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUnassignedDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUnassignedDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2420,28 +2141,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.SessionEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.SessionEvent other = - (com.google.cloud.dataplex.v1.SessionEvent) obj; + com.google.cloud.dataplex.v1.SessionEvent other = (com.google.cloud.dataplex.v1.SessionEvent) obj; - if (!getMessage().equals(other.getMessage())) return false; - if (!getUserId().equals(other.getUserId())) return false; - if (!getSessionId().equals(other.getSessionId())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getUserId() + .equals(other.getUserId())) return false; + if (!getSessionId() + .equals(other.getSessionId())) return false; if (type_ != other.type_) return false; - if (getEventSucceeded() != other.getEventSucceeded()) return false; - if (getFastStartupEnabled() != other.getFastStartupEnabled()) return false; + if (getEventSucceeded() + != other.getEventSucceeded()) return false; + if (getFastStartupEnabled() + != other.getFastStartupEnabled()) return false; if (hasUnassignedDuration() != other.hasUnassignedDuration()) return false; if (hasUnassignedDuration()) { - if (!getUnassignedDuration().equals(other.getUnassignedDuration())) return false; + if (!getUnassignedDuration() + .equals(other.getUnassignedDuration())) return false; } if (!getDetailCase().equals(other.getDetailCase())) return false; switch (detailCase_) { case 5: - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; break; case 0: default: @@ -2466,9 +2193,11 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + EVENT_SUCCEEDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEventSucceeded()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEventSucceeded()); hash = (37 * hash) + FAST_STARTUP_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastStartupEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFastStartupEnabled()); if (hasUnassignedDuration()) { hash = (37 * hash) + UNASSIGNED_DURATION_FIELD_NUMBER; hash = (53 * hash) + getUnassignedDuration().hashCode(); @@ -2486,104 +2215,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.SessionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * These messages contain information about sessions within an environment.
    * The monitored resource is 'Environment'.
@@ -2591,32 +2315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.SessionEvent)
       com.google.cloud.dataplex.v1.SessionEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.SessionEvent.class,
-              com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
+              com.google.cloud.dataplex.v1.SessionEvent.class, com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.SessionEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2641,9 +2366,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto
-          .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
     }
 
     @java.lang.Override
@@ -2662,11 +2387,8 @@ public com.google.cloud.dataplex.v1.SessionEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.SessionEvent buildPartial() {
-      com.google.cloud.dataplex.v1.SessionEvent result =
-          new com.google.cloud.dataplex.v1.SessionEvent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.SessionEvent result = new com.google.cloud.dataplex.v1.SessionEvent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2693,17 +2415,17 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent result) {
         result.fastStartupEnabled_ = fastStartupEnabled_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.unassignedDuration_ =
-            unassignedDurationBuilder_ == null
-                ? unassignedDuration_
-                : unassignedDurationBuilder_.build();
+        result.unassignedDuration_ = unassignedDurationBuilder_ == null
+            ? unassignedDuration_
+            : unassignedDurationBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.SessionEvent result) {
       result.detailCase_ = detailCase_;
       result.detail_ = this.detail_;
-      if (detailCase_ == 5 && queryBuilder_ != null) {
+      if (detailCase_ == 5 &&
+          queryBuilder_ != null) {
         result.detail_ = queryBuilder_.build();
       }
     }
@@ -2712,39 +2434,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.SessionEvent result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.SessionEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2781,15 +2502,13 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.SessionEvent other) {
         mergeUnassignedDuration(other.getUnassignedDuration());
       }
       switch (other.getDetailCase()) {
-        case QUERY:
-          {
-            mergeQuery(other.getQuery());
-            break;
-          }
-        case DETAIL_NOT_SET:
-          {
-            break;
-          }
+        case QUERY: {
+          mergeQuery(other.getQuery());
+          break;
+        }
+        case DETAIL_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2817,62 +2536,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                message_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                userId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sessionId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
-                detailCase_ = 5;
-                break;
-              } // case 42
-            case 48:
-              {
-                eventSucceeded_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 56:
-              {
-                fastStartupEnabled_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-            case 66:
-              {
-                input.readMessage(
-                    getUnassignedDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              message_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              userId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sessionId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              detailCase_ = 5;
+              break;
+            } // case 42
+            case 48: {
+              eventSucceeded_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 56: {
+              fastStartupEnabled_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 56
+            case 66: {
+              input.readMessage(
+                  getUnassignedDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2882,12 +2595,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int detailCase_ = 0;
     private java.lang.Object detail_;
-
-    public DetailCase getDetailCase() {
-      return DetailCase.forNumber(detailCase_);
+    public DetailCase
+        getDetailCase() {
+      return DetailCase.forNumber(
+          detailCase_);
     }
 
     public Builder clearDetail() {
@@ -2901,20 +2614,18 @@ public Builder clearDetail() {
 
     private java.lang.Object message_ = "";
     /**
-     *
-     *
      * 
      * The log message.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2923,21 +2634,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2945,35 +2655,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2983,21 +2686,17 @@ public Builder clearMessage() { return this; } /** - * - * *
      * The log message.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -3007,21 +2706,19 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -3030,22 +2727,21 @@ public java.lang.String getUserId() { } } /** - * - * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -3053,37 +2749,30 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -3093,22 +2782,18 @@ public Builder clearUserId() { return this; } /** - * - * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -3118,20 +2803,18 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sessionId_ = ""; /** - * - * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; - * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -3140,21 +2823,20 @@ public java.lang.String getSessionId() { } } /** - * - * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; - * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -3162,35 +2844,28 @@ public com.google.protobuf.ByteString getSessionIdBytes() { } } /** - * - * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; - * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; - * * @return This builder for chaining. */ public Builder clearSessionId() { @@ -3200,21 +2875,17 @@ public Builder clearSessionId() { return this; } /** - * - * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; - * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000004; @@ -3224,29 +2895,22 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @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 the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3257,33 +2921,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { - com.google.cloud.dataplex.v1.SessionEvent.EventType result = - com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.SessionEvent.EventType result = com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -3297,14 +2952,11 @@ public Builder setType(com.google.cloud.dataplex.v1.SessionEvent.EventType value return this; } /** - * - * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3315,19 +2967,13 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> - queryBuilder_; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> queryBuilder_; /** - * - * *
      * The execution details of the query.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return Whether the query field is set. */ @java.lang.Override @@ -3335,14 +2981,11 @@ public boolean hasQuery() { return detailCase_ == 5; } /** - * - * *
      * The execution details of the query.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return The query. */ @java.lang.Override @@ -3360,8 +3003,6 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { } } /** - * - * *
      * The execution details of the query.
      * 
@@ -3382,8 +3023,6 @@ public Builder setQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail va return this; } /** - * - * *
      * The execution details of the query.
      * 
@@ -3402,8 +3041,6 @@ public Builder setQuery( return this; } /** - * - * *
      * The execution details of the query.
      * 
@@ -3412,14 +3049,10 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail value) { if (queryBuilder_ == null) { - if (detailCase_ == 5 - && detail_ - != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) { - detail_ = - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder( - (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_) - .mergeFrom(value) - .buildPartial(); + if (detailCase_ == 5 && + detail_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) { + detail_ = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_) + .mergeFrom(value).buildPartial(); } else { detail_ = value; } @@ -3435,8 +3068,6 @@ public Builder mergeQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail return this; } /** - * - * *
      * The execution details of the query.
      * 
@@ -3460,8 +3091,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * The execution details of the query.
      * 
@@ -3472,8 +3101,6 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder getQueryBui return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The execution details of the query.
      * 
@@ -3492,8 +3119,6 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr } } /** - * - * *
      * The execution details of the query.
      * 
@@ -3501,19 +3126,14 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(detailCase_ == 5)) { detail_ = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, - com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder>( + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder>( (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_, getParentForChildren(), isClean()); @@ -3524,16 +3144,13 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr return queryBuilder_; } - private boolean eventSucceeded_; + private boolean eventSucceeded_ ; /** - * - * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; - * * @return The eventSucceeded. */ @java.lang.Override @@ -3541,14 +3158,11 @@ public boolean getEventSucceeded() { return eventSucceeded_; } /** - * - * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; - * * @param value The eventSucceeded to set. * @return This builder for chaining. */ @@ -3560,14 +3174,11 @@ public Builder setEventSucceeded(boolean value) { return this; } /** - * - * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; - * * @return This builder for chaining. */ public Builder clearEventSucceeded() { @@ -3577,17 +3188,14 @@ public Builder clearEventSucceeded() { return this; } - private boolean fastStartupEnabled_; + private boolean fastStartupEnabled_ ; /** - * - * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; - * * @return The fastStartupEnabled. */ @java.lang.Override @@ -3595,15 +3203,12 @@ public boolean getFastStartupEnabled() { return fastStartupEnabled_; } /** - * - * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; - * * @param value The fastStartupEnabled to set. * @return This builder for chaining. */ @@ -3615,15 +3220,12 @@ public Builder setFastStartupEnabled(boolean value) { return this; } /** - * - * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; - * * @return This builder for chaining. */ public Builder clearFastStartupEnabled() { @@ -3635,47 +3237,34 @@ public Builder clearFastStartupEnabled() { private com.google.protobuf.Duration unassignedDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - unassignedDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> unassignedDurationBuilder_; /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return Whether the unassignedDuration field is set. */ public boolean hasUnassignedDuration() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return The unassignedDuration. */ public com.google.protobuf.Duration getUnassignedDuration() { if (unassignedDurationBuilder_ == null) { - return unassignedDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : unassignedDuration_; + return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; } else { return unassignedDurationBuilder_.getMessage(); } } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3696,15 +3285,14 @@ public Builder setUnassignedDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; */ - public Builder setUnassignedDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setUnassignedDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (unassignedDurationBuilder_ == null) { unassignedDuration_ = builderForValue.build(); } else { @@ -3715,8 +3303,6 @@ public Builder setUnassignedDuration(com.google.protobuf.Duration.Builder builde return this; } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3725,9 +3311,9 @@ public Builder setUnassignedDuration(com.google.protobuf.Duration.Builder builde */ public Builder mergeUnassignedDuration(com.google.protobuf.Duration value) { if (unassignedDurationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && unassignedDuration_ != null - && unassignedDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + unassignedDuration_ != null && + unassignedDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getUnassignedDurationBuilder().mergeFrom(value); } else { unassignedDuration_ = value; @@ -3740,8 +3326,6 @@ public Builder mergeUnassignedDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3759,8 +3343,6 @@ public Builder clearUnassignedDuration() { return this; } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3773,8 +3355,6 @@ public com.google.protobuf.Duration.Builder getUnassignedDurationBuilder() { return getUnassignedDurationFieldBuilder().getBuilder(); } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3785,14 +3365,11 @@ public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { if (unassignedDurationBuilder_ != null) { return unassignedDurationBuilder_.getMessageOrBuilder(); } else { - return unassignedDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : unassignedDuration_; + return unassignedDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; } } /** - * - * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3800,24 +3377,21 @@ public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { * .google.protobuf.Duration unassigned_duration = 8; */ 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> getUnassignedDurationFieldBuilder() { if (unassignedDurationBuilder_ == null) { - unassignedDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getUnassignedDuration(), getParentForChildren(), isClean()); + unassignedDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getUnassignedDuration(), + getParentForChildren(), + isClean()); unassignedDuration_ = null; } return unassignedDurationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3827,12 +3401,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.SessionEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.SessionEvent) private static final com.google.cloud.dataplex.v1.SessionEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.SessionEvent(); } @@ -3841,27 +3415,27 @@ public static com.google.cloud.dataplex.v1.SessionEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3876,4 +3450,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.SessionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java similarity index 79% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java index cd8665f45bd7..536534ea37a9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java @@ -1,157 +1,112 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface SessionEventOrBuilder - extends +public interface SessionEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.SessionEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The log message.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; - * * @return The sessionId. */ java.lang.String getSessionId(); /** - * - * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; - * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString getSessionIdBytes(); + com.google.protobuf.ByteString + getSessionIdBytes(); /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; - * * @return The type. */ com.google.cloud.dataplex.v1.SessionEvent.EventType getType(); /** - * - * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; - * * @return The query. */ com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery(); /** - * - * *
    * The execution details of the query.
    * 
@@ -161,59 +116,45 @@ public interface SessionEventOrBuilder com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOrBuilder(); /** - * - * *
    * The status of the event.
    * 
* * bool event_succeeded = 6; - * * @return The eventSucceeded. */ boolean getEventSucceeded(); /** - * - * *
    * If the session is associated with an environment with fast startup enabled,
    * and was created before being assigned to a user.
    * 
* * bool fast_startup_enabled = 7; - * * @return The fastStartupEnabled. */ boolean getFastStartupEnabled(); /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return Whether the unassignedDuration field is set. */ boolean hasUnassignedDuration(); /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; - * * @return The unassignedDuration. */ com.google.protobuf.Duration getUnassignedDuration(); /** - * - * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java index f4f7ead415c3..8dd99cb46294 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java @@ -1,145 +1,96 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface SessionOrBuilder - extends +public interface SessionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Session) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java index b39493add5a8..e3917ac73882 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * State of a resource.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.State} */ -public enum State implements com.google.protobuf.ProtocolMessageEnum { +public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * State is not specified.
    * 
@@ -39,8 +21,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
    * Resource is active, i.e., ready to use.
    * 
@@ -49,8 +29,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
    * Resource is under creation.
    * 
@@ -59,8 +37,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(2), /** - * - * *
    * Resource is under deletion.
    * 
@@ -69,8 +45,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(3), /** - * - * *
    * Resource is active but has unresolved actions.
    * 
@@ -82,8 +56,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * State is not specified.
    * 
@@ -92,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource is active, i.e., ready to use.
    * 
@@ -102,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
    * Resource is under creation.
    * 
@@ -112,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 2; /** - * - * *
    * Resource is under deletion.
    * 
@@ -122,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 3; /** - * - * *
    * Resource is active but has unresolved actions.
    * 
@@ -132,6 +96,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_REQUIRED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,53 +121,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return ACTIVE; - case 2: - return CREATING; - case 3: - return DELETING; - case 4: - return ACTION_REQUIRED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return ACTIVE; + case 2: return CREATING; + case 3: return DELETING; + case 4: return ACTION_REQUIRED; + 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 State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.ResourcesProto.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; @@ -218,3 +181,4 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.State) } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java similarity index 63% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java index 2e361933334c..230b32bd0ee4 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java @@ -1,80 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Describes the access mechanism of the data within its storage location.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageAccess} */ -public final class StorageAccess extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StorageAccess extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageAccess) StorageAccessOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StorageAccess.newBuilder() to construct. private StorageAccess(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StorageAccess() { read_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageAccess(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageAccess.class, - com.google.cloud.dataplex.v1.StorageAccess.Builder.class); + com.google.cloud.dataplex.v1.StorageAccess.class, com.google.cloud.dataplex.v1.StorageAccess.Builder.class); } /** - * - * *
    * Access Mode determines how data stored within the Entity is read.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageAccess.AccessMode} */ - public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { + public enum AccessMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Access mode unspecified.
      * 
@@ -83,8 +61,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ ACCESS_MODE_UNSPECIFIED(0), /** - * - * *
      * Default. Data is accessed directly using storage APIs.
      * 
@@ -93,8 +69,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ DIRECT(1), /** - * - * *
      * Data is accessed through a managed interface using BigQuery APIs.
      * 
@@ -106,8 +80,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Access mode unspecified.
      * 
@@ -116,8 +88,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Default. Data is accessed directly using storage APIs.
      * 
@@ -126,8 +96,6 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECT_VALUE = 1; /** - * - * *
      * Data is accessed through a managed interface using BigQuery APIs.
      * 
@@ -136,6 +104,7 @@ public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -160,49 +129,49 @@ public static AccessMode valueOf(int value) { */ public static AccessMode forNumber(int value) { switch (value) { - case 0: - return ACCESS_MODE_UNSPECIFIED; - case 1: - return DIRECT; - case 2: - return MANAGED; - default: - return null; + case 0: return ACCESS_MODE_UNSPECIFIED; + case 1: return DIRECT; + case 2: return 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< + AccessMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AccessMode findValueByNumber(int number) { + return AccessMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AccessMode findValueByNumber(int number) { - return AccessMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.StorageAccess.getDescriptor().getEnumTypes().get(0); } private static final AccessMode[] VALUES = values(); - public static AccessMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AccessMode 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; @@ -222,48 +191,32 @@ private AccessMode(int value) { public static final int READ_FIELD_NUMBER = 21; private int read_ = 0; /** - * - * *
    * Output only. Describes the read access mechanism of the data. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for read. */ - @java.lang.Override - public int getReadValue() { + @java.lang.Override public int getReadValue() { return read_; } /** - * - * *
    * Output only. Describes the read access mechanism of the data. Not user
    * settable.
    * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The read. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { - com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = - com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); - return result == null - ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { + com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); + return result == null ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,10 +228,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (read_ - != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (read_ != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(21, read_); } getUnknownFields().writeTo(output); @@ -290,10 +242,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (read_ - != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, read_); + if (read_ != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, read_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -303,13 +254,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageAccess)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageAccess other = - (com.google.cloud.dataplex.v1.StorageAccess) obj; + com.google.cloud.dataplex.v1.StorageAccess other = (com.google.cloud.dataplex.v1.StorageAccess) obj; if (read_ != other.read_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -330,136 +280,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageAccess prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes the access mechanism of the data within its storage location.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageAccess} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageAccess) com.google.cloud.dataplex.v1.StorageAccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageAccess.class, - com.google.cloud.dataplex.v1.StorageAccess.Builder.class); + com.google.cloud.dataplex.v1.StorageAccess.class, com.google.cloud.dataplex.v1.StorageAccess.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageAccess.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override @@ -490,11 +436,8 @@ public com.google.cloud.dataplex.v1.StorageAccess build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess buildPartial() { - com.google.cloud.dataplex.v1.StorageAccess result = - new com.google.cloud.dataplex.v1.StorageAccess(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.StorageAccess result = new com.google.cloud.dataplex.v1.StorageAccess(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -510,39 +453,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageAccess result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageAccess) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageAccess) other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageAccess)other); } else { super.mergeFrom(other); return this; @@ -580,19 +522,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 168: - { - read_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 168 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 168: { + read_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 168 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -602,40 +542,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int read_ = 0; /** - * - * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for read. */ - @java.lang.Override - public int getReadValue() { + @java.lang.Override public int getReadValue() { return read_; } /** - * - * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for read to set. * @return This builder for chaining. */ @@ -646,39 +574,26 @@ public Builder setReadValue(int value) { return this; } /** - * - * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The read. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { - com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = - com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); - return result == null - ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); + return result == null ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The read to set. * @return This builder for chaining. */ @@ -692,17 +607,12 @@ public Builder setRead(com.google.cloud.dataplex.v1.StorageAccess.AccessMode val return this; } /** - * - * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRead() { @@ -711,9 +621,9 @@ public Builder clearRead() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -723,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageAccess) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageAccess) private static final com.google.cloud.dataplex.v1.StorageAccess DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageAccess(); } @@ -737,27 +647,27 @@ public static com.google.cloud.dataplex.v1.StorageAccess getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageAccess parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageAccess parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -772,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageAccess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java new file mode 100644 index 000000000000..090ceb761716 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public interface StorageAccessOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageAccess) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. Describes the read access mechanism of the data. Not user
+   * settable.
+   * 
+ * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for read. + */ + int getReadValue(); + /** + *
+   * Output only. Describes the read access mechanism of the data. Not user
+   * settable.
+   * 
+ * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The read. + */ + com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead(); +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java index c2d842db7313..83f2deac402d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Describes the format of the data within its storage location.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat} */ -public final class StorageFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StorageFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat) StorageFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StorageFormat.newBuilder() to construct. private StorageFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StorageFormat() { format_ = 0; compressionFormat_ = 0; @@ -45,38 +27,34 @@ private StorageFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageFormat(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.class, - com.google.cloud.dataplex.v1.StorageFormat.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.class, com.google.cloud.dataplex.v1.StorageFormat.Builder.class); } /** - * - * *
    * The specific file format of the data.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageFormat.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Format unspecified.
      * 
@@ -85,8 +63,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Parquet-formatted structured data.
      * 
@@ -95,8 +71,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ PARQUET(1), /** - * - * *
      * Avro-formatted structured data.
      * 
@@ -105,8 +79,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ AVRO(2), /** - * - * *
      * Orc-formatted structured data.
      * 
@@ -115,8 +87,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ ORC(3), /** - * - * *
      * Csv-formatted semi-structured data.
      * 
@@ -125,8 +95,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ CSV(100), /** - * - * *
      * Json-formatted semi-structured data.
      * 
@@ -135,8 +103,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ JSON(101), /** - * - * *
      * Image data formats (such as jpg and png).
      * 
@@ -145,8 +111,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE(200), /** - * - * *
      * Audio data formats (such as mp3, and wav).
      * 
@@ -155,8 +119,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ AUDIO(201), /** - * - * *
      * Video data formats (such as mp4 and mpg).
      * 
@@ -165,8 +127,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ VIDEO(202), /** - * - * *
      * Textual data formats (such as txt and xml).
      * 
@@ -175,8 +135,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ TEXT(203), /** - * - * *
      * TensorFlow record format.
      * 
@@ -185,8 +143,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ TFRECORD(204), /** - * - * *
      * Data that doesn't match a specific format.
      * 
@@ -195,8 +151,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ OTHER(1000), /** - * - * *
      * Data of an unknown format.
      * 
@@ -208,8 +162,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Format unspecified.
      * 
@@ -218,8 +170,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Parquet-formatted structured data.
      * 
@@ -228,8 +178,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARQUET_VALUE = 1; /** - * - * *
      * Avro-formatted structured data.
      * 
@@ -238,8 +186,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVRO_VALUE = 2; /** - * - * *
      * Orc-formatted structured data.
      * 
@@ -248,8 +194,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORC_VALUE = 3; /** - * - * *
      * Csv-formatted semi-structured data.
      * 
@@ -258,8 +202,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CSV_VALUE = 100; /** - * - * *
      * Json-formatted semi-structured data.
      * 
@@ -268,8 +210,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JSON_VALUE = 101; /** - * - * *
      * Image data formats (such as jpg and png).
      * 
@@ -278,8 +218,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_VALUE = 200; /** - * - * *
      * Audio data formats (such as mp3, and wav).
      * 
@@ -288,8 +226,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUDIO_VALUE = 201; /** - * - * *
      * Video data formats (such as mp4 and mpg).
      * 
@@ -298,8 +234,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIDEO_VALUE = 202; /** - * - * *
      * Textual data formats (such as txt and xml).
      * 
@@ -308,8 +242,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_VALUE = 203; /** - * - * *
      * TensorFlow record format.
      * 
@@ -318,8 +250,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TFRECORD_VALUE = 204; /** - * - * *
      * Data that doesn't match a specific format.
      * 
@@ -328,8 +258,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 1000; /** - * - * *
      * Data of an unknown format.
      * 
@@ -338,6 +266,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 1001; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -362,69 +291,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return PARQUET; - case 2: - return AVRO; - case 3: - return ORC; - case 100: - return CSV; - case 101: - return JSON; - case 200: - return IMAGE; - case 201: - return AUDIO; - case 202: - return VIDEO; - case 203: - return TEXT; - case 204: - return TFRECORD; - case 1000: - return OTHER; - case 1001: - return UNKNOWN; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return FORMAT_UNSPECIFIED; + case 1: return PARQUET; + case 2: return AVRO; + case 3: return ORC; + case 100: return CSV; + case 101: return JSON; + case 200: return IMAGE; + case 201: return AUDIO; + case 202: return VIDEO; + case 203: return TEXT; + case 204: return TFRECORD; + case 1000: return OTHER; + case 1001: return UNKNOWN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.StorageFormat.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -442,18 +361,15 @@ private Format(int value) { } /** - * - * *
    * The specific compressed file format of the data.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageFormat.CompressionFormat} */ - public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum { + public enum CompressionFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * CompressionFormat unspecified. Implies uncompressed data.
      * 
@@ -462,8 +378,6 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum */ COMPRESSION_FORMAT_UNSPECIFIED(0), /** - * - * *
      * GZip compressed set of files.
      * 
@@ -472,8 +386,6 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum */ GZIP(2), /** - * - * *
      * BZip2 compressed set of files.
      * 
@@ -485,8 +397,6 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * CompressionFormat unspecified. Implies uncompressed data.
      * 
@@ -495,8 +405,6 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPRESSION_FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * GZip compressed set of files.
      * 
@@ -505,8 +413,6 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int GZIP_VALUE = 2; /** - * - * *
      * BZip2 compressed set of files.
      * 
@@ -515,6 +421,7 @@ public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int BZIP2_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -539,14 +446,10 @@ public static CompressionFormat valueOf(int value) { */ public static CompressionFormat forNumber(int value) { switch (value) { - case 0: - return COMPRESSION_FORMAT_UNSPECIFIED; - case 2: - return GZIP; - case 3: - return BZIP2; - default: - return null; + case 0: return COMPRESSION_FORMAT_UNSPECIFIED; + case 2: return GZIP; + case 3: return BZIP2; + default: return null; } } @@ -554,28 +457,28 @@ public static CompressionFormat forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompressionFormat> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompressionFormat findValueByNumber(int number) { + return CompressionFormat.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompressionFormat findValueByNumber(int number) { - return CompressionFormat.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.StorageFormat.getDescriptor().getEnumTypes().get(1); } @@ -584,7 +487,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompressionFormat 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; @@ -601,80 +505,64 @@ private CompressionFormat(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.StorageFormat.CompressionFormat) } - public interface CsvOptionsOrBuilder - extends + public interface CsvOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.CsvOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
      * Optional. The number of rows to interpret as header rows that should be
      * skipped when reading data rows. Defaults to 0.
      * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ int getHeaderRows(); /** - * - * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ java.lang.String getDelimiter(); /** - * - * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString getDelimiterBytes(); + com.google.protobuf.ByteString + getDelimiterBytes(); /** - * - * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -682,13 +570,10 @@ public interface CsvOptionsOrBuilder
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The quote. */ java.lang.String getQuote(); /** - * - * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -696,30 +581,27 @@ public interface CsvOptionsOrBuilder
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for quote. */ - com.google.protobuf.ByteString getQuoteBytes(); + com.google.protobuf.ByteString + getQuoteBytes(); } /** - * - * *
    * Describes CSV and similar semi-structured data formats.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.CsvOptions} */ - public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CsvOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CsvOptions() { encoding_ = ""; delimiter_ = ""; @@ -728,39 +610,34 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -769,30 +646,30 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -803,15 +680,12 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int HEADER_ROWS_FIELD_NUMBER = 2; private int headerRows_ = 0; /** - * - * *
      * Optional. The number of rows to interpret as header rows that should be
      * skipped when reading data rows. Defaults to 0.
      * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -820,18 +694,14 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** - * - * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ @java.lang.Override @@ -840,29 +710,29 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** - * - * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -871,12 +741,9 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } public static final int QUOTE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object quote_ = ""; /** - * - * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -884,7 +751,6 @@ public com.google.protobuf.ByteString getDelimiterBytes() {
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The quote. */ @java.lang.Override @@ -893,15 +759,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; } } /** - * - * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -909,15 +774,16 @@ public java.lang.String getQuote() {
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -926,7 +792,6 @@ public com.google.protobuf.ByteString getQuoteBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -938,7 +803,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -964,7 +830,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, headerRows_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delimiter_); @@ -980,18 +847,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other = - (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other = (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) obj; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getHeaderRows() != other.getHeaderRows()) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; - if (!getQuote().equals(other.getQuote())) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getHeaderRows() + != other.getHeaderRows()) return false; + if (!getDelimiter() + .equals(other.getDelimiter())) return false; + if (!getQuote() + .equals(other.getQuote())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1017,94 +887,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1114,41 +979,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Describes CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.CsvOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.CsvOptions) com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1161,9 +1024,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override @@ -1182,11 +1045,8 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions result = - new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions result = new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1211,41 +1071,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions)other); } else { super.mergeFrom(other); return this; @@ -1253,8 +1110,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -1299,37 +1155,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - quote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + quote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1339,26 +1190,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -1367,22 +1215,21 @@ public java.lang.String getEncoding() { } } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1390,37 +1237,30 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -1430,22 +1270,18 @@ public Builder clearEncoding() { return this; } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -1453,17 +1289,14 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) { return this; } - private int headerRows_; + private int headerRows_ ; /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -1471,15 +1304,12 @@ public int getHeaderRows() { return headerRows_; } /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -1491,15 +1321,12 @@ public Builder setHeaderRows(int value) { return this; } /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -1511,20 +1338,18 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** - * - * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -1533,21 +1358,20 @@ public java.lang.String getDelimiter() { } } /** - * - * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1555,35 +1379,28 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } } /** - * - * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delimiter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -1593,21 +1410,17 @@ public Builder clearDelimiter() { return this; } /** - * - * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000004; @@ -1617,8 +1430,6 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { private java.lang.Object quote_ = ""; /** - * - * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1626,13 +1437,13 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1641,8 +1452,6 @@ public java.lang.String getQuote() { } } /** - * - * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1650,14 +1459,15 @@ public java.lang.String getQuote() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1665,8 +1475,6 @@ public com.google.protobuf.ByteString getQuoteBytes() { } } /** - * - * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1674,22 +1482,18 @@ public com.google.protobuf.ByteString getQuoteBytes() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The quote to set. * @return This builder for chaining. */ - public Builder setQuote(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuote( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } quote_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1697,7 +1501,6 @@ public Builder setQuote(java.lang.String value) {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuote() { @@ -1707,8 +1510,6 @@ public Builder clearQuote() { return this; } /** - * - * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1716,21 +1517,18 @@ public Builder clearQuote() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for quote to set. * @return This builder for chaining. */ - public Builder setQuoteBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuoteBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); quote_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1743,12 +1541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.CsvOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.CsvOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(); } @@ -1757,28 +1555,27 @@ public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1793,98 +1590,85 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface JsonOptionsOrBuilder - extends + public interface JsonOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.JsonOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); } /** - * - * *
    * Describes JSON data format.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.JsonOptions} */ - public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class JsonOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -1893,30 +1677,30 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1925,7 +1709,6 @@ public com.google.protobuf.ByteString getEncodingBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1937,7 +1720,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -1961,15 +1745,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other = - (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other = (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) obj; - if (!getEncoding().equals(other.getEncoding())) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1989,94 +1773,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2086,41 +1865,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Describes JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.JsonOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.JsonOptions) com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2130,9 +1907,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override @@ -2151,11 +1928,8 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions result = - new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions result = new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2171,41 +1945,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.JsonOption public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions)other); } else { super.mergeFrom(other); return this; @@ -2213,8 +1984,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -2246,19 +2016,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2268,26 +2036,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2296,22 +2061,21 @@ public java.lang.String getEncoding() { } } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -2319,37 +2083,30 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2359,29 +2116,24 @@ public Builder clearEncoding() { return this; } /** - * - * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2394,12 +2146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.JsonOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.JsonOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(); } @@ -2408,28 +2160,27 @@ public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2444,98 +2195,85 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IcebergOptionsOrBuilder - extends + public interface IcebergOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The metadataLocation. */ java.lang.String getMetadataLocation(); /** - * - * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for metadataLocation. */ - com.google.protobuf.ByteString getMetadataLocationBytes(); + com.google.protobuf.ByteString + getMetadataLocationBytes(); } /** - * - * *
    * Describes Iceberg data format.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.IcebergOptions} */ - public static final class IcebergOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IcebergOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) IcebergOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IcebergOptions.newBuilder() to construct. private IcebergOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IcebergOptions() { metadataLocation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IcebergOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); } public static final int METADATA_LOCATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object metadataLocation_ = ""; /** - * - * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The metadataLocation. */ @java.lang.Override @@ -2544,30 +2282,30 @@ public java.lang.String getMetadataLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metadataLocation_ = s; return s; } } /** - * - * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for metadataLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getMetadataLocationBytes() { + public com.google.protobuf.ByteString + getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metadataLocation_ = b; return b; } else { @@ -2576,7 +2314,6 @@ public com.google.protobuf.ByteString getMetadataLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2588,7 +2325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataLocation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataLocation_); } @@ -2612,15 +2350,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other = - (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other = (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) obj; - if (!getMetadataLocation().equals(other.getMetadataLocation())) return false; + if (!getMetadataLocation() + .equals(other.getMetadataLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2640,94 +2378,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2737,41 +2470,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Describes Iceberg data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.IcebergOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2781,9 +2512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override @@ -2802,11 +2533,8 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions result = - new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions result = new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2822,41 +2550,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.IcebergOpt public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions)other); } else { super.mergeFrom(other); return this; @@ -2864,8 +2589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) return this; if (!other.getMetadataLocation().isEmpty()) { metadataLocation_ = other.metadataLocation_; bitField0_ |= 0x00000001; @@ -2897,19 +2621,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - metadataLocation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + metadataLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2919,26 +2641,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object metadataLocation_ = ""; /** - * - * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The metadataLocation. */ public java.lang.String getMetadataLocation() { java.lang.Object ref = metadataLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metadataLocation_ = s; return s; @@ -2947,22 +2666,21 @@ public java.lang.String getMetadataLocation() { } } /** - * - * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for metadataLocation. */ - public com.google.protobuf.ByteString getMetadataLocationBytes() { + public com.google.protobuf.ByteString + getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metadataLocation_ = b; return b; } else { @@ -2970,37 +2688,30 @@ public com.google.protobuf.ByteString getMetadataLocationBytes() { } } /** - * - * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The metadataLocation to set. * @return This builder for chaining. */ - public Builder setMetadataLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetadataLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } metadataLocation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMetadataLocation() { @@ -3010,29 +2721,24 @@ public Builder clearMetadataLocation() { return this; } /** - * - * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for metadataLocation to set. * @return This builder for chaining. */ - public Builder setMetadataLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetadataLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metadataLocation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3045,12 +2751,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(); } @@ -3059,28 +2765,27 @@ public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IcebergOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IcebergOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3095,23 +2800,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int optionsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object options_; - public enum OptionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CSV(10), JSON(11), ICEBERG(12), OPTIONS_NOT_SET(0); private final int value; - private OptionsCase(int value) { this.value = value; } @@ -3127,119 +2829,84 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 10: - return CSV; - case 11: - return JSON; - case 12: - return ICEBERG; - case 0: - return OPTIONS_NOT_SET; - default: - return null; + case 10: return CSV; + case 11: return JSON; + case 12: return ICEBERG; + case 0: return OPTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public static final int FORMAT_FIELD_NUMBER = 1; private int format_ = 0; /** - * - * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The format. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { - com.google.cloud.dataplex.v1.StorageFormat.Format result = - com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); + @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { + com.google.cloud.dataplex.v1.StorageFormat.Format result = com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); return result == null ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED : result; } public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 2; private int compressionFormat_ = 0; /** - * - * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for compressionFormat. */ - @java.lang.Override - public int getCompressionFormatValue() { + @java.lang.Override public int getCompressionFormatValue() { return compressionFormat_; } /** - * - * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The compressionFormat. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); - return result == null - ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); + return result == null ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED : result; } public static final int MIME_TYPE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object mimeType_ = ""; /** - * - * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -3261,7 +2928,6 @@ public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressi
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mimeType. */ @java.lang.Override @@ -3270,15 +2936,14 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** - * - * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -3300,15 +2965,16 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -3318,16 +2984,11 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { public static final int CSV_FIELD_NUMBER = 10; /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csv field is set. */ @java.lang.Override @@ -3335,56 +2996,42 @@ public boolean hasCsv() { return optionsCase_ == 10; } /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The csv. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv() { if (optionsCase_ == 10) { - return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder() { if (optionsCase_ == 10) { - return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } public static final int JSON_FIELD_NUMBER = 11; /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the json field is set. */ @java.lang.Override @@ -3392,56 +3039,42 @@ public boolean hasJson() { return optionsCase_ == 11; } /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The json. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson() { if (optionsCase_ == 11) { - return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder() { if (optionsCase_ == 11) { - return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } public static final int ICEBERG_FIELD_NUMBER = 12; /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the iceberg field is set. */ @java.lang.Override @@ -3449,46 +3082,36 @@ public boolean hasIceberg() { return optionsCase_ == 12; } /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The iceberg. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg() { if (optionsCase_ == 12) { - return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder() { if (optionsCase_ == 12) { - return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3500,15 +3123,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (format_ - != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (format_ != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(1, format_); } - if (compressionFormat_ - != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat - .COMPRESSION_FORMAT_UNSPECIFIED - .getNumber()) { + if (compressionFormat_ != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.COMPRESSION_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, compressionFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { @@ -3532,33 +3152,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (format_ - != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, format_); + if (format_ != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, format_); } - if (compressionFormat_ - != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat - .COMPRESSION_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compressionFormat_); + if (compressionFormat_ != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.COMPRESSION_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, compressionFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mimeType_); } if (optionsCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_); } if (optionsCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_); } if (optionsCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3568,27 +3183,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat other = - (com.google.cloud.dataplex.v1.StorageFormat) obj; + com.google.cloud.dataplex.v1.StorageFormat other = (com.google.cloud.dataplex.v1.StorageFormat) obj; if (format_ != other.format_) return false; if (compressionFormat_ != other.compressionFormat_) return false; - if (!getMimeType().equals(other.getMimeType())) return false; + if (!getMimeType() + .equals(other.getMimeType())) return false; if (!getOptionsCase().equals(other.getOptionsCase())) return false; switch (optionsCase_) { case 10: - if (!getCsv().equals(other.getCsv())) return false; + if (!getCsv() + .equals(other.getCsv())) return false; break; case 11: - if (!getJson().equals(other.getJson())) return false; + if (!getJson() + .equals(other.getJson())) return false; break; case 12: - if (!getIceberg().equals(other.getIceberg())) return false; + if (!getIceberg() + .equals(other.getIceberg())) return false; break; case 0: default: @@ -3631,136 +3249,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes the format of the data within its storage location.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat) com.google.cloud.dataplex.v1.StorageFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.class, - com.google.cloud.dataplex.v1.StorageFormat.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.class, com.google.cloud.dataplex.v1.StorageFormat.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3783,9 +3397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto - .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override @@ -3804,11 +3418,8 @@ public com.google.cloud.dataplex.v1.StorageFormat build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat result = - new com.google.cloud.dataplex.v1.StorageFormat(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.StorageFormat result = new com.google.cloud.dataplex.v1.StorageFormat(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3830,13 +3441,16 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.StorageFormat result) { result.optionsCase_ = optionsCase_; result.options_ = this.options_; - if (optionsCase_ == 10 && csvBuilder_ != null) { + if (optionsCase_ == 10 && + csvBuilder_ != null) { result.options_ = csvBuilder_.build(); } - if (optionsCase_ == 11 && jsonBuilder_ != null) { + if (optionsCase_ == 11 && + jsonBuilder_ != null) { result.options_ = jsonBuilder_.build(); } - if (optionsCase_ == 12 && icebergBuilder_ != null) { + if (optionsCase_ == 12 && + icebergBuilder_ != null) { result.options_ = icebergBuilder_.build(); } } @@ -3845,39 +3459,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.StorageFormat resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat) other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat)other); } else { super.mergeFrom(other); return this; @@ -3898,25 +3511,21 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat other) { onChanged(); } switch (other.getOptionsCase()) { - case CSV: - { - mergeCsv(other.getCsv()); - break; - } - case JSON: - { - mergeJson(other.getJson()); - break; - } - case ICEBERG: - { - mergeIceberg(other.getIceberg()); - break; - } - case OPTIONS_NOT_SET: - { - break; - } + case CSV: { + mergeCsv(other.getCsv()); + break; + } + case JSON: { + mergeJson(other.getJson()); + break; + } + case ICEBERG: { + mergeIceberg(other.getIceberg()); + break; + } + case OPTIONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3944,49 +3553,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - format_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - compressionFormat_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - mimeType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 82: - { - input.readMessage(getCsvFieldBuilder().getBuilder(), extensionRegistry); - optionsCase_ = 10; - break; - } // case 82 - case 90: - { - input.readMessage(getJsonFieldBuilder().getBuilder(), extensionRegistry); - optionsCase_ = 11; - break; - } // case 90 - case 98: - { - input.readMessage(getIcebergFieldBuilder().getBuilder(), extensionRegistry); - optionsCase_ = 12; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + format_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + compressionFormat_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + mimeType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 82: { + input.readMessage( + getCsvFieldBuilder().getBuilder(), + extensionRegistry); + optionsCase_ = 10; + break; + } // case 82 + case 90: { + input.readMessage( + getJsonFieldBuilder().getBuilder(), + extensionRegistry); + optionsCase_ = 11; + break; + } // case 90 + case 98: { + input.readMessage( + getIcebergFieldBuilder().getBuilder(), + extensionRegistry); + optionsCase_ = 12; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3996,12 +3604,12 @@ public Builder mergeFrom( } // finally return this; } - private int optionsCase_ = 0; private java.lang.Object options_; - - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public Builder clearOptions() { @@ -4015,35 +3623,24 @@ public Builder clearOptions() { private int format_ = 0; /** - * - * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -4054,39 +3651,26 @@ public Builder setFormatValue(int value) { return this; } /** - * - * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The format. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { - com.google.cloud.dataplex.v1.StorageFormat.Format result = - com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); - return result == null - ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.StorageFormat.Format result = com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); + return result == null ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The format to set. * @return This builder for chaining. */ @@ -4100,17 +3684,12 @@ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat.Format value return this; } /** - * - * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearFormat() { @@ -4122,35 +3701,24 @@ public Builder clearFormat() { private int compressionFormat_ = 0; /** - * - * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for compressionFormat. */ - @java.lang.Override - public int getCompressionFormatValue() { + @java.lang.Override public int getCompressionFormatValue() { return compressionFormat_; } /** - * - * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for compressionFormat to set. * @return This builder for chaining. */ @@ -4161,45 +3729,30 @@ public Builder setCompressionFormatValue(int value) { return this; } /** - * - * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The compressionFormat. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber( - compressionFormat_); - return result == null - ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); + return result == null ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormat( - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat value) { + public Builder setCompressionFormat(com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat value) { if (value == null) { throw new NullPointerException(); } @@ -4209,17 +3762,12 @@ public Builder setCompressionFormat( return this; } /** - * - * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearCompressionFormat() { @@ -4231,8 +3779,6 @@ public Builder clearCompressionFormat() { private java.lang.Object mimeType_ = ""; /** - * - * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -4254,13 +3800,13 @@ public Builder clearCompressionFormat() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -4269,8 +3815,6 @@ public java.lang.String getMimeType() { } } /** - * - * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -4292,14 +3836,15 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -4307,8 +3852,6 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { } } /** - * - * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -4330,22 +3873,18 @@ public com.google.protobuf.ByteString getMimeTypeBytes() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMimeType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } mimeType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -4367,7 +3906,6 @@ public Builder setMimeType(java.lang.String value) {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMimeType() { @@ -4377,8 +3915,6 @@ public Builder clearMimeType() { return this; } /** - * - * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -4400,14 +3936,12 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMimeTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mimeType_ = value; bitField0_ |= 0x00000004; @@ -4416,21 +3950,13 @@ public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> - csvBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> csvBuilder_; /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csv field is set. */ @java.lang.Override @@ -4438,16 +3964,11 @@ public boolean hasCsv() { return optionsCase_ == 10; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The csv. */ @java.lang.Override @@ -4465,15 +3986,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv() { } } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions value) { if (csvBuilder_ == null) { @@ -4489,15 +4006,11 @@ public Builder setCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions valu return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCsv( com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder builderForValue) { @@ -4511,26 +4024,18 @@ public Builder setCsv( return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions value) { if (csvBuilder_ == null) { - if (optionsCase_ == 10 - && options_ - != com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) { - options_ = - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder( - (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_) - .mergeFrom(value) - .buildPartial(); + if (optionsCase_ == 10 && + options_ != com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) { + options_ = com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_) + .mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -4546,15 +4051,11 @@ public Builder mergeCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions va return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCsv() { if (csvBuilder_ == null) { @@ -4573,29 +4074,21 @@ public Builder clearCsv() { return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder getCsvBuilder() { return getCsvFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder() { @@ -4609,30 +4102,21 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBu } } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> getCsvFieldBuilder() { if (csvBuilder_ == null) { if (!(optionsCase_ == 10)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } - csvBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder>( + csvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_, getParentForChildren(), isClean()); @@ -4644,21 +4128,13 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> - jsonBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> jsonBuilder_; /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the json field is set. */ @java.lang.Override @@ -4666,16 +4142,11 @@ public boolean hasJson() { return optionsCase_ == 11; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The json. */ @java.lang.Override @@ -4693,15 +4164,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson() { } } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions value) { if (jsonBuilder_ == null) { @@ -4717,15 +4184,11 @@ public Builder setJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions va return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setJson( com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder builderForValue) { @@ -4739,26 +4202,18 @@ public Builder setJson( return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions value) { if (jsonBuilder_ == null) { - if (optionsCase_ == 11 - && options_ - != com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) { - options_ = - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder( - (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_) - .mergeFrom(value) - .buildPartial(); + if (optionsCase_ == 11 && + options_ != com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) { + options_ = com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_) + .mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -4774,15 +4229,11 @@ public Builder mergeJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearJson() { if (jsonBuilder_ == null) { @@ -4801,29 +4252,21 @@ public Builder clearJson() { return this; } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder getJsonBuilder() { return getJsonFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder() { @@ -4837,30 +4280,21 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOr } } /** - * - * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> getJsonFieldBuilder() { if (jsonBuilder_ == null) { if (!(optionsCase_ == 11)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } - jsonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder>( + jsonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_, getParentForChildren(), isClean()); @@ -4872,21 +4306,13 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> - icebergBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> icebergBuilder_; /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the iceberg field is set. */ @java.lang.Override @@ -4894,16 +4320,11 @@ public boolean hasIceberg() { return optionsCase_ == 12; } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The iceberg. */ @java.lang.Override @@ -4921,15 +4342,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg() { } } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions value) { if (icebergBuilder_ == null) { @@ -4945,15 +4362,11 @@ public Builder setIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOpti return this; } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIceberg( com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder builderForValue) { @@ -4967,26 +4380,18 @@ public Builder setIceberg( return this; } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions value) { if (icebergBuilder_ == null) { - if (optionsCase_ == 12 - && options_ - != com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) { - options_ = - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder( - (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_) - .mergeFrom(value) - .buildPartial(); + if (optionsCase_ == 12 && + options_ != com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) { + options_ = com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_) + .mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -5002,15 +4407,11 @@ public Builder mergeIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOp return this; } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIceberg() { if (icebergBuilder_ == null) { @@ -5029,33 +4430,24 @@ public Builder clearIceberg() { return this; } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder getIcebergBuilder() { return getIcebergFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder - getIcebergOrBuilder() { + public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder() { if ((optionsCase_ == 12) && (icebergBuilder_ != null)) { return icebergBuilder_.getMessageOrBuilder(); } else { @@ -5066,30 +4458,21 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder getIceb } } /** - * - * *
      * Optional. Additional information about iceberg tables.
      * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> getIcebergFieldBuilder() { if (icebergBuilder_ == null) { if (!(optionsCase_ == 12)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } - icebergBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder>( + icebergBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_, getParentForChildren(), isClean()); @@ -5099,9 +4482,9 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder getIceb onChanged(); return icebergBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5111,12 +4494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat) private static final com.google.cloud.dataplex.v1.StorageFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat(); } @@ -5125,27 +4508,27 @@ public static com.google.cloud.dataplex.v1.StorageFormat getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5160,4 +4543,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java similarity index 62% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java index 16c148e6d5c5..d8cd17bc2220 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java @@ -1,93 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface StorageFormatOrBuilder - extends +public interface StorageFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The format. */ com.google.cloud.dataplex.v1.StorageFormat.Format getFormat(); /** - * - * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for compressionFormat. */ int getCompressionFormatValue(); /** - * - * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The compressionFormat. */ com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat(); /** - * - * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -109,13 +71,10 @@ public interface StorageFormatOrBuilder
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mimeType. */ java.lang.String getMimeType(); /** - * - * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -137,131 +96,89 @@ public interface StorageFormatOrBuilder
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString getMimeTypeBytes(); + com.google.protobuf.ByteString + getMimeTypeBytes(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csv field is set. */ boolean hasCsv(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The csv. */ com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the json field is set. */ boolean hasJson(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The json. */ com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson(); /** - * - * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder(); /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the iceberg field is set. */ boolean hasIceberg(); /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The iceberg. */ com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg(); /** - * - * *
    * Optional. Additional information about iceberg tables.
    * 
* - * - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java index ff701fdf4970..9155f7108892 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Identifies the cloud system that manages the data storage.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageSystem} */ -public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { +public enum StorageSystem + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Storage system unspecified.
    * 
@@ -39,8 +21,6 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_SYSTEM_UNSPECIFIED(0), /** - * - * *
    * The entity data is contained within a Cloud Storage bucket.
    * 
@@ -49,8 +29,6 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { */ CLOUD_STORAGE(1), /** - * - * *
    * The entity data is contained within a BigQuery dataset.
    * 
@@ -62,8 +40,6 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Storage system unspecified.
    * 
@@ -72,8 +48,6 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_SYSTEM_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The entity data is contained within a Cloud Storage bucket.
    * 
@@ -82,8 +56,6 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_STORAGE_VALUE = 1; /** - * - * *
    * The entity data is contained within a BigQuery dataset.
    * 
@@ -92,6 +64,7 @@ public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static StorageSystem valueOf(int value) { */ public static StorageSystem forNumber(int value) { switch (value) { - case 0: - return STORAGE_SYSTEM_UNSPECIFIED; - case 1: - return CLOUD_STORAGE; - case 2: - return BIGQUERY; - default: - return null; + case 0: return STORAGE_SYSTEM_UNSPECIFIED; + case 1: return CLOUD_STORAGE; + case 2: return BIGQUERY; + 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 StorageSystem findValueByNumber(int number) { - return StorageSystem.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + StorageSystem> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageSystem findValueByNumber(int number) { + return StorageSystem.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor().getEnumTypes().get(0); } private static final StorageSystem[] VALUES = values(); - public static StorageSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageSystem 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 StorageSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.StorageSystem) } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java index 2080d5ea7186..51ef0335d7bc 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A task represents a user-visible job.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task} */ -public final class Task extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Task extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task) TaskOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Task.newBuilder() to construct. private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Task() { name_ = ""; uid_ = ""; @@ -47,157 +29,120 @@ private Task() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Task(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_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 8: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.class, - com.google.cloud.dataplex.v1.Task.Builder.class); + com.google.cloud.dataplex.v1.Task.class, com.google.cloud.dataplex.v1.Task.Builder.class); } - public interface InfrastructureSpecOrBuilder - extends + public interface InfrastructureSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return Whether the batch field is set. */ boolean hasBatch(); /** - * - * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return The batch. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch(); /** - * - * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder - getBatchOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder(); /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return Whether the containerImage field is set. */ boolean hasContainerImage(); /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return The containerImage. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage(); /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder - getContainerImageOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder(); /** - * - * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * * @return Whether the vpcNetwork field is set. */ boolean hasVpcNetwork(); /** - * - * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * * @return The vpcNetwork. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNetwork(); /** - * - * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder - getVpcNetworkOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder(); com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ResourcesCase getResourcesCase(); @@ -206,69 +151,60 @@ public interface InfrastructureSpecOrBuilder com.google.cloud.dataplex.v1.Task.InfrastructureSpec.NetworkCase getNetworkCase(); } /** - * - * *
    * Configuration for the underlying infrastructure used to run workloads.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec} */ - public static final class InfrastructureSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InfrastructureSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec) InfrastructureSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfrastructureSpec.newBuilder() to construct. private InfrastructureSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InfrastructureSpec() {} + private InfrastructureSpec() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfrastructureSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); } - public interface BatchComputeResourcesOrBuilder - extends + public interface BatchComputeResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Total number of job executors.
        * Executor Count should be between 2 and 100. [Default=2]
        * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The executorsCount. */ int getExecutorsCount(); /** - * - * *
        * Optional. Max configurable executors.
        * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -276,66 +212,58 @@ public interface BatchComputeResourcesOrBuilder
        * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxExecutorsCount. */ int getMaxExecutorsCount(); } /** - * - * *
      * Batch compute resources associated with the task.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} */ - public static final class BatchComputeResources extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BatchComputeResources extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) BatchComputeResourcesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchComputeResources.newBuilder() to construct. private BatchComputeResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BatchComputeResources() {} + private BatchComputeResources() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchComputeResources(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder - .class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder.class); } public static final int EXECUTORS_COUNT_FIELD_NUMBER = 1; private int executorsCount_ = 0; /** - * - * *
        * Optional. Total number of job executors.
        * Executor Count should be between 2 and 100. [Default=2]
        * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The executorsCount. */ @java.lang.Override @@ -346,8 +274,6 @@ public int getExecutorsCount() { public static final int MAX_EXECUTORS_COUNT_FIELD_NUMBER = 2; private int maxExecutorsCount_ = 0; /** - * - * *
        * Optional. Max configurable executors.
        * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -355,7 +281,6 @@ public int getExecutorsCount() {
        * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxExecutorsCount. */ @java.lang.Override @@ -364,7 +289,6 @@ public int getMaxExecutorsCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,7 +300,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (executorsCount_ != 0) { output.writeInt32(1, executorsCount_); } @@ -393,10 +318,12 @@ public int getSerializedSize() { size = 0; if (executorsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, executorsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, executorsCount_); } if (maxExecutorsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxExecutorsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxExecutorsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -406,18 +333,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other = - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) obj; - if (getExecutorsCount() != other.getExecutorsCount()) return false; - if (getMaxExecutorsCount() != other.getMaxExecutorsCount()) return false; + if (getExecutorsCount() + != other.getExecutorsCount()) return false; + if (getMaxExecutorsCount() + != other.getMaxExecutorsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -438,103 +364,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -544,44 +457,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Batch compute resources associated with the task.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} + * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder - .class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -592,22 +500,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources build() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = - buildPartial(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -615,19 +520,14 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResource } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources buildPartial() { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.executorsCount_ = executorsCount_; @@ -641,55 +541,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) other); + if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) { + return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other) { - if (other - == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other) { + if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance()) return this; if (other.getExecutorsCount() != 0) { setExecutorsCount(other.getExecutorsCount()); } @@ -722,25 +613,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - executorsCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - maxExecutorsCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + executorsCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxExecutorsCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -750,20 +638,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int executorsCount_; + private int executorsCount_ ; /** - * - * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The executorsCount. */ @java.lang.Override @@ -771,15 +655,12 @@ public int getExecutorsCount() { return executorsCount_; } /** - * - * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The executorsCount to set. * @return This builder for chaining. */ @@ -791,15 +672,12 @@ public Builder setExecutorsCount(int value) { return this; } /** - * - * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExecutorsCount() { @@ -809,10 +687,8 @@ public Builder clearExecutorsCount() { return this; } - private int maxExecutorsCount_; + private int maxExecutorsCount_ ; /** - * - * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -820,7 +696,6 @@ public Builder clearExecutorsCount() {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxExecutorsCount. */ @java.lang.Override @@ -828,8 +703,6 @@ public int getMaxExecutorsCount() { return maxExecutorsCount_; } /** - * - * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -837,7 +710,6 @@ public int getMaxExecutorsCount() {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxExecutorsCount to set. * @return This builder for chaining. */ @@ -849,8 +721,6 @@ public Builder setMaxExecutorsCount(int value) { return this; } /** - * - * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -858,7 +728,6 @@ public Builder setMaxExecutorsCount(int value) {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxExecutorsCount() { @@ -867,7 +736,6 @@ public Builder clearMaxExecutorsCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -880,46 +748,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec - .BatchComputeResources - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchComputeResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchComputeResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -931,45 +794,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ContainerImageRuntimeOrBuilder - extends + public interface ContainerImageRuntimeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The image. */ java.lang.String getImage(); /** - * - * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for image. */ - com.google.protobuf.ByteString getImageBytes(); + com.google.protobuf.ByteString + getImageBytes(); /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -977,13 +832,11 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the javaJars. */ - java.util.List getJavaJarsList(); + java.util.List + getJavaJarsList(); /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -991,13 +844,10 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of javaJars. */ int getJavaJarsCount(); /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1005,14 +855,11 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The javaJars at the given index. */ java.lang.String getJavaJars(int index); /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1020,15 +867,13 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - com.google.protobuf.ByteString getJavaJarsBytes(int index); + com.google.protobuf.ByteString + getJavaJarsBytes(int index); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1036,13 +881,11 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the pythonPackages. */ - java.util.List getPythonPackagesList(); + java.util.List + getPythonPackagesList(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1050,13 +893,10 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of pythonPackages. */ int getPythonPackagesCount(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1064,14 +904,11 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ java.lang.String getPythonPackages(int index); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1079,15 +916,13 @@ public interface ContainerImageRuntimeOrBuilder
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - com.google.protobuf.ByteString getPythonPackagesBytes(int index); + com.google.protobuf.ByteString + getPythonPackagesBytes(int index); /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1096,13 +931,10 @@ public interface ContainerImageRuntimeOrBuilder
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getPropertiesCount(); /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1111,16 +943,17 @@ public interface ContainerImageRuntimeOrBuilder
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsProperties( + java.lang.String key); + /** + * Use {@link #getPropertiesMap()} instead. */ - boolean containsProperties(java.lang.String key); - /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated - java.util.Map getProperties(); + java.util.Map + getProperties(); /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1129,13 +962,11 @@ public interface ContainerImageRuntimeOrBuilder
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getPropertiesMap(); + java.util.Map + getPropertiesMap(); /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1144,17 +975,14 @@ public interface ContainerImageRuntimeOrBuilder
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getPropertiesOrDefault( +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1163,82 +991,76 @@ java.lang.String getPropertiesOrDefault(
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getPropertiesOrThrow(java.lang.String key); + java.lang.String getPropertiesOrThrow( + java.lang.String key); } /** - * - * *
      * Container Image Runtime Configuration used with Batch execution.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} */ - public static final class ContainerImageRuntime extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ContainerImageRuntime extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) ContainerImageRuntimeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContainerImageRuntime.newBuilder() to construct. private ContainerImageRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContainerImageRuntime() { image_ = ""; - javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + javaJars_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContainerImageRuntime(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_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 4: return internalGetProperties(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder - .class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder.class); } public static final int IMAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object image_ = ""; /** - * - * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The image. */ @java.lang.Override @@ -1247,29 +1069,29 @@ public java.lang.String getImage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; } } /** - * - * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); image_ = b; return b; } else { @@ -1278,13 +1100,10 @@ public com.google.protobuf.ByteString getImageBytes() { } public static final int JAVA_JARS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1292,15 +1111,13 @@ public com.google.protobuf.ByteString getImageBytes() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the javaJars. */ - public com.google.protobuf.ProtocolStringList getJavaJarsList() { + public com.google.protobuf.ProtocolStringList + getJavaJarsList() { return javaJars_; } /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1308,15 +1125,12 @@ public com.google.protobuf.ProtocolStringList getJavaJarsList() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of javaJars. */ public int getJavaJarsCount() { return javaJars_.size(); } /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1324,7 +1138,6 @@ public int getJavaJarsCount() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The javaJars at the given index. */ @@ -1332,8 +1145,6 @@ public java.lang.String getJavaJars(int index) { return javaJars_.get(index); } /** - * - * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1341,22 +1152,19 @@ public java.lang.String getJavaJars(int index) {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - public com.google.protobuf.ByteString getJavaJarsBytes(int index) { + public com.google.protobuf.ByteString + getJavaJarsBytes(int index) { return javaJars_.getByteString(index); } public static final int PYTHON_PACKAGES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1364,15 +1172,13 @@ public com.google.protobuf.ByteString getJavaJarsBytes(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList + getPythonPackagesList() { return pythonPackages_; } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1380,15 +1186,12 @@ public com.google.protobuf.ProtocolStringList getPythonPackagesList() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1396,7 +1199,6 @@ public int getPythonPackagesCount() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -1404,8 +1206,6 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** - * - * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1413,45 +1213,41 @@ public java.lang.String getPythonPackages(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString + getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } public static final int PROPERTIES_FIELD_NUMBER = 4; - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField properties_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } - public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1460,25 +1256,23 @@ public int getPropertiesCount() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1487,16 +1281,13 @@ public java.util.Map getProperties() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1505,23 +1296,20 @@ public java.util.Map getPropertiesMap() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getPropertiesOrDefault( + public /* nullable */ +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1530,15 +1318,14 @@ public java.util.Map getPropertiesMap() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1546,7 +1333,6 @@ public java.lang.String getPropertiesOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1558,7 +1344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); } @@ -1568,8 +1355,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < pythonPackages_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pythonPackages_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetProperties(), + PropertiesDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -1598,15 +1389,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPythonPackagesList().size(); } - for (java.util.Map.Entry entry : - internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry properties__ = - PropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, properties__); + for (java.util.Map.Entry entry + : internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, properties__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1616,20 +1407,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)) { + if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other = - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) obj; - if (!getImage().equals(other.getImage())) return false; - if (!getJavaJarsList().equals(other.getJavaJarsList())) return false; - if (!getPythonPackagesList().equals(other.getPythonPackagesList())) return false; - if (!internalGetProperties().equals(other.internalGetProperties())) return false; + if (!getImage() + .equals(other.getImage())) return false; + if (!getJavaJarsList() + .equals(other.getJavaJarsList())) return false; + if (!getPythonPackagesList() + .equals(other.getPythonPackagesList())) return false; + if (!internalGetProperties().equals( + other.internalGetProperties())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1660,103 +1452,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1766,92 +1545,88 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Container Image Runtime Configuration used with Batch execution.
        * 
* - * Protobuf type {@code - * google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} + * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetProperties(); 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 4: return internalGetMutableProperties(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder - .class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; image_ = ""; - javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + javaJars_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableProperties().clear(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime build() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = - buildPartial(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1859,19 +1634,14 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntim } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime buildPartial() { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.image_ = image_; @@ -1894,55 +1664,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) other); + if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) { + return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other) { - if (other - == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other) { + if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance()) return this; if (!other.getImage().isEmpty()) { image_ = other.image_; bitField0_ |= 0x00000001; @@ -1968,7 +1729,8 @@ public Builder mergeFrom( } onChanged(); } - internalGetMutableProperties().mergeFrom(other.internalGetProperties()); + internalGetMutableProperties().mergeFrom( + other.internalGetProperties()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1996,45 +1758,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - image_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureJavaJarsIsMutable(); - javaJars_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePythonPackagesIsMutable(); - pythonPackages_.add(s); - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry properties__ = - input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableProperties() - .getMutableMap() - .put(properties__.getKey(), properties__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + image_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureJavaJarsIsMutable(); + javaJars_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePythonPackagesIsMutable(); + pythonPackages_.add(s); + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableProperties().getMutableMap().put( + properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2044,25 +1799,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object image_ = ""; /** - * - * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; @@ -2071,21 +1823,20 @@ public java.lang.String getImage() { } } /** - * - * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for image. */ - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); image_ = b; return b; } else { @@ -2093,35 +1844,28 @@ public com.google.protobuf.ByteString getImageBytes() { } } /** - * - * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearImage() { @@ -2131,21 +1875,17 @@ public Builder clearImage() { return this; } /** - * - * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); image_ = value; bitField0_ |= 0x00000001; @@ -2155,7 +1895,6 @@ public Builder setImageBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureJavaJarsIsMutable() { if (!javaJars_.isModifiable()) { javaJars_ = new com.google.protobuf.LazyStringArrayList(javaJars_); @@ -2163,8 +1902,6 @@ private void ensureJavaJarsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2172,16 +1909,14 @@ private void ensureJavaJarsIsMutable() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the javaJars. */ - public com.google.protobuf.ProtocolStringList getJavaJarsList() { + public com.google.protobuf.ProtocolStringList + getJavaJarsList() { javaJars_.makeImmutable(); return javaJars_; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2189,15 +1924,12 @@ public com.google.protobuf.ProtocolStringList getJavaJarsList() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of javaJars. */ public int getJavaJarsCount() { return javaJars_.size(); } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2205,7 +1937,6 @@ public int getJavaJarsCount() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The javaJars at the given index. */ @@ -2213,8 +1944,6 @@ public java.lang.String getJavaJars(int index) { return javaJars_.get(index); } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2222,16 +1951,14 @@ public java.lang.String getJavaJars(int index) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - public com.google.protobuf.ByteString getJavaJarsBytes(int index) { + public com.google.protobuf.ByteString + getJavaJarsBytes(int index) { return javaJars_.getByteString(index); } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2239,15 +1966,13 @@ public com.google.protobuf.ByteString getJavaJarsBytes(int index) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The javaJars to set. * @return This builder for chaining. */ - public Builder setJavaJars(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJavaJars( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureJavaJarsIsMutable(); javaJars_.set(index, value); bitField0_ |= 0x00000002; @@ -2255,8 +1980,6 @@ public Builder setJavaJars(int index, java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2264,14 +1987,12 @@ public Builder setJavaJars(int index, java.lang.String value) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The javaJars to add. * @return This builder for chaining. */ - public Builder addJavaJars(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addJavaJars( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureJavaJarsIsMutable(); javaJars_.add(value); bitField0_ |= 0x00000002; @@ -2279,8 +2000,6 @@ public Builder addJavaJars(java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2288,20 +2007,19 @@ public Builder addJavaJars(java.lang.String value) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The javaJars to add. * @return This builder for chaining. */ - public Builder addAllJavaJars(java.lang.Iterable values) { + public Builder addAllJavaJars( + java.lang.Iterable values) { ensureJavaJarsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, javaJars_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, javaJars_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2309,19 +2027,16 @@ public Builder addAllJavaJars(java.lang.Iterable values) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearJavaJars() { - javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + javaJars_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2329,14 +2044,12 @@ public Builder clearJavaJars() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the javaJars to add. * @return This builder for chaining. */ - public Builder addJavaJarsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addJavaJarsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureJavaJarsIsMutable(); javaJars_.add(value); @@ -2347,7 +2060,6 @@ public Builder addJavaJarsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePythonPackagesIsMutable() { if (!pythonPackages_.isModifiable()) { pythonPackages_ = new com.google.protobuf.LazyStringArrayList(pythonPackages_); @@ -2355,52 +2067,41 @@ private void ensurePythonPackagesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList + getPythonPackagesList() { pythonPackages_.makeImmutable(); return pythonPackages_; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -2408,43 +2109,35 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString + getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The pythonPackages to set. * @return This builder for chaining. */ - public Builder setPythonPackages(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPythonPackages( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePythonPackagesIsMutable(); pythonPackages_.set(index, value); bitField0_ |= 0x00000004; @@ -2452,24 +2145,19 @@ public Builder setPythonPackages(int index, java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackages(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPythonPackages( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePythonPackagesIsMutable(); pythonPackages_.add(value); bitField0_ |= 0x00000004; @@ -2477,67 +2165,56 @@ public Builder addPythonPackages(java.lang.String value) { return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The pythonPackages to add. * @return This builder for chaining. */ - public Builder addAllPythonPackages(java.lang.Iterable values) { + public Builder addAllPythonPackages( + java.lang.Iterable values) { ensurePythonPackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pythonPackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pythonPackages_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPythonPackages() { - pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + pythonPackages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPythonPackagesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePythonPackagesIsMutable(); pythonPackages_.add(value); @@ -2546,8 +2223,8 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField properties_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { @@ -2556,12 +2233,11 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { } return properties_; } - private com.google.protobuf.MapField internalGetMutableProperties() { if (properties_ == null) { - properties_ = - com.google.protobuf.MapField.newMapField(PropertiesDefaultEntryHolder.defaultEntry); + properties_ = com.google.protobuf.MapField.newMapField( + PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); @@ -2570,13 +2246,10 @@ public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { onChanged(); return properties_; } - public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2585,25 +2258,23 @@ public int getPropertiesCount() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2612,16 +2283,13 @@ public java.util.Map getProperties() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2630,23 +2298,20 @@ public java.util.Map getPropertiesMap() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getPropertiesOrDefault( + public /* nullable */ +java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2655,29 +2320,26 @@ public java.util.Map getPropertiesMap() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearProperties() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableProperties().getMutableMap().clear(); + internalGetMutableProperties().getMutableMap() + .clear(); return this; } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2686,25 +2348,25 @@ public Builder clearProperties() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().getMutableMap().remove(key); + public Builder removeProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableProperties().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableProperties() { + public java.util.Map + getMutableProperties() { bitField0_ |= 0x00000008; return internalGetMutableProperties().getMutableMap(); } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2713,23 +2375,19 @@ public java.util.Map getMutableProperties()
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putProperties(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableProperties().getMutableMap().put(key, value); + public Builder putProperties( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableProperties().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2738,15 +2396,15 @@ public Builder putProperties(java.lang.String key, java.lang.String value) {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllProperties(java.util.Map values) { - internalGetMutableProperties().getMutableMap().putAll(values); + public Builder putAllProperties( + java.util.Map values) { + internalGetMutableProperties().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2759,46 +2417,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec - .ContainerImageRuntime - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(); + DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContainerImageRuntime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContainerImageRuntime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2810,206 +2463,171 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface VpcNetworkOrBuilder - extends + public interface VpcNetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the network field is set. */ boolean hasNetwork(); /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the subNetwork field is set. */ boolean hasSubNetwork(); /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subNetwork. */ java.lang.String getSubNetwork(); /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subNetwork. */ - com.google.protobuf.ByteString getSubNetworkBytes(); + com.google.protobuf.ByteString + getSubNetworkBytes(); /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.NetworkNameCase - getNetworkNameCase(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase(); } /** - * - * *
      * Cloud VPC Network used to run the infrastructure.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork} */ - public static final class VpcNetwork extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class VpcNetwork extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) VpcNetworkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpcNetwork.newBuilder() to construct. private VpcNetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpcNetwork() { - networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpcNetwork(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); } private int networkNameCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object networkName_; - public enum NetworkNameCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NETWORK(1), SUB_NETWORK(2), NETWORKNAME_NOT_SET(0); private final int value; - private NetworkNameCase(int value) { this.value = value; } @@ -3025,52 +2643,43 @@ public static NetworkNameCase valueOf(int value) { public static NetworkNameCase forNumber(int value) { switch (value) { - case 1: - return NETWORK; - case 2: - return SUB_NETWORK; - case 0: - return NETWORKNAME_NOT_SET; - default: - return null; + case 1: return NETWORK; + case 2: return SUB_NETWORK; + case 0: return NETWORKNAME_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public NetworkNameCase getNetworkNameCase() { - return NetworkNameCase.forNumber(networkNameCase_); + public NetworkNameCase + getNetworkNameCase() { + return NetworkNameCase.forNumber( + networkNameCase_); } public static final int NETWORK_FIELD_NUMBER = 1; /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the network field is set. */ public boolean hasNetwork() { return networkNameCase_ == 1; } /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ public java.lang.String getNetwork() { @@ -3081,7 +2690,8 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (networkNameCase_ == 1) { networkName_ = s; @@ -3090,25 +2700,24 @@ public java.lang.String getNetwork() { } } /** - * - * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 1) { ref = networkName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 1) { networkName_ = b; } @@ -3120,28 +2729,22 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUB_NETWORK_FIELD_NUMBER = 2; /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the subNetwork field is set. */ public boolean hasSubNetwork() { return networkNameCase_ == 2; } /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subNetwork. */ public java.lang.String getSubNetwork() { @@ -3152,7 +2755,8 @@ public java.lang.String getSubNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (networkNameCase_ == 2) { networkName_ = s; @@ -3161,24 +2765,23 @@ public java.lang.String getSubNetwork() { } } /** - * - * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subNetwork. */ - public com.google.protobuf.ByteString getSubNetworkBytes() { + public com.google.protobuf.ByteString + getSubNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 2) { ref = networkName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 2) { networkName_ = b; } @@ -3189,47 +2792,38 @@ public com.google.protobuf.ByteString getSubNetworkBytes() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -3237,23 +2831,20 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3265,7 +2856,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (networkNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, networkName_); } @@ -3306,22 +2898,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other = - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) obj; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; if (!getNetworkNameCase().equals(other.getNetworkNameCase())) return false; switch (networkNameCase_) { case 1: - if (!getNetwork().equals(other.getNetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; break; case 2: - if (!getSubNetwork().equals(other.getSubNetwork())) return false; + if (!getSubNetwork() + .equals(other.getSubNetwork())) return false; break; case 0: default: @@ -3359,96 +2953,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3458,63 +3045,59 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Cloud VPC Network used to run the infrastructure.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); } - // Construct using - // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder() - private Builder() {} + // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = + com.google.protobuf.LazyStringArrayList.emptyList(); networkNameCase_ = 0; networkName_ = null; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } @java.lang.Override @@ -3528,18 +3111,14 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { networkTags_.makeImmutable(); @@ -3547,8 +3126,7 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { + private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { result.networkNameCase_ = networkNameCase_; result.networkName_ = this.networkName_; } @@ -3557,53 +3135,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) { - return mergeFrom( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other) { - if (other - == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other) { + if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance()) return this; if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -3615,24 +3186,21 @@ public Builder mergeFrom( onChanged(); } switch (other.getNetworkNameCase()) { - case NETWORK: - { - networkNameCase_ = 1; - networkName_ = other.networkName_; - onChanged(); - break; - } - case SUB_NETWORK: - { - networkNameCase_ = 2; - networkName_ = other.networkName_; - onChanged(); - break; - } - case NETWORKNAME_NOT_SET: - { - break; - } + case NETWORK: { + networkNameCase_ = 1; + networkName_ = other.networkName_; + onChanged(); + break; + } + case SUB_NETWORK: { + networkNameCase_ = 2; + networkName_ = other.networkName_; + onChanged(); + break; + } + case NETWORKNAME_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3660,34 +3228,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - networkNameCase_ = 1; - networkName_ = s; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - networkNameCase_ = 2; - networkName_ = s; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + networkNameCase_ = 1; + networkName_ = s; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + networkNameCase_ = 2; + networkName_ = s; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3697,12 +3261,12 @@ public Builder mergeFrom( } // finally return this; } - private int networkNameCase_ = 0; private java.lang.Object networkName_; - - public NetworkNameCase getNetworkNameCase() { - return NetworkNameCase.forNumber(networkNameCase_); + public NetworkNameCase + getNetworkNameCase() { + return NetworkNameCase.forNumber( + networkNameCase_); } public Builder clearNetworkName() { @@ -3715,15 +3279,12 @@ public Builder clearNetworkName() { private int bitField0_; /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the network field is set. */ @java.lang.Override @@ -3731,15 +3292,12 @@ public boolean hasNetwork() { return networkNameCase_ == 1; } /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ @java.lang.Override @@ -3749,7 +3307,8 @@ public java.lang.String getNetwork() { ref = networkName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (networkNameCase_ == 1) { networkName_ = s; @@ -3760,26 +3319,25 @@ public java.lang.String getNetwork() { } } /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 1) { ref = networkName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 1) { networkName_ = b; } @@ -3789,37 +3347,30 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkNameCase_ = 1; networkName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -3831,22 +3382,18 @@ public Builder clearNetwork() { return this; } /** - * - * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkNameCase_ = 1; networkName_ = value; @@ -3855,14 +3402,11 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the subNetwork field is set. */ @java.lang.Override @@ -3870,14 +3414,11 @@ public boolean hasSubNetwork() { return networkNameCase_ == 2; } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subNetwork. */ @java.lang.Override @@ -3887,7 +3428,8 @@ public java.lang.String getSubNetwork() { ref = networkName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (networkNameCase_ == 2) { networkName_ = s; @@ -3898,25 +3440,24 @@ public java.lang.String getSubNetwork() { } } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subNetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubNetworkBytes() { + public com.google.protobuf.ByteString + getSubNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 2) { ref = networkName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 2) { networkName_ = b; } @@ -3926,35 +3467,28 @@ public com.google.protobuf.ByteString getSubNetworkBytes() { } } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The subNetwork to set. * @return This builder for chaining. */ - public Builder setSubNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkNameCase_ = 2; networkName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSubNetwork() { @@ -3966,21 +3500,17 @@ public Builder clearSubNetwork() { return this; } /** - * - * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for subNetwork to set. * @return This builder for chaining. */ - public Builder setSubNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkNameCase_ = 2; networkName_ = value; @@ -3990,7 +3520,6 @@ public Builder setSubNetworkBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureNetworkTagsIsMutable() { if (!networkTags_.isModifiable()) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); @@ -3998,43 +3527,35 @@ private void ensureNetworkTagsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { networkTags_.makeImmutable(); return networkTags_; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -4042,37 +3563,31 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); bitField0_ |= 0x00000004; @@ -4080,21 +3595,17 @@ public Builder setNetworkTags(int index, java.lang.String value) { return this; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.add(value); bitField0_ |= 0x00000004; @@ -4102,58 +3613,50 @@ public Builder addNetworkTags(java.lang.String value) { return this; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { - networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + networkTags_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -4161,7 +3664,6 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4174,44 +3676,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcNetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VpcNetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4223,25 +3722,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourcesCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object resources_; - public enum ResourcesCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH(52), RESOURCES_NOT_SET(0); private final int value; - private ResourcesCase(int value) { this.value = value; } @@ -4257,37 +3752,31 @@ public static ResourcesCase valueOf(int value) { public static ResourcesCase forNumber(int value) { switch (value) { - case 52: - return BATCH; - case 0: - return RESOURCES_NOT_SET; - default: - return null; + case 52: return BATCH; + case 0: return RESOURCES_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourcesCase getResourcesCase() { - return ResourcesCase.forNumber(resourcesCase_); + public ResourcesCase + getResourcesCase() { + return ResourcesCase.forNumber( + resourcesCase_); } private int runtimeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object runtime_; - public enum RuntimeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTAINER_IMAGE(101), RUNTIME_NOT_SET(0); private final int value; - private RuntimeCase(int value) { this.value = value; } @@ -4303,37 +3792,31 @@ public static RuntimeCase valueOf(int value) { public static RuntimeCase forNumber(int value) { switch (value) { - case 101: - return CONTAINER_IMAGE; - case 0: - return RUNTIME_NOT_SET; - default: - return null; + case 101: return CONTAINER_IMAGE; + case 0: return RUNTIME_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuntimeCase getRuntimeCase() { - return RuntimeCase.forNumber(runtimeCase_); + public RuntimeCase + getRuntimeCase() { + return RuntimeCase.forNumber( + runtimeCase_); } private int networkCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object network_; - public enum NetworkCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VPC_NETWORK(150), NETWORK_NOT_SET(0); private final int value; - private NetworkCase(int value) { this.value = value; } @@ -4349,95 +3832,72 @@ public static NetworkCase valueOf(int value) { public static NetworkCase forNumber(int value) { switch (value) { - case 150: - return VPC_NETWORK; - case 0: - return NETWORK_NOT_SET; - default: - return null; + case 150: return VPC_NETWORK; + case 0: return NETWORK_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public NetworkCase getNetworkCase() { - return NetworkCase.forNumber(networkCase_); + public NetworkCase + getNetworkCase() { + return NetworkCase.forNumber( + networkCase_); } public static final int BATCH_FIELD_NUMBER = 52; /** - * - * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return Whether the batch field is set. */ @java.lang.Override public boolean hasBatch() { return resourcesCase_ == 52; } - /** - * - * + /** *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return The batch. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch() { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } /** - * - * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder - getBatchOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder() { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } public static final int CONTAINER_IMAGE_FIELD_NUMBER = 101; /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return Whether the containerImage field is set. */ @java.lang.Override @@ -4445,60 +3905,42 @@ public boolean hasContainerImage() { return runtimeCase_ == 101; } /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return The containerImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - getContainerImage() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage() { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } /** - * - * *
      * Container Image Runtime Configuration.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder - getContainerImageOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder() { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } public static final int VPC_NETWORK_FIELD_NUMBER = 150; /** - * - * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * * @return Whether the vpcNetwork field is set. */ @java.lang.Override @@ -4506,26 +3948,21 @@ public boolean hasVpcNetwork() { return networkCase_ == 150; } /** - * - * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * * @return The vpcNetwork. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNetwork() { if (networkCase_ == 150) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } /** - * - * *
      * Vpc network.
      * 
@@ -4533,16 +3970,14 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNet * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder - getVpcNetworkOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder() { if (networkCase_ == 150) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4554,21 +3989,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 (resourcesCase_ == 52) { - output.writeMessage( - 52, - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_); + output.writeMessage(52, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_); } if (runtimeCase_ == 101) { - output.writeMessage( - 101, - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); + output.writeMessage(101, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); } if (networkCase_ == 150) { - output.writeMessage( - 150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); + output.writeMessage(150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); } getUnknownFields().writeTo(output); } @@ -4580,23 +4010,16 @@ public int getSerializedSize() { size = 0; if (resourcesCase_ == 52) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 52, - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(52, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_); } if (runtimeCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); } if (networkCase_ == 150) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4606,18 +4029,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec other = - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec) obj; if (!getResourcesCase().equals(other.getResourcesCase())) return false; switch (resourcesCase_) { case 52: - if (!getBatch().equals(other.getBatch())) return false; + if (!getBatch() + .equals(other.getBatch())) return false; break; case 0: default: @@ -4625,7 +4048,8 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeCase().equals(other.getRuntimeCase())) return false; switch (runtimeCase_) { case 101: - if (!getContainerImage().equals(other.getContainerImage())) return false; + if (!getContainerImage() + .equals(other.getContainerImage())) return false; break; case 0: default: @@ -4633,7 +4057,8 @@ public boolean equals(final java.lang.Object obj) { if (!getNetworkCase().equals(other.getNetworkCase())) return false; switch (networkCase_) { case 150: - if (!getVpcNetwork().equals(other.getVpcNetwork())) return false; + if (!getVpcNetwork() + .equals(other.getVpcNetwork())) return false; break; case 0: default: @@ -4679,94 +4104,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4776,41 +4196,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the underlying infrastructure used to run workloads.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec) com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4834,9 +4252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override @@ -4855,11 +4273,8 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec result = - new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.InfrastructureSpec result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -4872,17 +4287,20 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.InfrastructureSpec result) { result.resourcesCase_ = resourcesCase_; result.resources_ = this.resources_; - if (resourcesCase_ == 52 && batchBuilder_ != null) { + if (resourcesCase_ == 52 && + batchBuilder_ != null) { result.resources_ = batchBuilder_.build(); } result.runtimeCase_ = runtimeCase_; result.runtime_ = this.runtime_; - if (runtimeCase_ == 101 && containerImageBuilder_ != null) { + if (runtimeCase_ == 101 && + containerImageBuilder_ != null) { result.runtime_ = containerImageBuilder_.build(); } result.networkCase_ = networkCase_; result.network_ = this.network_; - if (networkCase_ == 150 && vpcNetworkBuilder_ != null) { + if (networkCase_ == 150 && + vpcNetworkBuilder_ != null) { result.network_ = vpcNetworkBuilder_.build(); } } @@ -4891,41 +4309,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.Infrastructure public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec)other); } else { super.mergeFrom(other); return this; @@ -4933,40 +4348,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) return this; switch (other.getResourcesCase()) { - case BATCH: - { - mergeBatch(other.getBatch()); - break; - } - case RESOURCES_NOT_SET: - { - break; - } + case BATCH: { + mergeBatch(other.getBatch()); + break; + } + case RESOURCES_NOT_SET: { + break; + } } switch (other.getRuntimeCase()) { - case CONTAINER_IMAGE: - { - mergeContainerImage(other.getContainerImage()); - break; - } - case RUNTIME_NOT_SET: - { - break; - } + case CONTAINER_IMAGE: { + mergeContainerImage(other.getContainerImage()); + break; + } + case RUNTIME_NOT_SET: { + break; + } } switch (other.getNetworkCase()) { - case VPC_NETWORK: - { - mergeVpcNetwork(other.getVpcNetwork()); - break; - } - case NETWORK_NOT_SET: - { - break; - } + case VPC_NETWORK: { + mergeVpcNetwork(other.getVpcNetwork()); + break; + } + case NETWORK_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4994,32 +4402,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 418: - { - input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry); - resourcesCase_ = 52; - break; - } // case 418 - case 810: - { - input.readMessage( - getContainerImageFieldBuilder().getBuilder(), extensionRegistry); - runtimeCase_ = 101; - break; - } // case 810 - case 1202: - { - input.readMessage(getVpcNetworkFieldBuilder().getBuilder(), extensionRegistry); - networkCase_ = 150; - break; - } // case 1202 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 418: { + input.readMessage( + getBatchFieldBuilder().getBuilder(), + extensionRegistry); + resourcesCase_ = 52; + break; + } // case 418 + case 810: { + input.readMessage( + getContainerImageFieldBuilder().getBuilder(), + extensionRegistry); + runtimeCase_ = 101; + break; + } // case 810 + case 1202: { + input.readMessage( + getVpcNetworkFieldBuilder().getBuilder(), + extensionRegistry); + networkCase_ = 150; + break; + } // case 1202 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5029,12 +4438,12 @@ public Builder mergeFrom( } // finally return this; } - private int resourcesCase_ = 0; private java.lang.Object resources_; - - public ResourcesCase getResourcesCase() { - return ResourcesCase.forNumber(resourcesCase_); + public ResourcesCase + getResourcesCase() { + return ResourcesCase.forNumber( + resourcesCase_); } public Builder clearResources() { @@ -5046,9 +4455,10 @@ public Builder clearResources() { private int runtimeCase_ = 0; private java.lang.Object runtime_; - - public RuntimeCase getRuntimeCase() { - return RuntimeCase.forNumber(runtimeCase_); + public RuntimeCase + getRuntimeCase() { + return RuntimeCase.forNumber( + runtimeCase_); } public Builder clearRuntime() { @@ -5060,9 +4470,10 @@ public Builder clearRuntime() { private int networkCase_ = 0; private java.lang.Object network_; - - public NetworkCase getNetworkCase() { - return NetworkCase.forNumber(networkCase_); + public NetworkCase + getNetworkCase() { + return NetworkCase.forNumber( + networkCase_); } public Builder clearNetwork() { @@ -5075,20 +4486,13 @@ public Builder clearNetwork() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> - batchBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> batchBuilder_; /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return Whether the batch field is set. */ @java.lang.Override @@ -5096,46 +4500,35 @@ public boolean hasBatch() { return resourcesCase_ == 52; } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; * @return The batch. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch() { if (batchBuilder_ == null) { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } else { if (resourcesCase_ == 52) { return batchBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ - public Builder setBatch( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { + public Builder setBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { if (batchBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5149,18 +4542,14 @@ public Builder setBatch( return this; } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ public Builder setBatch( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder builderForValue) { if (batchBuilder_ == null) { resources_ = builderForValue.build(); onChanged(); @@ -5171,29 +4560,18 @@ public Builder setBatch( return this; } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ - public Builder mergeBatch( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { + public Builder mergeBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { if (batchBuilder_ == null) { - if (resourcesCase_ == 52 - && resources_ - != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance()) { - resources_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .newBuilder( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_) - .mergeFrom(value) - .buildPartial(); + if (resourcesCase_ == 52 && + resources_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance()) { + resources_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_) + .mergeFrom(value).buildPartial(); } else { resources_ = value; } @@ -5209,14 +4587,11 @@ public Builder mergeBatch( return this; } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ public Builder clearBatch() { if (batchBuilder_ == null) { @@ -5235,73 +4610,50 @@ public Builder clearBatch() { return this; } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder - getBatchBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder getBatchBuilder() { return getBatchFieldBuilder().getBuilder(); } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder - getBatchOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder() { if ((resourcesCase_ == 52) && (batchBuilder_ != null)) { return batchBuilder_.getMessageOrBuilder(); } else { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } } /** - * - * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { if (!(resourcesCase_ == 52)) { - resources_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .getDefaultInstance(); + resources_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); } - batchBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources - .Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec - .BatchComputeResourcesOrBuilder>( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - resources_, + batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder>( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_, getParentForChildren(), isClean()); resources_ = null; @@ -5312,21 +4664,13 @@ public Builder clearBatch() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> - containerImageBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> containerImageBuilder_; /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return Whether the containerImage field is set. */ @java.lang.Override @@ -5334,49 +4678,35 @@ public boolean hasContainerImage() { return runtimeCase_ == 101; } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; * @return The containerImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - getContainerImage() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage() { if (containerImageBuilder_ == null) { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } else { if (runtimeCase_ == 101) { return containerImageBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ - public Builder setContainerImage( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { + public Builder setContainerImage(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { if (containerImageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5390,19 +4720,14 @@ public Builder setContainerImage( return this; } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ public Builder setContainerImage( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder - builderForValue) { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder builderForValue) { if (containerImageBuilder_ == null) { runtime_ = builderForValue.build(); onChanged(); @@ -5413,30 +4738,18 @@ public Builder setContainerImage( return this; } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ - public Builder mergeContainerImage( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { + public Builder mergeContainerImage(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { if (containerImageBuilder_ == null) { - if (runtimeCase_ == 101 - && runtime_ - != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance()) { - runtime_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .newBuilder( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_) - .mergeFrom(value) - .buildPartial(); + if (runtimeCase_ == 101 && + runtime_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance()) { + runtime_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_) + .mergeFrom(value).buildPartial(); } else { runtime_ = value; } @@ -5452,15 +4765,11 @@ public Builder mergeContainerImage( return this; } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ public Builder clearContainerImage() { if (containerImageBuilder_ == null) { @@ -5479,76 +4788,50 @@ public Builder clearContainerImage() { return this; } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder - getContainerImageBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder getContainerImageBuilder() { return getContainerImageFieldBuilder().getBuilder(); } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder - getContainerImageOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder() { if ((runtimeCase_ == 101) && (containerImageBuilder_ != null)) { return containerImageBuilder_.getMessageOrBuilder(); } else { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } } /** - * - * *
        * Container Image Runtime Configuration.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> getContainerImageFieldBuilder() { if (containerImageBuilder_ == null) { if (!(runtimeCase_ == 101)) { - runtime_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .getDefaultInstance(); + runtime_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); } - containerImageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime - .Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec - .ContainerImageRuntimeOrBuilder>( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - runtime_, + containerImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder>( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_, getParentForChildren(), isClean()); runtime_ = null; @@ -5559,20 +4842,13 @@ public Builder clearContainerImage() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> - vpcNetworkBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> vpcNetworkBuilder_; /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; * @return Whether the vpcNetwork field is set. */ @java.lang.Override @@ -5580,15 +4856,11 @@ public boolean hasVpcNetwork() { return networkCase_ == 150; } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; * @return The vpcNetwork. */ @java.lang.Override @@ -5597,28 +4869,22 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNet if (networkCase_ == 150) { return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } else { if (networkCase_ == 150) { return vpcNetworkBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ - public Builder setVpcNetwork( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { + public Builder setVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { if (vpcNetworkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5632,14 +4898,11 @@ public Builder setVpcNetwork( return this; } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ public Builder setVpcNetwork( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder builderForValue) { @@ -5653,27 +4916,18 @@ public Builder setVpcNetwork( return this; } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ - public Builder mergeVpcNetwork( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { + public Builder mergeVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { if (vpcNetworkBuilder_ == null) { - if (networkCase_ == 150 - && network_ - != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance()) { - network_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_) - .mergeFrom(value) - .buildPartial(); + if (networkCase_ == 150 && + network_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance()) { + network_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_) + .mergeFrom(value).buildPartial(); } else { network_ = value; } @@ -5689,14 +4943,11 @@ public Builder mergeVpcNetwork( return this; } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ public Builder clearVpcNetwork() { if (vpcNetworkBuilder_ == null) { @@ -5715,68 +4966,49 @@ public Builder clearVpcNetwork() { return this; } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder - getVpcNetworkBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder getVpcNetworkBuilder() { return getVpcNetworkFieldBuilder().getBuilder(); } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder - getVpcNetworkOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder() { if ((networkCase_ == 150) && (vpcNetworkBuilder_ != null)) { return vpcNetworkBuilder_.getMessageOrBuilder(); } else { if (networkCase_ == 150) { return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } } /** - * - * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> getVpcNetworkFieldBuilder() { if (vpcNetworkBuilder_ == null) { if (!(networkCase_ == 150)) { - network_ = - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork - .getDefaultInstance(); + network_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } - vpcNetworkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder>( + vpcNetworkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder>( (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_, getParentForChildren(), isClean()); @@ -5786,7 +5018,6 @@ public Builder clearVpcNetwork() { onChanged(); return vpcNetworkBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5799,12 +5030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec) private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(); } @@ -5813,28 +5044,27 @@ public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfrastructureSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfrastructureSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5849,89 +5079,66 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TriggerSpecOrBuilder - extends + public interface TriggerSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.TriggerSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType(); /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
      * Optional. Prevent the task from executing.
      * This does not cancel already running tasks. It is intended to temporarily
@@ -5939,28 +5146,22 @@ public interface TriggerSpecOrBuilder
      * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
      * Optional. Number of retry attempts before aborting.
      * Set to zero to never attempt to retry a failed task.
      * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxRetries. */ int getMaxRetries(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5972,13 +5173,10 @@ public interface TriggerSpecOrBuilder
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5990,13 +5188,10 @@ public interface TriggerSpecOrBuilder
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -6008,70 +5203,63 @@ public interface TriggerSpecOrBuilder
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); com.google.cloud.dataplex.v1.Task.TriggerSpec.TriggerCase getTriggerCase(); } /** - * - * *
    * Task scheduling and trigger settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.TriggerSpec} */ - public static final class TriggerSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TriggerSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.TriggerSpec) TriggerSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TriggerSpec.newBuilder() to construct. private TriggerSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TriggerSpec() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TriggerSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.TriggerSpec.class, - com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.TriggerSpec.class, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); } /** - * - * *
      * Determines how often and when the job will run.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Task.TriggerSpec.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified trigger type.
        * 
@@ -6080,8 +5268,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * The task runs one-time shortly after Task Creation.
        * 
@@ -6090,8 +5276,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ON_DEMAND(1), /** - * - * *
        * The task is scheduled to run periodically.
        * 
@@ -6103,8 +5287,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified trigger type.
        * 
@@ -6113,8 +5295,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The task runs one-time shortly after Task Creation.
        * 
@@ -6123,8 +5303,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ON_DEMAND_VALUE = 1; /** - * - * *
        * The task is scheduled to run periodically.
        * 
@@ -6133,6 +5311,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECURRING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -6157,49 +5336,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return ON_DEMAND; - case 2: - return RECURRING; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return ON_DEMAND; + case 2: return RECURRING; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Task.TriggerSpec.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -6217,18 +5396,14 @@ private Type(int value) { } private int triggerCase_ = 0; - @SuppressWarnings("serial") 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(100), TRIGGER_NOT_SET(0); private final int value; - private TriggerCase(int value) { this.value = value; } @@ -6244,79 +5419,58 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 100: - return SCHEDULE; - case 0: - return TRIGGER_NOT_SET; - default: - return null; + case 100: return SCHEDULE; + 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 TYPE_FIELD_NUMBER = 5; private int type_ = 0; - /** - * - * + /** *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED : result; } public static final int START_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp startTime_; /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -6324,17 +5478,13 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ @java.lang.Override @@ -6342,16 +5492,13 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -6361,8 +5508,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int DISABLED_FIELD_NUMBER = 4; private boolean disabled_ = false; /** - * - * *
      * Optional. Prevent the task from executing.
      * This does not cancel already running tasks. It is intended to temporarily
@@ -6370,7 +5515,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disabled. */ @java.lang.Override @@ -6381,15 +5525,12 @@ public boolean getDisabled() { public static final int MAX_RETRIES_FIELD_NUMBER = 7; private int maxRetries_ = 0; /** - * - * *
      * Optional. Number of retry attempts before aborting.
      * Set to zero to never attempt to retry a failed task.
      * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxRetries. */ @java.lang.Override @@ -6399,8 +5540,6 @@ public int getMaxRetries() { public static final int SCHEDULE_FIELD_NUMBER = 100; /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -6412,15 +5551,12 @@ public int getMaxRetries() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 100; } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -6432,7 +5568,6 @@ public boolean hasSchedule() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ public java.lang.String getSchedule() { @@ -6443,7 +5578,8 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 100) { trigger_ = s; @@ -6452,8 +5588,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -6465,17 +5599,18 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 100) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 100) { trigger_ = b; } @@ -6486,7 +5621,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6498,12 +5632,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 (disabled_ != false) { output.writeBool(4, disabled_); } - if (type_ - != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (startTime_ != null) { @@ -6525,17 +5659,20 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, disabled_); } - if (type_ - != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + if (type_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getStartTime()); } if (maxRetries_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, maxRetries_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, maxRetries_); } if (triggerCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, trigger_); @@ -6548,25 +5685,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.TriggerSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.TriggerSpec other = - (com.google.cloud.dataplex.v1.Task.TriggerSpec) obj; + com.google.cloud.dataplex.v1.Task.TriggerSpec other = (com.google.cloud.dataplex.v1.Task.TriggerSpec) obj; if (type_ != other.type_) 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 (getDisabled() != other.getDisabled()) return false; - if (getMaxRetries() != other.getMaxRetries()) return false; + if (getDisabled() + != other.getDisabled()) return false; + if (getMaxRetries() + != other.getMaxRetries()) return false; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 100: - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; break; case 0: default: @@ -6589,7 +5729,8 @@ public int hashCode() { hash = (53 * hash) + getStartTime().hashCode(); } hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (37 * hash) + MAX_RETRIES_FIELD_NUMBER; hash = (53 * hash) + getMaxRetries(); switch (triggerCase_) { @@ -6605,94 +5746,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.TriggerSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6702,41 +5839,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Task scheduling and trigger settings.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.TriggerSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.TriggerSpec) com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.TriggerSpec.class, - com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.TriggerSpec.class, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.TriggerSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6755,9 +5890,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override @@ -6776,11 +5911,8 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.TriggerSpec result = - new com.google.cloud.dataplex.v1.Task.TriggerSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.TriggerSpec result = new com.google.cloud.dataplex.v1.Task.TriggerSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -6792,7 +5924,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.TriggerSpec result) result.type_ = type_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.disabled_ = disabled_; @@ -6811,41 +5945,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.TriggerSpec re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.TriggerSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.TriggerSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.TriggerSpec)other); } else { super.mergeFrom(other); return this; @@ -6853,8 +5984,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.TriggerSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -6868,17 +5998,15 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.TriggerSpec other) { setMaxRetries(other.getMaxRetries()); } switch (other.getTriggerCase()) { - case SCHEDULE: - { - triggerCase_ = 100; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: - { - break; - } + case SCHEDULE: { + triggerCase_ = 100; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6906,44 +6034,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: - { - disabled_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 40 - case 50: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: - { - maxRetries_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 56 - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 100; - trigger_ = s; - break; - } // case 802 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 32: { + disabled_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 40 + case 50: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: { + maxRetries_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 56 + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 100; + trigger_ = s; + break; + } // case 802 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6953,12 +6077,12 @@ public Builder mergeFrom( } // finally 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() { @@ -6972,33 +6096,22 @@ public Builder clearTrigger() { private int type_ = 0; /** - * - * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -7009,37 +6122,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); - return result == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); + return result == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED : result; } /** - * - * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -7053,16 +6153,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Task.TriggerSpec.Type value) return this; } /** - * - * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -7074,61 +6169,45 @@ public Builder clearType() { 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_; /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -7144,18 +6223,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -7166,22 +6243,19 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -7194,16 +6268,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -7216,16 +6287,13 @@ public Builder clearStartTime() { return this; } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -7233,59 +6301,47 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -7293,7 +6349,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disabled. */ @java.lang.Override @@ -7301,8 +6356,6 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -7310,7 +6363,6 @@ public boolean getDisabled() {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disabled to set. * @return This builder for chaining. */ @@ -7322,8 +6374,6 @@ public Builder setDisabled(boolean value) { return this; } /** - * - * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -7331,7 +6381,6 @@ public Builder setDisabled(boolean value) {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -7341,17 +6390,14 @@ public Builder clearDisabled() { return this; } - private int maxRetries_; + private int maxRetries_ ; /** - * - * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxRetries. */ @java.lang.Override @@ -7359,15 +6405,12 @@ public int getMaxRetries() { return maxRetries_; } /** - * - * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxRetries to set. * @return This builder for chaining. */ @@ -7379,15 +6422,12 @@ public Builder setMaxRetries(int value) { return this; } /** - * - * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxRetries() { @@ -7398,8 +6438,6 @@ public Builder clearMaxRetries() { } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7411,7 +6449,6 @@ public Builder clearMaxRetries() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -7419,8 +6456,6 @@ public boolean hasSchedule() { return triggerCase_ == 100; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7432,7 +6467,6 @@ public boolean hasSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ @java.lang.Override @@ -7442,7 +6476,8 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 100) { trigger_ = s; @@ -7453,8 +6488,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7466,18 +6499,19 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 100) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 100) { trigger_ = b; } @@ -7487,8 +6521,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7500,22 +6532,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } triggerCase_ = 100; trigger_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7527,7 +6555,6 @@ public Builder setSchedule(java.lang.String value) {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -7539,8 +6566,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -7552,21 +6577,18 @@ public Builder clearSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); triggerCase_ = 100; trigger_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7579,12 +6601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.TriggerSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.TriggerSpec) private static final com.google.cloud.dataplex.v1.Task.TriggerSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.TriggerSpec(); } @@ -7593,28 +6615,27 @@ public static com.google.cloud.dataplex.v1.Task.TriggerSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TriggerSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TriggerSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7629,16 +6650,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.TriggerSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecutionSpecOrBuilder - extends + public interface ExecutionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.ExecutionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7658,8 +6677,6 @@ public interface ExecutionSpecOrBuilder
      */
     int getArgsCount();
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7677,13 +6694,15 @@ public interface ExecutionSpecOrBuilder
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    boolean containsArgs(java.lang.String key);
-    /** Use {@link #getArgsMap()} instead. */
+    boolean containsArgs(
+        java.lang.String key);
+    /**
+     * Use {@link #getArgsMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getArgs();
+    java.util.Map
+    getArgs();
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7701,10 +6720,9 @@ public interface ExecutionSpecOrBuilder
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.util.Map getArgsMap();
+    java.util.Map
+    getArgsMap();
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7723,13 +6741,11 @@ public interface ExecutionSpecOrBuilder
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     /* nullable */
-    java.lang.String getArgsOrDefault(
+java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7747,11 +6763,10 @@ java.lang.String getArgsOrDefault(
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.lang.String getArgsOrThrow(java.lang.String key);
+    java.lang.String getArgsOrThrow(
+        java.lang.String key);
 
     /**
-     *
-     *
      * 
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -7759,13 +6774,10 @@ java.lang.String getArgsOrDefault(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -7773,14 +6785,12 @@ java.lang.String getArgsOrDefault(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -7789,13 +6799,10 @@ java.lang.String getArgsOrDefault(
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -7804,98 +6811,76 @@ java.lang.String getArgsOrDefault(
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxJobExecutionLifetime field is set. */ boolean hasMaxJobExecutionLifetime(); /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxJobExecutionLifetime. */ com.google.protobuf.Duration getMaxJobExecutionLifetime(); /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder(); /** - * - * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKey. */ java.lang.String getKmsKey(); /** - * - * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString getKmsKeyBytes(); + com.google.protobuf.ByteString + getKmsKeyBytes(); } /** - * - * *
    * Execution related settings, like retry and service_account.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionSpec} */ - public static final class ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.ExecutionSpec) ExecutionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionSpec.newBuilder() to construct. private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutionSpec() { serviceAccount_ = ""; project_ = ""; @@ -7904,65 +6889,63 @@ private ExecutionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_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 4: return internalGetArgs(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); } public static final int ARGS_FIELD_NUMBER = 4; - private static final class ArgsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField args_; - - private com.google.protobuf.MapField internalGetArgs() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> args_; + private com.google.protobuf.MapField + internalGetArgs() { if (args_ == null) { - return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ArgsDefaultEntryHolder.defaultEntry); } return args_; } - public int getArgsCount() { return internalGetArgs().getMap().size(); } /** - * - * *
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7981,21 +6964,20 @@ public int getArgsCount() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsArgs(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsArgs(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetArgs().getMap().containsKey(key);
     }
-    /** Use {@link #getArgsMap()} instead. */
+    /**
+     * Use {@link #getArgsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getArgs() {
       return getArgsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -8018,8 +7000,6 @@ public java.util.Map getArgsMap() {
       return internalGetArgs().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -8038,19 +7018,17 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getArgsOrDefault(
+    public /* nullable */
+java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetArgs().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetArgs().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -8069,11 +7047,11 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getArgsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetArgs().getMap();
+    public java.lang.String getArgsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetArgs().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8081,12 +7059,9 @@ public java.lang.String getArgsOrThrow(java.lang.String key) {
     }
 
     public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object serviceAccount_ = "";
     /**
-     *
-     *
      * 
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -8094,7 +7069,6 @@ public java.lang.String getArgsOrThrow(java.lang.String key) {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ @java.lang.Override @@ -8103,15 +7077,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -8119,15 +7092,16 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -8136,12 +7110,9 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } public static final int PROJECT_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -8150,7 +7121,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The project. */ @java.lang.Override @@ -8159,15 +7129,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -8176,15 +7145,16 @@ public java.lang.String getProject() {
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -8195,16 +7165,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int MAX_JOB_EXECUTION_LIFETIME_FIELD_NUMBER = 8; private com.google.protobuf.Duration maxJobExecutionLifetime_; /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxJobExecutionLifetime field is set. */ @java.lang.Override @@ -8212,56 +7177,39 @@ public boolean hasMaxJobExecutionLifetime() { return maxJobExecutionLifetime_ != null; } /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxJobExecutionLifetime. */ @java.lang.Override public com.google.protobuf.Duration getMaxJobExecutionLifetime() { - return maxJobExecutionLifetime_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; } /** - * - * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder() { - return maxJobExecutionLifetime_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; } public static final int KMS_KEY_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** - * - * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKey. */ @java.lang.Override @@ -8270,30 +7218,30 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** - * - * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -8302,7 +7250,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8314,9 +7261,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetArgs(), ArgsDefaultEntryHolder.defaultEntry, 4); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetArgs(), + ArgsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceAccount_); } @@ -8338,15 +7290,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetArgs().getMap().entrySet()) { - com.google.protobuf.MapEntry args__ = - ArgsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args__); + for (java.util.Map.Entry entry + : internalGetArgs().getMap().entrySet()) { + com.google.protobuf.MapEntry + args__ = ArgsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, args__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAccount_); @@ -8355,9 +7307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, project_); } if (maxJobExecutionLifetime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, getMaxJobExecutionLifetime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getMaxJobExecutionLifetime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, kmsKey_); @@ -8370,22 +7321,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.ExecutionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.ExecutionSpec other = - (com.google.cloud.dataplex.v1.Task.ExecutionSpec) obj; + com.google.cloud.dataplex.v1.Task.ExecutionSpec other = (com.google.cloud.dataplex.v1.Task.ExecutionSpec) obj; - if (!internalGetArgs().equals(other.internalGetArgs())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getProject().equals(other.getProject())) return false; + if (!internalGetArgs().equals( + other.internalGetArgs())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getProject() + .equals(other.getProject())) return false; if (hasMaxJobExecutionLifetime() != other.hasMaxJobExecutionLifetime()) return false; if (hasMaxJobExecutionLifetime()) { - if (!getMaxJobExecutionLifetime().equals(other.getMaxJobExecutionLifetime())) return false; + if (!getMaxJobExecutionLifetime() + .equals(other.getMaxJobExecutionLifetime())) return false; } - if (!getKmsKey().equals(other.getKmsKey())) return false; + if (!getKmsKey() + .equals(other.getKmsKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8417,93 +7372,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.ExecutionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8513,61 +7464,61 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Execution related settings, like retry and service_account.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.ExecutionSpec) com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetArgs(); 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 4: return internalGetMutableArgs(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.ExecutionSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8585,9 +7536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; } @java.lang.Override @@ -8606,11 +7557,8 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.ExecutionSpec result = - new com.google.cloud.dataplex.v1.Task.ExecutionSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.ExecutionSpec result = new com.google.cloud.dataplex.v1.Task.ExecutionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -8628,10 +7576,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionSpec resul result.project_ = project_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.maxJobExecutionLifetime_ = - maxJobExecutionLifetimeBuilder_ == null - ? maxJobExecutionLifetime_ - : maxJobExecutionLifetimeBuilder_.build(); + result.maxJobExecutionLifetime_ = maxJobExecutionLifetimeBuilder_ == null + ? maxJobExecutionLifetime_ + : maxJobExecutionLifetimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.kmsKey_ = kmsKey_; @@ -8642,41 +7589,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionSpec resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.ExecutionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionSpec)other); } else { super.mergeFrom(other); return this; @@ -8684,9 +7628,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.ExecutionSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) - return this; - internalGetMutableArgs().mergeFrom(other.internalGetArgs()); + if (other == com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) return this; + internalGetMutableArgs().mergeFrom( + other.internalGetArgs()); bitField0_ |= 0x00000001; if (!other.getServiceAccount().isEmpty()) { serviceAccount_ = other.serviceAccount_; @@ -8732,48 +7676,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: - { - com.google.protobuf.MapEntry args__ = - input.readMessage( - ArgsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableArgs().getMutableMap().put(args__.getKey(), args__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: - { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 58: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 58 - case 66: - { - input.readMessage( - getMaxJobExecutionLifetimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 66 - case 74: - { - kmsKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: { + com.google.protobuf.MapEntry + args__ = input.readMessage( + ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableArgs().getMutableMap().put( + args__.getKey(), args__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: { + serviceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 58: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 58 + case 66: { + input.readMessage( + getMaxJobExecutionLifetimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 66 + case 74: { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8783,22 +7722,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField args_; - - private com.google.protobuf.MapField internalGetArgs() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> args_; + private com.google.protobuf.MapField + internalGetArgs() { if (args_ == null) { - return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ArgsDefaultEntryHolder.defaultEntry); } return args_; } - private com.google.protobuf.MapField internalGetMutableArgs() { if (args_ == null) { - args_ = com.google.protobuf.MapField.newMapField(ArgsDefaultEntryHolder.defaultEntry); + args_ = com.google.protobuf.MapField.newMapField( + ArgsDefaultEntryHolder.defaultEntry); } if (!args_.isMutable()) { args_ = args_.copy(); @@ -8807,13 +7747,10 @@ private com.google.protobuf.MapField interna onChanged(); return args_; } - public int getArgsCount() { return internalGetArgs().getMap().size(); } /** - * - * *
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8832,21 +7769,20 @@ public int getArgsCount() {
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public boolean containsArgs(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsArgs(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetArgs().getMap().containsKey(key);
       }
-      /** Use {@link #getArgsMap()} instead. */
+      /**
+       * Use {@link #getArgsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getArgs() {
         return getArgsMap();
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8869,8 +7805,6 @@ public java.util.Map getArgsMap() {
         return internalGetArgs().getMap();
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8889,19 +7823,17 @@ public java.util.Map getArgsMap() {
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public /* nullable */ java.lang.String getArgsOrDefault(
+      public /* nullable */
+java.lang.String getArgsOrDefault(
           java.lang.String key,
           /* nullable */
-          java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetArgs().getMap();
+java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetArgs().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8920,25 +7852,23 @@ public java.util.Map getArgsMap() {
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public java.lang.String getArgsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetArgs().getMap();
+      public java.lang.String getArgsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetArgs().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearArgs() {
         bitField0_ = (bitField0_ & ~0x00000001);
-        internalGetMutableArgs().getMutableMap().clear();
+        internalGetMutableArgs().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8956,22 +7886,23 @@ public Builder clearArgs() {
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder removeArgs(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableArgs().getMutableMap().remove(key);
+      public Builder removeArgs(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableArgs().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableArgs() {
+      public java.util.Map
+          getMutableArgs() {
         bitField0_ |= 0x00000001;
         return internalGetMutableArgs().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -8989,20 +7920,17 @@ public java.util.Map getMutableArgs() {
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putArgs(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        if (value == null) {
-          throw new NullPointerException("map value");
-        }
-        internalGetMutableArgs().getMutableMap().put(key, value);
+      public Builder putArgs(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        if (value == null) { throw new NullPointerException("map value"); }
+        internalGetMutableArgs().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000001;
         return this;
       }
       /**
-       *
-       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -9020,16 +7948,16 @@ public Builder putArgs(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putAllArgs(java.util.Map values) {
-        internalGetMutableArgs().getMutableMap().putAll(values);
+      public Builder putAllArgs(
+          java.util.Map values) {
+        internalGetMutableArgs().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000001;
         return this;
       }
 
       private java.lang.Object serviceAccount_ = "";
       /**
-       *
-       *
        * 
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -9037,13 +7965,13 @@ public Builder putAllArgs(java.util.Map valu
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -9052,8 +7980,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -9061,14 +7987,15 @@ public java.lang.String getServiceAccount() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -9076,8 +8003,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -9085,22 +8010,18 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -9108,7 +8029,6 @@ public Builder setServiceAccount(java.lang.String value) {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -9118,8 +8038,6 @@ public Builder clearServiceAccount() { return this; } /** - * - * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -9127,14 +8045,12 @@ public Builder clearServiceAccount() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000002; @@ -9144,8 +8060,6 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -9154,13 +8068,13 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -9169,8 +8083,6 @@ public java.lang.String getProject() { } } /** - * - * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -9179,14 +8091,15 @@ public java.lang.String getProject() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -9194,8 +8107,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -9204,22 +8115,18 @@ public com.google.protobuf.ByteString getProjectBytes() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -9228,7 +8135,6 @@ public Builder setProject(java.lang.String value) {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -9238,8 +8144,6 @@ public Builder clearProject() { return this; } /** - * - * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -9248,14 +8152,12 @@ public Builder clearProject() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -9265,58 +8167,39 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration maxJobExecutionLifetime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxJobExecutionLifetimeBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxJobExecutionLifetimeBuilder_; /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxJobExecutionLifetime field is set. */ public boolean hasMaxJobExecutionLifetime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxJobExecutionLifetime. */ public com.google.protobuf.Duration getMaxJobExecutionLifetime() { if (maxJobExecutionLifetimeBuilder_ == null) { - return maxJobExecutionLifetime_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; } else { return maxJobExecutionLifetimeBuilder_.getMessage(); } } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMaxJobExecutionLifetime(com.google.protobuf.Duration value) { if (maxJobExecutionLifetimeBuilder_ == null) { @@ -9332,15 +8215,11 @@ public Builder setMaxJobExecutionLifetime(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMaxJobExecutionLifetime( com.google.protobuf.Duration.Builder builderForValue) { @@ -9354,21 +8233,17 @@ public Builder setMaxJobExecutionLifetime( return this; } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMaxJobExecutionLifetime(com.google.protobuf.Duration value) { if (maxJobExecutionLifetimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && maxJobExecutionLifetime_ != null - && maxJobExecutionLifetime_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + maxJobExecutionLifetime_ != null && + maxJobExecutionLifetime_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxJobExecutionLifetimeBuilder().mergeFrom(value); } else { maxJobExecutionLifetime_ = value; @@ -9381,15 +8256,11 @@ public Builder mergeMaxJobExecutionLifetime(com.google.protobuf.Duration value) return this; } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMaxJobExecutionLifetime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -9402,15 +8273,11 @@ public Builder clearMaxJobExecutionLifetime() { return this; } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getMaxJobExecutionLifetimeBuilder() { bitField0_ |= 0x00000008; @@ -9418,48 +8285,36 @@ public com.google.protobuf.Duration.Builder getMaxJobExecutionLifetimeBuilder() return getMaxJobExecutionLifetimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder() { if (maxJobExecutionLifetimeBuilder_ != null) { return maxJobExecutionLifetimeBuilder_.getMessageOrBuilder(); } else { - return maxJobExecutionLifetime_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; } } /** - * - * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxJobExecutionLifetimeFieldBuilder() { if (maxJobExecutionLifetimeBuilder_ == null) { - maxJobExecutionLifetimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMaxJobExecutionLifetime(), getParentForChildren(), isClean()); + maxJobExecutionLifetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMaxJobExecutionLifetime(), + getParentForChildren(), + isClean()); maxJobExecutionLifetime_ = null; } return maxJobExecutionLifetimeBuilder_; @@ -9467,21 +8322,19 @@ public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder private java.lang.Object kmsKey_ = ""; /** - * - * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -9490,22 +8343,21 @@ public java.lang.String getKmsKey() { } } /** - * - * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -9513,37 +8365,30 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearKmsKey() { @@ -9553,29 +8398,24 @@ public Builder clearKmsKey() { return this; } /** - * - * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9588,12 +8428,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.ExecutionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.ExecutionSpec) private static final com.google.cloud.dataplex.v1.Task.ExecutionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.ExecutionSpec(); } @@ -9602,28 +8442,27 @@ public static com.google.cloud.dataplex.v1.Task.ExecutionSpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9638,16 +8477,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.ExecutionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SparkTaskConfigOrBuilder - extends + public interface SparkTaskConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.SparkTaskConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -9655,13 +8492,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_jar_file_uri = 100; - * * @return Whether the mainJarFileUri field is set. */ boolean hasMainJarFileUri(); /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -9669,13 +8503,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_jar_file_uri = 100; - * * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -9683,14 +8514,12 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_jar_file_uri = 100; - * * @return The bytes for mainJarFileUri. */ - com.google.protobuf.ByteString getMainJarFileUriBytes(); + com.google.protobuf.ByteString + getMainJarFileUriBytes(); /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -9700,13 +8529,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_class = 101; - * * @return Whether the mainClass field is set. */ boolean hasMainClass(); /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -9716,13 +8542,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_class = 101; - * * @return The mainClass. */ java.lang.String getMainClass(); /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -9732,14 +8555,12 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string main_class = 101; - * * @return The bytes for mainClass. */ - com.google.protobuf.ByteString getMainClassBytes(); + com.google.protobuf.ByteString + getMainClassBytes(); /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9747,13 +8568,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string python_script_file = 102; - * * @return Whether the pythonScriptFile field is set. */ boolean hasPythonScriptFile(); /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9761,13 +8579,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string python_script_file = 102; - * * @return The pythonScriptFile. */ java.lang.String getPythonScriptFile(); /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9775,14 +8590,12 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string python_script_file = 102; - * * @return The bytes for pythonScriptFile. */ - com.google.protobuf.ByteString getPythonScriptFileBytes(); + com.google.protobuf.ByteString + getPythonScriptFileBytes(); /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9791,13 +8604,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script_file = 104; - * * @return Whether the sqlScriptFile field is set. */ boolean hasSqlScriptFile(); /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9806,13 +8616,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script_file = 104; - * * @return The sqlScriptFile. */ java.lang.String getSqlScriptFile(); /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9821,14 +8628,12 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script_file = 104; - * * @return The bytes for sqlScriptFile. */ - com.google.protobuf.ByteString getSqlScriptFileBytes(); + com.google.protobuf.ByteString + getSqlScriptFileBytes(); /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9836,13 +8641,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script = 105; - * * @return Whether the sqlScript field is set. */ boolean hasSqlScript(); /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9850,13 +8652,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script = 105; - * * @return The sqlScript. */ java.lang.String getSqlScript(); /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9864,69 +8663,57 @@ public interface SparkTaskConfigOrBuilder
      * 
* * string sql_script = 105; - * * @return The bytes for sqlScript. */ - com.google.protobuf.ByteString getSqlScriptBytes(); + com.google.protobuf.ByteString + getSqlScriptBytes(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - java.util.List getFileUrisList(); + java.util.List + getFileUrisList(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ int getFileUrisCount(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - com.google.protobuf.ByteString getFileUrisBytes(int index); + com.google.protobuf.ByteString + getFileUrisBytes(int index); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9934,13 +8721,11 @@ public interface SparkTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - java.util.List getArchiveUrisList(); + java.util.List + getArchiveUrisList(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9948,13 +8733,10 @@ public interface SparkTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ int getArchiveUrisCount(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9962,14 +8744,11 @@ public interface SparkTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9977,108 +8756,89 @@ public interface SparkTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - com.google.protobuf.ByteString getArchiveUrisBytes(int index); + com.google.protobuf.ByteString + getArchiveUrisBytes(int index); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec(); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); com.google.cloud.dataplex.v1.Task.SparkTaskConfig.DriverCase getDriverCase(); } /** - * - * *
    * User-specified config for running a Spark task.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.SparkTaskConfig} */ - public static final class SparkTaskConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SparkTaskConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.SparkTaskConfig) SparkTaskConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SparkTaskConfig.newBuilder() to construct. private SparkTaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SparkTaskConfig() { - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SparkTaskConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); } private int driverCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object driver_; - public enum DriverCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(100), MAIN_CLASS(101), @@ -10087,7 +8847,6 @@ public enum DriverCase SQL_SCRIPT(105), DRIVER_NOT_SET(0); private final int value; - private DriverCase(int value) { this.value = value; } @@ -10103,36 +8862,28 @@ public static DriverCase valueOf(int value) { public static DriverCase forNumber(int value) { switch (value) { - case 100: - return MAIN_JAR_FILE_URI; - case 101: - return MAIN_CLASS; - case 102: - return PYTHON_SCRIPT_FILE; - case 104: - return SQL_SCRIPT_FILE; - case 105: - return SQL_SCRIPT; - case 0: - return DRIVER_NOT_SET; - default: - return null; + case 100: return MAIN_JAR_FILE_URI; + case 101: return MAIN_CLASS; + case 102: return PYTHON_SCRIPT_FILE; + case 104: return SQL_SCRIPT_FILE; + case 105: return SQL_SCRIPT; + case 0: return DRIVER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DriverCase getDriverCase() { - return DriverCase.forNumber(driverCase_); + public DriverCase + getDriverCase() { + return DriverCase.forNumber( + driverCase_); } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 100; /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -10140,15 +8891,12 @@ public DriverCase getDriverCase() {
      * 
* * string main_jar_file_uri = 100; - * * @return Whether the mainJarFileUri field is set. */ public boolean hasMainJarFileUri() { return driverCase_ == 100; } /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -10156,7 +8904,6 @@ public boolean hasMainJarFileUri() {
      * 
* * string main_jar_file_uri = 100; - * * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { @@ -10167,7 +8914,8 @@ public java.lang.String getMainJarFileUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 100) { driver_ = s; @@ -10176,8 +8924,6 @@ public java.lang.String getMainJarFileUri() { } } /** - * - * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -10185,17 +8931,18 @@ public java.lang.String getMainJarFileUri() {
      * 
* * string main_jar_file_uri = 100; - * * @return The bytes for mainJarFileUri. */ - public com.google.protobuf.ByteString getMainJarFileUriBytes() { + public com.google.protobuf.ByteString + getMainJarFileUriBytes() { java.lang.Object ref = ""; if (driverCase_ == 100) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 100) { driver_ = b; } @@ -10207,8 +8954,6 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { public static final int MAIN_CLASS_FIELD_NUMBER = 101; /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -10218,15 +8963,12 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() {
      * 
* * string main_class = 101; - * * @return Whether the mainClass field is set. */ public boolean hasMainClass() { return driverCase_ == 101; } /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -10236,7 +8978,6 @@ public boolean hasMainClass() {
      * 
* * string main_class = 101; - * * @return The mainClass. */ public java.lang.String getMainClass() { @@ -10247,7 +8988,8 @@ public java.lang.String getMainClass() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 101) { driver_ = s; @@ -10256,8 +8998,6 @@ public java.lang.String getMainClass() { } } /** - * - * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -10267,17 +9007,18 @@ public java.lang.String getMainClass() {
      * 
* * string main_class = 101; - * * @return The bytes for mainClass. */ - public com.google.protobuf.ByteString getMainClassBytes() { + public com.google.protobuf.ByteString + getMainClassBytes() { java.lang.Object ref = ""; if (driverCase_ == 101) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 101) { driver_ = b; } @@ -10289,8 +9030,6 @@ public com.google.protobuf.ByteString getMainClassBytes() { public static final int PYTHON_SCRIPT_FILE_FIELD_NUMBER = 102; /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -10298,15 +9037,12 @@ public com.google.protobuf.ByteString getMainClassBytes() {
      * 
* * string python_script_file = 102; - * * @return Whether the pythonScriptFile field is set. */ public boolean hasPythonScriptFile() { return driverCase_ == 102; } /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -10314,7 +9050,6 @@ public boolean hasPythonScriptFile() {
      * 
* * string python_script_file = 102; - * * @return The pythonScriptFile. */ public java.lang.String getPythonScriptFile() { @@ -10325,7 +9060,8 @@ public java.lang.String getPythonScriptFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 102) { driver_ = s; @@ -10334,8 +9070,6 @@ public java.lang.String getPythonScriptFile() { } } /** - * - * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -10343,17 +9077,18 @@ public java.lang.String getPythonScriptFile() {
      * 
* * string python_script_file = 102; - * * @return The bytes for pythonScriptFile. */ - public com.google.protobuf.ByteString getPythonScriptFileBytes() { + public com.google.protobuf.ByteString + getPythonScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 102) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 102) { driver_ = b; } @@ -10365,8 +9100,6 @@ public com.google.protobuf.ByteString getPythonScriptFileBytes() { public static final int SQL_SCRIPT_FILE_FIELD_NUMBER = 104; /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -10375,15 +9108,12 @@ public com.google.protobuf.ByteString getPythonScriptFileBytes() {
      * 
* * string sql_script_file = 104; - * * @return Whether the sqlScriptFile field is set. */ public boolean hasSqlScriptFile() { return driverCase_ == 104; } /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -10392,7 +9122,6 @@ public boolean hasSqlScriptFile() {
      * 
* * string sql_script_file = 104; - * * @return The sqlScriptFile. */ public java.lang.String getSqlScriptFile() { @@ -10403,7 +9132,8 @@ public java.lang.String getSqlScriptFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 104) { driver_ = s; @@ -10412,8 +9142,6 @@ public java.lang.String getSqlScriptFile() { } } /** - * - * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -10422,17 +9150,18 @@ public java.lang.String getSqlScriptFile() {
      * 
* * string sql_script_file = 104; - * * @return The bytes for sqlScriptFile. */ - public com.google.protobuf.ByteString getSqlScriptFileBytes() { + public com.google.protobuf.ByteString + getSqlScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 104) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 104) { driver_ = b; } @@ -10444,8 +9173,6 @@ public com.google.protobuf.ByteString getSqlScriptFileBytes() { public static final int SQL_SCRIPT_FIELD_NUMBER = 105; /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -10453,15 +9180,12 @@ public com.google.protobuf.ByteString getSqlScriptFileBytes() {
      * 
* * string sql_script = 105; - * * @return Whether the sqlScript field is set. */ public boolean hasSqlScript() { return driverCase_ == 105; } /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -10469,7 +9193,6 @@ public boolean hasSqlScript() {
      * 
* * string sql_script = 105; - * * @return The sqlScript. */ public java.lang.String getSqlScript() { @@ -10480,7 +9203,8 @@ public java.lang.String getSqlScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 105) { driver_ = s; @@ -10489,8 +9213,6 @@ public java.lang.String getSqlScript() { } } /** - * - * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -10498,17 +9220,18 @@ public java.lang.String getSqlScript() {
      * 
* * string sql_script = 105; - * * @return The bytes for sqlScript. */ - public com.google.protobuf.ByteString getSqlScriptBytes() { + public com.google.protobuf.ByteString + getSqlScriptBytes() { java.lang.Object ref = ""; if (driverCase_ == 105) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 105) { driver_ = b; } @@ -10519,50 +9242,41 @@ public com.google.protobuf.ByteString getSqlScriptBytes() { } public static final int FILE_URIS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList getFileUrisList() { + public com.google.protobuf.ProtocolStringList + getFileUrisList() { return fileUris_; } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -10570,30 +9284,25 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString getFileUrisBytes(int index) { + public com.google.protobuf.ByteString + getFileUrisBytes(int index) { return fileUris_.getByteString(index); } public static final int ARCHIVE_URIS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10601,15 +9310,13 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList + getArchiveUrisList() { return archiveUris_; } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10617,15 +9324,12 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10633,7 +9337,6 @@ public int getArchiveUrisCount() {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -10641,8 +9344,6 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10650,27 +9351,22 @@ public java.lang.String getArchiveUris(int index) {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString + getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -10678,45 +9374,30 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10728,7 +9409,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < fileUris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileUris_.getRaw(i)); } @@ -10779,8 +9461,8 @@ public int getSerializedSize() { size += 1 * getArchiveUrisList().size(); } if (infrastructureSpec_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInfrastructureSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getInfrastructureSpec()); } if (driverCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, driver_); @@ -10805,36 +9487,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.SparkTaskConfig)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.SparkTaskConfig other = - (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) obj; + com.google.cloud.dataplex.v1.Task.SparkTaskConfig other = (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) obj; - if (!getFileUrisList().equals(other.getFileUrisList())) return false; - if (!getArchiveUrisList().equals(other.getArchiveUrisList())) return false; + if (!getFileUrisList() + .equals(other.getFileUrisList())) return false; + if (!getArchiveUrisList() + .equals(other.getArchiveUrisList())) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec() + .equals(other.getInfrastructureSpec())) return false; } if (!getDriverCase().equals(other.getDriverCase())) return false; switch (driverCase_) { case 100: - if (!getMainJarFileUri().equals(other.getMainJarFileUri())) return false; + if (!getMainJarFileUri() + .equals(other.getMainJarFileUri())) return false; break; case 101: - if (!getMainClass().equals(other.getMainClass())) return false; + if (!getMainClass() + .equals(other.getMainClass())) return false; break; case 102: - if (!getPythonScriptFile().equals(other.getPythonScriptFile())) return false; + if (!getPythonScriptFile() + .equals(other.getPythonScriptFile())) return false; break; case 104: - if (!getSqlScriptFile().equals(other.getSqlScriptFile())) return false; + if (!getSqlScriptFile() + .equals(other.getSqlScriptFile())) return false; break; case 105: - if (!getSqlScript().equals(other.getSqlScript())) return false; + if (!getSqlScript() + .equals(other.getSqlScript())) return false; break; case 0: default: @@ -10892,93 +9581,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.SparkTaskConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10988,47 +9673,47 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * User-specified config for running a Spark task.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.SparkTaskConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.SparkTaskConfig) com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); infrastructureSpec_ = null; if (infrastructureSpecBuilder_ != null) { infrastructureSpecBuilder_.dispose(); @@ -11040,9 +9725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override @@ -11061,11 +9746,8 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfig buildPartial() { - com.google.cloud.dataplex.v1.Task.SparkTaskConfig result = - new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.SparkTaskConfig result = new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -11082,10 +9764,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.SparkTaskConfig res result.archiveUris_ = archiveUris_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.infrastructureSpec_ = - infrastructureSpecBuilder_ == null - ? infrastructureSpec_ - : infrastructureSpecBuilder_.build(); + result.infrastructureSpec_ = infrastructureSpecBuilder_ == null + ? infrastructureSpec_ + : infrastructureSpecBuilder_.build(); } } @@ -11098,41 +9779,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.SparkTaskConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.SparkTaskConfig) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.SparkTaskConfig) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.SparkTaskConfig)other); } else { super.mergeFrom(other); return this; @@ -11140,8 +9818,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.SparkTaskConfig other) { - if (other == com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) return this; if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; @@ -11166,45 +9843,39 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.SparkTaskConfig other mergeInfrastructureSpec(other.getInfrastructureSpec()); } switch (other.getDriverCase()) { - case MAIN_JAR_FILE_URI: - { - driverCase_ = 100; - driver_ = other.driver_; - onChanged(); - break; - } - case MAIN_CLASS: - { - driverCase_ = 101; - driver_ = other.driver_; - onChanged(); - break; - } - case PYTHON_SCRIPT_FILE: - { - driverCase_ = 102; - driver_ = other.driver_; - onChanged(); - break; - } - case SQL_SCRIPT_FILE: - { - driverCase_ = 104; - driver_ = other.driver_; - onChanged(); - break; - } - case SQL_SCRIPT: - { - driverCase_ = 105; - driver_ = other.driver_; - onChanged(); - break; - } - case DRIVER_NOT_SET: - { - break; - } + case MAIN_JAR_FILE_URI: { + driverCase_ = 100; + driver_ = other.driver_; + onChanged(); + break; + } + case MAIN_CLASS: { + driverCase_ = 101; + driver_ = other.driver_; + onChanged(); + break; + } + case PYTHON_SCRIPT_FILE: { + driverCase_ = 102; + driver_ = other.driver_; + onChanged(); + break; + } + case SQL_SCRIPT_FILE: { + driverCase_ = 104; + driver_ = other.driver_; + onChanged(); + break; + } + case SQL_SCRIPT: { + driverCase_ = 105; + driver_ = other.driver_; + onChanged(); + break; + } + case DRIVER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -11232,69 +9903,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFileUrisIsMutable(); - fileUris_.add(s); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureArchiveUrisIsMutable(); - archiveUris_.add(s); - break; - } // case 34 - case 50: - { - input.readMessage( - getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 100; - driver_ = s; - break; - } // case 802 - case 810: - { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 101; - driver_ = s; - break; - } // case 810 - case 818: - { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 102; - driver_ = s; - break; - } // case 818 - case 834: - { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 104; - driver_ = s; - break; - } // case 834 - case 842: - { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 105; - driver_ = s; - break; - } // case 842 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFileUrisIsMutable(); + fileUris_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArchiveUrisIsMutable(); + archiveUris_.add(s); + break; + } // case 34 + case 50: { + input.readMessage( + getInfrastructureSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 100; + driver_ = s; + break; + } // case 802 + case 810: { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 101; + driver_ = s; + break; + } // case 810 + case 818: { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 102; + driver_ = s; + break; + } // case 818 + case 834: { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 104; + driver_ = s; + break; + } // case 834 + case 842: { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 105; + driver_ = s; + break; + } // case 842 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11304,12 +9967,12 @@ public Builder mergeFrom( } // finally return this; } - private int driverCase_ = 0; private java.lang.Object driver_; - - public DriverCase getDriverCase() { - return DriverCase.forNumber(driverCase_); + public DriverCase + getDriverCase() { + return DriverCase.forNumber( + driverCase_); } public Builder clearDriver() { @@ -11322,8 +9985,6 @@ public Builder clearDriver() { private int bitField0_; /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11331,7 +9992,6 @@ public Builder clearDriver() {
        * 
* * string main_jar_file_uri = 100; - * * @return Whether the mainJarFileUri field is set. */ @java.lang.Override @@ -11339,8 +9999,6 @@ public boolean hasMainJarFileUri() { return driverCase_ == 100; } /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11348,7 +10006,6 @@ public boolean hasMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; - * * @return The mainJarFileUri. */ @java.lang.Override @@ -11358,7 +10015,8 @@ public java.lang.String getMainJarFileUri() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 100) { driver_ = s; @@ -11369,8 +10027,6 @@ public java.lang.String getMainJarFileUri() { } } /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11378,18 +10034,19 @@ public java.lang.String getMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; - * * @return The bytes for mainJarFileUri. */ @java.lang.Override - public com.google.protobuf.ByteString getMainJarFileUriBytes() { + public com.google.protobuf.ByteString + getMainJarFileUriBytes() { java.lang.Object ref = ""; if (driverCase_ == 100) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 100) { driver_ = b; } @@ -11399,8 +10056,6 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { } } /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11408,22 +10063,18 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() {
        * 
* * string main_jar_file_uri = 100; - * * @param value The mainJarFileUri to set. * @return This builder for chaining. */ - public Builder setMainJarFileUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMainJarFileUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } driverCase_ = 100; driver_ = value; onChanged(); return this; } /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11431,7 +10082,6 @@ public Builder setMainJarFileUri(java.lang.String value) {
        * 
* * string main_jar_file_uri = 100; - * * @return This builder for chaining. */ public Builder clearMainJarFileUri() { @@ -11443,8 +10093,6 @@ public Builder clearMainJarFileUri() { return this; } /** - * - * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -11452,14 +10100,12 @@ public Builder clearMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; - * * @param value The bytes for mainJarFileUri to set. * @return This builder for chaining. */ - public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMainJarFileUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverCase_ = 100; driver_ = value; @@ -11468,8 +10114,6 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11479,7 +10123,6 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) {
        * 
* * string main_class = 101; - * * @return Whether the mainClass field is set. */ @java.lang.Override @@ -11487,8 +10130,6 @@ public boolean hasMainClass() { return driverCase_ == 101; } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11498,7 +10139,6 @@ public boolean hasMainClass() {
        * 
* * string main_class = 101; - * * @return The mainClass. */ @java.lang.Override @@ -11508,7 +10148,8 @@ public java.lang.String getMainClass() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 101) { driver_ = s; @@ -11519,8 +10160,6 @@ public java.lang.String getMainClass() { } } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11530,18 +10169,19 @@ public java.lang.String getMainClass() {
        * 
* * string main_class = 101; - * * @return The bytes for mainClass. */ @java.lang.Override - public com.google.protobuf.ByteString getMainClassBytes() { + public com.google.protobuf.ByteString + getMainClassBytes() { java.lang.Object ref = ""; if (driverCase_ == 101) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 101) { driver_ = b; } @@ -11551,8 +10191,6 @@ public com.google.protobuf.ByteString getMainClassBytes() { } } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11562,22 +10200,18 @@ public com.google.protobuf.ByteString getMainClassBytes() {
        * 
* * string main_class = 101; - * * @param value The mainClass to set. * @return This builder for chaining. */ - public Builder setMainClass(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMainClass( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } driverCase_ = 101; driver_ = value; onChanged(); return this; } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11587,7 +10221,6 @@ public Builder setMainClass(java.lang.String value) {
        * 
* * string main_class = 101; - * * @return This builder for chaining. */ public Builder clearMainClass() { @@ -11599,8 +10232,6 @@ public Builder clearMainClass() { return this; } /** - * - * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -11610,14 +10241,12 @@ public Builder clearMainClass() {
        * 
* * string main_class = 101; - * * @param value The bytes for mainClass to set. * @return This builder for chaining. */ - public Builder setMainClassBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMainClassBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverCase_ = 101; driver_ = value; @@ -11626,8 +10255,6 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11635,7 +10262,6 @@ public Builder setMainClassBytes(com.google.protobuf.ByteString value) {
        * 
* * string python_script_file = 102; - * * @return Whether the pythonScriptFile field is set. */ @java.lang.Override @@ -11643,8 +10269,6 @@ public boolean hasPythonScriptFile() { return driverCase_ == 102; } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11652,7 +10276,6 @@ public boolean hasPythonScriptFile() {
        * 
* * string python_script_file = 102; - * * @return The pythonScriptFile. */ @java.lang.Override @@ -11662,7 +10285,8 @@ public java.lang.String getPythonScriptFile() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 102) { driver_ = s; @@ -11673,8 +10297,6 @@ public java.lang.String getPythonScriptFile() { } } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11682,18 +10304,19 @@ public java.lang.String getPythonScriptFile() {
        * 
* * string python_script_file = 102; - * * @return The bytes for pythonScriptFile. */ @java.lang.Override - public com.google.protobuf.ByteString getPythonScriptFileBytes() { + public com.google.protobuf.ByteString + getPythonScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 102) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 102) { driver_ = b; } @@ -11703,8 +10326,6 @@ public com.google.protobuf.ByteString getPythonScriptFileBytes() { } } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11712,22 +10333,18 @@ public com.google.protobuf.ByteString getPythonScriptFileBytes() {
        * 
* * string python_script_file = 102; - * * @param value The pythonScriptFile to set. * @return This builder for chaining. */ - public Builder setPythonScriptFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPythonScriptFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } driverCase_ = 102; driver_ = value; onChanged(); return this; } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11735,7 +10352,6 @@ public Builder setPythonScriptFile(java.lang.String value) {
        * 
* * string python_script_file = 102; - * * @return This builder for chaining. */ public Builder clearPythonScriptFile() { @@ -11747,8 +10363,6 @@ public Builder clearPythonScriptFile() { return this; } /** - * - * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -11756,14 +10370,12 @@ public Builder clearPythonScriptFile() {
        * 
* * string python_script_file = 102; - * * @param value The bytes for pythonScriptFile to set. * @return This builder for chaining. */ - public Builder setPythonScriptFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPythonScriptFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverCase_ = 102; driver_ = value; @@ -11772,8 +10384,6 @@ public Builder setPythonScriptFileBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11782,7 +10392,6 @@ public Builder setPythonScriptFileBytes(com.google.protobuf.ByteString value) {
        * 
* * string sql_script_file = 104; - * * @return Whether the sqlScriptFile field is set. */ @java.lang.Override @@ -11790,8 +10399,6 @@ public boolean hasSqlScriptFile() { return driverCase_ == 104; } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11800,7 +10407,6 @@ public boolean hasSqlScriptFile() {
        * 
* * string sql_script_file = 104; - * * @return The sqlScriptFile. */ @java.lang.Override @@ -11810,7 +10416,8 @@ public java.lang.String getSqlScriptFile() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 104) { driver_ = s; @@ -11821,8 +10428,6 @@ public java.lang.String getSqlScriptFile() { } } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11831,18 +10436,19 @@ public java.lang.String getSqlScriptFile() {
        * 
* * string sql_script_file = 104; - * * @return The bytes for sqlScriptFile. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlScriptFileBytes() { + public com.google.protobuf.ByteString + getSqlScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 104) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 104) { driver_ = b; } @@ -11852,8 +10458,6 @@ public com.google.protobuf.ByteString getSqlScriptFileBytes() { } } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11862,22 +10466,18 @@ public com.google.protobuf.ByteString getSqlScriptFileBytes() {
        * 
* * string sql_script_file = 104; - * * @param value The sqlScriptFile to set. * @return This builder for chaining. */ - public Builder setSqlScriptFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlScriptFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } driverCase_ = 104; driver_ = value; onChanged(); return this; } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11886,7 +10486,6 @@ public Builder setSqlScriptFile(java.lang.String value) {
        * 
* * string sql_script_file = 104; - * * @return This builder for chaining. */ public Builder clearSqlScriptFile() { @@ -11898,8 +10497,6 @@ public Builder clearSqlScriptFile() { return this; } /** - * - * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -11908,14 +10505,12 @@ public Builder clearSqlScriptFile() {
        * 
* * string sql_script_file = 104; - * * @param value The bytes for sqlScriptFile to set. * @return This builder for chaining. */ - public Builder setSqlScriptFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlScriptFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverCase_ = 104; driver_ = value; @@ -11924,8 +10519,6 @@ public Builder setSqlScriptFileBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -11933,7 +10526,6 @@ public Builder setSqlScriptFileBytes(com.google.protobuf.ByteString value) {
        * 
* * string sql_script = 105; - * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -11941,8 +10533,6 @@ public boolean hasSqlScript() { return driverCase_ == 105; } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -11950,7 +10540,6 @@ public boolean hasSqlScript() {
        * 
* * string sql_script = 105; - * * @return The sqlScript. */ @java.lang.Override @@ -11960,7 +10549,8 @@ public java.lang.String getSqlScript() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 105) { driver_ = s; @@ -11971,8 +10561,6 @@ public java.lang.String getSqlScript() { } } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -11980,18 +10568,19 @@ public java.lang.String getSqlScript() {
        * 
* * string sql_script = 105; - * * @return The bytes for sqlScript. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlScriptBytes() { + public com.google.protobuf.ByteString + getSqlScriptBytes() { java.lang.Object ref = ""; if (driverCase_ == 105) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 105) { driver_ = b; } @@ -12001,8 +10590,6 @@ public com.google.protobuf.ByteString getSqlScriptBytes() { } } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -12010,22 +10597,18 @@ public com.google.protobuf.ByteString getSqlScriptBytes() {
        * 
* * string sql_script = 105; - * * @param value The sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScript(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlScript( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } driverCase_ = 105; driver_ = value; onChanged(); return this; } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -12033,7 +10616,6 @@ public Builder setSqlScript(java.lang.String value) {
        * 
* * string sql_script = 105; - * * @return This builder for chaining. */ public Builder clearSqlScript() { @@ -12045,8 +10627,6 @@ public Builder clearSqlScript() { return this; } /** - * - * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -12054,14 +10634,12 @@ public Builder clearSqlScript() {
        * 
* * string sql_script = 105; - * * @param value The bytes for sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlScriptBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverCase_ = 105; driver_ = value; @@ -12071,7 +10649,6 @@ public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFileUrisIsMutable() { if (!fileUris_.isModifiable()) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); @@ -12079,46 +10656,38 @@ private void ensureFileUrisIsMutable() { bitField0_ |= 0x00000020; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList getFileUrisList() { + public com.google.protobuf.ProtocolStringList + getFileUrisList() { fileUris_.makeImmutable(); return fileUris_; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -12126,39 +10695,33 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString getFileUrisBytes(int index) { + public com.google.protobuf.ByteString + getFileUrisBytes(int index) { return fileUris_.getByteString(index); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The fileUris to set. * @return This builder for chaining. */ - public Builder setFileUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFileUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFileUrisIsMutable(); fileUris_.set(index, value); bitField0_ |= 0x00000020; @@ -12166,22 +10729,18 @@ public Builder setFileUris(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The fileUris to add. * @return This builder for chaining. */ - public Builder addFileUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFileUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFileUrisIsMutable(); fileUris_.add(value); bitField0_ |= 0x00000020; @@ -12189,61 +10748,53 @@ public Builder addFileUris(java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The fileUris to add. * @return This builder for chaining. */ - public Builder addAllFileUris(java.lang.Iterable values) { + public Builder addAllFileUris( + java.lang.Iterable values) { ensureFileUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fileUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fileUris_); bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFileUris() { - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - ; + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the fileUris to add. * @return This builder for chaining. */ - public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFileUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFileUrisIsMutable(); fileUris_.add(value); @@ -12254,7 +10805,6 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureArchiveUrisIsMutable() { if (!archiveUris_.isModifiable()) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); @@ -12262,8 +10812,6 @@ private void ensureArchiveUrisIsMutable() { bitField0_ |= 0x00000040; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12271,16 +10819,14 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList + getArchiveUrisList() { archiveUris_.makeImmutable(); return archiveUris_; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12288,15 +10834,12 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12304,7 +10847,6 @@ public int getArchiveUrisCount() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -12312,8 +10854,6 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12321,16 +10861,14 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString + getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12338,15 +10876,13 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The archiveUris to set. * @return This builder for chaining. */ - public Builder setArchiveUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setArchiveUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureArchiveUrisIsMutable(); archiveUris_.set(index, value); bitField0_ |= 0x00000040; @@ -12354,8 +10890,6 @@ public Builder setArchiveUris(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12363,14 +10897,12 @@ public Builder setArchiveUris(int index, java.lang.String value) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addArchiveUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureArchiveUrisIsMutable(); archiveUris_.add(value); bitField0_ |= 0x00000040; @@ -12378,8 +10910,6 @@ public Builder addArchiveUris(java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12387,20 +10917,19 @@ public Builder addArchiveUris(java.lang.String value) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The archiveUris to add. * @return This builder for chaining. */ - public Builder addAllArchiveUris(java.lang.Iterable values) { + public Builder addAllArchiveUris( + java.lang.Iterable values) { ensureArchiveUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, archiveUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, archiveUris_); bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12408,19 +10937,16 @@ public Builder addAllArchiveUris(java.lang.Iterable values) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearArchiveUris() { - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - ; + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12428,14 +10954,12 @@ public Builder clearArchiveUris() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addArchiveUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureArchiveUrisIsMutable(); archiveUris_.add(value); @@ -12446,61 +10970,41 @@ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> - infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setInfrastructureSpec( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12514,15 +11018,11 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder builderForValue) { @@ -12536,23 +11036,17 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeInfrastructureSpec( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && infrastructureSpec_ != null - && infrastructureSpec_ - != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + infrastructureSpec_ != null && + infrastructureSpec_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -12565,15 +11059,11 @@ public Builder mergeInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000080); @@ -12586,71 +11076,52 @@ public Builder clearInfrastructureSpec() { return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder - getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { bitField0_ |= 0x00000080; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), getParentForChildren(), isClean()); + infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), + getParentForChildren(), + isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12663,12 +11134,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.SparkTaskConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.SparkTaskConfig) private static final com.google.cloud.dataplex.v1.Task.SparkTaskConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(); } @@ -12677,28 +11148,27 @@ public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkTaskConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SparkTaskConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12713,16 +11183,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NotebookTaskConfigOrBuilder - extends + public interface NotebookTaskConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.NotebookTaskConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -12731,13 +11199,10 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The notebook. */ java.lang.String getNotebook(); /** - * - * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -12746,110 +11211,84 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for notebook. */ - com.google.protobuf.ByteString getNotebookBytes(); + com.google.protobuf.ByteString + getNotebookBytes(); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec(); /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - java.util.List getFileUrisList(); + java.util.List + getFileUrisList(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ int getFileUrisCount(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - com.google.protobuf.ByteString getFileUrisBytes(int index); + com.google.protobuf.ByteString + getFileUrisBytes(int index); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12857,13 +11296,11 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - java.util.List getArchiveUrisList(); + java.util.List + getArchiveUrisList(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12871,13 +11308,10 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ int getArchiveUrisCount(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12885,14 +11319,11 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12900,65 +11331,60 @@ public interface NotebookTaskConfigOrBuilder
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - com.google.protobuf.ByteString getArchiveUrisBytes(int index); + com.google.protobuf.ByteString + getArchiveUrisBytes(int index); } /** - * - * *
    * Config for running scheduled notebooks.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.NotebookTaskConfig} */ - public static final class NotebookTaskConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NotebookTaskConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.NotebookTaskConfig) NotebookTaskConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NotebookTaskConfig.newBuilder() to construct. private NotebookTaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NotebookTaskConfig() { notebook_ = ""; - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NotebookTaskConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); } public static final int NOTEBOOK_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object notebook_ = ""; /** - * - * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -12967,7 +11393,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The notebook. */ @java.lang.Override @@ -12976,15 +11401,14 @@ public java.lang.String getNotebook() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebook_ = s; return s; } } /** - * - * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -12993,15 +11417,16 @@ public java.lang.String getNotebook() {
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for notebook. */ @java.lang.Override - public com.google.protobuf.ByteString getNotebookBytes() { + public com.google.protobuf.ByteString + getNotebookBytes() { java.lang.Object ref = notebook_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notebook_ = b; return b; } else { @@ -13012,16 +11437,11 @@ public com.google.protobuf.ByteString getNotebookBytes() { public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -13029,88 +11449,65 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } /** - * - * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } public static final int FILE_URIS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList getFileUrisList() { + public com.google.protobuf.ProtocolStringList + getFileUrisList() { return fileUris_; } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -13118,30 +11515,25 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** - * - * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString getFileUrisBytes(int index) { + public com.google.protobuf.ByteString + getFileUrisBytes(int index) { return fileUris_.getByteString(index); } public static final int ARCHIVE_URIS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -13149,15 +11541,13 @@ public com.google.protobuf.ByteString getFileUrisBytes(int index) {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList + getArchiveUrisList() { return archiveUris_; } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -13165,15 +11555,12 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -13181,7 +11568,6 @@ public int getArchiveUrisCount() {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -13189,8 +11575,6 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** - * - * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -13198,16 +11582,15 @@ public java.lang.String getArchiveUris(int index) {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString + getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13219,7 +11602,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (infrastructureSpec_ != null) { output.writeMessage(3, getInfrastructureSpec()); } @@ -13242,8 +11626,8 @@ public int getSerializedSize() { size = 0; if (infrastructureSpec_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInfrastructureSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInfrastructureSpec()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notebook_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, notebook_); @@ -13272,21 +11656,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.NotebookTaskConfig)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other = - (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) obj; + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other = (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) obj; - if (!getNotebook().equals(other.getNotebook())) return false; + if (!getNotebook() + .equals(other.getNotebook())) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec() + .equals(other.getInfrastructureSpec())) return false; } - if (!getFileUrisList().equals(other.getFileUrisList())) return false; - if (!getArchiveUrisList().equals(other.getArchiveUrisList())) return false; + if (!getFileUrisList() + .equals(other.getFileUrisList())) return false; + if (!getArchiveUrisList() + .equals(other.getArchiveUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -13318,94 +11705,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13415,41 +11797,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Config for running scheduled notebooks.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.NotebookTaskConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.NotebookTaskConfig) com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -13460,15 +11840,17 @@ public Builder clear() { infrastructureSpecBuilder_.dispose(); infrastructureSpecBuilder_ = null; } - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override @@ -13487,11 +11869,8 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig buildPartial() { - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result = - new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result = new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -13502,10 +11881,9 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result.notebook_ = notebook_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.infrastructureSpec_ = - infrastructureSpecBuilder_ == null - ? infrastructureSpec_ - : infrastructureSpecBuilder_.build(); + result.infrastructureSpec_ = infrastructureSpecBuilder_ == null + ? infrastructureSpec_ + : infrastructureSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { fileUris_.makeImmutable(); @@ -13521,41 +11899,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig)other); } else { super.mergeFrom(other); return this; @@ -13563,8 +11938,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other) { - if (other == com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) return this; if (!other.getNotebook().isEmpty()) { notebook_ = other.notebook_; bitField0_ |= 0x00000001; @@ -13619,40 +11993,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - input.readMessage( - getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - notebook_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFileUrisIsMutable(); - fileUris_.add(s); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureArchiveUrisIsMutable(); - archiveUris_.add(s); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + input.readMessage( + getInfrastructureSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + notebook_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFileUrisIsMutable(); + fileUris_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArchiveUrisIsMutable(); + archiveUris_.add(s); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13662,13 +12032,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object notebook_ = ""; /** - * - * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -13677,13 +12044,13 @@ public Builder mergeFrom(
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The notebook. */ public java.lang.String getNotebook() { java.lang.Object ref = notebook_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebook_ = s; return s; @@ -13692,8 +12059,6 @@ public java.lang.String getNotebook() { } } /** - * - * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -13702,14 +12067,15 @@ public java.lang.String getNotebook() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for notebook. */ - public com.google.protobuf.ByteString getNotebookBytes() { + public com.google.protobuf.ByteString + getNotebookBytes() { java.lang.Object ref = notebook_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notebook_ = b; return b; } else { @@ -13717,8 +12083,6 @@ public com.google.protobuf.ByteString getNotebookBytes() { } } /** - * - * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -13727,22 +12091,18 @@ public com.google.protobuf.ByteString getNotebookBytes() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The notebook to set. * @return This builder for chaining. */ - public Builder setNotebook(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotebook( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } notebook_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -13751,7 +12111,6 @@ public Builder setNotebook(java.lang.String value) {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNotebook() { @@ -13761,8 +12120,6 @@ public Builder clearNotebook() { return this; } /** - * - * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -13771,14 +12128,12 @@ public Builder clearNotebook() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for notebook to set. * @return This builder for chaining. */ - public Builder setNotebookBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNotebookBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notebook_ = value; bitField0_ |= 0x00000001; @@ -13788,61 +12143,41 @@ public Builder setNotebookBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> - infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setInfrastructureSpec( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13856,15 +12191,11 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder builderForValue) { @@ -13878,23 +12209,17 @@ public Builder setInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeInfrastructureSpec( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && infrastructureSpec_ != null - && infrastructureSpec_ - != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + infrastructureSpec_ != null && + infrastructureSpec_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -13907,15 +12232,11 @@ public Builder mergeInfrastructureSpec( return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000002); @@ -13928,66 +12249,48 @@ public Builder clearInfrastructureSpec() { return this; } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder - getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { bitField0_ |= 0x00000002; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder - getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null - ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() - : infrastructureSpec_; + return infrastructureSpec_ == null ? + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; } } /** - * - * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, - com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), getParentForChildren(), isClean()); + infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), + getParentForChildren(), + isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; @@ -13995,7 +12298,6 @@ public Builder clearInfrastructureSpec() { private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFileUrisIsMutable() { if (!fileUris_.isModifiable()) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); @@ -14003,46 +12305,38 @@ private void ensureFileUrisIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList getFileUrisList() { + public com.google.protobuf.ProtocolStringList + getFileUrisList() { fileUris_.makeImmutable(); return fileUris_; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -14050,39 +12344,33 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString getFileUrisBytes(int index) { + public com.google.protobuf.ByteString + getFileUrisBytes(int index) { return fileUris_.getByteString(index); } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The fileUris to set. * @return This builder for chaining. */ - public Builder setFileUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFileUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFileUrisIsMutable(); fileUris_.set(index, value); bitField0_ |= 0x00000004; @@ -14090,22 +12378,18 @@ public Builder setFileUris(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The fileUris to add. * @return This builder for chaining. */ - public Builder addFileUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFileUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFileUrisIsMutable(); fileUris_.add(value); bitField0_ |= 0x00000004; @@ -14113,61 +12397,53 @@ public Builder addFileUris(java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The fileUris to add. * @return This builder for chaining. */ - public Builder addAllFileUris(java.lang.Iterable values) { + public Builder addAllFileUris( + java.lang.Iterable values) { ensureFileUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fileUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fileUris_); bitField0_ |= 0x00000004; onChanged(); return this; } - /** - * - * + /** *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFileUris() { - fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + fileUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the fileUris to add. * @return This builder for chaining. */ - public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFileUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFileUrisIsMutable(); fileUris_.add(value); @@ -14178,7 +12454,6 @@ public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureArchiveUrisIsMutable() { if (!archiveUris_.isModifiable()) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); @@ -14186,8 +12461,6 @@ private void ensureArchiveUrisIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14195,16 +12468,14 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList + getArchiveUrisList() { archiveUris_.makeImmutable(); return archiveUris_; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14212,15 +12483,12 @@ public com.google.protobuf.ProtocolStringList getArchiveUrisList() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14228,7 +12496,6 @@ public int getArchiveUrisCount() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -14236,8 +12503,6 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14245,16 +12510,14 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString + getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14262,15 +12525,13 @@ public com.google.protobuf.ByteString getArchiveUrisBytes(int index) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The archiveUris to set. * @return This builder for chaining. */ - public Builder setArchiveUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setArchiveUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureArchiveUrisIsMutable(); archiveUris_.set(index, value); bitField0_ |= 0x00000008; @@ -14278,8 +12539,6 @@ public Builder setArchiveUris(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14287,14 +12546,12 @@ public Builder setArchiveUris(int index, java.lang.String value) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addArchiveUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureArchiveUrisIsMutable(); archiveUris_.add(value); bitField0_ |= 0x00000008; @@ -14302,8 +12559,6 @@ public Builder addArchiveUris(java.lang.String value) { return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14311,20 +12566,19 @@ public Builder addArchiveUris(java.lang.String value) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The archiveUris to add. * @return This builder for chaining. */ - public Builder addAllArchiveUris(java.lang.Iterable values) { + public Builder addAllArchiveUris( + java.lang.Iterable values) { ensureArchiveUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, archiveUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, archiveUris_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14332,19 +12586,16 @@ public Builder addAllArchiveUris(java.lang.Iterable values) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearArchiveUris() { - archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + archiveUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -14352,14 +12603,12 @@ public Builder clearArchiveUris() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addArchiveUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureArchiveUrisIsMutable(); archiveUris_.add(value); @@ -14367,7 +12616,6 @@ public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14380,12 +12628,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.NotebookTaskConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.NotebookTaskConfig) private static final com.google.cloud.dataplex.v1.Task.NotebookTaskConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(); } @@ -14394,28 +12642,27 @@ public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotebookTaskConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotebookTaskConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14430,150 +12677,114 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecutionStatusOrBuilder - extends + public interface ExecutionStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.ExecutionStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestJob field is set. */ boolean hasLatestJob(); /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestJob. */ com.google.cloud.dataplex.v1.Job getLatestJob(); /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder(); } /** - * - * *
    * Status of the task execution (e.g. Jobs).
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionStatus} */ - public static final class ExecutionStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutionStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.ExecutionStatus) ExecutionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionStatus.newBuilder() to construct. private ExecutionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecutionStatus() {} + private ExecutionStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, - com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -14581,16 +12792,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -14598,15 +12804,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Last update time of the status.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -14616,16 +12818,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LATEST_JOB_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.Job latestJob_; /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestJob field is set. */ @java.lang.Override @@ -14633,44 +12830,30 @@ public boolean hasLatestJob() { return latestJob_ != null; } /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestJob. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job getLatestJob() { - return latestJob_ == null - ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() - : latestJob_; + return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; } /** - * - * *
      * Output only. latest job execution
      * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder() { - return latestJob_ == null - ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() - : latestJob_; + return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14682,7 +12865,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } @@ -14699,10 +12883,12 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (latestJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLatestJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLatestJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -14712,21 +12898,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.ExecutionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.ExecutionStatus other = - (com.google.cloud.dataplex.v1.Task.ExecutionStatus) obj; + com.google.cloud.dataplex.v1.Task.ExecutionStatus other = (com.google.cloud.dataplex.v1.Task.ExecutionStatus) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasLatestJob() != other.hasLatestJob()) return false; if (hasLatestJob()) { - if (!getLatestJob().equals(other.getLatestJob())) return false; + if (!getLatestJob() + .equals(other.getLatestJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -14753,93 +12940,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.ExecutionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14849,41 +13032,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Status of the task execution (e.g. Jobs).
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.ExecutionStatus) com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, - com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.ExecutionStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -14902,9 +13083,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override @@ -14923,11 +13104,8 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatus buildPartial() { - com.google.cloud.dataplex.v1.Task.ExecutionStatus result = - new com.google.cloud.dataplex.v1.Task.ExecutionStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Task.ExecutionStatus result = new com.google.cloud.dataplex.v1.Task.ExecutionStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -14935,11 +13113,14 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = - updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.latestJob_ = latestJobBuilder_ == null ? latestJob_ : latestJobBuilder_.build(); + result.latestJob_ = latestJobBuilder_ == null + ? latestJob_ + : latestJobBuilder_.build(); } } @@ -14947,41 +13128,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionStatus res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.ExecutionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionStatus) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionStatus)other); } else { super.mergeFrom(other); return this; @@ -14989,8 +13167,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.ExecutionStatus other) { - if (other == com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) return this; if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } @@ -15023,25 +13200,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - case 74: - { - input.readMessage(getLatestJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + case 74: { + input.readMessage( + getLatestJobFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15051,63 +13229,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.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. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -15123,17 +13281,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -15144,21 +13299,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -15171,15 +13322,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -15192,15 +13339,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000001; @@ -15208,48 +13351,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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. Last update time of the status.
        * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -15257,58 +13388,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.dataplex.v1.Job latestJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> - latestJobBuilder_; + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> latestJobBuilder_; /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestJob field is set. */ public boolean hasLatestJob() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestJob. */ public com.google.cloud.dataplex.v1.Job getLatestJob() { if (latestJobBuilder_ == null) { - return latestJob_ == null - ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() - : latestJob_; + return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; } else { return latestJobBuilder_.getMessage(); } } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLatestJob(com.google.cloud.dataplex.v1.Job value) { if (latestJobBuilder_ == null) { @@ -15324,17 +13436,14 @@ public Builder setLatestJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLatestJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setLatestJob( + com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (latestJobBuilder_ == null) { latestJob_ = builderForValue.build(); } else { @@ -15345,21 +13454,17 @@ public Builder setLatestJob(com.google.cloud.dataplex.v1.Job.Builder builderForV return this; } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLatestJob(com.google.cloud.dataplex.v1.Job value) { if (latestJobBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && latestJob_ != null - && latestJob_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + latestJob_ != null && + latestJob_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { getLatestJobBuilder().mergeFrom(value); } else { latestJob_ = value; @@ -15372,15 +13477,11 @@ public Builder mergeLatestJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLatestJob() { bitField0_ = (bitField0_ & ~0x00000002); @@ -15393,15 +13494,11 @@ public Builder clearLatestJob() { return this; } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Job.Builder getLatestJobBuilder() { bitField0_ |= 0x00000002; @@ -15409,53 +13506,40 @@ public com.google.cloud.dataplex.v1.Job.Builder getLatestJobBuilder() { return getLatestJobFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder() { if (latestJobBuilder_ != null) { return latestJobBuilder_.getMessageOrBuilder(); } else { - return latestJob_ == null - ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() - : latestJob_; + return latestJob_ == null ? + com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; } } /** - * - * *
        * Output only. latest job execution
        * 
* - * - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> getLatestJobFieldBuilder() { if (latestJobBuilder_ == null) { - latestJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, - com.google.cloud.dataplex.v1.Job.Builder, - com.google.cloud.dataplex.v1.JobOrBuilder>( - getLatestJob(), getParentForChildren(), isClean()); + latestJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( + getLatestJob(), + getParentForChildren(), + isClean()); latestJob_ = null; } return latestJobBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15468,12 +13552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.ExecutionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.ExecutionStatus) private static final com.google.cloud.dataplex.v1.Task.ExecutionStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.ExecutionStatus(); } @@ -15482,28 +13566,27 @@ public static com.google.cloud.dataplex.v1.Task.ExecutionStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15518,22 +13601,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.ExecutionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int configCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object config_; - public enum ConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SPARK(300), NOTEBOOK(302), CONFIG_NOT_SET(0); private final int value; - private ConfigCase(int value) { this.value = value; } @@ -15549,43 +13629,34 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 300: - return SPARK; - case 302: - return NOTEBOOK; - case 0: - return CONFIG_NOT_SET; - default: - return null; + case 300: return SPARK; + case 302: return NOTEBOOK; + case 0: return CONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -15594,33 +13665,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; } } /** - * - * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -15629,19 +13698,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -15650,30 +13715,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -15684,15 +13749,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -15700,30 +13761,23 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } - /** - * - * + /** *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -15733,15 +13787,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -15749,15 +13799,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -15765,14 +13811,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -15780,18 +13823,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -15800,29 +13839,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; } } /** - * - * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -15831,18 +13870,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -15851,29 +13886,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -15884,69 +13919,56 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -15954,21 +13976,20 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -15980,8 +14001,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -15989,19 +14008,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -16009,11 +14026,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -16023,16 +14040,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int TRIGGER_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Task.TriggerSpec triggerSpec_; /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the triggerSpec field is set. */ @java.lang.Override @@ -16040,55 +14052,37 @@ public boolean hasTriggerSpec() { return triggerSpec_ != null; } /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The triggerSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec() { - return triggerSpec_ == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() - : triggerSpec_; + return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; } /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder() { - return triggerSpec_ == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() - : triggerSpec_; + return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; } public static final int EXECUTION_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -16096,55 +14090,37 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } public static final int EXECUTION_STATUS_FIELD_NUMBER = 201; private com.google.cloud.dataplex.v1.Task.ExecutionStatus executionStatus_; /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ @java.lang.Override @@ -16152,52 +14128,36 @@ public boolean hasExecutionStatus() { return executionStatus_ != null; } /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus() { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; } /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; } public static final int SPARK_FIELD_NUMBER = 300; /** - * - * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return Whether the spark field is set. */ @java.lang.Override @@ -16205,26 +14165,21 @@ public boolean hasSpark() { return configCase_ == 300; } /** - * - * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return The spark. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { if (configCase_ == 300) { - return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } /** - * - * *
    * Config related to running custom Spark tasks.
    * 
@@ -16234,21 +14189,18 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuilder() { if (configCase_ == 300) { - return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } public static final int NOTEBOOK_FIELD_NUMBER = 302; /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return Whether the notebook field is set. */ @java.lang.Override @@ -16256,26 +14208,21 @@ public boolean hasNotebook() { return configCase_ == 302; } /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return The notebook. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { if (configCase_ == 302) { - return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
@@ -16285,13 +14232,12 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebookOrBuilder() { if (configCase_ == 302) { - return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16303,7 +14249,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -16325,8 +14272,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (triggerSpec_ != null) { output.writeMessage(100, getTriggerSpec()); } @@ -16358,10 +14309,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -16370,36 +14323,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); - } - 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(8, labels__); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); + } + 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(8, labels__); } if (triggerSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getTriggerSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getTriggerSpec()); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getExecutionSpec()); } if (executionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(201, getExecutionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, getExecutionStatus()); } if (configCase_ == 300) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 300, (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(300, (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_); } if (configCase_ == 302) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 302, (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(302, (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -16409,46 +14364,58 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Task other = (com.google.cloud.dataplex.v1.Task) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasTriggerSpec() != other.hasTriggerSpec()) return false; if (hasTriggerSpec()) { - if (!getTriggerSpec().equals(other.getTriggerSpec())) return false; + if (!getTriggerSpec() + .equals(other.getTriggerSpec())) return false; } if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec() + .equals(other.getExecutionSpec())) return false; } if (hasExecutionStatus() != other.hasExecutionStatus()) return false; if (hasExecutionStatus()) { - if (!getExecutionStatus().equals(other.getExecutionStatus())) return false; + if (!getExecutionStatus() + .equals(other.getExecutionStatus())) return false; } if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 300: - if (!getSpark().equals(other.getSpark())) return false; + if (!getSpark() + .equals(other.getSpark())) return false; break; case 302: - if (!getNotebook().equals(other.getNotebook())) return false; + if (!getNotebook() + .equals(other.getNotebook())) return false; break; case 0: default: @@ -16515,155 +14482,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Task parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 represents a user-visible job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task) com.google.cloud.dataplex.v1.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: 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 8: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.class, - com.google.cloud.dataplex.v1.Task.Builder.class); + com.google.cloud.dataplex.v1.Task.class, com.google.cloud.dataplex.v1.Task.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -16711,9 +14677,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto - .internal_static_google_cloud_dataplex_v1_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_descriptor; } @java.lang.Override @@ -16733,9 +14699,7 @@ public com.google.cloud.dataplex.v1.Task build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task buildPartial() { com.google.cloud.dataplex.v1.Task result = new com.google.cloud.dataplex.v1.Task(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -16750,10 +14714,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.description_ = description_; @@ -16769,26 +14737,31 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.triggerSpec_ = - triggerSpecBuilder_ == null ? triggerSpec_ : triggerSpecBuilder_.build(); + result.triggerSpec_ = triggerSpecBuilder_ == null + ? triggerSpec_ + : triggerSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.executionSpec_ = - executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build(); + result.executionSpec_ = executionSpecBuilder_ == null + ? executionSpec_ + : executionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.executionStatus_ = - executionStatusBuilder_ == null ? executionStatus_ : executionStatusBuilder_.build(); + result.executionStatus_ = executionStatusBuilder_ == null + ? executionStatus_ + : executionStatusBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task result) { result.configCase_ = configCase_; result.config_ = this.config_; - if (configCase_ == 300 && sparkBuilder_ != null) { + if (configCase_ == 300 && + sparkBuilder_ != null) { result.config_ = sparkBuilder_.build(); } - if (configCase_ == 302 && notebookBuilder_ != null) { + if (configCase_ == 302 && + notebookBuilder_ != null) { result.config_ = notebookBuilder_.build(); } } @@ -16797,39 +14770,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task) { - return mergeFrom((com.google.cloud.dataplex.v1.Task) other); + return mergeFrom((com.google.cloud.dataplex.v1.Task)other); } else { super.mergeFrom(other); return this; @@ -16867,7 +14839,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task other) { if (other.state_ != 0) { setStateValue(other.getStateValue()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasTriggerSpec()) { mergeTriggerSpec(other.getTriggerSpec()); @@ -16879,20 +14852,17 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task other) { mergeExecutionStatus(other.getExecutionStatus()); } switch (other.getConfigCase()) { - case SPARK: - { - mergeSpark(other.getSpark()); - break; - } - case NOTEBOOK: - { - mergeNotebook(other.getNotebook()); - break; - } - case CONFIG_NOT_SET: - { - break; - } + case SPARK: { + mergeSpark(other.getSpark()); + break; + } + case NOTEBOOK: { + mergeNotebook(other.getNotebook()); + break; + } + case CONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -16920,97 +14890,95 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 802: - { - input.readMessage(getTriggerSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 802 - case 810: - { - input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 810 - case 1610: - { - input.readMessage(getExecutionStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 1610 - case 2402: - { - input.readMessage(getSparkFieldBuilder().getBuilder(), extensionRegistry); - configCase_ = 300; - break; - } // case 2402 - case 2418: - { - input.readMessage(getNotebookFieldBuilder().getBuilder(), extensionRegistry); - configCase_ = 302; - break; - } // case 2418 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 802: { + input.readMessage( + getTriggerSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 802 + case 810: { + input.readMessage( + getExecutionSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 810 + case 1610: { + input.readMessage( + getExecutionStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 1610 + case 2402: { + input.readMessage( + getSparkFieldBuilder().getBuilder(), + extensionRegistry); + configCase_ = 300; + break; + } // case 2402 + case 2418: { + input.readMessage( + getNotebookFieldBuilder().getBuilder(), + extensionRegistry); + configCase_ = 302; + break; + } // case 2418 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17020,12 +14988,12 @@ public Builder mergeFrom( } // finally return this; } - private int configCase_ = 0; private java.lang.Object config_; - - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public Builder clearConfig() { @@ -17039,24 +15007,20 @@ public Builder clearConfig() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -17065,25 +15029,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -17091,43 +15052,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -17137,25 +15087,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -17165,21 +15109,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -17188,22 +15130,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -17211,37 +15152,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -17251,22 +15185,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -17276,58 +15206,39 @@ public Builder setUidBytes(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 time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -17343,17 +15254,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -17364,21 +15272,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -17391,15 +15295,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -17412,15 +15312,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -17428,48 +15324,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the task was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -17477,58 +15361,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 time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -17544,17 +15409,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -17565,21 +15427,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -17592,15 +15450,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -17613,15 +15467,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -17629,48 +15479,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the task was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> 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_; @@ -17678,20 +15516,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -17700,21 +15536,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -17722,35 +15557,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -17760,21 +15588,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -17784,20 +15608,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -17806,21 +15628,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -17828,35 +15649,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -17866,21 +15680,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -17890,31 +15700,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -17925,33 +15726,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -17965,15 +15757,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -17983,19 +15771,21 @@ public Builder clearState() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -18004,13 +15794,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
@@ -18018,21 +15805,20 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
@@ -18044,8 +15830,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
@@ -18053,19 +15837,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
@@ -18073,133 +15855,112 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.cloud.dataplex.v1.Task.TriggerSpec triggerSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, - com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, - com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> - triggerSpecBuilder_; + com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> triggerSpecBuilder_; /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the triggerSpec field is set. */ public boolean hasTriggerSpec() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The triggerSpec. */ public com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec() { if (triggerSpecBuilder_ == null) { - return triggerSpec_ == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() - : triggerSpec_; + return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; } else { return triggerSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec value) { if (triggerSpecBuilder_ == null) { @@ -18215,15 +15976,11 @@ public Builder setTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec valu return this; } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTriggerSpec( com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder builderForValue) { @@ -18237,21 +15994,17 @@ public Builder setTriggerSpec( return this; } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec value) { if (triggerSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && triggerSpec_ != null - && triggerSpec_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + triggerSpec_ != null && + triggerSpec_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) { getTriggerSpecBuilder().mergeFrom(value); } else { triggerSpec_ = value; @@ -18264,15 +16017,11 @@ public Builder mergeTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec va return this; } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTriggerSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -18285,15 +16034,11 @@ public Builder clearTriggerSpec() { return this; } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder getTriggerSpecBuilder() { bitField0_ |= 0x00000100; @@ -18301,48 +16046,36 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder getTriggerSpecBuild return getTriggerSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder() { if (triggerSpecBuilder_ != null) { return triggerSpecBuilder_.getMessageOrBuilder(); } else { - return triggerSpec_ == null - ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() - : triggerSpec_; + return triggerSpec_ == null ? + com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; } } /** - * - * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, - com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, - com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> getTriggerSpecFieldBuilder() { if (triggerSpecBuilder_ == null) { - triggerSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, - com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, - com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder>( - getTriggerSpec(), getParentForChildren(), isClean()); + triggerSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder>( + getTriggerSpec(), + getParentForChildren(), + isClean()); triggerSpec_ = null; } return triggerSpecBuilder_; @@ -18350,58 +16083,39 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBu private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> - executionSpecBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> executionSpecBuilder_; /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return The executionSpec. */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -18417,15 +16131,11 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec return this; } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder builderForValue) { @@ -18439,22 +16149,17 @@ public Builder setExecutionSpec( return this; } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && executionSpec_ != null - && executionSpec_ - != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + executionSpec_ != null && + executionSpec_ != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -18467,15 +16172,11 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpe return this; } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -18488,15 +16189,11 @@ public Builder clearExecutionSpec() { return this; } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000200; @@ -18504,48 +16201,36 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecB return getExecutionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() - : executionSpec_; + return executionSpec_ == null ? + com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; } } /** - * - * *
      * Required. Spec related to how a task is executed.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, - com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( - getExecutionSpec(), getParentForChildren(), isClean()); + executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( + getExecutionSpec(), + getParentForChildren(), + isClean()); executionSpec_ = null; } return executionSpecBuilder_; @@ -18553,58 +16238,39 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpec private com.google.cloud.dataplex.v1.Task.ExecutionStatus executionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, - com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> - executionStatusBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> executionStatusBuilder_; /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ public com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus() { if (executionStatusBuilder_ == null) { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; } else { return executionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionStatus value) { if (executionStatusBuilder_ == null) { @@ -18620,15 +16286,11 @@ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionSta return this; } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExecutionStatus( com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder builderForValue) { @@ -18642,22 +16304,17 @@ public Builder setExecutionStatus( return this; } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionStatus value) { if (executionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && executionStatus_ != null - && executionStatus_ - != com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + executionStatus_ != null && + executionStatus_ != com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) { getExecutionStatusBuilder().mergeFrom(value); } else { executionStatus_ = value; @@ -18670,15 +16327,11 @@ public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionS return this; } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -18691,15 +16344,11 @@ public Builder clearExecutionStatus() { return this; } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder getExecutionStatusBuilder() { bitField0_ |= 0x00000400; @@ -18707,68 +16356,49 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder getExecutionSta return getExecutionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder - getExecutionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { if (executionStatusBuilder_ != null) { return executionStatusBuilder_.getMessageOrBuilder(); } else { - return executionStatus_ == null - ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() - : executionStatus_; + return executionStatus_ == null ? + com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; } } /** - * - * *
      * Output only. Status of the latest task executions.
      * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, - com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> getExecutionStatusFieldBuilder() { if (executionStatusBuilder_ == null) { - executionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, - com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, - com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder>( - getExecutionStatus(), getParentForChildren(), isClean()); + executionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder>( + getExecutionStatus(), + getParentForChildren(), + isClean()); executionStatus_ = null; } return executionStatusBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> - sparkBuilder_; + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> sparkBuilder_; /** - * - * *
      * Config related to running custom Spark tasks.
      * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return Whether the spark field is set. */ @java.lang.Override @@ -18776,14 +16406,11 @@ public boolean hasSpark() { return configCase_ == 300; } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return The spark. */ @java.lang.Override @@ -18801,8 +16428,6 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { } } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18823,8 +16448,6 @@ public Builder setSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig value) return this; } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18843,8 +16466,6 @@ public Builder setSpark( return this; } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18853,13 +16474,10 @@ public Builder setSpark( */ public Builder mergeSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig value) { if (sparkBuilder_ == null) { - if (configCase_ == 300 - && config_ != com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) { - config_ = - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder( - (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 300 && + config_ != com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) { + config_ = com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder((com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -18875,8 +16493,6 @@ public Builder mergeSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig valu return this; } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18900,8 +16516,6 @@ public Builder clearSpark() { return this; } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18912,8 +16526,6 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder getSparkBuilder return getSparkFieldBuilder().getBuilder(); } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18932,8 +16544,6 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil } } /** - * - * *
      * Config related to running custom Spark tasks.
      * 
@@ -18941,19 +16551,14 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> getSparkFieldBuilder() { if (sparkBuilder_ == null) { if (!(configCase_ == 300)) { config_ = com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } - sparkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder>( + sparkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder>( (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_, getParentForChildren(), isClean()); @@ -18965,19 +16570,13 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> - notebookBuilder_; + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> notebookBuilder_; /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return Whether the notebook field is set. */ @java.lang.Override @@ -18985,14 +16584,11 @@ public boolean hasNotebook() { return configCase_ == 302; } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return The notebook. */ @java.lang.Override @@ -19010,8 +16606,6 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { } } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19032,8 +16626,6 @@ public Builder setNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig return this; } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19052,8 +16644,6 @@ public Builder setNotebook( return this; } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19062,14 +16652,10 @@ public Builder setNotebook( */ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig value) { if (notebookBuilder_ == null) { - if (configCase_ == 302 - && config_ - != com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) { - config_ = - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder( - (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 302 && + config_ != com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) { + config_ = com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -19085,8 +16671,6 @@ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfi return this; } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19110,8 +16694,6 @@ public Builder clearNotebook() { return this; } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19122,8 +16704,6 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder getNotebookB return getNotebookFieldBuilder().getBuilder(); } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19142,8 +16722,6 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook } } /** - * - * *
      * Config related to running scheduled Notebooks.
      * 
@@ -19151,19 +16729,14 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> getNotebookFieldBuilder() { if (notebookBuilder_ == null) { if (!(configCase_ == 302)) { config_ = com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } - notebookBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, - com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder>( + notebookBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder>( (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_, getParentForChildren(), isClean()); @@ -19173,9 +16746,9 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook onChanged(); return notebookBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -19185,12 +16758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task) private static final com.google.cloud.dataplex.v1.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task(); } @@ -19199,27 +16772,27 @@ public static com.google.cloud.dataplex.v1.Task getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Task parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Task parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19234,4 +16807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java index 8afc62f09951..09507ffe544e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java @@ -1,244 +1,172 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -247,31 +175,30 @@ public interface TaskOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User-defined labels for the task.
    * 
@@ -279,171 +206,120 @@ public interface TaskOrBuilder * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the triggerSpec field is set. */ boolean hasTriggerSpec(); /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; * @return The triggerSpec. */ com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec(); /** - * - * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder(); /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; * @return The executionSpec. */ com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec(); /** - * - * *
    * Required. Spec related to how a task is executed.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the executionStatus field is set. */ boolean hasExecutionStatus(); /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executionStatus. */ com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus(); /** - * - * *
    * Output only. Status of the latest task executions.
    * 
* - * - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder(); /** - * - * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return Whether the spark field is set. */ boolean hasSpark(); /** - * - * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; - * * @return The spark. */ com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark(); /** - * - * *
    * Config related to running custom Spark tasks.
    * 
@@ -453,32 +329,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuilder(); /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return Whether the notebook field is set. */ boolean hasNotebook(); /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; - * * @return The notebook. */ com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook(); /** - * - * *
    * Config related to running scheduled Notebooks.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java new file mode 100644 index 000000000000..57b673394683 --- /dev/null +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java @@ -0,0 +1,322 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/tasks.proto + +package com.google.cloud.dataplex.v1; + +public final class TasksProto { + private TasksProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/dataplex/v1/tasks.proto\022\030" + + "google.cloud.dataplex.v1\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032(google/cloud/dataplex/v1/resources" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\"\305\026\n\004Task" + + "\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.google" + + "apis.com/Task\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013crea" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005 " + + "\001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\0224\n" + + "\005state\030\007 \001(\0162\037.google.cloud.dataplex.v1." + + "StateB\004\342A\001\003\022@\n\006labels\030\010 \003(\0132*.google.clo" + + "ud.dataplex.v1.Task.LabelsEntryB\004\342A\001\001\022F\n" + + "\014trigger_spec\030d \001(\0132*.google.cloud.datap" + + "lex.v1.Task.TriggerSpecB\004\342A\001\002\022J\n\016executi" + + "on_spec\030e \001(\0132,.google.cloud.dataplex.v1" + + ".Task.ExecutionSpecB\004\342A\001\002\022O\n\020execution_s" + + "tatus\030\311\001 \001(\0132..google.cloud.dataplex.v1." + + "Task.ExecutionStatusB\004\342A\001\003\022@\n\005spark\030\254\002 \001" + + "(\0132..google.cloud.dataplex.v1.Task.Spark" + + "TaskConfigH\000\022F\n\010notebook\030\256\002 \001(\01321.google" + + ".cloud.dataplex.v1.Task.NotebookTaskConf" + + "igH\000\032\243\006\n\022InfrastructureSpec\022X\n\005batch\0304 \001" + + "(\0132G.google.cloud.dataplex.v1.Task.Infra" + + "structureSpec.BatchComputeResourcesH\000\022b\n" + + "\017container_image\030e \001(\0132G.google.cloud.da" + + "taplex.v1.Task.InfrastructureSpec.Contai" + + "nerImageRuntimeH\001\022T\n\013vpc_network\030\226\001 \001(\0132" + + "<.google.cloud.dataplex.v1.Task.Infrastr" + + "uctureSpec.VpcNetworkH\002\032Y\n\025BatchComputeR" + + "esources\022\035\n\017executors_count\030\001 \001(\005B\004\342A\001\001\022" + + "!\n\023max_executors_count\030\002 \001(\005B\004\342A\001\001\032\212\002\n\025C" + + "ontainerImageRuntime\022\023\n\005image\030\001 \001(\tB\004\342A\001" + + "\001\022\027\n\tjava_jars\030\002 \003(\tB\004\342A\001\001\022\035\n\017python_pac" + + "kages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030\004 \003(\0132W." + + "google.cloud.dataplex.v1.Task.Infrastruc" + + "tureSpec.ContainerImageRuntime.Propertie" + + "sEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032n\n\nVpcNetwork\022\027\n" + + "\007network\030\001 \001(\tB\004\342A\001\001H\000\022\033\n\013sub_network\030\002 " + + "\001(\tB\004\342A\001\001H\000\022\032\n\014network_tags\030\003 \003(\tB\004\342A\001\001B" + + "\016\n\014network_nameB\013\n\tresourcesB\t\n\007runtimeB" + + "\t\n\007network\032\235\002\n\013TriggerSpec\022D\n\004type\030\005 \001(\016" + + "2/.google.cloud.dataplex.v1.Task.Trigger" + + "Spec.TypeB\005\342A\002\002\005\0224\n\nstart_time\030\006 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\001\022\026\n\010disabl" + + "ed\030\004 \001(\010B\004\342A\001\001\022\031\n\013max_retries\030\007 \001(\005B\004\342A\001" + + "\001\022\030\n\010schedule\030d \001(\tB\004\342A\001\001H\000\":\n\004Type\022\024\n\020T" + + "YPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tRECU" + + "RRING\020\002B\t\n\007trigger\032\232\002\n\rExecutionSpec\022J\n\004" + + "args\030\004 \003(\01326.google.cloud.dataplex.v1.Ta" + + "sk.ExecutionSpec.ArgsEntryB\004\342A\001\001\022\035\n\017serv" + + "ice_account\030\005 \001(\tB\004\342A\001\002\022\025\n\007project\030\007 \001(\t" + + "B\004\342A\001\001\022C\n\032max_job_execution_lifetime\030\010 \001" + + "(\0132\031.google.protobuf.DurationB\004\342A\001\001\022\025\n\007k" + + "ms_key\030\t \001(\tB\004\342A\001\001\032+\n\tArgsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\250\002\n\017SparkTaskCon" + + "fig\022\033\n\021main_jar_file_uri\030d \001(\tH\000\022\024\n\nmain" + + "_class\030e \001(\tH\000\022\034\n\022python_script_file\030f \001" + + "(\tH\000\022\031\n\017sql_script_file\030h \001(\tH\000\022\024\n\nsql_s" + + "cript\030i \001(\tH\000\022\027\n\tfile_uris\030\003 \003(\tB\004\342A\001\001\022\032" + + "\n\014archive_uris\030\004 \003(\tB\004\342A\001\001\022T\n\023infrastruc" + + "ture_spec\030\006 \001(\01321.google.cloud.dataplex." + + "v1.Task.InfrastructureSpecB\004\342A\001\001B\010\n\006driv" + + "er\032\267\001\n\022NotebookTaskConfig\022\026\n\010notebook\030\004 " + + "\001(\tB\004\342A\001\002\022T\n\023infrastructure_spec\030\003 \001(\01321" + + ".google.cloud.dataplex.v1.Task.Infrastru" + + "ctureSpecB\004\342A\001\001\022\027\n\tfile_uris\030\005 \003(\tB\004\342A\001\001" + + "\022\032\n\014archive_uris\030\006 \003(\tB\004\342A\001\001\032\201\001\n\017Executi" + + "onStatus\0225\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\0227\n\nlatest_job\030\t " + + "\001(\0132\035.google.cloud.dataplex.v1.JobB\004\342A\001\003" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001:d\352Aa\n\034dataplex.googleapis.com/Ta" + + "sk\022Aprojects/{project}/locations/{locati" + + "on}/lakes/{lake}/tasks/{task}B\010\n\006config\"" + + "\321\007\n\003Job\0222\n\004name\030\001 \001(\tB$\342A\001\003\372A\035\n\033dataplex" + + ".googleapis.com/Job\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0224" + + "\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0228\n\005state\030\005 \001(\0162" + + "#.google.cloud.dataplex.v1.Job.StateB\004\342A" + + "\001\003\022\031\n\013retry_count\030\006 \001(\rB\004\342A\001\003\022<\n\007service" + + "\030\007 \001(\0162%.google.cloud.dataplex.v1.Job.Se" + + "rviceB\004\342A\001\003\022\031\n\013service_job\030\010 \001(\tB\004\342A\001\003\022\025" + + "\n\007message\030\t \001(\tB\004\342A\001\003\022?\n\006labels\030\n \003(\0132)." + + "google.cloud.dataplex.v1.Job.LabelsEntry" + + "B\004\342A\001\003\022<\n\007trigger\030\013 \001(\0162%.google.cloud.d" + + "ataplex.v1.Job.TriggerB\004\342A\001\003\022J\n\016executio" + + "n_spec\030d \001(\0132,.google.cloud.dataplex.v1." + + "Task.ExecutionSpecB\004\342A\001\003\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"0\n\007Servi" + + "ce\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAPROC\020" + + "\001\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUN" + + "NING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n" + + "\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007ABORTED\020\006\"D\n" + + "\007Trigger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\017\n\013TAS" + + "K_CONFIG\020\001\022\017\n\013RUN_REQUEST\020\002:n\352Ak\n\033datapl" + + "ex.googleapis.com/Job\022Lprojects/{project" + + "}/locations/{location}/lakes/{lake}/task" + + "s/{task}/jobs/{job}Bf\n\034com.google.cloud." + + "dataplex.v1B\nTasksProtoP\001Z8cloud.google." + + "com/go/dataplex/apiv1/dataplexpb;dataple" + + "xpbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_descriptor, + new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "State", "Labels", "TriggerSpec", "ExecutionSpec", "ExecutionStatus", "Spark", "Notebook", "Config", }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor, + new java.lang.String[] { "Batch", "ContainerImage", "VpcNetwork", "Resources", "Runtime", "Network", }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor, + new java.lang.String[] { "ExecutorsCount", "MaxExecutorsCount", }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor, + new java.lang.String[] { "Image", "JavaJars", "PythonPackages", "Properties", }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor, + new java.lang.String[] { "Network", "SubNetwork", "NetworkTags", "NetworkName", }); + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor, + new java.lang.String[] { "Type", "StartTime", "Disabled", "MaxRetries", "Schedule", "Trigger", }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor, + new java.lang.String[] { "Args", "ServiceAccount", "Project", "MaxJobExecutionLifetime", "KmsKey", }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor, + new java.lang.String[] { "MainJarFileUri", "MainClass", "PythonScriptFile", "SqlScriptFile", "SqlScript", "FileUris", "ArchiveUris", "InfrastructureSpec", "Driver", }); + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor, + new java.lang.String[] { "Notebook", "InfrastructureSpec", "FileUris", "ArchiveUris", }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor, + new java.lang.String[] { "UpdateTime", "LatestJob", }); + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataplex_v1_Job_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Job_descriptor, + new java.lang.String[] { "Name", "Uid", "StartTime", "EndTime", "State", "RetryCount", "Service", "ServiceJob", "Message", "Labels", "Trigger", "ExecutionSpec", }); + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java index cfdfb9612a57..8ef7c1245dcf 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java @@ -1,113 +1,91 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * DataScan scheduling and trigger settings.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger} */ -public final class Trigger extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Trigger extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.class, - com.google.cloud.dataplex.v1.Trigger.Builder.class); + com.google.cloud.dataplex.v1.Trigger.class, com.google.cloud.dataplex.v1.Trigger.Builder.class); } - public interface OnDemandOrBuilder - extends + public interface OnDemandOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger.OnDemand) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.OnDemand} */ - public static final class OnDemand extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OnDemand extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Trigger.OnDemand) OnDemandOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OnDemand.newBuilder() to construct. private OnDemand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OnDemand() {} + private OnDemand() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OnDemand(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.OnDemand.class, - com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); + com.google.cloud.dataplex.v1.Trigger.OnDemand.class, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -137,13 +116,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger.OnDemand)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Trigger.OnDemand other = - (com.google.cloud.dataplex.v1.Trigger.OnDemand) obj; + com.google.cloud.dataplex.v1.Trigger.OnDemand other = (com.google.cloud.dataplex.v1.Trigger.OnDemand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -161,94 +139,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Trigger.OnDemand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -258,41 +232,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.OnDemand} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Trigger.OnDemand) com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.OnDemand.class, - com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); + com.google.cloud.dataplex.v1.Trigger.OnDemand.class, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -300,9 +272,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override @@ -321,8 +293,7 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemand buildPartial() { - com.google.cloud.dataplex.v1.Trigger.OnDemand result = - new com.google.cloud.dataplex.v1.Trigger.OnDemand(this); + com.google.cloud.dataplex.v1.Trigger.OnDemand result = new com.google.cloud.dataplex.v1.Trigger.OnDemand(this); onBuilt(); return result; } @@ -331,41 +302,38 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger.OnDemand) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger.OnDemand) other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger.OnDemand)other); } else { super.mergeFrom(other); return this; @@ -373,8 +341,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger.OnDemand other) { - if (other == com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -401,13 +368,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,7 +383,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -430,12 +395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger.OnDemand) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger.OnDemand) private static final com.google.cloud.dataplex.v1.Trigger.OnDemand DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger.OnDemand(); } @@ -444,28 +409,27 @@ public static com.google.cloud.dataplex.v1.Trigger.OnDemand getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OnDemand parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OnDemand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -480,16 +444,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger.OnDemand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ScheduleOrBuilder - extends + public interface ScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger.Schedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -506,13 +468,10 @@ public interface ScheduleOrBuilder
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cron. */ java.lang.String getCron(); /** - * - * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -529,62 +488,55 @@ public interface ScheduleOrBuilder
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cron. */ - com.google.protobuf.ByteString getCronBytes(); + com.google.protobuf.ByteString + getCronBytes(); } /** - * - * *
    * The scan is scheduled to run periodically.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.Schedule} */ - public static final class Schedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Schedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Trigger.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() { cron_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Schedule(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.Schedule.class, - com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); + com.google.cloud.dataplex.v1.Trigger.Schedule.class, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); } public static final int CRON_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object cron_ = ""; /** - * - * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -601,7 +553,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cron. */ @java.lang.Override @@ -610,15 +561,14 @@ public java.lang.String getCron() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cron_ = s; return s; } } /** - * - * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -635,15 +585,16 @@ public java.lang.String getCron() {
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cron. */ @java.lang.Override - public com.google.protobuf.ByteString getCronBytes() { + public com.google.protobuf.ByteString + getCronBytes() { java.lang.Object ref = cron_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cron_ = b; return b; } else { @@ -652,7 +603,6 @@ public com.google.protobuf.ByteString getCronBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -664,7 +614,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cron_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cron_); } @@ -688,15 +639,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger.Schedule)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Trigger.Schedule other = - (com.google.cloud.dataplex.v1.Trigger.Schedule) obj; + com.google.cloud.dataplex.v1.Trigger.Schedule other = (com.google.cloud.dataplex.v1.Trigger.Schedule) obj; - if (!getCron().equals(other.getCron())) return false; + if (!getCron() + .equals(other.getCron())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -715,94 +666,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger.Schedule parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger.Schedule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Trigger.Schedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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 @@ -812,41 +759,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule) com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.Schedule.class, - com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); + com.google.cloud.dataplex.v1.Trigger.Schedule.class, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -856,9 +801,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override @@ -877,11 +822,8 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.Schedule buildPartial() { - com.google.cloud.dataplex.v1.Trigger.Schedule result = - new com.google.cloud.dataplex.v1.Trigger.Schedule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Trigger.Schedule result = new com.google.cloud.dataplex.v1.Trigger.Schedule(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -897,41 +839,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Trigger.Schedule result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger.Schedule) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger.Schedule) other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger.Schedule)other); } else { super.mergeFrom(other); return this; @@ -939,8 +878,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger.Schedule other) { - if (other == com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) return this; if (!other.getCron().isEmpty()) { cron_ = other.cron_; bitField0_ |= 0x00000001; @@ -972,19 +910,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cron_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + cron_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -994,13 +930,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object cron_ = ""; /** - * - * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1017,13 +950,13 @@ public Builder mergeFrom(
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cron. */ public java.lang.String getCron() { java.lang.Object ref = cron_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cron_ = s; return s; @@ -1032,8 +965,6 @@ public java.lang.String getCron() { } } /** - * - * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1050,14 +981,15 @@ public java.lang.String getCron() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cron. */ - public com.google.protobuf.ByteString getCronBytes() { + public com.google.protobuf.ByteString + getCronBytes() { java.lang.Object ref = cron_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cron_ = b; return b; } else { @@ -1065,8 +997,6 @@ public com.google.protobuf.ByteString getCronBytes() { } } /** - * - * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1083,22 +1013,18 @@ public com.google.protobuf.ByteString getCronBytes() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cron to set. * @return This builder for chaining. */ - public Builder setCron(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCron( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cron_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1115,7 +1041,6 @@ public Builder setCron(java.lang.String value) {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCron() { @@ -1125,8 +1050,6 @@ public Builder clearCron() { return this; } /** - * - * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1143,21 +1066,18 @@ public Builder clearCron() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cron to set. * @return This builder for chaining. */ - public Builder setCronBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCronBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cron_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1170,12 +1090,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger.Schedule) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger.Schedule) private static final com.google.cloud.dataplex.v1.Trigger.Schedule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger.Schedule(); } @@ -1184,28 +1104,27 @@ public static com.google.cloud.dataplex.v1.Trigger.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,22 +1139,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger.Schedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int modeCase_ = 0; - @SuppressWarnings("serial") 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 { ON_DEMAND(100), SCHEDULE(101), MODE_NOT_SET(0); private final int value; - private ModeCase(int value) { this.value = value; } @@ -1251,36 +1167,30 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 100: - return ON_DEMAND; - case 101: - return SCHEDULE; - case 0: - return MODE_NOT_SET; - default: - return null; + case 100: return ON_DEMAND; + case 101: return SCHEDULE; + 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 ON_DEMAND_FIELD_NUMBER = 100; /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return Whether the onDemand field is set. */ @java.lang.Override @@ -1288,26 +1198,21 @@ public boolean hasOnDemand() { return modeCase_ == 100; } /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return The onDemand. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { if (modeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; + return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; } return com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
@@ -1317,21 +1222,18 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuilder() { if (modeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; + return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; } return com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } public static final int SCHEDULE_FIELD_NUMBER = 101; /** - * - * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -1339,26 +1241,21 @@ public boolean hasSchedule() { return modeCase_ == 101; } /** - * - * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return The schedule. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { if (modeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; + return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; } return com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } /** - * - * *
    * The scan is scheduled to run periodically.
    * 
@@ -1368,13 +1265,12 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuilder() { if (modeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; + return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; } return com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1386,7 +1282,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_ == 100) { output.writeMessage(100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); } @@ -1403,14 +1300,12 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); } if (modeCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1420,7 +1315,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger)) { return super.equals(obj); @@ -1430,10 +1325,12 @@ public boolean equals(final java.lang.Object obj) { if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 100: - if (!getOnDemand().equals(other.getOnDemand())) return false; + if (!getOnDemand() + .equals(other.getOnDemand())) return false; break; case 101: - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; break; case 0: default: @@ -1466,135 +1363,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Trigger parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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 - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DataScan scheduling and trigger settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger) com.google.cloud.dataplex.v1.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.class, - com.google.cloud.dataplex.v1.Trigger.Builder.class); + com.google.cloud.dataplex.v1.Trigger.class, com.google.cloud.dataplex.v1.Trigger.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1611,9 +1505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto - .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override @@ -1633,9 +1527,7 @@ public com.google.cloud.dataplex.v1.Trigger build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger buildPartial() { com.google.cloud.dataplex.v1.Trigger result = new com.google.cloud.dataplex.v1.Trigger(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1648,10 +1540,12 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Trigger result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.Trigger result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 100 && onDemandBuilder_ != null) { + if (modeCase_ == 100 && + onDemandBuilder_ != null) { result.mode_ = onDemandBuilder_.build(); } - if (modeCase_ == 101 && scheduleBuilder_ != null) { + if (modeCase_ == 101 && + scheduleBuilder_ != null) { result.mode_ = scheduleBuilder_.build(); } } @@ -1660,39 +1554,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Trigger result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger) other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger)other); } else { super.mergeFrom(other); return this; @@ -1702,20 +1595,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger other) { if (other == com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) return this; switch (other.getModeCase()) { - case ON_DEMAND: - { - mergeOnDemand(other.getOnDemand()); - break; - } - case SCHEDULE: - { - mergeSchedule(other.getSchedule()); - break; - } - case MODE_NOT_SET: - { - break; - } + case ON_DEMAND: { + mergeOnDemand(other.getOnDemand()); + break; + } + case SCHEDULE: { + mergeSchedule(other.getSchedule()); + break; + } + case MODE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1743,25 +1633,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 802: - { - input.readMessage(getOnDemandFieldBuilder().getBuilder(), extensionRegistry); - modeCase_ = 100; - break; - } // case 802 - case 810: - { - input.readMessage(getScheduleFieldBuilder().getBuilder(), extensionRegistry); - modeCase_ = 101; - break; - } // case 810 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 802: { + input.readMessage( + getOnDemandFieldBuilder().getBuilder(), + extensionRegistry); + modeCase_ = 100; + break; + } // case 802 + case 810: { + input.readMessage( + getScheduleFieldBuilder().getBuilder(), + extensionRegistry); + modeCase_ = 101; + break; + } // case 810 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1771,12 +1662,12 @@ public Builder mergeFrom( } // finally 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() { @@ -1789,19 +1680,13 @@ public Builder clearMode() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, - com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, - com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> - onDemandBuilder_; + com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> onDemandBuilder_; /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return Whether the onDemand field is set. */ @java.lang.Override @@ -1809,14 +1694,11 @@ public boolean hasOnDemand() { return modeCase_ == 100; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return The onDemand. */ @java.lang.Override @@ -1834,8 +1716,6 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { } } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1856,8 +1736,6 @@ public Builder setOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value) return this; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1876,8 +1754,6 @@ public Builder setOnDemand( return this; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1886,13 +1762,10 @@ public Builder setOnDemand( */ public Builder mergeOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value) { if (onDemandBuilder_ == null) { - if (modeCase_ == 100 - && mode_ != com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) { - mode_ = - com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder( - (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 100 && + mode_ != com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) { + mode_ = com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder((com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -1908,8 +1781,6 @@ public Builder mergeOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value return this; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1933,8 +1804,6 @@ public Builder clearOnDemand() { return this; } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1945,8 +1814,6 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder getOnDemandBuilder( return getOnDemandFieldBuilder().getBuilder(); } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1965,8 +1832,6 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild } } /** - * - * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1974,19 +1839,14 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, - com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, - com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> + com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> getOnDemandFieldBuilder() { if (onDemandBuilder_ == null) { if (!(modeCase_ == 100)) { mode_ = com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } - onDemandBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, - com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, - com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder>( + onDemandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder>( (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_, getParentForChildren(), isClean()); @@ -1998,19 +1858,13 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, - com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, - com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> - scheduleBuilder_; + com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> scheduleBuilder_; /** - * - * *
      * The scan is scheduled to run periodically.
      * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -2018,14 +1872,11 @@ public boolean hasSchedule() { return modeCase_ == 101; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return The schedule. */ @java.lang.Override @@ -2043,8 +1894,6 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { } } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2065,8 +1914,6 @@ public Builder setSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value) return this; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2085,8 +1932,6 @@ public Builder setSchedule( return this; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2095,13 +1940,10 @@ public Builder setSchedule( */ public Builder mergeSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value) { if (scheduleBuilder_ == null) { - if (modeCase_ == 101 - && mode_ != com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) { - mode_ = - com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder( - (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 101 && + mode_ != com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) { + mode_ = com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder((com.google.cloud.dataplex.v1.Trigger.Schedule) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2117,8 +1959,6 @@ public Builder mergeSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value return this; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2142,8 +1982,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2154,8 +1992,6 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule.Builder getScheduleBuilder( return getScheduleFieldBuilder().getBuilder(); } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2174,8 +2010,6 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild } } /** - * - * *
      * The scan is scheduled to run periodically.
      * 
@@ -2183,19 +2017,14 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, - com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, - com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> + com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { if (!(modeCase_ == 101)) { mode_ = com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } - scheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, - com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, - com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder>( + scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder>( (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_, getParentForChildren(), isClean()); @@ -2205,9 +2034,9 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild onChanged(); return scheduleBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2217,12 +2046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger) private static final com.google.cloud.dataplex.v1.Trigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger(); } @@ -2231,27 +2060,27 @@ public static com.google.cloud.dataplex.v1.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2266,4 +2095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java similarity index 71% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java index 94b39be52107..e2568d40f15c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface TriggerOrBuilder - extends +public interface TriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return Whether the onDemand field is set. */ boolean hasOnDemand(); /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; - * * @return The onDemand. */ com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand(); /** - * - * *
    * The scan runs once via `RunDataScan` API.
    * 
@@ -59,32 +35,24 @@ public interface TriggerOrBuilder com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuilder(); /** - * - * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; - * * @return The schedule. */ com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule(); /** - * - * *
    * The scan is scheduled to run periodically.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java index 10a2378131bf..de1b82ea1baf 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateAssetRequest} */ -public final class UpdateAssetRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAssetRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateAssetRequest) UpdateAssetRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAssetRequest.newBuilder() to construct. private UpdateAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAssetRequest() {} + private UpdateAssetRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateAssetRequest.class, - com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateAssetRequest.class, com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,16 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ASSET_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Asset asset_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ @java.lang.Override @@ -129,16 +96,12 @@ public boolean hasAsset() { return asset_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ @java.lang.Override @@ -146,15 +109,12 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { @@ -164,15 +124,12 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -181,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -213,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAsset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAsset()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateAssetRequest other = - (com.google.cloud.dataplex.v1.UpdateAssetRequest) obj; + com.google.cloud.dataplex.v1.UpdateAssetRequest other = (com.google.cloud.dataplex.v1.UpdateAssetRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset().equals(other.getAsset())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getAsset().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateAssetRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateAssetRequest) com.google.cloud.dataplex.v1.UpdateAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateAssetRequest.class, - com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateAssetRequest.class, com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateAssetRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override @@ -442,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateAssetRequest result = - new com.google.cloud.dataplex.v1.UpdateAssetRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateAssetRequest result = new com.google.cloud.dataplex.v1.UpdateAssetRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -454,10 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateAssetRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateAssetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build(); + result.asset_ = assetBuilder_ == null + ? asset_ + : assetBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -468,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateAssetRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateAssetRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateAssetRequest)other); } else { super.mergeFrom(other); return this; @@ -508,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -545,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAssetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -648,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -668,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -694,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -714,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -729,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -776,37 +696,26 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> - assetBuilder_; + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ public boolean hasAsset() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ public com.google.cloud.dataplex.v1.Asset getAsset() { @@ -817,15 +726,12 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { @@ -841,17 +747,15 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder setAsset( + com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); } else { @@ -862,21 +766,18 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForVal return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && asset_ != null - && asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + asset_ != null && + asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -889,15 +790,12 @@ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAsset() { bitField0_ = (bitField0_ & ~0x00000002); @@ -910,15 +808,12 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { bitField0_ |= 0x00000002; @@ -926,62 +821,51 @@ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? + com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, - com.google.cloud.dataplex.v1.Asset.Builder, - com.google.cloud.dataplex.v1.AssetOrBuilder>( - getAsset(), getParentForChildren(), isClean()); + assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( + getAsset(), + getParentForChildren(), + isClean()); asset_ = null; } return assetBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -989,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1009,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1026,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - 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 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateAssetRequest) private static final com.google.cloud.dataplex.v1.UpdateAssetRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateAssetRequest(); } @@ -1052,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java index 10ad47a5b6ed..1339dac97a26 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java @@ -1,117 +1,76 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateAssetRequestOrBuilder - extends +public interface UpdateAssetRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateAssetRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the asset field is set. */ boolean hasAsset(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The asset. */ com.google.cloud.dataplex.v1.Asset getAsset(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java similarity index 65% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java index 109f1d9095d6..54ebe54c184a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateContentRequest} */ -public final class UpdateContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateContentRequest) UpdateContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateContentRequest.newBuilder() to construct. private UpdateContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateContentRequest() {} + private UpdateContentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateContentRequest.class, - com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateContentRequest.class, com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,16 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Content content_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ @java.lang.Override @@ -129,16 +96,12 @@ public boolean hasContent() { return content_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ @java.lang.Override @@ -146,15 +109,12 @@ public com.google.cloud.dataplex.v1.Content getContent() { return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { @@ -164,15 +124,12 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -181,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -213,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContent()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateContentRequest other = - (com.google.cloud.dataplex.v1.UpdateContentRequest) obj; + com.google.cloud.dataplex.v1.UpdateContentRequest other = (com.google.cloud.dataplex.v1.UpdateContentRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getContent().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateContentRequest) com.google.cloud.dataplex.v1.UpdateContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateContentRequest.class, - com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateContentRequest.class, com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateContentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto - .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override @@ -442,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateContentRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateContentRequest result = - new com.google.cloud.dataplex.v1.UpdateContentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateContentRequest result = new com.google.cloud.dataplex.v1.UpdateContentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -454,10 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateContentRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateContentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); + result.content_ = contentBuilder_ == null + ? content_ + : contentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -468,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateContentRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateContentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateContentRequest)other); } else { super.mergeFrom(other); return this; @@ -508,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateContentRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -545,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getContentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -648,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -668,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -694,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -714,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -729,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -776,61 +696,42 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Content content_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> - contentBuilder_; + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ public com.google.cloud.dataplex.v1.Content getContent() { if (contentBuilder_ == null) { - return content_ == null - ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() - : content_; + return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } else { return contentBuilder_.getMessage(); } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { @@ -846,18 +747,15 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder setContent( + com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); } else { @@ -868,22 +766,18 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderFo return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && content_ != null - && content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + content_ != null && + content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -896,16 +790,12 @@ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -918,16 +808,12 @@ public Builder clearContent() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { bitField0_ |= 0x00000002; @@ -935,66 +821,51 @@ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { return getContentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null - ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() - : content_; + return content_ == null ? + com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, - com.google.cloud.dataplex.v1.Content.Builder, - com.google.cloud.dataplex.v1.ContentOrBuilder>( - getContent(), getParentForChildren(), isClean()); + contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( + getContent(), + getParentForChildren(), + isClean()); content_ = null; } return contentBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1002,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1022,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1039,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1051,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateContentRequest) private static final com.google.cloud.dataplex.v1.UpdateContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateContentRequest(); } @@ -1065,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java index 50d3a1d64274..44b34a450616 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java @@ -1,117 +1,76 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface UpdateContentRequestOrBuilder - extends +public interface UpdateContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the content field is set. */ boolean hasContent(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The content. */ com.google.cloud.dataplex.v1.Content getContent(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java similarity index 61% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java index faebd0cf1b7e..e72a31ab7fc5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java @@ -1,78 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest} */ -public final class UpdateDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataAttributeBindingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) UpdateDataAttributeBindingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataAttributeBindingRequest.newBuilder() to construct. - private UpdateDataAttributeBindingRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataAttributeBindingRequest() {} + private UpdateDataAttributeBindingRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -80,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -96,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -113,16 +83,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_ATTRIBUTE_BINDING_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ @java.lang.Override @@ -130,55 +95,38 @@ public boolean hasDataAttributeBinding() { return dataAttributeBinding_ != null; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingOrBuilder() { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -187,7 +135,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -219,14 +167,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (dataAttributeBinding_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataAttributeBinding()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataAttributeBinding()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,23 +186,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other = - (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasDataAttributeBinding() != other.hasDataAttributeBinding()) return false; if (hasDataAttributeBinding()) { - if (!getDataAttributeBinding().equals(other.getDataAttributeBinding())) return false; + if (!getDataAttributeBinding() + .equals(other.getDataAttributeBinding())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,143 +225,139 @@ public int hashCode() { hash = (53 * hash) + getDataAttributeBinding().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -429,14 +377,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance(); } @@ -451,26 +398,23 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result = - new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result) { + private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataAttributeBinding_ = - dataAttributeBindingBuilder_ == null - ? dataAttributeBinding_ - : dataAttributeBindingBuilder_.build(); + result.dataAttributeBinding_ = dataAttributeBindingBuilder_ == null + ? dataAttributeBinding_ + : dataAttributeBindingBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -481,39 +425,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest)other); } else { super.mergeFrom(other); return this; @@ -521,9 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other) { - if (other - == com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -559,32 +500,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getDataAttributeBindingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataAttributeBindingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -594,60 +534,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -663,16 +586,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -683,20 +604,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -709,14 +627,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -729,14 +644,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -744,46 +656,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -791,61 +693,41 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> - dataAttributeBindingBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingBuilder_; /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ public boolean hasDataAttributeBinding() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { if (dataAttributeBindingBuilder_ == null) { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } else { return dataAttributeBindingBuilder_.getMessage(); } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataAttributeBinding( - com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -859,15 +741,11 @@ public Builder setDataAttributeBinding( return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttributeBinding( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -881,23 +759,17 @@ public Builder setDataAttributeBinding( return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDataAttributeBinding( - com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataAttributeBinding_ != null - && dataAttributeBinding_ - != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataAttributeBinding_ != null && + dataAttributeBinding_ != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { getDataAttributeBindingBuilder().mergeFrom(value); } else { dataAttributeBinding_ = value; @@ -910,15 +782,11 @@ public Builder mergeDataAttributeBinding( return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataAttributeBinding() { bitField0_ = (bitField0_ & ~0x00000002); @@ -931,82 +799,61 @@ public Builder clearDataAttributeBinding() { return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder - getDataAttributeBindingBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataAttributeBindingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder - getDataAttributeBindingOrBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { if (dataAttributeBindingBuilder_ != null) { return dataAttributeBindingBuilder_.getMessageOrBuilder(); } else { - return dataAttributeBinding_ == null - ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() - : dataAttributeBinding_; + return dataAttributeBinding_ == null ? + com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingFieldBuilder() { if (dataAttributeBindingBuilder_ == null) { - dataAttributeBindingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, - com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, - com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( - getDataAttributeBinding(), getParentForChildren(), isClean()); + dataAttributeBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + getDataAttributeBinding(), + getParentForChildren(), + isClean()); dataAttributeBinding_ = null; } return dataAttributeBindingBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1014,15 +861,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1034,15 +878,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1051,9 +892,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,43 +904,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,8 +950,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java index 50b33d550432..9ed3c01d0f93 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java @@ -1,117 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataAttributeBindingRequestOrBuilder - extends +public interface UpdateDataAttributeBindingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttributeBinding field is set. */ boolean hasDataAttributeBinding(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttributeBinding. */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java index caa15913dae0..5e88e389c9ca 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeRequest} */ -public final class UpdateDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataAttributeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataAttributeRequest) UpdateDataAttributeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataAttributeRequest.newBuilder() to construct. private UpdateDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataAttributeRequest() {} + private UpdateDataAttributeRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,16 +83,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_ATTRIBUTE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ @java.lang.Override @@ -129,54 +95,38 @@ public boolean hasDataAttribute() { return dataAttribute_ != null; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -185,7 +135,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -217,13 +167,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (dataAttribute_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataAttribute()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataAttribute()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -233,23 +186,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other = - (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other = (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasDataAttribute() != other.hasDataAttribute()) return false; if (hasDataAttribute()) { - if (!getDataAttribute().equals(other.getDataAttribute())) return false; + if (!getDataAttribute() + .equals(other.getDataAttribute())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,143 +225,139 @@ public int hashCode() { hash = (53 * hash) + getDataAttribute().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataAttributeRequest) com.google.cloud.dataplex.v1.UpdateDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override @@ -447,11 +398,8 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result = - new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result = new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -459,11 +407,14 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataAttribute_ = - dataAttributeBuilder_ == null ? dataAttribute_ : dataAttributeBuilder_.build(); + result.dataAttribute_ = dataAttributeBuilder_ == null + ? dataAttribute_ + : dataAttributeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -474,39 +425,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -551,31 +500,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataAttributeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataAttributeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,60 +534,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -654,16 +586,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -674,20 +604,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -700,14 +627,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,14 +644,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -735,46 +656,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -782,58 +693,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> - dataAttributeBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributeBuilder_; /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ public boolean hasDataAttribute() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { if (dataAttributeBuilder_ == null) { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } else { return dataAttributeBuilder_.getMessage(); } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { @@ -849,15 +741,11 @@ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataAttribute( com.google.cloud.dataplex.v1.DataAttribute.Builder builderForValue) { @@ -871,21 +759,17 @@ public Builder setDataAttribute( return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataAttribute_ != null - && dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataAttribute_ != null && + dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { getDataAttributeBuilder().mergeFrom(value); } else { dataAttribute_ = value; @@ -898,15 +782,11 @@ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute val return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataAttribute() { bitField0_ = (bitField0_ & ~0x00000002); @@ -919,15 +799,11 @@ public Builder clearDataAttribute() { return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilder() { bitField0_ |= 0x00000002; @@ -935,64 +811,49 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilde return getDataAttributeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { if (dataAttributeBuilder_ != null) { return dataAttributeBuilder_.getMessageOrBuilder(); } else { - return dataAttribute_ == null - ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() - : dataAttribute_; + return dataAttribute_ == null ? + com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributeFieldBuilder() { if (dataAttributeBuilder_ == null) { - dataAttributeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, - com.google.cloud.dataplex.v1.DataAttribute.Builder, - com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( - getDataAttribute(), getParentForChildren(), isClean()); + dataAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + getDataAttribute(), + getParentForChildren(), + isClean()); dataAttribute_ = null; } return dataAttributeBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1000,15 +861,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1020,15 +878,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1037,9 +892,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataAttributeRequest) private static final com.google.cloud.dataplex.v1.UpdateDataAttributeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(); } @@ -1063,27 +918,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,4 +953,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java index cbdfedeefbc3..7778d440cb51 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java @@ -1,117 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataAttributeRequestOrBuilder - extends +public interface UpdateDataAttributeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataAttribute field is set. */ boolean hasDataAttribute(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataAttribute. */ com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java index a43a5227480d..b59bd5449df2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataScanRequest} */ -public final class UpdateDataScanRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataScanRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataScanRequest) UpdateDataScanRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataScanRequest.newBuilder() to construct. private UpdateDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataScanRequest() {} + private UpdateDataScanRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, - com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); } public static final int DATA_SCAN_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataScan dataScan_; /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ @java.lang.Override @@ -82,58 +59,41 @@ public boolean hasDataScan() { return dataScan_ != null; } /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan getDataScan() { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,15 +101,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -157,14 +113,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -174,15 +127,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -191,7 +141,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataScan_ != null) { output.writeMessage(1, getDataScan()); } @@ -223,13 +173,16 @@ public int getSerializedSize() { size = 0; if (dataScan_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataScan()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataScan()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -239,23 +192,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataScanRequest other = - (com.google.cloud.dataplex.v1.UpdateDataScanRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataScanRequest other = (com.google.cloud.dataplex.v1.UpdateDataScanRequest) obj; if (hasDataScan() != other.hasDataScan()) return false; if (hasDataScan()) { - if (!getDataScan().equals(other.getDataScan())) return false; + if (!getDataScan() + .equals(other.getDataScan())) 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 (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,142 +231,139 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataScanRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataScanRequest) com.google.cloud.dataplex.v1.UpdateDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, - com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataScanRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto - .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override @@ -452,11 +404,8 @@ public com.google.cloud.dataplex.v1.UpdateDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataScanRequest result = - new com.google.cloud.dataplex.v1.UpdateDataScanRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateDataScanRequest result = new com.google.cloud.dataplex.v1.UpdateDataScanRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -464,10 +413,14 @@ public com.google.cloud.dataplex.v1.UpdateDataScanRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataScanRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataScan_ = dataScanBuilder_ == null ? dataScan_ : dataScanBuilder_.build(); + result.dataScan_ = dataScanBuilder_ == null + ? dataScan_ + : dataScanBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -478,39 +431,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataScanRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataScanRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataScanRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance()) return this; if (other.hasDataScan()) { mergeDataScan(other.getDataScan()); } @@ -555,31 +506,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDataScanFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getDataScanFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,69 +540,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.dataplex.v1.DataScan dataScan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> - dataScanBuilder_; + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScanBuilder_; /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ public boolean hasDataScan() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ public com.google.cloud.dataplex.v1.DataScan getDataScan() { if (dataScanBuilder_ == null) { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } else { return dataScanBuilder_.getMessage(); } } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { @@ -667,19 +598,16 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder setDataScan( + com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScanBuilder_ == null) { dataScan_ = builderForValue.build(); } else { @@ -690,23 +618,19 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builder return this; } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataScan_ != null - && dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataScan_ != null && + dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { getDataScanBuilder().mergeFrom(value); } else { dataScan_ = value; @@ -719,17 +643,13 @@ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataScan() { bitField0_ = (bitField0_ & ~0x00000001); @@ -742,17 +662,13 @@ public Builder clearDataScan() { return this; } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { bitField0_ |= 0x00000001; @@ -760,52 +676,40 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { return getDataScanFieldBuilder().getBuilder(); } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { if (dataScanBuilder_ != null) { return dataScanBuilder_.getMessageOrBuilder(); } else { - return dataScan_ == null - ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() - : dataScan_; + return dataScan_ == null ? + com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; } } /** - * - * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScanFieldBuilder() { if (dataScanBuilder_ == null) { - dataScanBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, - com.google.cloud.dataplex.v1.DataScan.Builder, - com.google.cloud.dataplex.v1.DataScanOrBuilder>( - getDataScan(), getParentForChildren(), isClean()); + dataScanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( + getDataScan(), + getParentForChildren(), + isClean()); dataScan_ = null; } return dataScanBuilder_; @@ -813,55 +717,39 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -877,16 +765,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -897,20 +783,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -923,14 +806,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -943,14 +823,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -958,62 +835,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1021,15 +885,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1041,15 +902,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1058,9 +916,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1070,12 +928,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataScanRequest) private static final com.google.cloud.dataplex.v1.UpdateDataScanRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataScanRequest(); } @@ -1084,27 +942,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +977,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java similarity index 60% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java index 85d8f4b277d2..cfed464e03b5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java @@ -1,123 +1,79 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataScanRequestOrBuilder - extends +public interface UpdateDataScanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataScanRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataScan field is set. */ boolean hasDataScan(); /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataScan. */ com.google.cloud.dataplex.v1.DataScan getDataScan(); /** - * - * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java index cb2f9999592b..0ea43a3eb5d9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataTaxonomyRequest} */ -public final class UpdateDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataTaxonomyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) UpdateDataTaxonomyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataTaxonomyRequest.newBuilder() to construct. private UpdateDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataTaxonomyRequest() {} + private UpdateDataTaxonomyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,16 +83,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ @java.lang.Override @@ -129,54 +95,38 @@ public boolean hasDataTaxonomy() { return dataTaxonomy_ != null; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -185,7 +135,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -217,13 +167,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (dataTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataTaxonomy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataTaxonomy()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -233,23 +186,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other = - (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasDataTaxonomy() != other.hasDataTaxonomy()) return false; if (hasDataTaxonomy()) { - if (!getDataTaxonomy().equals(other.getDataTaxonomy())) return false; + if (!getDataTaxonomy() + .equals(other.getDataTaxonomy())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,143 +225,139 @@ public int hashCode() { hash = (53 * hash) + getDataTaxonomy().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataTaxonomyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto - .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -447,11 +398,8 @@ public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result = - new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -459,11 +407,14 @@ public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataTaxonomy_ = - dataTaxonomyBuilder_ == null ? dataTaxonomy_ : dataTaxonomyBuilder_.build(); + result.dataTaxonomy_ = dataTaxonomyBuilder_ == null + ? dataTaxonomy_ + : dataTaxonomyBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -474,39 +425,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataTaxonomyReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -551,31 +500,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataTaxonomyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataTaxonomyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,60 +534,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -654,16 +586,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -674,20 +604,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -700,14 +627,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,14 +644,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -735,46 +656,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -782,58 +693,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> - dataTaxonomyBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomyBuilder_; /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ public boolean hasDataTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { if (dataTaxonomyBuilder_ == null) { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } else { return dataTaxonomyBuilder_.getMessage(); } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { @@ -849,15 +741,11 @@ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataTaxonomy( com.google.cloud.dataplex.v1.DataTaxonomy.Builder builderForValue) { @@ -871,21 +759,17 @@ public Builder setDataTaxonomy( return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataTaxonomy_ != null - && dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataTaxonomy_ != null && + dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { getDataTaxonomyBuilder().mergeFrom(value); } else { dataTaxonomy_ = value; @@ -898,15 +782,11 @@ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataTaxonomy() { bitField0_ = (bitField0_ & ~0x00000002); @@ -919,15 +799,11 @@ public Builder clearDataTaxonomy() { return this; } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder() { bitField0_ |= 0x00000002; @@ -935,64 +811,49 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder( return getDataTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { if (dataTaxonomyBuilder_ != null) { return dataTaxonomyBuilder_.getMessageOrBuilder(); } else { - return dataTaxonomy_ == null - ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() - : dataTaxonomy_; + return dataTaxonomy_ == null ? + com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; } } /** - * - * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomyFieldBuilder() { if (dataTaxonomyBuilder_ == null) { - dataTaxonomyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, - com.google.cloud.dataplex.v1.DataTaxonomy.Builder, - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( - getDataTaxonomy(), getParentForChildren(), isClean()); + dataTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + getDataTaxonomy(), + getParentForChildren(), + isClean()); dataTaxonomy_ = null; } return dataTaxonomyBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1000,15 +861,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1020,15 +878,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1037,9 +892,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(); } @@ -1063,27 +918,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,4 +953,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java index e5423272ff4d..1afd0886af7b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java @@ -1,117 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataTaxonomyRequestOrBuilder - extends +public interface UpdateDataTaxonomyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataTaxonomy field is set. */ boolean hasDataTaxonomy(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataTaxonomy. */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(); /** - * - * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java similarity index 67% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java index 9a3351505680..f6087ba5209e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update a metadata entity request.
  * The exiting entity will be fully replaced by the entity in the request.
@@ -30,51 +13,46 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.UpdateEntityRequest}
  */
-public final class UpdateEntityRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateEntityRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateEntityRequest)
     UpdateEntityRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateEntityRequest.newBuilder() to construct.
   private UpdateEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateEntityRequest() {}
+  private UpdateEntityRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateEntityRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.MetadataProto
-        .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.MetadataProto
-        .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.UpdateEntityRequest.class,
-            com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
+            com.google.cloud.dataplex.v1.UpdateEntityRequest.class, com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
   }
 
   public static final int ENTITY_FIELD_NUMBER = 2;
   private com.google.cloud.dataplex.v1.Entity entity_;
   /**
-   *
-   *
    * 
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ @java.lang.Override @@ -82,15 +60,11 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ @java.lang.Override @@ -98,14 +72,11 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { @@ -115,15 +86,12 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -132,7 +100,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entity_ != null) { output.writeMessage(2, getEntity()); } @@ -161,10 +129,12 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntity()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,19 +144,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateEntityRequest other = - (com.google.cloud.dataplex.v1.UpdateEntityRequest) obj; + com.google.cloud.dataplex.v1.UpdateEntityRequest other = (com.google.cloud.dataplex.v1.UpdateEntityRequest) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,110 +174,106 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update a metadata entity request.
    * The exiting entity will be fully replaced by the entity in the request.
@@ -316,32 +283,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.UpdateEntityRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateEntityRequest)
       com.google.cloud.dataplex.v1.UpdateEntityRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.MetadataProto
-          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.MetadataProto
-          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.UpdateEntityRequest.class,
-              com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
+              com.google.cloud.dataplex.v1.UpdateEntityRequest.class, com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.UpdateEntityRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -356,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.MetadataProto
-          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
     }
 
     @java.lang.Override
@@ -377,11 +345,8 @@ public com.google.cloud.dataplex.v1.UpdateEntityRequest build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.UpdateEntityRequest buildPartial() {
-      com.google.cloud.dataplex.v1.UpdateEntityRequest result =
-          new com.google.cloud.dataplex.v1.UpdateEntityRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.dataplex.v1.UpdateEntityRequest result = new com.google.cloud.dataplex.v1.UpdateEntityRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -389,7 +354,9 @@ public com.google.cloud.dataplex.v1.UpdateEntityRequest buildPartial() {
     private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEntityRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build();
+        result.entity_ = entityBuilder_ == null
+            ? entity_
+            : entityBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.validateOnly_ = validateOnly_;
@@ -400,39 +367,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEntityRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.UpdateEntityRequest) {
-        return mergeFrom((com.google.cloud.dataplex.v1.UpdateEntityRequest) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.UpdateEntityRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,8 +406,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateEntityRequest other) {
-      if (other == com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance()) return this;
       if (other.hasEntity()) {
         mergeEntity(other.getEntity());
       }
@@ -474,25 +439,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              input.readMessage(
+                  getEntityFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,40 +466,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.dataplex.v1.Entity entity_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.Entity,
-            com.google.cloud.dataplex.v1.Entity.Builder,
-            com.google.cloud.dataplex.v1.EntityOrBuilder>
-        entityBuilder_;
+        com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entityBuilder_;
     /**
-     *
-     *
      * 
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ public com.google.cloud.dataplex.v1.Entity getEntity() { @@ -546,14 +498,11 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { } } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { @@ -569,16 +518,14 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder setEntity( + com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -589,20 +536,17 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForV return this; } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entity_ != null - && entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entity_ != null && + entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -615,14 +559,11 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntity() { bitField0_ = (bitField0_ & ~0x00000001); @@ -635,14 +576,11 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { bitField0_ |= 0x00000001; @@ -650,60 +588,49 @@ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? + com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, - com.google.cloud.dataplex.v1.Entity.Builder, - com.google.cloud.dataplex.v1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -711,15 +638,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -731,15 +655,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -748,9 +669,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - 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 +681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateEntityRequest) private static final com.google.cloud.dataplex.v1.UpdateEntityRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateEntityRequest(); } @@ -774,27 +695,27 @@ public static com.google.cloud.dataplex.v1.UpdateEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -809,4 +730,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java similarity index 58% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java index fa0bd78bded4..34fde53be93c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface UpdateEntityRequestOrBuilder - extends +public interface UpdateEntityRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateEntityRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entity. */ com.google.cloud.dataplex.v1.Entity getEntity(); /** - * - * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java similarity index 64% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java index 3e10e22a11ca..e72caecd6357 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateEnvironmentRequest() {} + private UpdateEnvironmentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,17 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Environment environment_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ @java.lang.Override @@ -130,56 +96,40 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -188,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -220,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnvironment()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other = - (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other = (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,143 +228,139 @@ public int hashCode() { hash = (53 * hash) + getEnvironment().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateEnvironmentRequest) com.google.cloud.dataplex.v1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override @@ -450,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result = - new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result = new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -462,11 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.environment_ = - environmentBuilder_ == null ? environment_ : environmentBuilder_.build(); + result.environment_ = environmentBuilder_ == null + ? environment_ + : environmentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -477,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; @@ -517,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -554,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEnvironmentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEnvironmentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -657,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -677,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -703,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -723,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -738,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -785,61 +696,42 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ public boolean hasEnvironment() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ public com.google.cloud.dataplex.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { @@ -855,16 +747,12 @@ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEnvironment( com.google.cloud.dataplex.v1.Environment.Builder builderForValue) { @@ -878,22 +766,18 @@ public Builder setEnvironment( return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && environment_ != null - && environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + environment_ != null && + environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { getEnvironmentBuilder().mergeFrom(value); } else { environment_ = value; @@ -906,16 +790,12 @@ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEnvironment() { bitField0_ = (bitField0_ & ~0x00000002); @@ -928,16 +808,12 @@ public Builder clearEnvironment() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() { bitField0_ |= 0x00000002; @@ -945,66 +821,51 @@ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() return getEnvironmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null - ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? + com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, - com.google.cloud.dataplex.v1.Environment.Builder, - com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - getEnvironment(), getParentForChildren(), isClean()); + environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + getEnvironment(), + getParentForChildren(), + isClean()); environment_ = null; } return environmentBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1012,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1032,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1049,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1061,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateEnvironmentRequest) private static final com.google.cloud.dataplex.v1.UpdateEnvironmentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(); } @@ -1075,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1110,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java similarity index 59% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java index 6eb12e7bdd25..a9f6ebb2fe00 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java @@ -1,120 +1,76 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateEnvironmentRequestOrBuilder - extends +public interface UpdateEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The environment. */ com.google.cloud.dataplex.v1.Environment getEnvironment(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder(); /** - * - * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java index b3a8b98b8694..f13ad2e9a89b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateLakeRequest} */ -public final class UpdateLakeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateLakeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateLakeRequest) UpdateLakeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateLakeRequest.newBuilder() to construct. private UpdateLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateLakeRequest() {} + private UpdateLakeRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateLakeRequest.class, - com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateLakeRequest.class, com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,15 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int LAKE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Lake lake_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the lake field is set. */ @java.lang.Override @@ -128,15 +96,12 @@ public boolean hasLake() { return lake_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lake. */ @java.lang.Override @@ -144,8 +109,6 @@ public com.google.cloud.dataplex.v1.Lake getLake() { return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -161,15 +124,12 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -178,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -210,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (lake_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLake()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLake()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateLakeRequest other = - (com.google.cloud.dataplex.v1.UpdateLakeRequest) obj; + com.google.cloud.dataplex.v1.UpdateLakeRequest other = (com.google.cloud.dataplex.v1.UpdateLakeRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasLake() != other.hasLake()) return false; if (hasLake()) { - if (!getLake().equals(other.getLake())) return false; + if (!getLake() + .equals(other.getLake())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getLake().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateLakeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateLakeRequest) com.google.cloud.dataplex.v1.UpdateLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateLakeRequest.class, - com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateLakeRequest.class, com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateLakeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override @@ -439,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateLakeRequest result = - new com.google.cloud.dataplex.v1.UpdateLakeRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateLakeRequest result = new com.google.cloud.dataplex.v1.UpdateLakeRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -451,10 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateLakeRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateLakeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.lake_ = lakeBuilder_ == null ? lake_ : lakeBuilder_.build(); + result.lake_ = lakeBuilder_ == null + ? lake_ + : lakeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -465,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateLakeRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateLakeRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateLakeRequest)other); } else { super.mergeFrom(other); return this; @@ -541,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getLakeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getLakeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -644,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -664,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -690,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -710,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -725,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -772,37 +696,26 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Lake lake_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> - lakeBuilder_; + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakeBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the lake field is set. */ public boolean hasLake() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The lake. */ public com.google.cloud.dataplex.v1.Lake getLake() { @@ -813,15 +726,12 @@ public com.google.cloud.dataplex.v1.Lake getLake() { } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { @@ -837,17 +747,15 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLake( + com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakeBuilder_ == null) { lake_ = builderForValue.build(); } else { @@ -858,21 +766,18 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && lake_ != null - && lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + lake_ != null && + lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { getLakeBuilder().mergeFrom(value); } else { lake_ = value; @@ -885,15 +790,12 @@ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLake() { bitField0_ = (bitField0_ & ~0x00000002); @@ -906,15 +808,12 @@ public Builder clearLake() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { bitField0_ |= 0x00000002; @@ -922,62 +821,51 @@ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { return getLakeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { if (lakeBuilder_ != null) { return lakeBuilder_.getMessageOrBuilder(); } else { - return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; + return lake_ == null ? + com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> getLakeFieldBuilder() { if (lakeBuilder_ == null) { - lakeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, - com.google.cloud.dataplex.v1.Lake.Builder, - com.google.cloud.dataplex.v1.LakeOrBuilder>( - getLake(), getParentForChildren(), isClean()); + lakeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( + getLake(), + getParentForChildren(), + isClean()); lake_ = null; } return lakeBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -985,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1005,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1022,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateLakeRequest) private static final com.google.cloud.dataplex.v1.UpdateLakeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateLakeRequest(); } @@ -1048,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java index e68c6ac8c030..172478638a82 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java @@ -1,95 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateLakeRequestOrBuilder - extends +public interface UpdateLakeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateLakeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the lake field is set. */ boolean hasLake(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lake. */ com.google.cloud.dataplex.v1.Lake getLake(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -100,15 +65,12 @@ public interface UpdateLakeRequestOrBuilder
   com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java index 690b707f6562..c6fc2b47ba07 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateTaskRequest} */ -public final class UpdateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateTaskRequest) UpdateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTaskRequest.newBuilder() to construct. private UpdateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTaskRequest() {} + private UpdateTaskRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateTaskRequest.class, - com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateTaskRequest.class, com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,15 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Task task_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ @java.lang.Override @@ -128,15 +96,12 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ @java.lang.Override @@ -144,8 +109,6 @@ public com.google.cloud.dataplex.v1.Task getTask() { return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -161,15 +124,12 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -178,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -210,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateTaskRequest other = - (com.google.cloud.dataplex.v1.UpdateTaskRequest) obj; + com.google.cloud.dataplex.v1.UpdateTaskRequest other = (com.google.cloud.dataplex.v1.UpdateTaskRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getTask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateTaskRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateTaskRequest) com.google.cloud.dataplex.v1.UpdateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateTaskRequest.class, - com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateTaskRequest.class, com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateTaskRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override @@ -439,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateTaskRequest result = - new com.google.cloud.dataplex.v1.UpdateTaskRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateTaskRequest result = new com.google.cloud.dataplex.v1.UpdateTaskRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -451,10 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateTaskRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateTaskRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.task_ = taskBuilder_ == null ? task_ : taskBuilder_.build(); + result.task_ = taskBuilder_ == null + ? task_ + : taskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -465,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateTaskRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateTaskRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -541,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -644,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -664,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -690,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -710,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -725,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -772,37 +696,26 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> - taskBuilder_; + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.dataplex.v1.Task getTask() { @@ -813,15 +726,12 @@ public com.google.cloud.dataplex.v1.Task getTask() { } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { @@ -837,17 +747,15 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); } else { @@ -858,21 +766,18 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && task_ != null - && task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + task_ != null && + task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { getTaskBuilder().mergeFrom(value); } else { task_ = value; @@ -885,15 +790,12 @@ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -906,15 +808,12 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { bitField0_ |= 0x00000002; @@ -922,62 +821,51 @@ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, - com.google.cloud.dataplex.v1.Task.Builder, - com.google.cloud.dataplex.v1.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -985,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1005,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1022,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateTaskRequest) private static final com.google.cloud.dataplex.v1.UpdateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateTaskRequest(); } @@ -1048,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java index 43320392586e..c4fd8369e962 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java @@ -1,95 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateTaskRequestOrBuilder - extends +public interface UpdateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ com.google.cloud.dataplex.v1.Task getTask(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -100,15 +65,12 @@ public interface UpdateTaskRequestOrBuilder
   com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java similarity index 68% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java index 8cb710e8ad88..de00109558f1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * Update zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateZoneRequest} */ -public final class UpdateZoneRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateZoneRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateZoneRequest) UpdateZoneRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateZoneRequest.newBuilder() to construct. private UpdateZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateZoneRequest() {} + private UpdateZoneRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateZoneRequest.class, - com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateZoneRequest.class, com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -79,15 +57,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -95,14 +69,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -112,15 +83,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ZONE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Zone zone_; /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the zone field is set. */ @java.lang.Override @@ -128,15 +96,12 @@ public boolean hasZone() { return zone_ != null; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -144,8 +109,6 @@ public com.google.cloud.dataplex.v1.Zone getZone() { return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -161,15 +124,12 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -178,7 +138,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -210,13 +170,16 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (zone_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getZone()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getZone()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,23 +189,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateZoneRequest other = - (com.google.cloud.dataplex.v1.UpdateZoneRequest) obj; + com.google.cloud.dataplex.v1.UpdateZoneRequest other = (com.google.cloud.dataplex.v1.UpdateZoneRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasZone() != other.hasZone()) return false; if (hasZone()) { - if (!getZone().equals(other.getZone())) return false; + if (!getZone() + .equals(other.getZone())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getZone().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateZoneRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateZoneRequest) com.google.cloud.dataplex.v1.UpdateZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateZoneRequest.class, - com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateZoneRequest.class, com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateZoneRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto - .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override @@ -439,11 +401,8 @@ public com.google.cloud.dataplex.v1.UpdateZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateZoneRequest result = - new com.google.cloud.dataplex.v1.UpdateZoneRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.UpdateZoneRequest result = new com.google.cloud.dataplex.v1.UpdateZoneRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -451,10 +410,14 @@ public com.google.cloud.dataplex.v1.UpdateZoneRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateZoneRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.zone_ = zoneBuilder_ == null ? zone_ : zoneBuilder_.build(); + result.zone_ = zoneBuilder_ == null + ? zone_ + : zoneBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -465,39 +428,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateZoneRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateZoneRequest) other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateZoneRequest)other); } else { super.mergeFrom(other); return this; @@ -541,31 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getZoneFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getZoneFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,60 +537,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -644,16 +589,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -664,20 +607,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -690,14 +630,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -710,14 +647,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -725,46 +659,36 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -772,37 +696,26 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Zone zone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> - zoneBuilder_; + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zoneBuilder_; /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the zone field is set. */ public boolean hasZone() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The zone. */ public com.google.cloud.dataplex.v1.Zone getZone() { @@ -813,15 +726,12 @@ public com.google.cloud.dataplex.v1.Zone getZone() { } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { @@ -837,17 +747,15 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZone( + com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zoneBuilder_ == null) { zone_ = builderForValue.build(); } else { @@ -858,21 +766,18 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && zone_ != null - && zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + zone_ != null && + zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { getZoneBuilder().mergeFrom(value); } else { zone_ = value; @@ -885,15 +790,12 @@ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearZone() { bitField0_ = (bitField0_ & ~0x00000002); @@ -906,15 +808,12 @@ public Builder clearZone() { return this; } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { bitField0_ |= 0x00000002; @@ -922,62 +821,51 @@ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { return getZoneFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { if (zoneBuilder_ != null) { return zoneBuilder_.getMessageOrBuilder(); } else { - return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; + return zone_ == null ? + com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } } /** - * - * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> getZoneFieldBuilder() { if (zoneBuilder_ == null) { - zoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, - com.google.cloud.dataplex.v1.Zone.Builder, - com.google.cloud.dataplex.v1.ZoneOrBuilder>( - getZone(), getParentForChildren(), isClean()); + zoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( + getZone(), + getParentForChildren(), + isClean()); zone_ = null; } return zoneBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -985,15 +873,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1005,15 +890,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1022,9 +904,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateZoneRequest) private static final com.google.cloud.dataplex.v1.UpdateZoneRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateZoneRequest(); } @@ -1048,27 +930,27 @@ public static com.google.cloud.dataplex.v1.UpdateZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,4 +965,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java similarity index 70% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java index b0c67283e006..cce9c055e3b2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java @@ -1,95 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateZoneRequestOrBuilder - extends +public interface UpdateZoneRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateZoneRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the zone field is set. */ boolean hasZone(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ com.google.cloud.dataplex.v1.Zone getZone(); /** - * - * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -100,15 +65,12 @@ public interface UpdateZoneRequestOrBuilder
   com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java similarity index 69% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java index c4f5baf9e3e5..a7b8a023e145 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** - * - * *
  * A zone represents a logical group of related assets within a lake. A zone can
  * be used to map to organizational structure or represent stages of data
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Zone}
  */
-public final class Zone extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Zone extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone)
     ZoneOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Zone.newBuilder() to construct.
   private Zone(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Zone() {
     name_ = "";
     displayName_ = "";
@@ -51,49 +33,46 @@ private Zone() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Zone();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto
-        .internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Zone.class,
-            com.google.cloud.dataplex.v1.Zone.Builder.class);
+            com.google.cloud.dataplex.v1.Zone.class, com.google.cloud.dataplex.v1.Zone.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Type of zone.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Zone.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Zone type not specified.
      * 
@@ -102,8 +81,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * A zone that contains data that needs further processing before it is
      * considered generally ready for consumption and analytics workloads.
@@ -113,8 +90,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     RAW(1),
     /**
-     *
-     *
      * 
      * A zone that contains data that is considered to be ready for broader
      * consumption and analytics workloads. Curated structured data stored in
@@ -129,8 +104,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Zone type not specified.
      * 
@@ -139,8 +112,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A zone that contains data that needs further processing before it is
      * considered generally ready for consumption and analytics workloads.
@@ -150,8 +121,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RAW_VALUE = 1;
     /**
-     *
-     *
      * 
      * A zone that contains data that is considered to be ready for broader
      * consumption and analytics workloads. Curated structured data stored in
@@ -163,6 +132,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CURATED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -187,49 +157,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return RAW;
-        case 2:
-          return CURATED;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return RAW;
+        case 2: return CURATED;
+        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<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.dataplex.v1.Zone.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type 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;
@@ -246,99 +216,81 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Zone.Type)
   }
 
-  public interface ResourceSpecOrBuilder
-      extends
+  public interface ResourceSpecOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.ResourceSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** - * - * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The locationType. */ com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType(); } /** - * - * *
    * Settings for resources attached as assets within a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.ResourceSpec} */ - public static final class ResourceSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResourceSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.ResourceSpec) ResourceSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceSpec.newBuilder() to construct. private ResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceSpec() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, - com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); } /** - * - * *
      * Location type of the resources attached to a zone.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified location type.
        * 
@@ -347,8 +299,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
        * Resources that are associated with a single region.
        * 
@@ -357,8 +307,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SINGLE_REGION(1), /** - * - * *
        * Resources that are associated with a multi-region location.
        * 
@@ -370,8 +318,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified location type.
        * 
@@ -380,8 +326,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Resources that are associated with a single region.
        * 
@@ -390,8 +334,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SINGLE_REGION_VALUE = 1; /** - * - * *
        * Resources that are associated with a multi-region location.
        * 
@@ -400,6 +342,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MULTI_REGION_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -424,49 +367,49 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return SINGLE_REGION; - case 2: - return MULTI_REGION; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return SINGLE_REGION; + case 2: return MULTI_REGION; + 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< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType 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,48 +429,32 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_ = 0; /** - * - * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The locationType. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); - return result == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); + return result == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,10 +466,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (locationType_ - != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationType_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } getUnknownFields().writeTo(output); @@ -554,10 +480,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ - != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); + if (locationType_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, locationType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -567,13 +492,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.ResourceSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.ResourceSpec other = - (com.google.cloud.dataplex.v1.Zone.ResourceSpec) obj; + com.google.cloud.dataplex.v1.Zone.ResourceSpec other = (com.google.cloud.dataplex.v1.Zone.ResourceSpec) obj; if (locationType_ != other.locationType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -594,94 +518,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.ResourceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -691,41 +611,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Settings for resources attached as assets within a zone.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.ResourceSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.ResourceSpec) com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, - com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.ResourceSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +653,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override @@ -756,11 +674,8 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec buildPartial() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec result = - new com.google.cloud.dataplex.v1.Zone.ResourceSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Zone.ResourceSpec result = new com.google.cloud.dataplex.v1.Zone.ResourceSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -776,41 +691,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.ResourceSpec result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.ResourceSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.ResourceSpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.ResourceSpec)other); } else { super.mergeFrom(other); return this; @@ -818,8 +730,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.ResourceSpec other) { - if (other == com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) return this; if (other.locationType_ != 0) { setLocationTypeValue(other.getLocationTypeValue()); } @@ -849,19 +760,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - locationType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + locationType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -871,40 +780,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int locationType_ = 0; /** - * - * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ @@ -915,44 +812,30 @@ public Builder setLocationTypeValue(int value) { return this; } /** - * - * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The locationType. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); - return result == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED - : result; + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); + return result == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED : result; } /** - * - * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The locationType to set. * @return This builder for chaining. */ - public Builder setLocationType( - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType value) { + public Builder setLocationType(com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType value) { if (value == null) { throw new NullPointerException(); } @@ -962,17 +845,12 @@ public Builder setLocationType( return this; } /** - * - * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearLocationType() { @@ -981,7 +859,6 @@ public Builder clearLocationType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -994,12 +871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.ResourceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.ResourceSpec) private static final com.google.cloud.dataplex.v1.Zone.ResourceSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.ResourceSpec(); } @@ -1008,28 +885,27 @@ public static com.google.cloud.dataplex.v1.Zone.ResourceSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,29 +920,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone.ResourceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DiscoverySpecOrBuilder - extends + public interface DiscoverySpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -1076,13 +947,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the includePatterns. */ - java.util.List getIncludePatternsList(); + java.util.List + getIncludePatternsList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -1092,13 +961,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of includePatterns. */ int getIncludePatternsCount(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -1108,14 +974,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The includePatterns at the given index. */ java.lang.String getIncludePatterns(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -1125,15 +988,13 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - com.google.protobuf.ByteString getIncludePatternsBytes(int index); + com.google.protobuf.ByteString + getIncludePatternsBytes(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1142,13 +1003,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the excludePatterns. */ - java.util.List getExcludePatternsList(); + java.util.List + getExcludePatternsList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1157,13 +1016,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of excludePatterns. */ int getExcludePatternsCount(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1172,14 +1028,11 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ java.lang.String getExcludePatterns(int index); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1188,97 +1041,67 @@ public interface DiscoverySpecOrBuilder
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - com.google.protobuf.ByteString getExcludePatternsBytes(int index); + com.google.protobuf.ByteString + getExcludePatternsBytes(int index); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions(); /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ boolean hasJsonOptions(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions(); /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1291,13 +1114,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1310,13 +1130,10 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1329,162 +1146,140 @@ public interface DiscoverySpecOrBuilder
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); com.google.cloud.dataplex.v1.Zone.DiscoverySpec.TriggerCase getTriggerCase(); } /** - * - * *
    * Settings to manage the metadata discovery and publishing in a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec} */ - public static final class DiscoverySpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DiscoverySpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec) DiscoverySpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoverySpec.newBuilder() to construct. private DiscoverySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoverySpec() { - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); } - public interface CsvOptionsOrBuilder - extends + public interface CsvOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ int getHeaderRows(); /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ java.lang.String getDelimiter(); /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString getDelimiterBytes(); + com.google.protobuf.ByteString + getDelimiterBytes(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** - * - * *
      * Describe CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} */ - public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CsvOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CsvOptions() { delimiter_ = ""; encoding_ = ""; @@ -1492,37 +1287,33 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); } public static final int HEADER_ROWS_FIELD_NUMBER = 1; private int headerRows_ = 0; /** - * - * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -1531,19 +1322,15 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ @java.lang.Override @@ -1552,30 +1339,30 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** - * - * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1584,18 +1371,14 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } public static final int ENCODING_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -1604,29 +1387,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1637,15 +1420,12 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 4; private boolean disableTypeInference_ = false; /** - * - * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -1654,7 +1434,6 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1666,7 +1445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (headerRows_ != 0) { output.writeInt32(1, headerRows_); } @@ -1689,7 +1469,8 @@ public int getSerializedSize() { size = 0; if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, headerRows_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); @@ -1698,7 +1479,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1708,18 +1490,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other = - (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) obj; - if (getHeaderRows() != other.getHeaderRows()) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getDisableTypeInference() != other.getDisableTypeInference()) return false; + if (getHeaderRows() + != other.getHeaderRows()) return false; + if (!getDelimiter() + .equals(other.getDelimiter())) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getDisableTypeInference() + != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1738,101 +1523,97 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1842,41 +1623,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Describe CSV and similar semi-structured data formats.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1889,14 +1668,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance(); } @@ -1911,17 +1689,13 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result = - new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.headerRows_ = headerRows_; @@ -1941,41 +1715,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions)other); } else { super.mergeFrom(other); return this; @@ -1983,9 +1754,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other) { - if (other - == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) return this; if (other.getHeaderRows() != 0) { setHeaderRows(other.getHeaderRows()); } @@ -2028,37 +1797,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2068,20 +1832,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int headerRows_; + private int headerRows_ ; /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The headerRows. */ @java.lang.Override @@ -2089,15 +1849,12 @@ public int getHeaderRows() { return headerRows_; } /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -2109,15 +1866,12 @@ public Builder setHeaderRows(int value) { return this; } /** - * - * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -2129,21 +1883,19 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -2152,22 +1904,21 @@ public java.lang.String getDelimiter() { } } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -2175,37 +1926,30 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -2215,22 +1959,18 @@ public Builder clearDelimiter() { return this; } /** - * - * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelimiterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -2240,20 +1980,18 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { private java.lang.Object encoding_ = ""; /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2262,21 +2000,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -2284,35 +2021,28 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2322,21 +2052,17 @@ public Builder clearEncoding() { return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000004; @@ -2344,17 +2070,14 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) { return this; } - private boolean disableTypeInference_; + private boolean disableTypeInference_ ; /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -2362,15 +2085,12 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -2382,15 +2102,12 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** - * - * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -2399,7 +2116,6 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2412,44 +2128,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) - private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2461,45 +2174,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface JsonOptionsOrBuilder - extends + public interface JsonOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2507,68 +2212,59 @@ public interface JsonOptionsOrBuilder
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** - * - * *
      * Describe JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} */ - public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class JsonOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ @java.lang.Override @@ -2577,29 +2273,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -2610,8 +2306,6 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 2; private boolean disableTypeInference_ = false; /** - * - * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2619,7 +2313,6 @@ public com.google.protobuf.ByteString getEncodingBytes() {
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -2628,7 +2321,6 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2640,7 +2332,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -2660,7 +2353,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2670,16 +2364,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other = - (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) obj; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getDisableTypeInference() != other.getDisableTypeInference()) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getDisableTypeInference() + != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2694,101 +2389,97 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions prototype) { + public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2798,41 +2489,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Describe JSON data format.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2843,14 +2532,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance(); } @@ -2865,17 +2553,13 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result = - new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result) { + private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encoding_ = encoding_; @@ -2889,52 +2573,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other) { - if (other - == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other) { + if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -2969,25 +2647,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2997,25 +2672,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object encoding_ = ""; /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -3024,21 +2696,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -3046,35 +2717,28 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncoding( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -3084,21 +2748,17 @@ public Builder clearEncoding() { return this; } /** - * - * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -3106,10 +2766,8 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) { return this; } - private boolean disableTypeInference_; + private boolean disableTypeInference_ ; /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3117,7 +2775,6 @@ public Builder setEncodingBytes(com.google.protobuf.ByteString value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disableTypeInference. */ @java.lang.Override @@ -3125,8 +2782,6 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3134,7 +2789,6 @@ public boolean getDisableTypeInference() {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -3146,8 +2800,6 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** - * - * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3155,7 +2807,6 @@ public Builder setDisableTypeInference(boolean value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -3164,7 +2815,6 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3177,44 +2827,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) - private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions - getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3226,25 +2873,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions - getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int triggerCase_ = 0; - @SuppressWarnings("serial") 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(10), TRIGGER_NOT_SET(0); private final int value; - private TriggerCase(int value) { this.value = value; } @@ -3260,35 +2903,30 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 10: - return SCHEDULE; - case 0: - return TRIGGER_NOT_SET; - default: - return null; + case 10: return SCHEDULE; + 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 ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** - * - * *
      * Required. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -3297,13 +2935,10 @@ public boolean getEnabled() { } public static final int INCLUDE_PATTERNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -3313,15 +2948,13 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList + getIncludePatternsList() { return includePatterns_; } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -3331,15 +2964,12 @@ public com.google.protobuf.ProtocolStringList getIncludePatternsList() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -3349,7 +2979,6 @@ public int getIncludePatternsCount() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -3357,8 +2986,6 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -3368,22 +2995,19 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } public static final int EXCLUDE_PATTERNS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3392,15 +3016,13 @@ public com.google.protobuf.ByteString getIncludePatternsBytes(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList + getExcludePatternsList() { return excludePatterns_; } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3409,15 +3031,12 @@ public com.google.protobuf.ProtocolStringList getExcludePatternsList() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3426,7 +3045,6 @@ public int getExcludePatternsCount() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -3434,8 +3052,6 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** - * - * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3444,27 +3060,22 @@ public java.lang.String getExcludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } public static final int CSV_OPTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csvOptions_; /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -3472,56 +3083,37 @@ public boolean hasCsvOptions() { return csvOptions_ != null; } /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions() { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } /** - * - * *
      * Optional. Configuration for CSV data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder - getCsvOptionsOrBuilder() { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } public static final int JSON_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions jsonOptions_; /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ @java.lang.Override @@ -3529,47 +3121,31 @@ public boolean hasJsonOptions() { return jsonOptions_ != null; } /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions() { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } /** - * - * *
      * Optional. Configuration for Json data.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder - getJsonOptionsOrBuilder() { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } public static final int SCHEDULE_FIELD_NUMBER = 10; /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3582,15 +3158,12 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOption
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 10; } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3603,7 +3176,6 @@ public boolean hasSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ public java.lang.String getSchedule() { @@ -3614,7 +3186,8 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -3623,8 +3196,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3637,17 +3208,18 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -3658,7 +3230,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3670,7 +3241,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -3699,7 +3271,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } { int dataSize = 0; @@ -3718,10 +3291,12 @@ public int getSerializedSize() { size += 1 * getExcludePatternsList().size(); } if (csvOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCsvOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCsvOptions()); } if (jsonOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getJsonOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getJsonOptions()); } if (triggerCase_ == 10) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, trigger_); @@ -3734,29 +3309,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec other = - (com.google.cloud.dataplex.v1.Zone.DiscoverySpec) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getIncludePatternsList().equals(other.getIncludePatternsList())) return false; - if (!getExcludePatternsList().equals(other.getExcludePatternsList())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getIncludePatternsList() + .equals(other.getIncludePatternsList())) return false; + if (!getExcludePatternsList() + .equals(other.getExcludePatternsList())) return false; if (hasCsvOptions() != other.hasCsvOptions()) return false; if (hasCsvOptions()) { - if (!getCsvOptions().equals(other.getCsvOptions())) return false; + if (!getCsvOptions() + .equals(other.getCsvOptions())) return false; } if (hasJsonOptions() != other.hasJsonOptions()) return false; if (hasJsonOptions()) { - if (!getJsonOptions().equals(other.getJsonOptions())) return false; + if (!getJsonOptions() + .equals(other.getJsonOptions())) return false; } if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 10: - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; break; case 0: default: @@ -3773,7 +3353,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); if (getIncludePatternsCount() > 0) { hash = (37 * hash) + INCLUDE_PATTERNS_FIELD_NUMBER; hash = (53 * hash) + getIncludePatternsList().hashCode(); @@ -3804,93 +3385,89 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3900,48 +3477,48 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Settings to manage the metadata discovery and publishing in a zone.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec) com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; enabled_ = false; - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); csvOptions_ = null; if (csvOptionsBuilder_ != null) { csvOptionsBuilder_.dispose(); @@ -3958,9 +3535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override @@ -3979,11 +3556,8 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec result = - new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -4003,12 +3577,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec resul result.excludePatterns_ = excludePatterns_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.csvOptions_ = - csvOptionsBuilder_ == null ? csvOptions_ : csvOptionsBuilder_.build(); + result.csvOptions_ = csvOptionsBuilder_ == null + ? csvOptions_ + : csvOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.jsonOptions_ = - jsonOptionsBuilder_ == null ? jsonOptions_ : jsonOptionsBuilder_.build(); + result.jsonOptions_ = jsonOptionsBuilder_ == null + ? jsonOptions_ + : jsonOptionsBuilder_.build(); } } @@ -4021,41 +3597,38 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Zone.DiscoverySpec public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec) other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec)other); } else { super.mergeFrom(other); return this; @@ -4063,8 +3636,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec other) { - if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -4095,17 +3667,15 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec other) mergeJsonOptions(other.getJsonOptions()); } switch (other.getTriggerCase()) { - case SCHEDULE: - { - triggerCase_ = 10; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: - { - break; - } + case SCHEDULE: { + triggerCase_ = 10; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4133,52 +3703,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludePatternsIsMutable(); - includePatterns_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludePatternsIsMutable(); - excludePatterns_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getJsonOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 10; - trigger_ = s; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePatternsIsMutable(); + includePatterns_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludePatternsIsMutable(); + excludePatterns_.add(s); + break; + } // case 26 + case 34: { + input.readMessage( + getCsvOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getJsonOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 10; + trigger_ = s; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4188,12 +3755,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4205,16 +3772,13 @@ public Builder clearTrigger() { private int bitField0_; - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -4222,14 +3786,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4241,14 +3802,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4260,7 +3818,6 @@ public Builder clearEnabled() { private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludePatternsIsMutable() { if (!includePatterns_.isModifiable()) { includePatterns_ = new com.google.protobuf.LazyStringArrayList(includePatterns_); @@ -4268,8 +3825,6 @@ private void ensureIncludePatternsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4278,18 +3833,15 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList + getIncludePatternsList() { includePatterns_.makeImmutable(); return includePatterns_; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4298,17 +3850,13 @@ public com.google.protobuf.ProtocolStringList getIncludePatternsList() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4317,9 +3865,7 @@ public int getIncludePatternsCount() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -4327,8 +3873,6 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4337,18 +3881,15 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4357,17 +3898,14 @@ public com.google.protobuf.ByteString getIncludePatternsBytes(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The includePatterns to set. * @return This builder for chaining. */ - public Builder setIncludePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludePatternsIsMutable(); includePatterns_.set(index, value); bitField0_ |= 0x00000002; @@ -4375,8 +3913,6 @@ public Builder setIncludePatterns(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4385,16 +3921,13 @@ public Builder setIncludePatterns(int index, java.lang.String value) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludePatternsIsMutable(); includePatterns_.add(value); bitField0_ |= 0x00000002; @@ -4402,8 +3935,6 @@ public Builder addIncludePatterns(java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4412,22 +3943,20 @@ public Builder addIncludePatterns(java.lang.String value) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param values The includePatterns to add. * @return This builder for chaining. */ - public Builder addAllIncludePatterns(java.lang.Iterable values) { + public Builder addAllIncludePatterns( + java.lang.Iterable values) { ensureIncludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includePatterns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4436,21 +3965,17 @@ public Builder addAllIncludePatterns(java.lang.Iterable values
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearIncludePatterns() { - includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + includePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -4459,16 +3984,13 @@ public Builder clearIncludePatterns() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIncludePatternsIsMutable(); includePatterns_.add(value); @@ -4479,7 +4001,6 @@ public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureExcludePatternsIsMutable() { if (!excludePatterns_.isModifiable()) { excludePatterns_ = new com.google.protobuf.LazyStringArrayList(excludePatterns_); @@ -4487,8 +4008,6 @@ private void ensureExcludePatternsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4496,18 +4015,15 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList + getExcludePatternsList() { excludePatterns_.makeImmutable(); return excludePatterns_; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4515,17 +4031,13 @@ public com.google.protobuf.ProtocolStringList getExcludePatternsList() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4533,9 +4045,7 @@ public int getExcludePatternsCount() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -4543,8 +4053,6 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4552,18 +4060,15 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString + getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4571,17 +4076,14 @@ public com.google.protobuf.ByteString getExcludePatternsBytes(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The excludePatterns to set. * @return This builder for chaining. */ - public Builder setExcludePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExcludePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExcludePatternsIsMutable(); excludePatterns_.set(index, value); bitField0_ |= 0x00000004; @@ -4589,8 +4091,6 @@ public Builder setExcludePatterns(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4598,16 +4098,13 @@ public Builder setExcludePatterns(int index, java.lang.String value) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExcludePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExcludePatternsIsMutable(); excludePatterns_.add(value); bitField0_ |= 0x00000004; @@ -4615,8 +4112,6 @@ public Builder addExcludePatterns(java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4624,22 +4119,20 @@ public Builder addExcludePatterns(java.lang.String value) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The excludePatterns to add. * @return This builder for chaining. */ - public Builder addAllExcludePatterns(java.lang.Iterable values) { + public Builder addAllExcludePatterns( + java.lang.Iterable values) { ensureExcludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludePatterns_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4647,21 +4140,17 @@ public Builder addAllExcludePatterns(java.lang.Iterable values
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearExcludePatterns() { - excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + excludePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4669,16 +4158,13 @@ public Builder clearExcludePatterns() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExcludePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExcludePatternsIsMutable(); excludePatterns_.add(value); @@ -4689,61 +4175,41 @@ public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csvOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> - csvOptionsBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> csvOptionsBuilder_; /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the csvOptions field is set. */ public boolean hasCsvOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The csvOptions. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions() { if (csvOptionsBuilder_ == null) { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } else { return csvOptionsBuilder_.getMessage(); } } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCsvOptions( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { + public Builder setCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4757,15 +4223,11 @@ public Builder setCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCsvOptions( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder builderForValue) { @@ -4779,24 +4241,17 @@ public Builder setCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeCsvOptions( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { + public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && csvOptions_ != null - && csvOptions_ - != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + csvOptions_ != null && + csvOptions_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) { getCsvOptionsBuilder().mergeFrom(value); } else { csvOptions_ = value; @@ -4809,15 +4264,11 @@ public Builder mergeCsvOptions( return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCsvOptions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4830,66 +4281,48 @@ public Builder clearCsvOptions() { return this; } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder - getCsvOptionsBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder getCsvOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getCsvOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder - getCsvOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { if (csvOptionsBuilder_ != null) { return csvOptionsBuilder_.getMessageOrBuilder(); } else { - return csvOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() - : csvOptions_; + return csvOptions_ == null ? + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; } } /** - * - * *
        * Optional. Configuration for CSV data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { - csvOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder>( - getCsvOptions(), getParentForChildren(), isClean()); + csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder>( + getCsvOptions(), + getParentForChildren(), + isClean()); csvOptions_ = null; } return csvOptionsBuilder_; @@ -4897,61 +4330,41 @@ public Builder clearCsvOptions() { private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions jsonOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> - jsonOptionsBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> jsonOptionsBuilder_; /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the jsonOptions field is set. */ public boolean hasJsonOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The jsonOptions. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions() { if (jsonOptionsBuilder_ == null) { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } else { return jsonOptionsBuilder_.getMessage(); } } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setJsonOptions( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { + public Builder setJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4965,15 +4378,11 @@ public Builder setJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setJsonOptions( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder builderForValue) { @@ -4987,24 +4396,17 @@ public Builder setJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeJsonOptions( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { + public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && jsonOptions_ != null - && jsonOptions_ - != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + jsonOptions_ != null && + jsonOptions_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) { getJsonOptionsBuilder().mergeFrom(value); } else { jsonOptions_ = value; @@ -5017,15 +4419,11 @@ public Builder mergeJsonOptions( return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearJsonOptions() { bitField0_ = (bitField0_ & ~0x00000010); @@ -5038,74 +4436,54 @@ public Builder clearJsonOptions() { return this; } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder - getJsonOptionsBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder getJsonOptionsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getJsonOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder - getJsonOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { if (jsonOptionsBuilder_ != null) { return jsonOptionsBuilder_.getMessageOrBuilder(); } else { - return jsonOptions_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() - : jsonOptions_; + return jsonOptions_ == null ? + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; } } /** - * - * *
        * Optional. Configuration for Json data.
        * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> getJsonOptionsFieldBuilder() { if (jsonOptionsBuilder_ == null) { - jsonOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder>( - getJsonOptions(), getParentForChildren(), isClean()); + jsonOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder>( + getJsonOptions(), + getParentForChildren(), + isClean()); jsonOptions_ = null; } return jsonOptionsBuilder_; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5118,7 +4496,6 @@ public Builder clearJsonOptions() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -5126,8 +4503,6 @@ public boolean hasSchedule() { return triggerCase_ == 10; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5140,7 +4515,6 @@ public boolean hasSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schedule. */ @java.lang.Override @@ -5150,7 +4524,8 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -5161,8 +4536,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5175,18 +4548,19 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -5196,8 +4570,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5210,22 +4582,18 @@ public com.google.protobuf.ByteString getScheduleBytes() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchedule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } triggerCase_ = 10; trigger_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5238,7 +4606,6 @@ public Builder setSchedule(java.lang.String value) {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -5250,8 +4617,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -5264,21 +4629,18 @@ public Builder clearSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); triggerCase_ = 10; trigger_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5291,12 +4653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec) private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(); } @@ -5305,28 +4667,27 @@ public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5341,24 +4702,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -5367,32 +4723,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; } } /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -5401,18 +4755,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ @java.lang.Override @@ -5421,29 +4771,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; } } /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -5452,19 +4802,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -5473,30 +4819,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -5507,15 +4853,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the zone was created.
    * 
* - * .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 @@ -5523,15 +4865,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the zone was created.
    * 
* - * .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 @@ -5539,14 +4877,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the zone was created.
    * 
* - * .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() { @@ -5556,15 +4891,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 time when the zone was last updated.
    * 
* - * .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 @@ -5572,15 +4903,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time when the zone was last updated.
    * 
* - * .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 @@ -5588,14 +4915,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time when the zone was last updated.
    * 
* - * .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() { @@ -5603,34 +4927,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto - .internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -5638,21 +4960,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -5664,8 +4985,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -5673,19 +4992,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -5693,11 +5010,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -5705,18 +5022,14 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -5725,29 +5038,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; } } /** - * - * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -5758,93 +5071,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 9; private int type_ = 0; /** - * - * *
    * Required. Immutable. The type of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Immutable. The type of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.Type getType() { - com.google.cloud.dataplex.v1.Zone.Type result = - com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.dataplex.v1.Zone.Type getType() { + com.google.cloud.dataplex.v1.Zone.Type result = com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Zone.Type.UNRECOGNIZED : result; } public static final int DISCOVERY_SPEC_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec discoverySpec_; /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ @java.lang.Override @@ -5852,58 +5136,40 @@ public boolean hasDiscoverySpec() { return discoverySpec_ != null; } /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec() { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; } /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; } public static final int RESOURCE_SPEC_FIELD_NUMBER = 104; private com.google.cloud.dataplex.v1.Zone.ResourceSpec resourceSpec_; /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ @java.lang.Override @@ -5911,57 +5177,39 @@ public boolean hasResourceSpec() { return resourceSpec_ != null; } /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec() { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; } /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder() { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; } public static final int ASSET_STATUS_FIELD_NUMBER = 105; private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ @java.lang.Override @@ -5969,44 +5217,30 @@ public boolean hasAssetStatus() { return assetStatus_ != null; } /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6018,7 +5252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6034,8 +5269,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -6073,38 +5312,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } if (type_ != com.google.cloud.dataplex.v1.Zone.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, type_); } if (discoverySpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getDiscoverySpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(103, getDiscoverySpec()); } if (resourceSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(104, getResourceSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(104, getResourceSpec()); } if (assetStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, getAssetStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(105, getAssetStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6114,39 +5360,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Zone other = (com.google.cloud.dataplex.v1.Zone) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; if (hasDiscoverySpec() != other.hasDiscoverySpec()) return false; if (hasDiscoverySpec()) { - if (!getDiscoverySpec().equals(other.getDiscoverySpec())) return false; + if (!getDiscoverySpec() + .equals(other.getDiscoverySpec())) return false; } if (hasResourceSpec() != other.hasResourceSpec()) return false; if (hasResourceSpec()) { - if (!getResourceSpec().equals(other.getResourceSpec())) return false; + if (!getResourceSpec() + .equals(other.getResourceSpec())) return false; } if (hasAssetStatus() != other.hasAssetStatus()) return false; if (hasAssetStatus()) { - if (!getAssetStatus().equals(other.getAssetStatus())) return false; + if (!getAssetStatus() + .equals(other.getAssetStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6200,103 +5456,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Zone parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Zone parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataplex.v1.Zone parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.dataplex.v1.Zone parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Zone parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zone represents a logical group of related assets within a lake. A zone can
    * be used to map to organizational structure or represent stages of data
@@ -6306,52 +5558,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Zone}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone)
       com.google.cloud.dataplex.v1.ZoneOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Zone.class,
-              com.google.cloud.dataplex.v1.Zone.Builder.class);
+              com.google.cloud.dataplex.v1.Zone.class, com.google.cloud.dataplex.v1.Zone.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Zone.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6392,9 +5647,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto
-          .internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_descriptor;
     }
 
     @java.lang.Override
@@ -6414,9 +5669,7 @@ public com.google.cloud.dataplex.v1.Zone build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Zone buildPartial() {
       com.google.cloud.dataplex.v1.Zone result = new com.google.cloud.dataplex.v1.Zone(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -6433,10 +5686,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -6452,16 +5709,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.discoverySpec_ =
-            discoverySpecBuilder_ == null ? discoverySpec_ : discoverySpecBuilder_.build();
+        result.discoverySpec_ = discoverySpecBuilder_ == null
+            ? discoverySpec_
+            : discoverySpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.resourceSpec_ =
-            resourceSpecBuilder_ == null ? resourceSpec_ : resourceSpecBuilder_.build();
+        result.resourceSpec_ = resourceSpecBuilder_ == null
+            ? resourceSpec_
+            : resourceSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.assetStatus_ =
-            assetStatusBuilder_ == null ? assetStatus_ : assetStatusBuilder_.build();
+        result.assetStatus_ = assetStatusBuilder_ == null
+            ? assetStatus_
+            : assetStatusBuilder_.build();
       }
     }
 
@@ -6469,39 +5729,38 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Zone) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Zone) other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Zone)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6531,7 +5790,8 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -6579,91 +5839,86 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 72:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 826:
-              {
-                input.readMessage(getDiscoverySpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 826
-            case 834:
-              {
-                input.readMessage(getResourceSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 834
-            case 842:
-              {
-                input.readMessage(getAssetStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 842
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 72: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 826: {
+              input.readMessage(
+                  getDiscoverySpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 826
+            case 834: {
+              input.readMessage(
+                  getResourceSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 834
+            case 842: {
+              input.readMessage(
+                  getAssetStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 842
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6673,28 +5928,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -6703,24 +5953,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -6728,41 +5975,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -6772,24 +6008,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6799,20 +6029,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -6821,21 +6049,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -6843,35 +6070,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6881,21 +6101,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -6905,21 +6121,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6928,22 +6142,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6951,37 +6164,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -6991,22 +6197,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7016,58 +6218,39 @@ public Builder setUidBytes(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 time when the zone was created.
      * 
* - * - * .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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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 time when the zone was created.
      * 
* - * - * .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) { @@ -7083,17 +6266,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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(); } else { @@ -7104,21 +6284,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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 (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7131,15 +6307,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7152,15 +6324,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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() { bitField0_ |= 0x00000008; @@ -7168,48 +6336,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the zone was created.
      * 
* - * - * .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 time when the zone was created.
      * 
* - * - * .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_; @@ -7217,58 +6373,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 time when the zone was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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 time when the zone was last updated.
      * 
* - * - * .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) { @@ -7284,17 +6421,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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(); } else { @@ -7305,21 +6439,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -7332,15 +6462,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -7353,15 +6479,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000010; @@ -7369,66 +6491,56 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the zone was last updated.
      * 
* - * - * .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 time when the zone was last updated.
      * 
* - * - * .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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7437,13 +6549,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
@@ -7451,21 +6560,20 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
@@ -7477,8 +6585,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
@@ -7486,19 +6592,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
@@ -7506,95 +6610,91 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -7603,21 +6703,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -7625,35 +6724,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -7663,21 +6755,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -7687,31 +6775,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7722,33 +6801,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = - com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -7762,15 +6832,11 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** - * - * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -7782,33 +6848,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * Required. Immutable. The type of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. The type of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -7819,35 +6874,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The type of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.Type getType() { - com.google.cloud.dataplex.v1.Zone.Type result = - com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Zone.Type result = com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Zone.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The type of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -7861,16 +6905,11 @@ public Builder setType(com.google.cloud.dataplex.v1.Zone.Type value) { return this; } /** - * - * *
      * Required. Immutable. The type of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -7882,61 +6921,42 @@ public Builder clearType() { private com.google.cloud.dataplex.v1.Zone.DiscoverySpec discoverySpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> - discoverySpecBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> discoverySpecBuilder_; /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ public boolean hasDiscoverySpec() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec() { if (discoverySpecBuilder_ == null) { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; } else { return discoverySpecBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { @@ -7952,16 +6972,12 @@ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDiscoverySpec( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder builderForValue) { @@ -7975,23 +6991,18 @@ public Builder setDiscoverySpec( return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && discoverySpec_ != null - && discoverySpec_ - != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + discoverySpec_ != null && + discoverySpec_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) { getDiscoverySpecBuilder().mergeFrom(value); } else { discoverySpec_ = value; @@ -8004,16 +7015,12 @@ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpe return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDiscoverySpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -8026,16 +7033,12 @@ public Builder clearDiscoverySpec() { return this; } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder getDiscoverySpecBuilder() { bitField0_ |= 0x00000200; @@ -8043,50 +7046,38 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder getDiscoverySpecB return getDiscoverySpecFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { if (discoverySpecBuilder_ != null) { return discoverySpecBuilder_.getMessageOrBuilder(); } else { - return discoverySpec_ == null - ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() - : discoverySpec_; + return discoverySpec_ == null ? + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; } } /** - * - * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> getDiscoverySpecFieldBuilder() { if (discoverySpecBuilder_ == null) { - discoverySpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, - com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder>( - getDiscoverySpec(), getParentForChildren(), isClean()); + discoverySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder>( + getDiscoverySpec(), + getParentForChildren(), + isClean()); discoverySpec_ = null; } return discoverySpecBuilder_; @@ -8094,61 +7085,42 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpec private com.google.cloud.dataplex.v1.Zone.ResourceSpec resourceSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, - com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> - resourceSpecBuilder_; + com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> resourceSpecBuilder_; /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ public boolean hasResourceSpec() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ public com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec() { if (resourceSpecBuilder_ == null) { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; } else { return resourceSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec value) { if (resourceSpecBuilder_ == null) { @@ -8164,16 +7136,12 @@ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec va return this; } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceSpec( com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder builderForValue) { @@ -8187,23 +7155,18 @@ public Builder setResourceSpec( return this; } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec value) { if (resourceSpecBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && resourceSpec_ != null - && resourceSpec_ - != com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + resourceSpec_ != null && + resourceSpec_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) { getResourceSpecBuilder().mergeFrom(value); } else { resourceSpec_ = value; @@ -8216,16 +7179,12 @@ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec return this; } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceSpec() { bitField0_ = (bitField0_ & ~0x00000400); @@ -8238,16 +7197,12 @@ public Builder clearResourceSpec() { return this; } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder getResourceSpecBuilder() { bitField0_ |= 0x00000400; @@ -8255,50 +7210,38 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder getResourceSpecBui return getResourceSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder() { if (resourceSpecBuilder_ != null) { return resourceSpecBuilder_.getMessageOrBuilder(); } else { - return resourceSpec_ == null - ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() - : resourceSpec_; + return resourceSpec_ == null ? + com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; } } /** - * - * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, - com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> + com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> getResourceSpecFieldBuilder() { if (resourceSpecBuilder_ == null) { - resourceSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, - com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, - com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder>( - getResourceSpec(), getParentForChildren(), isClean()); + resourceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder>( + getResourceSpec(), + getParentForChildren(), + isClean()); resourceSpec_ = null; } return resourceSpecBuilder_; @@ -8306,58 +7249,39 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOr private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder> - assetStatusBuilder_; + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> assetStatusBuilder_; /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ public boolean hasAssetStatus() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { if (assetStatusBuilder_ == null) { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } else { return assetStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { @@ -8373,15 +7297,11 @@ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAssetStatus( com.google.cloud.dataplex.v1.AssetStatus.Builder builderForValue) { @@ -8395,21 +7315,17 @@ public Builder setAssetStatus( return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && assetStatus_ != null - && assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + assetStatus_ != null && + assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { getAssetStatusBuilder().mergeFrom(value); } else { assetStatus_ = value; @@ -8422,15 +7338,11 @@ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAssetStatus() { bitField0_ = (bitField0_ & ~0x00000800); @@ -8443,15 +7355,11 @@ public Builder clearAssetStatus() { return this; } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() { bitField0_ |= 0x00000800; @@ -8459,55 +7367,43 @@ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() return getAssetStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { if (assetStatusBuilder_ != null) { return assetStatusBuilder_.getMessageOrBuilder(); } else { - return assetStatus_ == null - ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() - : assetStatus_; + return assetStatus_ == null ? + com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; } } /** - * - * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> getAssetStatusFieldBuilder() { if (assetStatusBuilder_ == null) { - assetStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, - com.google.cloud.dataplex.v1.AssetStatus.Builder, - com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( - getAssetStatus(), getParentForChildren(), isClean()); + assetStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( + getAssetStatus(), + getParentForChildren(), + isClean()); assetStatus_ = null; } return assetStatusBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8517,12 +7413,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone) private static final com.google.cloud.dataplex.v1.Zone DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone(); } @@ -8531,27 +7427,27 @@ public static com.google.cloud.dataplex.v1.Zone getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zone parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zone parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8566,4 +7462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java similarity index 66% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java index 34cb3f552c15..f34b46adc2cb 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java @@ -1,190 +1,131 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface ZoneOrBuilder - extends +public interface ZoneOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time when the zone was created.
    * 
* - * .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 time when the zone was created.
    * 
* - * .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 time when the zone was created.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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(); /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -193,31 +134,30 @@ public interface ZoneOrBuilder */ int getLabelsCount(); /** - * - * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** - * - * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Optional. User defined labels for the zone.
    * 
@@ -225,228 +165,162 @@ public interface ZoneOrBuilder * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** - * - * *
    * Required. Immutable. The type of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Immutable. The type of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.dataplex.v1.Zone.Type getType(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the discoverySpec field is set. */ boolean hasDiscoverySpec(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; * @return The discoverySpec. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec(); /** - * - * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder(); /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resourceSpec field is set. */ boolean hasResourceSpec(); /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; * @return The resourceSpec. */ com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec(); /** - * - * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the assetStatus field is set. */ boolean hasAssetStatus(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The assetStatus. */ com.google.cloud.dataplex.v1.AssetStatus getAssetStatus(); /** - * - * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto similarity index 91% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto index bc2d57403c77..35c1f501ed15 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto +++ b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto @@ -107,12 +107,24 @@ message DataQualityResult { // Overall data quality result -- `true` if all rules passed. bool passed = 5; + // Output only. The overall data quality score. + // + // The score ranges between [0, 100] (up to two decimal points). + optional float score = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // A list of results at the dimension level. // // A dimension will have a corresponding `DataQualityDimensionResult` if and // only if there is at least one rule with the 'dimension' field set to it. repeated DataQualityDimensionResult dimensions = 2; + // Output only. A list of results at the column level. + // + // A column will have a corresponding `DataQualityColumnResult` if and only if + // there is at least one rule with the 'column' field set to it. + repeated DataQualityColumnResult columns = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // A list of all the rules in a job, and their results. repeated DataQualityRuleResult rules = 3; @@ -175,6 +187,13 @@ message DataQualityDimensionResult { // Whether the dimension passed or failed. bool passed = 3; + + // Output only. The dimension-level data quality score for this data scan job + // if and only if the 'dimension' field is set. + // + // The score ranges between [0, 100] (up to two decimal + // points). + optional float score = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A dimension captures data quality intent about a defined subset of the rules @@ -369,3 +388,17 @@ message DataQualityRule { // * The maximum length is 1,024 characters. string description = 505 [(google.api.field_behavior) = OPTIONAL]; } + +// DataQualityColumnResult provides a more detailed, per-column view of +// the results. +message DataQualityColumnResult { + // Output only. The column specified in the DataQualityRule. + string column = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The column-level data quality score for this data scan job if + // and only if the 'column' field is set. + // + // The score ranges between between [0, 100] (up to two decimal + // points). + optional float score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto similarity index 100% rename from java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto rename to owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java b/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java similarity index 100% rename from java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java rename to owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java From ae4fe9426314a7aa8b979cf9a86f4bdee98634d2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 2 Dec 2023 00:07:15 +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 --- .../dataplex/v1/ContentServiceClient.java | 0 .../dataplex/v1/ContentServiceSettings.java | 1 - .../dataplex/v1/DataScanServiceClient.java | 0 .../dataplex/v1/DataScanServiceSettings.java | 1 - .../v1/DataTaxonomyServiceClient.java | 0 .../v1/DataTaxonomyServiceSettings.java | 1 - .../dataplex/v1/DataplexServiceClient.java | 0 .../dataplex/v1/DataplexServiceSettings.java | 1 - .../dataplex/v1/MetadataServiceClient.java | 0 .../dataplex/v1/MetadataServiceSettings.java | 1 - .../cloud/dataplex/v1/gapic_metadata.json | 0 .../cloud/dataplex/v1/package-info.java | 0 .../dataplex/v1/stub/ContentServiceStub.java | 0 .../v1/stub/ContentServiceStubSettings.java | 0 .../dataplex/v1/stub/DataScanServiceStub.java | 0 .../v1/stub/DataScanServiceStubSettings.java | 0 .../v1/stub/DataTaxonomyServiceStub.java | 0 .../stub/DataTaxonomyServiceStubSettings.java | 0 .../dataplex/v1/stub/DataplexServiceStub.java | 0 .../v1/stub/DataplexServiceStubSettings.java | 0 .../GrpcContentServiceCallableFactory.java | 0 .../v1/stub/GrpcContentServiceStub.java | 1 - .../GrpcDataScanServiceCallableFactory.java | 0 .../v1/stub/GrpcDataScanServiceStub.java | 1 - ...rpcDataTaxonomyServiceCallableFactory.java | 0 .../v1/stub/GrpcDataTaxonomyServiceStub.java | 1 - .../GrpcDataplexServiceCallableFactory.java | 0 .../v1/stub/GrpcDataplexServiceStub.java | 1 - .../GrpcMetadataServiceCallableFactory.java | 0 .../v1/stub/GrpcMetadataServiceStub.java | 1 - ...HttpJsonContentServiceCallableFactory.java | 0 .../v1/stub/HttpJsonContentServiceStub.java | 0 ...ttpJsonDataScanServiceCallableFactory.java | 0 .../v1/stub/HttpJsonDataScanServiceStub.java | 1 - ...sonDataTaxonomyServiceCallableFactory.java | 0 .../stub/HttpJsonDataTaxonomyServiceStub.java | 1 - ...ttpJsonDataplexServiceCallableFactory.java | 0 .../v1/stub/HttpJsonDataplexServiceStub.java | 1 - ...ttpJsonMetadataServiceCallableFactory.java | 0 .../v1/stub/HttpJsonMetadataServiceStub.java | 0 .../dataplex/v1/stub/MetadataServiceStub.java | 0 .../v1/stub/MetadataServiceStubSettings.java | 0 .../reflect-config.json | 0 .../v1/ContentServiceClientHttpJsonTest.java | 0 .../dataplex/v1/ContentServiceClientTest.java | 0 .../v1/DataScanServiceClientHttpJsonTest.java | 0 .../v1/DataScanServiceClientTest.java | 0 ...DataTaxonomyServiceClientHttpJsonTest.java | 0 .../v1/DataTaxonomyServiceClientTest.java | 0 .../v1/DataplexServiceClientHttpJsonTest.java | 0 .../v1/DataplexServiceClientTest.java | 0 .../v1/MetadataServiceClientHttpJsonTest.java | 0 .../v1/MetadataServiceClientTest.java | 0 .../cloud/dataplex/v1/MockContentService.java | 0 .../dataplex/v1/MockContentServiceImpl.java | 0 .../dataplex/v1/MockDataScanService.java | 0 .../dataplex/v1/MockDataScanServiceImpl.java | 0 .../dataplex/v1/MockDataTaxonomyService.java | 0 .../v1/MockDataTaxonomyServiceImpl.java | 0 .../dataplex/v1/MockDataplexService.java | 0 .../dataplex/v1/MockDataplexServiceImpl.java | 0 .../cloud/dataplex/v1/MockIAMPolicy.java | 0 .../cloud/dataplex/v1/MockIAMPolicyImpl.java | 0 .../cloud/dataplex/v1/MockLocations.java | 0 .../cloud/dataplex/v1/MockLocationsImpl.java | 0 .../dataplex/v1/MockMetadataService.java | 0 .../dataplex/v1/MockMetadataServiceImpl.java | 0 .../cloud/dataplex/v1/ContentServiceGrpc.java | 823 +- .../dataplex/v1/DataScanServiceGrpc.java | 1196 +++ .../dataplex/v1/DataTaxonomyServiceGrpc.java | 2081 ++++ .../dataplex/v1/DataplexServiceGrpc.java | 3985 ++++++++ .../dataplex/v1/MetadataServiceGrpc.java | 1291 +++ .../com/google/cloud/dataplex/v1/Action.java | 5177 ++++++---- .../cloud/dataplex/v1/ActionOrBuilder.java | 236 +- .../cloud/dataplex/v1/AnalyzeProto.java | 345 + .../com/google/cloud/dataplex/v1/Asset.java | 6951 ++++++++----- .../google/cloud/dataplex/v1/AssetName.java | 0 .../cloud/dataplex/v1/AssetOrBuilder.java | 238 +- .../google/cloud/dataplex/v1/AssetStatus.java | 392 +- .../dataplex/v1/AssetStatusOrBuilder.java | 32 +- .../cloud/dataplex/v1/CancelJobRequest.java | 340 +- .../v1/CancelJobRequestOrBuilder.java | 56 + .../com/google/cloud/dataplex/v1/Content.java | 2205 ++-- .../google/cloud/dataplex/v1/ContentName.java | 0 .../cloud/dataplex/v1/ContentOrBuilder.java | 154 +- .../cloud/dataplex/v1/ContentProto.java | 234 + .../cloud/dataplex/v1/CreateAssetRequest.java | 568 +- .../v1/CreateAssetRequestOrBuilder.java | 64 +- .../dataplex/v1/CreateContentRequest.java | 515 +- .../v1/CreateContentRequestOrBuilder.java | 55 +- .../v1/CreateDataAttributeBindingRequest.java | 642 +- ...eDataAttributeBindingRequestOrBuilder.java | 67 +- .../v1/CreateDataAttributeRequest.java | 599 +- .../CreateDataAttributeRequestOrBuilder.java | 67 +- .../dataplex/v1/CreateDataScanRequest.java | 598 +- .../v1/CreateDataScanRequestOrBuilder.java | 67 +- .../v1/CreateDataTaxonomyRequest.java | 599 +- .../CreateDataTaxonomyRequestOrBuilder.java | 67 +- .../dataplex/v1/CreateEntityRequest.java | 500 +- .../v1/CreateEntityRequestOrBuilder.java | 55 +- .../dataplex/v1/CreateEnvironmentRequest.java | 599 +- .../v1/CreateEnvironmentRequestOrBuilder.java | 67 +- .../cloud/dataplex/v1/CreateLakeRequest.java | 556 +- .../v1/CreateLakeRequestOrBuilder.java | 55 +- .../dataplex/v1/CreatePartitionRequest.java | 526 +- .../v1/CreatePartitionRequestOrBuilder.java | 58 +- .../cloud/dataplex/v1/CreateTaskRequest.java | 556 +- .../v1/CreateTaskRequestOrBuilder.java | 55 +- .../cloud/dataplex/v1/CreateZoneRequest.java | 556 +- .../v1/CreateZoneRequestOrBuilder.java | 55 +- .../cloud/dataplex/v1/DataAccessSpec.java | 348 +- .../dataplex/v1/DataAccessSpecOrBuilder.java | 36 +- .../cloud/dataplex/v1/DataAttribute.java | 1573 +-- .../dataplex/v1/DataAttributeBinding.java | 2226 ++-- .../dataplex/v1/DataAttributeBindingName.java | 0 .../v1/DataAttributeBindingOrBuilder.java | 234 +- .../cloud/dataplex/v1/DataAttributeName.java | 0 .../dataplex/v1/DataAttributeOrBuilder.java | 195 +- .../cloud/dataplex/v1/DataProfileProto.java | 316 + .../cloud/dataplex/v1/DataProfileResult.java | 6900 ++++++++----- .../v1/DataProfileResultOrBuilder.java | 60 +- .../cloud/dataplex/v1/DataProfileSpec.java | 2074 ++-- .../dataplex/v1/DataProfileSpecOrBuilder.java | 93 +- .../dataplex/v1/DataQualityColumnResult.java | 359 +- .../v1/DataQualityColumnResultOrBuilder.java | 33 +- .../dataplex/v1/DataQualityDimension.java | 319 +- .../v1/DataQualityDimensionOrBuilder.java | 27 +- .../v1/DataQualityDimensionResult.java | 470 +- .../DataQualityDimensionResultOrBuilder.java | 47 +- .../cloud/dataplex/v1/DataQualityProto.java | 414 + .../cloud/dataplex/v1/DataQualityResult.java | 2359 +++-- .../v1/DataQualityResultOrBuilder.java | 132 +- .../cloud/dataplex/v1/DataQualityRule.java | 5146 ++++++---- .../dataplex/v1/DataQualityRuleOrBuilder.java | 208 +- .../dataplex/v1/DataQualityRuleResult.java | 591 +- .../v1/DataQualityRuleResultOrBuilder.java | 50 +- .../v1/DataQualityScanRuleResult.java | 1227 ++- .../DataQualityScanRuleResultOrBuilder.java | 99 +- .../cloud/dataplex/v1/DataQualitySpec.java | 1635 +-- .../dataplex/v1/DataQualitySpecOrBuilder.java | 91 +- .../google/cloud/dataplex/v1/DataScan.java | 3161 ++++-- .../cloud/dataplex/v1/DataScanEvent.java | 5481 ++++++---- .../dataplex/v1/DataScanEventOrBuilder.java | 187 +- .../google/cloud/dataplex/v1/DataScanJob.java | 1585 ++- .../cloud/dataplex/v1/DataScanJobName.java | 0 .../dataplex/v1/DataScanJobOrBuilder.java | 187 +- .../cloud/dataplex/v1/DataScanName.java | 0 .../cloud/dataplex/v1/DataScanOrBuilder.java | 257 +- .../cloud/dataplex/v1/DataScanType.java | 82 +- .../cloud/dataplex/v1/DataScansProto.java | 465 + .../google/cloud/dataplex/v1/DataSource.java | 499 +- .../dataplex/v1/DataSourceOrBuilder.java | 54 +- .../cloud/dataplex/v1/DataTaxonomy.java | 1209 ++- .../cloud/dataplex/v1/DataTaxonomyName.java | 0 .../dataplex/v1/DataTaxonomyOrBuilder.java | 141 +- .../cloud/dataplex/v1/DataTaxonomyProto.java | 651 ++ .../cloud/dataplex/v1/DeleteAssetRequest.java | 343 +- .../v1/DeleteAssetRequestOrBuilder.java | 56 + .../dataplex/v1/DeleteContentRequest.java | 347 +- .../v1/DeleteContentRequestOrBuilder.java | 56 + .../v1/DeleteDataAttributeBindingRequest.java | 445 +- ...eDataAttributeBindingRequestOrBuilder.java | 44 +- .../v1/DeleteDataAttributeRequest.java | 422 +- .../DeleteDataAttributeRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteDataScanRequest.java | 347 +- .../v1/DeleteDataScanRequestOrBuilder.java | 60 + .../v1/DeleteDataTaxonomyRequest.java | 422 +- .../DeleteDataTaxonomyRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteEntityRequest.java | 419 +- .../v1/DeleteEntityRequestOrBuilder.java | 44 +- .../dataplex/v1/DeleteEnvironmentRequest.java | 350 +- .../v1/DeleteEnvironmentRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/DeleteLakeRequest.java | 340 +- .../v1/DeleteLakeRequestOrBuilder.java | 56 + .../dataplex/v1/DeletePartitionRequest.java | 460 +- .../v1/DeletePartitionRequestOrBuilder.java | 56 +- .../cloud/dataplex/v1/DeleteTaskRequest.java | 340 +- .../v1/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/DeleteZoneRequest.java | 340 +- .../v1/DeleteZoneRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/DiscoveryEvent.java | 3095 +++--- .../dataplex/v1/DiscoveryEventOrBuilder.java | 101 +- .../com/google/cloud/dataplex/v1/Entity.java | 3121 ++++-- .../google/cloud/dataplex/v1/EntityName.java | 0 .../cloud/dataplex/v1/EntityOrBuilder.java | 271 +- .../google/cloud/dataplex/v1/Environment.java | 5124 ++++++---- .../cloud/dataplex/v1/EnvironmentName.java | 0 .../dataplex/v1/EnvironmentOrBuilder.java | 221 +- .../cloud/dataplex/v1/GetAssetRequest.java | 340 +- .../dataplex/v1/GetAssetRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GetContentRequest.java | 498 +- .../v1/GetContentRequestOrBuilder.java | 85 + .../v1/GetDataAttributeBindingRequest.java | 353 +- ...tDataAttributeBindingRequestOrBuilder.java | 56 + .../dataplex/v1/GetDataAttributeRequest.java | 347 +- .../v1/GetDataAttributeRequestOrBuilder.java | 56 + .../dataplex/v1/GetDataScanJobRequest.java | 512 +- .../v1/GetDataScanJobRequestOrBuilder.java | 49 +- .../cloud/dataplex/v1/GetDataScanRequest.java | 501 +- .../v1/GetDataScanRequestOrBuilder.java | 49 +- .../dataplex/v1/GetDataTaxonomyRequest.java | 347 +- .../v1/GetDataTaxonomyRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GetEntityRequest.java | 505 +- .../v1/GetEntityRequestOrBuilder.java | 87 + .../dataplex/v1/GetEnvironmentRequest.java | 347 +- .../v1/GetEnvironmentRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GetJobRequest.java | 340 +- .../dataplex/v1/GetJobRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GetLakeRequest.java | 340 +- .../dataplex/v1/GetLakeRequestOrBuilder.java | 56 + .../dataplex/v1/GetPartitionRequest.java | 347 +- .../v1/GetPartitionRequestOrBuilder.java | 35 +- .../cloud/dataplex/v1/GetTaskRequest.java | 340 +- .../dataplex/v1/GetTaskRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GetZoneRequest.java | 340 +- .../dataplex/v1/GetZoneRequestOrBuilder.java | 56 + .../cloud/dataplex/v1/GovernanceEvent.java | 1090 +- .../dataplex/v1/GovernanceEventOrBuilder.java | 41 +- .../com/google/cloud/dataplex/v1/Job.java | 1692 ++-- .../google/cloud/dataplex/v1/JobEvent.java | 1135 ++- .../cloud/dataplex/v1/JobEventOrBuilder.java | 88 +- .../com/google/cloud/dataplex/v1/JobName.java | 0 .../cloud/dataplex/v1/JobOrBuilder.java | 206 +- .../com/google/cloud/dataplex/v1/Lake.java | 2617 +++-- .../google/cloud/dataplex/v1/LakeName.java | 0 .../cloud/dataplex/v1/LakeOrBuilder.java | 207 +- .../dataplex/v1/ListActionsResponse.java | 479 +- .../v1/ListActionsResponseOrBuilder.java | 46 +- .../dataplex/v1/ListAssetActionsRequest.java | 450 +- .../v1/ListAssetActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListAssetsRequest.java | 589 +- .../v1/ListAssetsRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListAssetsResponse.java | 475 +- .../v1/ListAssetsResponseOrBuilder.java | 46 +- .../cloud/dataplex/v1/ListContentRequest.java | 520 +- .../v1/ListContentRequestOrBuilder.java | 56 +- .../dataplex/v1/ListContentResponse.java | 479 +- .../v1/ListContentResponseOrBuilder.java | 46 +- .../v1/ListDataAttributeBindingsRequest.java | 612 +- ...DataAttributeBindingsRequestOrBuilder.java | 65 +- .../v1/ListDataAttributeBindingsResponse.java | 698 +- ...ataAttributeBindingsResponseOrBuilder.java | 75 +- .../v1/ListDataAttributesRequest.java | 599 +- .../ListDataAttributesRequestOrBuilder.java | 65 +- .../v1/ListDataAttributesResponse.java | 586 +- .../ListDataAttributesResponseOrBuilder.java | 63 +- .../dataplex/v1/ListDataScanJobsRequest.java | 524 +- .../v1/ListDataScanJobsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListDataScanJobsResponse.java | 483 +- .../v1/ListDataScanJobsResponseOrBuilder.java | 45 +- .../dataplex/v1/ListDataScansRequest.java | 596 +- .../v1/ListDataScansRequestOrBuilder.java | 65 +- .../dataplex/v1/ListDataScansResponse.java | 587 +- .../v1/ListDataScansResponseOrBuilder.java | 63 +- .../v1/ListDataTaxonomiesRequest.java | 599 +- .../ListDataTaxonomiesRequestOrBuilder.java | 65 +- .../v1/ListDataTaxonomiesResponse.java | 586 +- .../ListDataTaxonomiesResponseOrBuilder.java | 63 +- .../dataplex/v1/ListEntitiesRequest.java | 680 +- .../v1/ListEntitiesRequestOrBuilder.java | 70 +- .../dataplex/v1/ListEntitiesResponse.java | 479 +- .../v1/ListEntitiesResponseOrBuilder.java | 46 +- .../dataplex/v1/ListEnvironmentsRequest.java | 596 +- .../v1/ListEnvironmentsRequestOrBuilder.java | 65 +- .../dataplex/v1/ListEnvironmentsResponse.java | 483 +- .../v1/ListEnvironmentsResponseOrBuilder.java | 45 +- .../cloud/dataplex/v1/ListJobsRequest.java | 443 +- .../dataplex/v1/ListJobsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListJobsResponse.java | 474 +- .../v1/ListJobsResponseOrBuilder.java | 46 +- .../dataplex/v1/ListLakeActionsRequest.java | 450 +- .../v1/ListLakeActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListLakesRequest.java | 589 +- .../v1/ListLakesRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListLakesResponse.java | 586 +- .../v1/ListLakesResponseOrBuilder.java | 64 +- .../dataplex/v1/ListPartitionsRequest.java | 524 +- .../v1/ListPartitionsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListPartitionsResponse.java | 480 +- .../v1/ListPartitionsResponseOrBuilder.java | 45 +- .../dataplex/v1/ListSessionsRequest.java | 524 +- .../v1/ListSessionsRequestOrBuilder.java | 56 +- .../dataplex/v1/ListSessionsResponse.java | 479 +- .../v1/ListSessionsResponseOrBuilder.java | 45 +- .../cloud/dataplex/v1/ListTasksRequest.java | 589 +- .../v1/ListTasksRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListTasksResponse.java | 586 +- .../v1/ListTasksResponseOrBuilder.java | 64 +- .../dataplex/v1/ListZoneActionsRequest.java | 450 +- .../v1/ListZoneActionsRequestOrBuilder.java | 47 +- .../cloud/dataplex/v1/ListZonesRequest.java | 589 +- .../v1/ListZonesRequestOrBuilder.java | 65 +- .../cloud/dataplex/v1/ListZonesResponse.java | 475 +- .../v1/ListZonesResponseOrBuilder.java | 46 +- .../cloud/dataplex/v1/LocationName.java | 0 .../google/cloud/dataplex/v1/LogsProto.java | 566 ++ .../cloud/dataplex/v1/MetadataProto.java | 552 + .../cloud/dataplex/v1/OperationMetadata.java | 817 +- .../v1/OperationMetadataOrBuilder.java | 91 +- .../google/cloud/dataplex/v1/Partition.java | 706 +- .../cloud/dataplex/v1/PartitionName.java | 0 .../cloud/dataplex/v1/PartitionOrBuilder.java | 107 +- .../cloud/dataplex/v1/ProcessingProto.java | 147 + .../cloud/dataplex/v1/ResourceAccessSpec.java | 569 +- .../v1/ResourceAccessSpecOrBuilder.java | 72 +- .../cloud/dataplex/v1/ResourcesProto.java | 690 ++ .../cloud/dataplex/v1/RunDataScanRequest.java | 343 +- .../v1/RunDataScanRequestOrBuilder.java | 35 +- .../dataplex/v1/RunDataScanResponse.java | 333 +- .../v1/RunDataScanResponseOrBuilder.java | 26 +- .../cloud/dataplex/v1/RunTaskRequest.java | 820 +- .../dataplex/v1/RunTaskRequestOrBuilder.java | 95 +- .../cloud/dataplex/v1/RunTaskResponse.java | 330 +- .../dataplex/v1/RunTaskResponseOrBuilder.java | 26 +- .../google/cloud/dataplex/v1/ScannedData.java | 867 +- .../dataplex/v1/ScannedDataOrBuilder.java | 26 +- .../com/google/cloud/dataplex/v1/Schema.java | 2403 +++-- .../cloud/dataplex/v1/SchemaOrBuilder.java | 108 +- .../cloud/dataplex/v1/SecurityProto.java | 88 + .../cloud/dataplex/v1/ServiceProto.java | 945 ++ .../com/google/cloud/dataplex/v1/Session.java | 610 +- .../cloud/dataplex/v1/SessionEvent.java | 1602 +-- .../dataplex/v1/SessionEventOrBuilder.java | 73 +- .../cloud/dataplex/v1/SessionOrBuilder.java | 73 +- .../com/google/cloud/dataplex/v1/State.java | 96 +- .../cloud/dataplex/v1/StorageAccess.java | 398 +- .../dataplex/v1/StorageAccessOrBuilder.java | 56 + .../cloud/dataplex/v1/StorageFormat.java | 2305 +++-- .../dataplex/v1/StorageFormatOrBuilder.java | 115 +- .../cloud/dataplex/v1/StorageSystem.java | 82 +- .../com/google/cloud/dataplex/v1/Task.java | 9023 +++++++++++------ .../google/cloud/dataplex/v1/TaskName.java | 0 .../cloud/dataplex/v1/TaskOrBuilder.java | 214 +- .../google/cloud/dataplex/v1/TasksProto.java | 393 + .../com/google/cloud/dataplex/v1/Trigger.java | 993 +- .../cloud/dataplex/v1/TriggerOrBuilder.java | 34 +- .../cloud/dataplex/v1/UpdateAssetRequest.java | 524 +- .../v1/UpdateAssetRequestOrBuilder.java | 55 +- .../dataplex/v1/UpdateContentRequest.java | 543 +- .../v1/UpdateContentRequestOrBuilder.java | 55 +- .../v1/UpdateDataAttributeBindingRequest.java | 598 +- ...eDataAttributeBindingRequestOrBuilder.java | 58 +- .../v1/UpdateDataAttributeRequest.java | 555 +- .../UpdateDataAttributeRequestOrBuilder.java | 58 +- .../dataplex/v1/UpdateDataScanRequest.java | 554 +- .../v1/UpdateDataScanRequestOrBuilder.java | 58 +- .../v1/UpdateDataTaxonomyRequest.java | 555 +- .../UpdateDataTaxonomyRequestOrBuilder.java | 58 +- .../dataplex/v1/UpdateEntityRequest.java | 403 +- .../v1/UpdateEntityRequestOrBuilder.java | 38 +- .../dataplex/v1/UpdateEnvironmentRequest.java | 555 +- .../v1/UpdateEnvironmentRequestOrBuilder.java | 58 +- .../cloud/dataplex/v1/UpdateLakeRequest.java | 512 +- .../v1/UpdateLakeRequestOrBuilder.java | 46 +- .../cloud/dataplex/v1/UpdateTaskRequest.java | 512 +- .../v1/UpdateTaskRequestOrBuilder.java | 46 +- .../cloud/dataplex/v1/UpdateZoneRequest.java | 512 +- .../v1/UpdateZoneRequestOrBuilder.java | 46 +- .../com/google/cloud/dataplex/v1/Zone.java | 4050 +++++--- .../google/cloud/dataplex/v1/ZoneName.java | 0 .../cloud/dataplex/v1/ZoneOrBuilder.java | 212 +- .../google/cloud/dataplex/v1/analyze.proto | 0 .../google/cloud/dataplex/v1/content.proto | 0 .../cloud/dataplex/v1/data_profile.proto | 0 .../cloud/dataplex/v1/data_quality.proto | 0 .../cloud/dataplex/v1/data_taxonomy.proto | 0 .../google/cloud/dataplex/v1/datascans.proto | 0 .../proto/google/cloud/dataplex/v1/logs.proto | 0 .../google/cloud/dataplex/v1/metadata.proto | 0 .../google/cloud/dataplex/v1/processing.proto | 0 .../google/cloud/dataplex/v1/resources.proto | 0 .../google/cloud/dataplex/v1/security.proto | 0 .../google/cloud/dataplex/v1/service.proto | 0 .../google/cloud/dataplex/v1/tasks.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcontent/AsyncCreateContent.java | 0 .../createcontent/SyncCreateContent.java | 0 .../SyncCreateContentLakenameContent.java | 0 .../SyncCreateContentStringContent.java | 0 .../deletecontent/AsyncDeleteContent.java | 0 .../deletecontent/SyncDeleteContent.java | 0 .../SyncDeleteContentContentname.java | 0 .../SyncDeleteContentString.java | 0 .../getcontent/AsyncGetContent.java | 0 .../getcontent/SyncGetContent.java | 0 .../getcontent/SyncGetContentContentname.java | 0 .../getcontent/SyncGetContentString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../listcontent/AsyncListContent.java | 0 .../listcontent/AsyncListContentPaged.java | 0 .../listcontent/SyncListContent.java | 0 .../listcontent/SyncListContentLakename.java | 0 .../listcontent/SyncListContentString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatecontent/AsyncUpdateContent.java | 0 .../updatecontent/SyncUpdateContent.java | 0 .../SyncUpdateContentContentFieldmask.java | 0 .../createcontent/SyncCreateContent.java | 0 .../canceljob/AsyncCancelJob.java | 0 .../canceljob/SyncCancelJob.java | 0 .../canceljob/SyncCancelJobJobname.java | 0 .../canceljob/SyncCancelJobString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createasset/AsyncCreateAsset.java | 0 .../createasset/AsyncCreateAssetLRO.java | 0 .../createasset/SyncCreateAsset.java | 0 .../SyncCreateAssetStringAssetString.java | 0 .../SyncCreateAssetZonenameAssetString.java | 0 .../AsyncCreateEnvironment.java | 0 .../AsyncCreateEnvironmentLRO.java | 0 .../SyncCreateEnvironment.java | 0 ...eEnvironmentLakenameEnvironmentString.java | 0 ...ateEnvironmentStringEnvironmentString.java | 0 .../createlake/AsyncCreateLake.java | 0 .../createlake/AsyncCreateLakeLRO.java | 0 .../createlake/SyncCreateLake.java | 0 .../SyncCreateLakeLocationnameLakeString.java | 0 .../SyncCreateLakeStringLakeString.java | 0 .../createtask/AsyncCreateTask.java | 0 .../createtask/AsyncCreateTaskLRO.java | 0 .../createtask/SyncCreateTask.java | 0 .../SyncCreateTaskLakenameTaskString.java | 0 .../SyncCreateTaskStringTaskString.java | 0 .../createzone/AsyncCreateZone.java | 0 .../createzone/AsyncCreateZoneLRO.java | 0 .../createzone/SyncCreateZone.java | 0 .../SyncCreateZoneLakenameZoneString.java | 0 .../SyncCreateZoneStringZoneString.java | 0 .../deleteasset/AsyncDeleteAsset.java | 0 .../deleteasset/AsyncDeleteAssetLRO.java | 0 .../deleteasset/SyncDeleteAsset.java | 0 .../deleteasset/SyncDeleteAssetAssetname.java | 0 .../deleteasset/SyncDeleteAssetString.java | 0 .../AsyncDeleteEnvironment.java | 0 .../AsyncDeleteEnvironmentLRO.java | 0 .../SyncDeleteEnvironment.java | 0 .../SyncDeleteEnvironmentEnvironmentname.java | 0 .../SyncDeleteEnvironmentString.java | 0 .../deletelake/AsyncDeleteLake.java | 0 .../deletelake/AsyncDeleteLakeLRO.java | 0 .../deletelake/SyncDeleteLake.java | 0 .../deletelake/SyncDeleteLakeLakename.java | 0 .../deletelake/SyncDeleteLakeString.java | 0 .../deletetask/AsyncDeleteTask.java | 0 .../deletetask/AsyncDeleteTaskLRO.java | 0 .../deletetask/SyncDeleteTask.java | 0 .../deletetask/SyncDeleteTaskString.java | 0 .../deletetask/SyncDeleteTaskTaskname.java | 0 .../deletezone/AsyncDeleteZone.java | 0 .../deletezone/AsyncDeleteZoneLRO.java | 0 .../deletezone/SyncDeleteZone.java | 0 .../deletezone/SyncDeleteZoneString.java | 0 .../deletezone/SyncDeleteZoneZonename.java | 0 .../getasset/AsyncGetAsset.java | 0 .../getasset/SyncGetAsset.java | 0 .../getasset/SyncGetAssetAssetname.java | 0 .../getasset/SyncGetAssetString.java | 0 .../getenvironment/AsyncGetEnvironment.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncGetEnvironmentEnvironmentname.java | 0 .../SyncGetEnvironmentString.java | 0 .../dataplexservice/getjob/AsyncGetJob.java | 0 .../v1/dataplexservice/getjob/SyncGetJob.java | 0 .../getjob/SyncGetJobJobname.java | 0 .../getjob/SyncGetJobString.java | 0 .../dataplexservice/getlake/AsyncGetLake.java | 0 .../dataplexservice/getlake/SyncGetLake.java | 0 .../getlake/SyncGetLakeLakename.java | 0 .../getlake/SyncGetLakeString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../dataplexservice/gettask/AsyncGetTask.java | 0 .../dataplexservice/gettask/SyncGetTask.java | 0 .../gettask/SyncGetTaskString.java | 0 .../gettask/SyncGetTaskTaskname.java | 0 .../dataplexservice/getzone/AsyncGetZone.java | 0 .../dataplexservice/getzone/SyncGetZone.java | 0 .../getzone/SyncGetZoneString.java | 0 .../getzone/SyncGetZoneZonename.java | 0 .../AsyncListAssetActions.java | 0 .../AsyncListAssetActionsPaged.java | 0 .../SyncListAssetActions.java | 0 .../SyncListAssetActionsAssetname.java | 0 .../SyncListAssetActionsString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listassets/SyncListAssetsZonename.java | 0 .../AsyncListEnvironments.java | 0 .../AsyncListEnvironmentsPaged.java | 0 .../SyncListEnvironments.java | 0 .../SyncListEnvironmentsLakename.java | 0 .../SyncListEnvironmentsString.java | 0 .../listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsString.java | 0 .../listjobs/SyncListJobsTaskname.java | 0 .../listlakeactions/AsyncListLakeActions.java | 0 .../AsyncListLakeActionsPaged.java | 0 .../listlakeactions/SyncListLakeActions.java | 0 .../SyncListLakeActionsLakename.java | 0 .../SyncListLakeActionsString.java | 0 .../listlakes/AsyncListLakes.java | 0 .../listlakes/AsyncListLakesPaged.java | 0 .../listlakes/SyncListLakes.java | 0 .../listlakes/SyncListLakesLocationname.java | 0 .../listlakes/SyncListLakesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listsessions/AsyncListSessions.java | 0 .../listsessions/AsyncListSessionsPaged.java | 0 .../listsessions/SyncListSessions.java | 0 .../SyncListSessionsEnvironmentname.java | 0 .../listsessions/SyncListSessionsString.java | 0 .../listtasks/AsyncListTasks.java | 0 .../listtasks/AsyncListTasksPaged.java | 0 .../listtasks/SyncListTasks.java | 0 .../listtasks/SyncListTasksLakename.java | 0 .../listtasks/SyncListTasksString.java | 0 .../listzoneactions/AsyncListZoneActions.java | 0 .../AsyncListZoneActionsPaged.java | 0 .../listzoneactions/SyncListZoneActions.java | 0 .../SyncListZoneActionsString.java | 0 .../SyncListZoneActionsZonename.java | 0 .../listzones/AsyncListZones.java | 0 .../listzones/AsyncListZonesPaged.java | 0 .../listzones/SyncListZones.java | 0 .../listzones/SyncListZonesLakename.java | 0 .../listzones/SyncListZonesString.java | 0 .../dataplexservice/runtask/AsyncRunTask.java | 0 .../dataplexservice/runtask/SyncRunTask.java | 0 .../runtask/SyncRunTaskString.java | 0 .../runtask/SyncRunTaskTaskname.java | 0 .../updateasset/AsyncUpdateAsset.java | 0 .../updateasset/AsyncUpdateAssetLRO.java | 0 .../updateasset/SyncUpdateAsset.java | 0 .../SyncUpdateAssetAssetFieldmask.java | 0 .../AsyncUpdateEnvironment.java | 0 .../AsyncUpdateEnvironmentLRO.java | 0 .../SyncUpdateEnvironment.java | 0 ...UpdateEnvironmentEnvironmentFieldmask.java | 0 .../updatelake/AsyncUpdateLake.java | 0 .../updatelake/AsyncUpdateLakeLRO.java | 0 .../updatelake/SyncUpdateLake.java | 0 .../SyncUpdateLakeLakeFieldmask.java | 0 .../updatetask/AsyncUpdateTask.java | 0 .../updatetask/AsyncUpdateTaskLRO.java | 0 .../updatetask/SyncUpdateTask.java | 0 .../SyncUpdateTaskTaskFieldmask.java | 0 .../updatezone/AsyncUpdateZone.java | 0 .../updatezone/AsyncUpdateZoneLRO.java | 0 .../updatezone/SyncUpdateZone.java | 0 .../SyncUpdateZoneZoneFieldmask.java | 0 .../getlake/SyncGetLake.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createdatascan/AsyncCreateDataScan.java | 0 .../AsyncCreateDataScanLRO.java | 0 .../createdatascan/SyncCreateDataScan.java | 0 ...ateDataScanLocationnameDatascanString.java | 0 ...yncCreateDataScanStringDatascanString.java | 0 .../deletedatascan/AsyncDeleteDataScan.java | 0 .../AsyncDeleteDataScanLRO.java | 0 .../deletedatascan/SyncDeleteDataScan.java | 0 .../SyncDeleteDataScanDatascanname.java | 0 .../SyncDeleteDataScanString.java | 0 .../getdatascan/AsyncGetDataScan.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../SyncGetDataScanDatascanname.java | 0 .../getdatascan/SyncGetDataScanString.java | 0 .../getdatascanjob/AsyncGetDataScanJob.java | 0 .../getdatascanjob/SyncGetDataScanJob.java | 0 .../SyncGetDataScanJobDatascanjobname.java | 0 .../SyncGetDataScanJobString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListDataScanJobs.java | 0 .../AsyncListDataScanJobsPaged.java | 0 .../SyncListDataScanJobs.java | 0 .../SyncListDataScanJobsDatascanname.java | 0 .../SyncListDataScanJobsString.java | 0 .../listdatascans/AsyncListDataScans.java | 0 .../AsyncListDataScansPaged.java | 0 .../listdatascans/SyncListDataScans.java | 0 .../SyncListDataScansLocationname.java | 0 .../SyncListDataScansString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../rundatascan/AsyncRunDataScan.java | 0 .../rundatascan/SyncRunDataScan.java | 0 .../SyncRunDataScanDatascanname.java | 0 .../rundatascan/SyncRunDataScanString.java | 0 .../updatedatascan/AsyncUpdateDataScan.java | 0 .../AsyncUpdateDataScanLRO.java | 0 .../updatedatascan/SyncUpdateDataScan.java | 0 .../SyncUpdateDataScanDatascanFieldmask.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateDataAttribute.java | 0 .../AsyncCreateDataAttributeLRO.java | 0 .../SyncCreateDataAttribute.java | 0 ...teDatataxonomynameDataattributeString.java | 0 ...ataAttributeStringDataattributeString.java | 0 .../AsyncCreateDataAttributeBinding.java | 0 .../AsyncCreateDataAttributeBindingLRO.java | 0 .../SyncCreateDataAttributeBinding.java | 0 ...ocationnameDataattributebindingString.java | 0 ...ndingStringDataattributebindingString.java | 0 .../AsyncCreateDataTaxonomy.java | 0 .../AsyncCreateDataTaxonomyLRO.java | 0 .../SyncCreateDataTaxonomy.java | 0 ...axonomyLocationnameDatataxonomyString.java | 0 ...eDataTaxonomyStringDatataxonomyString.java | 0 .../AsyncDeleteDataAttribute.java | 0 .../AsyncDeleteDataAttributeLRO.java | 0 .../SyncDeleteDataAttribute.java | 0 ...cDeleteDataAttributeDataattributename.java | 0 .../SyncDeleteDataAttributeString.java | 0 .../AsyncDeleteDataAttributeBinding.java | 0 .../AsyncDeleteDataAttributeBindingLRO.java | 0 .../SyncDeleteDataAttributeBinding.java | 0 ...ributeBindingDataattributebindingname.java | 0 .../SyncDeleteDataAttributeBindingString.java | 0 .../AsyncDeleteDataTaxonomy.java | 0 .../AsyncDeleteDataTaxonomyLRO.java | 0 .../SyncDeleteDataTaxonomy.java | 0 ...yncDeleteDataTaxonomyDatataxonomyname.java | 0 .../SyncDeleteDataTaxonomyString.java | 0 .../AsyncGetDataAttribute.java | 0 .../SyncGetDataAttribute.java | 0 ...SyncGetDataAttributeDataattributename.java | 0 .../SyncGetDataAttributeString.java | 0 .../AsyncGetDataAttributeBinding.java | 0 .../SyncGetDataAttributeBinding.java | 0 ...ributeBindingDataattributebindingname.java | 0 .../SyncGetDataAttributeBindingString.java | 0 .../getdatataxonomy/AsyncGetDataTaxonomy.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../SyncGetDataTaxonomyDatataxonomyname.java | 0 .../SyncGetDataTaxonomyString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListDataAttributeBindings.java | 0 .../AsyncListDataAttributeBindingsPaged.java | 0 .../SyncListDataAttributeBindings.java | 0 ...ListDataAttributeBindingsLocationname.java | 0 .../SyncListDataAttributeBindingsString.java | 0 .../AsyncListDataAttributes.java | 0 .../AsyncListDataAttributesPaged.java | 0 .../SyncListDataAttributes.java | 0 ...yncListDataAttributesDatataxonomyname.java | 0 .../SyncListDataAttributesString.java | 0 .../AsyncListDataTaxonomies.java | 0 .../AsyncListDataTaxonomiesPaged.java | 0 .../SyncListDataTaxonomies.java | 0 .../SyncListDataTaxonomiesLocationname.java | 0 .../SyncListDataTaxonomiesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncUpdateDataAttribute.java | 0 .../AsyncUpdateDataAttributeLRO.java | 0 .../SyncUpdateDataAttribute.java | 0 ...teDataAttributeDataattributeFieldmask.java | 0 .../AsyncUpdateDataAttributeBinding.java | 0 .../AsyncUpdateDataAttributeBindingLRO.java | 0 .../SyncUpdateDataAttributeBinding.java | 0 ...eBindingDataattributebindingFieldmask.java | 0 .../AsyncUpdateDataTaxonomy.java | 0 .../AsyncUpdateDataTaxonomyLRO.java | 0 .../SyncUpdateDataTaxonomy.java | 0 ...dateDataTaxonomyDatataxonomyFieldmask.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentity/AsyncCreateEntity.java | 0 .../createentity/SyncCreateEntity.java | 0 .../SyncCreateEntityStringEntity.java | 0 .../SyncCreateEntityZonenameEntity.java | 0 .../createpartition/AsyncCreatePartition.java | 0 .../createpartition/SyncCreatePartition.java | 0 ...yncCreatePartitionEntitynamePartition.java | 0 .../SyncCreatePartitionStringPartition.java | 0 .../deleteentity/AsyncDeleteEntity.java | 0 .../deleteentity/SyncDeleteEntity.java | 0 .../SyncDeleteEntityEntityname.java | 0 .../deleteentity/SyncDeleteEntityString.java | 0 .../deletepartition/AsyncDeletePartition.java | 0 .../deletepartition/SyncDeletePartition.java | 0 .../SyncDeletePartitionPartitionname.java | 0 .../SyncDeletePartitionString.java | 0 .../getentity/AsyncGetEntity.java | 0 .../getentity/SyncGetEntity.java | 0 .../getentity/SyncGetEntityEntityname.java | 0 .../getentity/SyncGetEntityString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getpartition/AsyncGetPartition.java | 0 .../getpartition/SyncGetPartition.java | 0 .../SyncGetPartitionPartitionname.java | 0 .../getpartition/SyncGetPartitionString.java | 0 .../listentities/AsyncListEntities.java | 0 .../listentities/AsyncListEntitiesPaged.java | 0 .../listentities/SyncListEntities.java | 0 .../listentities/SyncListEntitiesString.java | 0 .../SyncListEntitiesZonename.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listpartitions/AsyncListPartitions.java | 0 .../AsyncListPartitionsPaged.java | 0 .../listpartitions/SyncListPartitions.java | 0 .../SyncListPartitionsEntityname.java | 0 .../SyncListPartitionsString.java | 0 .../updateentity/AsyncUpdateEntity.java | 0 .../updateentity/SyncUpdateEntity.java | 0 .../createentity/SyncCreateEntity.java | 0 .../createcontent/SyncCreateContent.java | 0 .../getlake/SyncGetLake.java | 0 .../getdatascan/SyncGetDataScan.java | 0 .../getdatataxonomy/SyncGetDataTaxonomy.java | 0 .../createentity/SyncCreateEntity.java | 0 .../dataplex/v1/DataScanServiceGrpc.java | 937 -- .../dataplex/v1/DataTaxonomyServiceGrpc.java | 1545 --- .../dataplex/v1/DataplexServiceGrpc.java | 3115 ------ .../dataplex/v1/MetadataServiceGrpc.java | 1017 -- .../cloud/dataplex/v1/AnalyzeProto.java | 289 - .../v1/CancelJobRequestOrBuilder.java | 31 - .../cloud/dataplex/v1/ContentProto.java | 214 - .../cloud/dataplex/v1/DataProfileProto.java | 262 - .../cloud/dataplex/v1/DataQualityProto.java | 351 - .../cloud/dataplex/v1/DataScansProto.java | 406 - .../cloud/dataplex/v1/DataTaxonomyProto.java | 577 -- .../v1/DeleteAssetRequestOrBuilder.java | 31 - .../v1/DeleteContentRequestOrBuilder.java | 31 - .../v1/DeleteDataScanRequestOrBuilder.java | 35 - .../v1/DeleteEnvironmentRequestOrBuilder.java | 31 - .../v1/DeleteLakeRequestOrBuilder.java | 31 - .../v1/DeleteTaskRequestOrBuilder.java | 31 - .../v1/DeleteZoneRequestOrBuilder.java | 31 - .../dataplex/v1/GetAssetRequestOrBuilder.java | 31 - .../v1/GetContentRequestOrBuilder.java | 50 - ...tDataAttributeBindingRequestOrBuilder.java | 31 - .../v1/GetDataAttributeRequestOrBuilder.java | 31 - .../v1/GetDataTaxonomyRequestOrBuilder.java | 31 - .../v1/GetEntityRequestOrBuilder.java | 52 - .../v1/GetEnvironmentRequestOrBuilder.java | 31 - .../dataplex/v1/GetJobRequestOrBuilder.java | 31 - .../dataplex/v1/GetLakeRequestOrBuilder.java | 31 - .../dataplex/v1/GetTaskRequestOrBuilder.java | 31 - .../dataplex/v1/GetZoneRequestOrBuilder.java | 31 - .../google/cloud/dataplex/v1/LogsProto.java | 465 - .../cloud/dataplex/v1/MetadataProto.java | 496 - .../cloud/dataplex/v1/ProcessingProto.java | 129 - .../cloud/dataplex/v1/ResourcesProto.java | 582 -- .../cloud/dataplex/v1/SecurityProto.java | 72 - .../cloud/dataplex/v1/ServiceProto.java | 880 -- .../dataplex/v1/StorageAccessOrBuilder.java | 30 - .../google/cloud/dataplex/v1/TasksProto.java | 322 - 782 files changed, 109358 insertions(+), 65701 deletions(-) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java (99%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java (50%) create mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java create mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java create mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java create mode 100644 java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java (78%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java (76%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequest.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java (57%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java (61%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java (61%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java (62%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java (60%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java (62%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java (51%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java (70%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java (53%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java (61%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java (75%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java (74%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java (77%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java (78%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java (59%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java (77%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java (66%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java (73%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java (59%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java (57%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java (55%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java (55%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java (56%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java (82%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java (51%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java (50%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java (64%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java (53%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java (62%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java (73%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java (80%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java (73%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java (76%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java (62%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java (74%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java (77%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java (73%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java (72%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java (100%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadata.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java (58%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java (74%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java (78%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java (51%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java (80%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java (55%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java (61%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java (73%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java (79%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java (63%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java (63%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java (62%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java (70%) create mode 100644 java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java (71%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java (65%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java (61%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java (60%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java (67%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java (58%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java (64%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java (59%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java (68%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java (70%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java (69%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java (66%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java (100%) rename {owl-bot-staging/java-dataplex/v1 => java-dataplex}/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java (100%) delete mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java delete mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java delete mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java delete mode 100644 owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java delete mode 100644 owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java index 0a00cf09a3a1..6c90918b59a5 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.ContentServiceStubSettings; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java index a1df31331710..815657eb9068 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceSettings.java @@ -31,7 +31,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataScanServiceStubSettings; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClient.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java index d3c69166a888..afd6072768b6 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataTaxonomyServiceStubSettings; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java index e057145c59cb..f10ac635d3c3 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceSettings.java @@ -39,7 +39,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataplex.v1.stub.DataplexServiceStubSettings; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java index c9eea8720bcb..5cb25a96d8b6 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceSettings.java @@ -30,7 +30,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.dataplex.v1.stub.MetadataServiceStubSettings; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataScanServiceStubSettings.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataTaxonomyServiceStubSettings.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java index 9daf3497cbe9..63ba2b8ff640 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcContentServiceStub.java @@ -47,7 +47,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java index 57670ec369fd..182adf1e00f7 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataScanServiceStub.java @@ -52,7 +52,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java index 15a6f11c018e..58d6684fa0e4 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataTaxonomyServiceStub.java @@ -61,7 +61,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java index ed82f8e44904..efd9ba05b84f 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcDataplexServiceStub.java @@ -95,7 +95,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java index 5cde3269877b..1b489c918004 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/GrpcMetadataServiceStub.java @@ -49,7 +49,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonContentServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java index bb0d5ff4479b..a4348cd1dc8f 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataScanServiceStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java index 6423cb33f902..6c5d53b09247 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataTaxonomyServiceStub.java @@ -34,7 +34,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java similarity index 99% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java index 95861be3b457..77732f7851c1 100644 --- a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonDataplexServiceStub.java @@ -41,7 +41,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceCallableFactory.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/HttpJsonMetadataServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStub.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java rename to java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json b/java-dataplex/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json rename to java-dataplex/google-cloud-dataplex/src/main/resources/META-INF/native-image/com.google.cloud.dataplex.v1/reflect-config.json diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ContentServiceClientTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataScanServiceClientTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceClientTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/DataplexServiceClientTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MetadataServiceClientTest.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentService.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockContentServiceImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanService.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataScanServiceImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyService.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataTaxonomyServiceImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexService.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockDataplexServiceImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataService.java diff --git a/owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java b/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java rename to java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/MockMetadataServiceImpl.java diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java similarity index 50% rename from owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java rename to java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java index 3cb4448563a0..b7126affdd55 100644 --- a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.dataplex.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * ContentService manages Notebook and SQL Scripts for Dataplex.
  * 
@@ -18,299 +35,388 @@ private ContentServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.ContentService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateContentMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> + getCreateContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateContent", requestType = com.google.cloud.dataplex.v1.CreateContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateContentMethod() { - io.grpc.MethodDescriptor getCreateContentMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> + getCreateContentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateContentRequest, com.google.cloud.dataplex.v1.Content> + getCreateContentMethod; if ((getCreateContentMethod = ContentServiceGrpc.getCreateContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getCreateContentMethod = ContentServiceGrpc.getCreateContentMethod) == null) { - ContentServiceGrpc.getCreateContentMethod = getCreateContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("CreateContent")) - .build(); + ContentServiceGrpc.getCreateContentMethod = + getCreateContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateContentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("CreateContent")) + .build(); } } } return getCreateContentMethod; } - private static volatile io.grpc.MethodDescriptor getUpdateContentMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> + getUpdateContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateContent", requestType = com.google.cloud.dataplex.v1.UpdateContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateContentMethod() { - io.grpc.MethodDescriptor getUpdateContentMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> + getUpdateContentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateContentRequest, com.google.cloud.dataplex.v1.Content> + getUpdateContentMethod; if ((getUpdateContentMethod = ContentServiceGrpc.getUpdateContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getUpdateContentMethod = ContentServiceGrpc.getUpdateContentMethod) == null) { - ContentServiceGrpc.getUpdateContentMethod = getUpdateContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("UpdateContent")) - .build(); + ContentServiceGrpc.getUpdateContentMethod = + getUpdateContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateContentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("UpdateContent")) + .build(); } } } return getUpdateContentMethod; } - private static volatile io.grpc.MethodDescriptor getDeleteContentMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> + getDeleteContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteContent", requestType = com.google.cloud.dataplex.v1.DeleteContentRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteContentMethod() { - io.grpc.MethodDescriptor getDeleteContentMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> + getDeleteContentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty> + getDeleteContentMethod; if ((getDeleteContentMethod = ContentServiceGrpc.getDeleteContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getDeleteContentMethod = ContentServiceGrpc.getDeleteContentMethod) == null) { - ContentServiceGrpc.getDeleteContentMethod = getDeleteContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("DeleteContent")) - .build(); + ContentServiceGrpc.getDeleteContentMethod = + getDeleteContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteContentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("DeleteContent")) + .build(); } } } return getDeleteContentMethod; } - private static volatile io.grpc.MethodDescriptor getGetContentMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> + getGetContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetContent", requestType = com.google.cloud.dataplex.v1.GetContentRequest.class, responseType = com.google.cloud.dataplex.v1.Content.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetContentMethod() { - io.grpc.MethodDescriptor getGetContentMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> + getGetContentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetContentRequest, com.google.cloud.dataplex.v1.Content> + getGetContentMethod; if ((getGetContentMethod = ContentServiceGrpc.getGetContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getGetContentMethod = ContentServiceGrpc.getGetContentMethod) == null) { - ContentServiceGrpc.getGetContentMethod = getGetContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Content.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetContent")) - .build(); + ContentServiceGrpc.getGetContentMethod = + getGetContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetContentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Content.getDefaultInstance())) + .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetContent")) + .build(); } } } return getGetContentMethod; } - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", requestType = com.google.iam.v1.GetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; if ((getGetIamPolicyMethod = ContentServiceGrpc.getGetIamPolicyMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getGetIamPolicyMethod = ContentServiceGrpc.getGetIamPolicyMethod) == null) { - ContentServiceGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("GetIamPolicy")) - .build(); + ContentServiceGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("GetIamPolicy")) + .build(); } } } return getGetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", requestType = com.google.iam.v1.SetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; if ((getSetIamPolicyMethod = ContentServiceGrpc.getSetIamPolicyMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getSetIamPolicyMethod = ContentServiceGrpc.getSetIamPolicyMethod) == null) { - ContentServiceGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("SetIamPolicy")) - .build(); + ContentServiceGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("SetIamPolicy")) + .build(); } } } return getSetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", requestType = com.google.iam.v1.TestIamPermissionsRequest.class, responseType = com.google.iam.v1.TestIamPermissionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) == null) { synchronized (ContentServiceGrpc.class) { - if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) == null) { - ContentServiceGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("TestIamPermissions")) - .build(); + if ((getTestIamPermissionsMethod = ContentServiceGrpc.getTestIamPermissionsMethod) + == null) { + ContentServiceGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("TestIamPermissions")) + .build(); } } } return getTestIamPermissionsMethod; } - private static volatile io.grpc.MethodDescriptor getListContentMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListContentRequest, + com.google.cloud.dataplex.v1.ListContentResponse> + getListContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListContent", requestType = com.google.cloud.dataplex.v1.ListContentRequest.class, responseType = com.google.cloud.dataplex.v1.ListContentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListContentMethod() { - io.grpc.MethodDescriptor getListContentMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListContentRequest, + com.google.cloud.dataplex.v1.ListContentResponse> + getListContentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListContentRequest, + com.google.cloud.dataplex.v1.ListContentResponse> + getListContentMethod; if ((getListContentMethod = ContentServiceGrpc.getListContentMethod) == null) { synchronized (ContentServiceGrpc.class) { if ((getListContentMethod = ContentServiceGrpc.getListContentMethod) == null) { - ContentServiceGrpc.getListContentMethod = getListContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance())) - .setSchemaDescriptor(new ContentServiceMethodDescriptorSupplier("ListContent")) - .build(); + ContentServiceGrpc.getListContentMethod = + getListContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListContentResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ContentServiceMethodDescriptorSupplier("ListContent")) + .build(); } } } return getListContentMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static ContentServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceStub(channel, callOptions); + } + }; return ContentServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static ContentServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static ContentServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceBlockingStub(channel, callOptions); + } + }; return ContentServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ContentServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ContentServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ContentServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ContentServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContentServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContentServiceFutureStub(channel, callOptions); + } + }; return ContentServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
@@ -318,46 +424,63 @@ public ContentServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpt public interface AsyncService { /** + * + * *
      * Create a content.
      * 
*/ - default void createContent(com.google.cloud.dataplex.v1.CreateContentRequest request, + default void createContent( + com.google.cloud.dataplex.v1.CreateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateContentMethod(), responseObserver); } /** + * + * *
      * Update a content. Only supports full resource update.
      * 
*/ - default void updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request, + default void updateContent( + com.google.cloud.dataplex.v1.UpdateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateContentMethod(), responseObserver); } /** + * + * *
      * Delete a content.
      * 
*/ - default void deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request, + default void deleteContent( + com.google.cloud.dataplex.v1.DeleteContentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteContentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteContentMethod(), responseObserver); } /** + * + * *
      * Get a content resource.
      * 
*/ - default void getContent(com.google.cloud.dataplex.v1.GetContentRequest request, + default void getContent( + com.google.cloud.dataplex.v1.GetContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetContentMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -366,12 +489,16 @@ default void getContent(com.google.cloud.dataplex.v1.GetContentRequest request,
      * on the resource.
      * 
*/ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -379,12 +506,16 @@ default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * on the resource.
      * 
*/ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -396,100 +527,129 @@ default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * List content.
      * 
*/ - default void listContent(com.google.cloud.dataplex.v1.ListContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListContentMethod(), responseObserver); + default void listContent( + com.google.cloud.dataplex.v1.ListContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListContentMethod(), responseObserver); } } /** * Base class for the server implementation of the service ContentService. + * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ - public static abstract class ContentServiceImplBase + public abstract static class ContentServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return ContentServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ContentService. + * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceStub extends io.grpc.stub.AbstractAsyncStub { - private ContentServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected ContentServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected ContentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ContentServiceStub(channel, callOptions); } /** + * + * *
      * Create a content.
      * 
*/ - public void createContent(com.google.cloud.dataplex.v1.CreateContentRequest request, + public void createContent( + com.google.cloud.dataplex.v1.CreateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateContentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateContentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Update a content. Only supports full resource update.
      * 
*/ - public void updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request, + public void updateContent( + com.google.cloud.dataplex.v1.UpdateContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateContentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateContentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Delete a content.
      * 
*/ - public void deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request, + public void deleteContent( + com.google.cloud.dataplex.v1.DeleteContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteContentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteContentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Get a content resource.
      * 
*/ - public void getContent(com.google.cloud.dataplex.v1.GetContentRequest request, + public void getContent( + com.google.cloud.dataplex.v1.GetContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetContentMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -498,13 +658,18 @@ public void getContent(com.google.cloud.dataplex.v1.GetContentRequest request,
      * on the resource.
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -512,13 +677,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * on the resource.
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -530,34 +700,44 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * List content.
      * 
*/ - public void listContent(com.google.cloud.dataplex.v1.ListContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listContent( + com.google.cloud.dataplex.v1.ListContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListContentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListContentMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ContentService. + * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ContentServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -568,46 +748,60 @@ protected ContentServiceBlockingStub build( } /** + * + * *
      * Create a content.
      * 
*/ - public com.google.cloud.dataplex.v1.Content createContent(com.google.cloud.dataplex.v1.CreateContentRequest request) { + public com.google.cloud.dataplex.v1.Content createContent( + com.google.cloud.dataplex.v1.CreateContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateContentMethod(), getCallOptions(), request); } /** + * + * *
      * Update a content. Only supports full resource update.
      * 
*/ - public com.google.cloud.dataplex.v1.Content updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request) { + public com.google.cloud.dataplex.v1.Content updateContent( + com.google.cloud.dataplex.v1.UpdateContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateContentMethod(), getCallOptions(), request); } /** + * + * *
      * Delete a content.
      * 
*/ - public com.google.protobuf.Empty deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request) { + public com.google.protobuf.Empty deleteContent( + com.google.cloud.dataplex.v1.DeleteContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteContentMethod(), getCallOptions(), request); } /** + * + * *
      * Get a content resource.
      * 
*/ - public com.google.cloud.dataplex.v1.Content getContent(com.google.cloud.dataplex.v1.GetContentRequest request) { + public com.google.cloud.dataplex.v1.Content getContent( + com.google.cloud.dataplex.v1.GetContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetContentMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -622,6 +816,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -635,6 +831,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -646,17 +844,21 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * List content.
      * 
*/ - public com.google.cloud.dataplex.v1.ListContentResponse listContent(com.google.cloud.dataplex.v1.ListContentRequest request) { + public com.google.cloud.dataplex.v1.ListContentResponse listContent( + com.google.cloud.dataplex.v1.ListContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListContentMethod(), getCallOptions(), request); } @@ -664,14 +866,14 @@ public com.google.cloud.dataplex.v1.ListContentResponse listContent(com.google.c /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ContentService. + * *
    * ContentService manages Notebook and SQL Scripts for Dataplex.
    * 
*/ public static final class ContentServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private ContentServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ContentServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -682,50 +884,60 @@ protected ContentServiceFutureStub build( } /** + * + * *
      * Create a content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createContent( - com.google.cloud.dataplex.v1.CreateContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createContent(com.google.cloud.dataplex.v1.CreateContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateContentMethod(), getCallOptions()), request); } /** + * + * *
      * Update a content. Only supports full resource update.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateContent( - com.google.cloud.dataplex.v1.UpdateContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateContent(com.google.cloud.dataplex.v1.UpdateContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateContentMethod(), getCallOptions()), request); } /** + * + * *
      * Delete a content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteContent( - com.google.cloud.dataplex.v1.DeleteContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteContent(com.google.cloud.dataplex.v1.DeleteContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteContentMethod(), getCallOptions()), request); } /** + * + * *
      * Get a content resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getContent( - com.google.cloud.dataplex.v1.GetContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getContent(com.google.cloud.dataplex.v1.GetContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetContentMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the access control policy for a contentitem resource. A `NOT_FOUND`
      * error is returned if the resource does not exist. An empty policy is
@@ -734,13 +946,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy on the specified contentitem resource.
      * Replaces any existing policy.
@@ -748,13 +962,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Returns the caller's permissions on a resource.
      * If the resource does not exist, an empty set of
@@ -766,19 +982,23 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.iam.v1.TestIamPermissionsResponse>
+        testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * List content.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listContent( - com.google.cloud.dataplex.v1.ListContentRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListContentResponse> + listContent(com.google.cloud.dataplex.v1.ListContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListContentMethod(), getCallOptions()), request); } @@ -793,11 +1013,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -811,36 +1031,46 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CONTENT: - serviceImpl.createContent((com.google.cloud.dataplex.v1.CreateContentRequest) request, + serviceImpl.createContent( + (com.google.cloud.dataplex.v1.CreateContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONTENT: - serviceImpl.updateContent((com.google.cloud.dataplex.v1.UpdateContentRequest) request, + serviceImpl.updateContent( + (com.google.cloud.dataplex.v1.UpdateContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONTENT: - serviceImpl.deleteContent((com.google.cloud.dataplex.v1.DeleteContentRequest) request, + serviceImpl.deleteContent( + (com.google.cloud.dataplex.v1.DeleteContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CONTENT: - serviceImpl.getContent((com.google.cloud.dataplex.v1.GetContentRequest) request, + serviceImpl.getContent( + (com.google.cloud.dataplex.v1.GetContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_CONTENT: - serviceImpl.listContent((com.google.cloud.dataplex.v1.ListContentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listContent( + (com.google.cloud.dataplex.v1.ListContentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -861,66 +1091,59 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateContentRequest, - com.google.cloud.dataplex.v1.Content>( - service, METHODID_CREATE_CONTENT))) + getCreateContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateContentRequest, + com.google.cloud.dataplex.v1.Content>(service, METHODID_CREATE_CONTENT))) .addMethod( - getUpdateContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateContentRequest, - com.google.cloud.dataplex.v1.Content>( - service, METHODID_UPDATE_CONTENT))) + getUpdateContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateContentRequest, + com.google.cloud.dataplex.v1.Content>(service, METHODID_UPDATE_CONTENT))) .addMethod( - getDeleteContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteContentRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_CONTENT))) + getDeleteContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteContentRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_CONTENT))) .addMethod( - getGetContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetContentRequest, - com.google.cloud.dataplex.v1.Content>( - service, METHODID_GET_CONTENT))) + getGetContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetContentRequest, + com.google.cloud.dataplex.v1.Content>(service, METHODID_GET_CONTENT))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListContentRequest, - com.google.cloud.dataplex.v1.ListContentResponse>( - service, METHODID_LIST_CONTENT))) + getListContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListContentRequest, + com.google.cloud.dataplex.v1.ListContentResponse>( + service, METHODID_LIST_CONTENT))) .build(); } - private static abstract class ContentServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class ContentServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { ContentServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -962,17 +1185,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ContentServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ContentServiceFileDescriptorSupplier()) - .addMethod(getCreateContentMethod()) - .addMethod(getUpdateContentMethod()) - .addMethod(getDeleteContentMethod()) - .addMethod(getGetContentMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getListContentMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ContentServiceFileDescriptorSupplier()) + .addMethod(getCreateContentMethod()) + .addMethod(getUpdateContentMethod()) + .addMethod(getDeleteContentMethod()) + .addMethod(getGetContentMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getListContentMethod()) + .build(); } } } diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java new file mode 100644 index 000000000000..d08f895a7eab --- /dev/null +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java @@ -0,0 +1,1196 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * DataScanService manages DataScan resources which can be configured to run
+ * various types of data scanning workload and generate enriched metadata (e.g.
+ * Data Profile, Data Quality) for the data source.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/datascans.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataScanServiceGrpc { + + private DataScanServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataScanService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> + getCreateDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataScan", + requestType = com.google.cloud.dataplex.v1.CreateDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> + getCreateDataScanMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataScanRequest, com.google.longrunning.Operation> + getCreateDataScanMethod; + if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { + DataScanServiceGrpc.getCreateDataScanMethod = + getCreateDataScanMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataScanRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("CreateDataScan")) + .build(); + } + } + } + return getCreateDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> + getUpdateDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataScan", + requestType = com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> + getUpdateDataScanMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataScanRequest, com.google.longrunning.Operation> + getUpdateDataScanMethod; + if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { + DataScanServiceGrpc.getUpdateDataScanMethod = + getUpdateDataScanMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataScanRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("UpdateDataScan")) + .build(); + } + } + } + return getUpdateDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> + getDeleteDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataScan", + requestType = com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> + getDeleteDataScanMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataScanRequest, com.google.longrunning.Operation> + getDeleteDataScanMethod; + if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { + DataScanServiceGrpc.getDeleteDataScanMethod = + getDeleteDataScanMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataScanRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("DeleteDataScan")) + .build(); + } + } + } + return getDeleteDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> + getGetDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataScan", + requestType = com.google.cloud.dataplex.v1.GetDataScanRequest.class, + responseType = com.google.cloud.dataplex.v1.DataScan.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> + getGetDataScanMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanRequest, com.google.cloud.dataplex.v1.DataScan> + getGetDataScanMethod; + if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { + DataScanServiceGrpc.getGetDataScanMethod = + getGetDataScanMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataScan.getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("GetDataScan")) + .build(); + } + } + } + return getGetDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScansRequest, + com.google.cloud.dataplex.v1.ListDataScansResponse> + getListDataScansMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataScans", + requestType = com.google.cloud.dataplex.v1.ListDataScansRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataScansResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScansRequest, + com.google.cloud.dataplex.v1.ListDataScansResponse> + getListDataScansMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScansRequest, + com.google.cloud.dataplex.v1.ListDataScansResponse> + getListDataScansMethod; + if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { + DataScanServiceGrpc.getListDataScansMethod = + getListDataScansMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScans")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScansRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScansResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("ListDataScans")) + .build(); + } + } + } + return getListDataScansMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunDataScanRequest, + com.google.cloud.dataplex.v1.RunDataScanResponse> + getRunDataScanMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunDataScan", + requestType = com.google.cloud.dataplex.v1.RunDataScanRequest.class, + responseType = com.google.cloud.dataplex.v1.RunDataScanResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunDataScanRequest, + com.google.cloud.dataplex.v1.RunDataScanResponse> + getRunDataScanMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunDataScanRequest, + com.google.cloud.dataplex.v1.RunDataScanResponse> + getRunDataScanMethod; + if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { + DataScanServiceGrpc.getRunDataScanMethod = + getRunDataScanMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunDataScan")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunDataScanResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("RunDataScan")) + .build(); + } + } + } + return getRunDataScanMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanJobRequest, + com.google.cloud.dataplex.v1.DataScanJob> + getGetDataScanJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataScanJob", + requestType = com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, + responseType = com.google.cloud.dataplex.v1.DataScanJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanJobRequest, + com.google.cloud.dataplex.v1.DataScanJob> + getGetDataScanJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataScanJobRequest, + com.google.cloud.dataplex.v1.DataScanJob> + getGetDataScanJobMethod; + if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { + DataScanServiceGrpc.getGetDataScanJobMethod = + getGetDataScanJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScanJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataScanJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("GetDataScanJob")) + .build(); + } + } + } + return getGetDataScanJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScanJobsRequest, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse> + getListDataScanJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataScanJobs", + requestType = com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScanJobsRequest, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse> + getListDataScanJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataScanJobsRequest, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse> + getListDataScanJobsMethod; + if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { + synchronized (DataScanServiceGrpc.class) { + if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { + DataScanServiceGrpc.getListDataScanJobsMethod = + getListDataScanJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScanJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataScanJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataScanServiceMethodDescriptorSupplier("ListDataScanJobs")) + .build(); + } + } + } + return getListDataScanJobsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataScanServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceStub(channel, callOptions); + } + }; + return DataScanServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataScanServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceBlockingStub(channel, callOptions); + } + }; + return DataScanServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataScanServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataScanServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceFutureStub(channel, callOptions); + } + }; + return DataScanServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a DataScan resource.
+     * 
+ */ + default void createDataScan( + com.google.cloud.dataplex.v1.CreateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataScanMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataScan resource.
+     * 
+ */ + default void updateDataScan( + com.google.cloud.dataplex.v1.UpdateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataScanMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataScan resource.
+     * 
+ */ + default void deleteDataScan( + com.google.cloud.dataplex.v1.DeleteDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataScanMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a DataScan resource.
+     * 
+ */ + default void getDataScan( + com.google.cloud.dataplex.v1.GetDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataScanMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataScans.
+     * 
+ */ + default void listDataScans( + com.google.cloud.dataplex.v1.ListDataScansRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataScansMethod(), responseObserver); + } + + /** + * + * + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + default void runDataScan( + com.google.cloud.dataplex.v1.RunDataScanRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunDataScanMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + default void getDataScanJob( + com.google.cloud.dataplex.v1.GetDataScanJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataScanJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + default void listDataScanJobs( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataScanJobsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataScanService. + * + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public abstract static class DataScanServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataScanServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataScanService. + * + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataScanServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a DataScan resource.
+     * 
+ */ + public void createDataScan( + com.google.cloud.dataplex.v1.CreateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataScan resource.
+     * 
+ */ + public void updateDataScan( + com.google.cloud.dataplex.v1.UpdateDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public void deleteDataScan( + com.google.cloud.dataplex.v1.DeleteDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a DataScan resource.
+     * 
+ */ + public void getDataScan( + com.google.cloud.dataplex.v1.GetDataScanRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataScanMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataScans.
+     * 
+ */ + public void listDataScans( + com.google.cloud.dataplex.v1.ListDataScansRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataScansMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public void runDataScan( + com.google.cloud.dataplex.v1.RunDataScanRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunDataScanMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public void getDataScanJob( + com.google.cloud.dataplex.v1.GetDataScanJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public void listDataScanJobs( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataScanService. + * + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataScanServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataScan( + com.google.cloud.dataplex.v1.CreateDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataScanMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataScan( + com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataScanMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataScan( + com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataScanMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a DataScan resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataScan getDataScan( + com.google.cloud.dataplex.v1.GetDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataScanMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataScans.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans( + com.google.cloud.dataplex.v1.ListDataScansRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataScansMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan( + com.google.cloud.dataplex.v1.RunDataScanRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunDataScanMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob( + com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataScanJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs( + com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataScanJobsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataScanService. + * + *
+   * DataScanService manages DataScan resources which can be configured to run
+   * various types of data scanning workload and generate enriched metadata (e.g.
+   * Data Profile, Data Quality) for the data source.
+   * 
+ */ + public static final class DataScanServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataScanServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataScanServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataScanServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a DataScan resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataScans.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListDataScansResponse> + listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataScansMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Runs an on-demand execution of a DataScan
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.RunDataScanResponse> + runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a DataScanJob resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.DataScanJob> + getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataScanJobs under the given DataScan.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListDataScanJobsResponse> + listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_DATA_SCAN = 0; + private static final int METHODID_UPDATE_DATA_SCAN = 1; + private static final int METHODID_DELETE_DATA_SCAN = 2; + private static final int METHODID_GET_DATA_SCAN = 3; + private static final int METHODID_LIST_DATA_SCANS = 4; + private static final int METHODID_RUN_DATA_SCAN = 5; + private static final int METHODID_GET_DATA_SCAN_JOB = 6; + private static final int METHODID_LIST_DATA_SCAN_JOBS = 7; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_DATA_SCAN: + serviceImpl.createDataScan( + (com.google.cloud.dataplex.v1.CreateDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_SCAN: + serviceImpl.updateDataScan( + (com.google.cloud.dataplex.v1.UpdateDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_SCAN: + serviceImpl.deleteDataScan( + (com.google.cloud.dataplex.v1.DeleteDataScanRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SCAN: + serviceImpl.getDataScan( + (com.google.cloud.dataplex.v1.GetDataScanRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_SCANS: + serviceImpl.listDataScans( + (com.google.cloud.dataplex.v1.ListDataScansRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_DATA_SCAN: + serviceImpl.runDataScan( + (com.google.cloud.dataplex.v1.RunDataScanRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_SCAN_JOB: + serviceImpl.getDataScanJob( + (com.google.cloud.dataplex.v1.GetDataScanJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_SCAN_JOBS: + serviceImpl.listDataScanJobs( + (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataScanRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_SCAN))) + .addMethod( + getUpdateDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataScanRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_SCAN))) + .addMethod( + getDeleteDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataScanRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_SCAN))) + .addMethod( + getGetDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataScanRequest, + com.google.cloud.dataplex.v1.DataScan>(service, METHODID_GET_DATA_SCAN))) + .addMethod( + getListDataScansMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataScansRequest, + com.google.cloud.dataplex.v1.ListDataScansResponse>( + service, METHODID_LIST_DATA_SCANS))) + .addMethod( + getRunDataScanMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.RunDataScanRequest, + com.google.cloud.dataplex.v1.RunDataScanResponse>( + service, METHODID_RUN_DATA_SCAN))) + .addMethod( + getGetDataScanJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataScanJobRequest, + com.google.cloud.dataplex.v1.DataScanJob>(service, METHODID_GET_DATA_SCAN_JOB))) + .addMethod( + getListDataScanJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataScanJobsRequest, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse>( + service, METHODID_LIST_DATA_SCAN_JOBS))) + .build(); + } + + private abstract static class DataScanServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataScanServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataScanService"); + } + } + + private static final class DataScanServiceFileDescriptorSupplier + extends DataScanServiceBaseDescriptorSupplier { + DataScanServiceFileDescriptorSupplier() {} + } + + private static final class DataScanServiceMethodDescriptorSupplier + extends DataScanServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataScanServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataScanServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataScanServiceFileDescriptorSupplier()) + .addMethod(getCreateDataScanMethod()) + .addMethod(getUpdateDataScanMethod()) + .addMethod(getDeleteDataScanMethod()) + .addMethod(getGetDataScanMethod()) + .addMethod(getListDataScansMethod()) + .addMethod(getRunDataScanMethod()) + .addMethod(getGetDataScanJobMethod()) + .addMethod(getListDataScanJobsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java new file mode 100644 index 000000000000..d8dcf875404d --- /dev/null +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java @@ -0,0 +1,2081 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * DataTaxonomyService enables attribute-based governance. The resources
+ * currently offered include DataTaxonomy and DataAttribute.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/data_taxonomy.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataTaxonomyServiceGrpc { + + private DataTaxonomyServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.dataplex.v1.DataTaxonomyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, com.google.longrunning.Operation> + getCreateDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, com.google.longrunning.Operation> + getCreateDataTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, + com.google.longrunning.Operation> + getCreateDataTaxonomyMethod; + if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) + == null) { + DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod = + getCreateDataTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataTaxonomy")) + .build(); + } + } + } + return getCreateDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, com.google.longrunning.Operation> + getUpdateDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, com.google.longrunning.Operation> + getUpdateDataTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, + com.google.longrunning.Operation> + getUpdateDataTaxonomyMethod; + if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) + == null) { + DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod = + getUpdateDataTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataTaxonomy")) + .build(); + } + } + } + return getUpdateDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, com.google.longrunning.Operation> + getDeleteDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, com.google.longrunning.Operation> + getDeleteDataTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, + com.google.longrunning.Operation> + getDeleteDataTaxonomyMethod; + if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) + == null) { + DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod = + getDeleteDataTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataTaxonomy")) + .build(); + } + } + } + return getDeleteDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> + getListDataTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataTaxonomies", + requestType = com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> + getListDataTaxonomiesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> + getListDataTaxonomiesMethod; + if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) + == null) { + DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod = + getListDataTaxonomiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("ListDataTaxonomies")) + .build(); + } + } + } + return getListDataTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, + com.google.cloud.dataplex.v1.DataTaxonomy> + getGetDataTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataTaxonomy", + requestType = com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, + responseType = com.google.cloud.dataplex.v1.DataTaxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, + com.google.cloud.dataplex.v1.DataTaxonomy> + getGetDataTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, + com.google.cloud.dataplex.v1.DataTaxonomy> + getGetDataTaxonomyMethod; + if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { + DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod = + getGetDataTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("GetDataTaxonomy")) + .build(); + } + } + } + return getGetDataTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getCreateDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getCreateDataAttributeBindingMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getCreateDataAttributeBindingMethod; + if ((getCreateDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) + == null) { + DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod = + getCreateDataAttributeBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier( + "CreateDataAttributeBinding")) + .build(); + } + } + } + return getCreateDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getUpdateDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getUpdateDataAttributeBindingMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, + com.google.longrunning.Operation> + getUpdateDataAttributeBindingMethod; + if ((getUpdateDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) + == null) { + DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod = + getUpdateDataAttributeBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier( + "UpdateDataAttributeBinding")) + .build(); + } + } + } + return getUpdateDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, + com.google.longrunning.Operation> + getDeleteDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, + com.google.longrunning.Operation> + getDeleteDataAttributeBindingMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, + com.google.longrunning.Operation> + getDeleteDataAttributeBindingMethod; + if ((getDeleteDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) + == null) { + DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod = + getDeleteDataAttributeBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier( + "DeleteDataAttributeBinding")) + .build(); + } + } + } + return getDeleteDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> + getListDataAttributeBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataAttributeBindings", + requestType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> + getListDataAttributeBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> + getListDataAttributeBindingsMethod; + if ((getListDataAttributeBindingsMethod = + DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataAttributeBindingsMethod = + DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) + == null) { + DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod = + getListDataAttributeBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListDataAttributeBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier( + "ListDataAttributeBindings")) + .build(); + } + } + } + return getListDataAttributeBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, + com.google.cloud.dataplex.v1.DataAttributeBinding> + getGetDataAttributeBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataAttributeBinding", + requestType = com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, + responseType = com.google.cloud.dataplex.v1.DataAttributeBinding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, + com.google.cloud.dataplex.v1.DataAttributeBinding> + getGetDataAttributeBindingMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, + com.google.cloud.dataplex.v1.DataAttributeBinding> + getGetDataAttributeBindingMethod; + if ((getGetDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataAttributeBindingMethod = + DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) + == null) { + DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod = + getGetDataAttributeBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataAttributeBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataAttributeBinding + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier( + "GetDataAttributeBinding")) + .build(); + } + } + } + return getGetDataAttributeBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeRequest, com.google.longrunning.Operation> + getCreateDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataAttribute", + requestType = com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeRequest, com.google.longrunning.Operation> + getCreateDataAttributeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateDataAttributeRequest, + com.google.longrunning.Operation> + getCreateDataAttributeMethod; + if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) + == null) { + DataTaxonomyServiceGrpc.getCreateDataAttributeMethod = + getCreateDataAttributeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttribute")) + .build(); + } + } + } + return getCreateDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, com.google.longrunning.Operation> + getUpdateDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttribute", + requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, com.google.longrunning.Operation> + getUpdateDataAttributeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, + com.google.longrunning.Operation> + getUpdateDataAttributeMethod; + if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) + == null) { + DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod = + getUpdateDataAttributeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttribute")) + .build(); + } + } + } + return getUpdateDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, com.google.longrunning.Operation> + getDeleteDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttribute", + requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, com.google.longrunning.Operation> + getDeleteDataAttributeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, + com.google.longrunning.Operation> + getDeleteDataAttributeMethod; + if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) + == null) { + DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod = + getDeleteDataAttributeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttribute")) + .build(); + } + } + } + return getDeleteDataAttributeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributesRequest, + com.google.cloud.dataplex.v1.ListDataAttributesResponse> + getListDataAttributesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataAttributes", + requestType = com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributesRequest, + com.google.cloud.dataplex.v1.ListDataAttributesResponse> + getListDataAttributesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListDataAttributesRequest, + com.google.cloud.dataplex.v1.ListDataAttributesResponse> + getListDataAttributesMethod; + if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) + == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) + == null) { + DataTaxonomyServiceGrpc.getListDataAttributesMethod = + getListDataAttributesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListDataAttributesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributes")) + .build(); + } + } + } + return getListDataAttributesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeRequest, + com.google.cloud.dataplex.v1.DataAttribute> + getGetDataAttributeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataAttribute", + requestType = com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, + responseType = com.google.cloud.dataplex.v1.DataAttribute.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeRequest, + com.google.cloud.dataplex.v1.DataAttribute> + getGetDataAttributeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetDataAttributeRequest, + com.google.cloud.dataplex.v1.DataAttribute> + getGetDataAttributeMethod; + if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) + == null) { + DataTaxonomyServiceGrpc.getGetDataAttributeMethod = + getGetDataAttributeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttribute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetDataAttributeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance())) + .setSchemaDescriptor( + new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttribute")) + .build(); + } + } + } + return getGetDataAttributeMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataTaxonomyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceStub(channel, callOptions); + } + }; + return DataTaxonomyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataTaxonomyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceBlockingStub(channel, callOptions); + } + }; + return DataTaxonomyServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataTaxonomyServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataTaxonomyServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceFutureStub(channel, callOptions); + } + }; + return DataTaxonomyServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + default void createDataTaxonomy( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + default void updateDataTaxonomy( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + default void deleteDataTaxonomy( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + default void listDataTaxonomies( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataTaxonomiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + default void getDataTaxonomy( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + default void createDataAttributeBinding( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataAttributeBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + default void updateDataAttributeBinding( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataAttributeBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + default void deleteDataAttributeBinding( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataAttributeBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + default void listDataAttributeBindings( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataAttributeBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + default void getDataAttributeBinding( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataAttributeBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a DataAttribute resource.
+     * 
+ */ + default void createDataAttribute( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataAttributeMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + default void updateDataAttribute( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataAttributeMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + default void deleteDataAttribute( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataAttributeMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + default void listDataAttributes( + com.google.cloud.dataplex.v1.ListDataAttributesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataAttributesMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + default void getDataAttribute( + com.google.cloud.dataplex.v1.GetDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataAttributeMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataTaxonomyService. + * + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public abstract static class DataTaxonomyServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataTaxonomyServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataTaxonomyService. + * + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataTaxonomyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public void createDataTaxonomy( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public void updateDataTaxonomy( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public void deleteDataTaxonomy( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public void listDataTaxonomies( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public void getDataTaxonomy( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public void createDataAttributeBinding( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public void updateDataAttributeBinding( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public void deleteDataAttributeBinding( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public void listDataAttributeBindings( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public void getDataAttributeBinding( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public void createDataAttribute( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public void updateDataAttribute( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public void deleteDataAttribute( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public void listDataAttributes( + com.google.cloud.dataplex.v1.ListDataAttributesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public void getDataAttribute( + com.google.cloud.dataplex.v1.GetDataAttributeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataTaxonomyService. + * + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataTaxonomyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataTaxonomy( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataTaxonomy( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataTaxonomy( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse listDataTaxonomies( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataTaxonomiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy( + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataAttributeBinding( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataAttributeBinding( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataAttributeBinding( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse listDataAttributeBindings( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataAttributeBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataAttributeBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public com.google.longrunning.Operation createDataAttribute( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataAttributeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public com.google.longrunning.Operation updateDataAttribute( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataAttributeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteDataAttribute( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataAttributeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListDataAttributesResponse listDataAttributes( + com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataAttributesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute( + com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataAttributeMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTaxonomyService. + * + *
+   * DataTaxonomyService enables attribute-based governance. The resources
+   * currently offered include DataTaxonomy and DataAttribute.
+   * 
+ */ + public static final class DataTaxonomyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataTaxonomyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataTaxonomyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataTaxonomyServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
+     * must be deleted before the DataTaxonomy can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataTaxonomy resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse> + listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves a DataTaxonomy resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.DataTaxonomy> + getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDataAttributeBinding( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDataAttributeBinding( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataAttributeBinding resource. All attributes within the
+     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
+     * deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataAttributeBinding( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataAttributeBinding resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse> + listDataAttributeBindings( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves a DataAttributeBinding resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.DataAttributeBinding> + getDataAttributeBinding( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create a DataAttribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataAttribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a Data Attribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Data Attribute resources in a DataTaxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListDataAttributesResponse> + listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves a Data Attribute resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.DataAttribute> + getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_DATA_TAXONOMY = 0; + private static final int METHODID_UPDATE_DATA_TAXONOMY = 1; + private static final int METHODID_DELETE_DATA_TAXONOMY = 2; + private static final int METHODID_LIST_DATA_TAXONOMIES = 3; + private static final int METHODID_GET_DATA_TAXONOMY = 4; + private static final int METHODID_CREATE_DATA_ATTRIBUTE_BINDING = 5; + private static final int METHODID_UPDATE_DATA_ATTRIBUTE_BINDING = 6; + private static final int METHODID_DELETE_DATA_ATTRIBUTE_BINDING = 7; + private static final int METHODID_LIST_DATA_ATTRIBUTE_BINDINGS = 8; + private static final int METHODID_GET_DATA_ATTRIBUTE_BINDING = 9; + private static final int METHODID_CREATE_DATA_ATTRIBUTE = 10; + private static final int METHODID_UPDATE_DATA_ATTRIBUTE = 11; + private static final int METHODID_DELETE_DATA_ATTRIBUTE = 12; + private static final int METHODID_LIST_DATA_ATTRIBUTES = 13; + private static final int METHODID_GET_DATA_ATTRIBUTE = 14; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_DATA_TAXONOMY: + serviceImpl.createDataTaxonomy( + (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_TAXONOMY: + serviceImpl.updateDataTaxonomy( + (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_TAXONOMY: + serviceImpl.deleteDataTaxonomy( + (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_TAXONOMIES: + serviceImpl.listDataTaxonomies( + (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_TAXONOMY: + serviceImpl.getDataTaxonomy( + (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DATA_ATTRIBUTE_BINDING: + serviceImpl.createDataAttributeBinding( + (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_ATTRIBUTE_BINDING: + serviceImpl.updateDataAttributeBinding( + (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_ATTRIBUTE_BINDING: + serviceImpl.deleteDataAttributeBinding( + (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_ATTRIBUTE_BINDINGS: + serviceImpl.listDataAttributeBindings( + (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>) + responseObserver); + break; + case METHODID_GET_DATA_ATTRIBUTE_BINDING: + serviceImpl.getDataAttributeBinding( + (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DATA_ATTRIBUTE: + serviceImpl.createDataAttribute( + (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_ATTRIBUTE: + serviceImpl.updateDataAttribute( + (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_ATTRIBUTE: + serviceImpl.deleteDataAttribute( + (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_ATTRIBUTES: + serviceImpl.listDataAttributes( + (com.google.cloud.dataplex.v1.ListDataAttributesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_ATTRIBUTE: + serviceImpl.getDataAttribute( + (com.google.cloud.dataplex.v1.GetDataAttributeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_TAXONOMY))) + .addMethod( + getUpdateDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_TAXONOMY))) + .addMethod( + getDeleteDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_TAXONOMY))) + .addMethod( + getListDataTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse>( + service, METHODID_LIST_DATA_TAXONOMIES))) + .addMethod( + getGetDataTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, + com.google.cloud.dataplex.v1.DataTaxonomy>( + service, METHODID_GET_DATA_TAXONOMY))) + .addMethod( + getCreateDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getUpdateDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getDeleteDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getListDataAttributeBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>( + service, METHODID_LIST_DATA_ATTRIBUTE_BINDINGS))) + .addMethod( + getGetDataAttributeBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, + com.google.cloud.dataplex.v1.DataAttributeBinding>( + service, METHODID_GET_DATA_ATTRIBUTE_BINDING))) + .addMethod( + getCreateDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateDataAttributeRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DATA_ATTRIBUTE))) + .addMethod( + getUpdateDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DATA_ATTRIBUTE))) + .addMethod( + getDeleteDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DATA_ATTRIBUTE))) + .addMethod( + getListDataAttributesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListDataAttributesRequest, + com.google.cloud.dataplex.v1.ListDataAttributesResponse>( + service, METHODID_LIST_DATA_ATTRIBUTES))) + .addMethod( + getGetDataAttributeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetDataAttributeRequest, + com.google.cloud.dataplex.v1.DataAttribute>( + service, METHODID_GET_DATA_ATTRIBUTE))) + .build(); + } + + private abstract static class DataTaxonomyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataTaxonomyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataTaxonomyService"); + } + } + + private static final class DataTaxonomyServiceFileDescriptorSupplier + extends DataTaxonomyServiceBaseDescriptorSupplier { + DataTaxonomyServiceFileDescriptorSupplier() {} + } + + private static final class DataTaxonomyServiceMethodDescriptorSupplier + extends DataTaxonomyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataTaxonomyServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataTaxonomyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataTaxonomyServiceFileDescriptorSupplier()) + .addMethod(getCreateDataTaxonomyMethod()) + .addMethod(getUpdateDataTaxonomyMethod()) + .addMethod(getDeleteDataTaxonomyMethod()) + .addMethod(getListDataTaxonomiesMethod()) + .addMethod(getGetDataTaxonomyMethod()) + .addMethod(getCreateDataAttributeBindingMethod()) + .addMethod(getUpdateDataAttributeBindingMethod()) + .addMethod(getDeleteDataAttributeBindingMethod()) + .addMethod(getListDataAttributeBindingsMethod()) + .addMethod(getGetDataAttributeBindingMethod()) + .addMethod(getCreateDataAttributeMethod()) + .addMethod(getUpdateDataAttributeMethod()) + .addMethod(getDeleteDataAttributeMethod()) + .addMethod(getListDataAttributesMethod()) + .addMethod(getGetDataAttributeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java new file mode 100644 index 000000000000..ecf50b2e8aa4 --- /dev/null +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java @@ -0,0 +1,3985 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Dataplex service provides data lakes as a service. The primary resources
+ * offered by this service are Lakes, Zones and Assets which collectively allow
+ * a data administrator to organize, manage, secure and catalog data across
+ * their organization located across cloud projects in a variety of storage
+ * systems including Cloud Storage and BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataplexServiceGrpc { + + private DataplexServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataplexService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> + getCreateLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateLake", + requestType = com.google.cloud.dataplex.v1.CreateLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> + getCreateLakeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateLakeRequest, com.google.longrunning.Operation> + getCreateLakeMethod; + if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { + DataplexServiceGrpc.getCreateLakeMethod = + getCreateLakeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateLakeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("CreateLake")) + .build(); + } + } + } + return getCreateLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> + getUpdateLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateLake", + requestType = com.google.cloud.dataplex.v1.UpdateLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> + getUpdateLakeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateLakeRequest, com.google.longrunning.Operation> + getUpdateLakeMethod; + if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { + DataplexServiceGrpc.getUpdateLakeMethod = + getUpdateLakeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateLakeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("UpdateLake")) + .build(); + } + } + } + return getUpdateLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> + getDeleteLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteLake", + requestType = com.google.cloud.dataplex.v1.DeleteLakeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> + getDeleteLakeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteLakeRequest, com.google.longrunning.Operation> + getDeleteLakeMethod; + if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { + DataplexServiceGrpc.getDeleteLakeMethod = + getDeleteLakeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteLakeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("DeleteLake")) + .build(); + } + } + } + return getDeleteLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakesRequest, + com.google.cloud.dataplex.v1.ListLakesResponse> + getListLakesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLakes", + requestType = com.google.cloud.dataplex.v1.ListLakesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListLakesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakesRequest, + com.google.cloud.dataplex.v1.ListLakesResponse> + getListLakesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakesRequest, + com.google.cloud.dataplex.v1.ListLakesResponse> + getListLakesMethod; + if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { + DataplexServiceGrpc.getListLakesMethod = + getListLakesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakes")) + .build(); + } + } + } + return getListLakesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> + getGetLakeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetLake", + requestType = com.google.cloud.dataplex.v1.GetLakeRequest.class, + responseType = com.google.cloud.dataplex.v1.Lake.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> + getGetLakeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake> + getGetLakeMethod; + if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { + DataplexServiceGrpc.getGetLakeMethod = + getGetLakeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLake")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetLakeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Lake.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetLake")) + .build(); + } + } + } + return getGetLakeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakeActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListLakeActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLakeActions", + requestType = com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakeActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListLakeActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListLakeActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListLakeActionsMethod; + if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { + DataplexServiceGrpc.getListLakeActionsMethod = + getListLakeActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakeActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListLakeActionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListLakeActions")) + .build(); + } + } + } + return getListLakeActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> + getCreateZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateZone", + requestType = com.google.cloud.dataplex.v1.CreateZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> + getCreateZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateZoneRequest, com.google.longrunning.Operation> + getCreateZoneMethod; + if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { + DataplexServiceGrpc.getCreateZoneMethod = + getCreateZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateZoneRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("CreateZone")) + .build(); + } + } + } + return getCreateZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> + getUpdateZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateZone", + requestType = com.google.cloud.dataplex.v1.UpdateZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> + getUpdateZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateZoneRequest, com.google.longrunning.Operation> + getUpdateZoneMethod; + if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { + DataplexServiceGrpc.getUpdateZoneMethod = + getUpdateZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateZoneRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("UpdateZone")) + .build(); + } + } + } + return getUpdateZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> + getDeleteZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteZone", + requestType = com.google.cloud.dataplex.v1.DeleteZoneRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> + getDeleteZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteZoneRequest, com.google.longrunning.Operation> + getDeleteZoneMethod; + if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { + DataplexServiceGrpc.getDeleteZoneMethod = + getDeleteZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteZoneRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("DeleteZone")) + .build(); + } + } + } + return getDeleteZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZonesRequest, + com.google.cloud.dataplex.v1.ListZonesResponse> + getListZonesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListZones", + requestType = com.google.cloud.dataplex.v1.ListZonesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListZonesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZonesRequest, + com.google.cloud.dataplex.v1.ListZonesResponse> + getListZonesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZonesRequest, + com.google.cloud.dataplex.v1.ListZonesResponse> + getListZonesMethod; + if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { + DataplexServiceGrpc.getListZonesMethod = + getListZonesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZonesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZonesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZones")) + .build(); + } + } + } + return getListZonesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> + getGetZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetZone", + requestType = com.google.cloud.dataplex.v1.GetZoneRequest.class, + responseType = com.google.cloud.dataplex.v1.Zone.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> + getGetZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone> + getGetZoneMethod; + if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { + DataplexServiceGrpc.getGetZoneMethod = + getGetZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetZoneRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Zone.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetZone")) + .build(); + } + } + } + return getGetZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZoneActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListZoneActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListZoneActions", + requestType = com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZoneActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListZoneActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListZoneActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListZoneActionsMethod; + if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { + DataplexServiceGrpc.getListZoneActionsMethod = + getListZoneActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZoneActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListZoneActionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListZoneActions")) + .build(); + } + } + } + return getListZoneActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> + getCreateAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAsset", + requestType = com.google.cloud.dataplex.v1.CreateAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> + getCreateAssetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateAssetRequest, com.google.longrunning.Operation> + getCreateAssetMethod; + if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { + DataplexServiceGrpc.getCreateAssetMethod = + getCreateAssetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("CreateAsset")) + .build(); + } + } + } + return getCreateAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> + getUpdateAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAsset", + requestType = com.google.cloud.dataplex.v1.UpdateAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> + getUpdateAssetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateAssetRequest, com.google.longrunning.Operation> + getUpdateAssetMethod; + if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { + DataplexServiceGrpc.getUpdateAssetMethod = + getUpdateAssetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("UpdateAsset")) + .build(); + } + } + } + return getUpdateAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> + getDeleteAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAsset", + requestType = com.google.cloud.dataplex.v1.DeleteAssetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> + getDeleteAssetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteAssetRequest, com.google.longrunning.Operation> + getDeleteAssetMethod; + if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { + DataplexServiceGrpc.getDeleteAssetMethod = + getDeleteAssetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("DeleteAsset")) + .build(); + } + } + } + return getDeleteAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetsRequest, + com.google.cloud.dataplex.v1.ListAssetsResponse> + getListAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssets", + requestType = com.google.cloud.dataplex.v1.ListAssetsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetsRequest, + com.google.cloud.dataplex.v1.ListAssetsResponse> + getListAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetsRequest, + com.google.cloud.dataplex.v1.ListAssetsResponse> + getListAssetsMethod; + if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { + DataplexServiceGrpc.getListAssetsMethod = + getListAssetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListAssets")) + .build(); + } + } + } + return getListAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> + getGetAssetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAsset", + requestType = com.google.cloud.dataplex.v1.GetAssetRequest.class, + responseType = com.google.cloud.dataplex.v1.Asset.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> + getGetAssetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetAssetRequest, com.google.cloud.dataplex.v1.Asset> + getGetAssetMethod; + if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { + DataplexServiceGrpc.getGetAssetMethod = + getGetAssetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAsset")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetAssetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Asset.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetAsset")) + .build(); + } + } + } + return getGetAssetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListAssetActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssetActions", + requestType = com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListAssetActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListAssetActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse> + getListAssetActionsMethod; + if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { + DataplexServiceGrpc.getListAssetActionsMethod = + getListAssetActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssetActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListAssetActionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListActionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListAssetActions")) + .build(); + } + } + } + return getListAssetActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> + getCreateTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTask", + requestType = com.google.cloud.dataplex.v1.CreateTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> + getCreateTaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateTaskRequest, com.google.longrunning.Operation> + getCreateTaskMethod; + if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { + DataplexServiceGrpc.getCreateTaskMethod = + getCreateTaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateTaskRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("CreateTask")) + .build(); + } + } + } + return getCreateTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> + getUpdateTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTask", + requestType = com.google.cloud.dataplex.v1.UpdateTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> + getUpdateTaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateTaskRequest, com.google.longrunning.Operation> + getUpdateTaskMethod; + if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { + DataplexServiceGrpc.getUpdateTaskMethod = + getUpdateTaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateTaskRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("UpdateTask")) + .build(); + } + } + } + return getUpdateTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> + getDeleteTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTask", + requestType = com.google.cloud.dataplex.v1.DeleteTaskRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> + getDeleteTaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteTaskRequest, com.google.longrunning.Operation> + getDeleteTaskMethod; + if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { + DataplexServiceGrpc.getDeleteTaskMethod = + getDeleteTaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteTaskRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("DeleteTask")) + .build(); + } + } + } + return getDeleteTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListTasksRequest, + com.google.cloud.dataplex.v1.ListTasksResponse> + getListTasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTasks", + requestType = com.google.cloud.dataplex.v1.ListTasksRequest.class, + responseType = com.google.cloud.dataplex.v1.ListTasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListTasksRequest, + com.google.cloud.dataplex.v1.ListTasksResponse> + getListTasksMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListTasksRequest, + com.google.cloud.dataplex.v1.ListTasksResponse> + getListTasksMethod; + if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { + DataplexServiceGrpc.getListTasksMethod = + getListTasksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListTasksRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListTasksResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListTasks")) + .build(); + } + } + } + return getListTasksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> + getGetTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTask", + requestType = com.google.cloud.dataplex.v1.GetTaskRequest.class, + responseType = com.google.cloud.dataplex.v1.Task.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> + getGetTaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task> + getGetTaskMethod; + if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { + DataplexServiceGrpc.getGetTaskMethod = + getGetTaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetTaskRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Task.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetTask")) + .build(); + } + } + } + return getGetTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListJobsRequest, + com.google.cloud.dataplex.v1.ListJobsResponse> + getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.dataplex.v1.ListJobsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListJobsRequest, + com.google.cloud.dataplex.v1.ListJobsResponse> + getListJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListJobsRequest, + com.google.cloud.dataplex.v1.ListJobsResponse> + getListJobsMethod; + if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { + DataplexServiceGrpc.getListJobsMethod = + getListJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunTaskRequest, com.google.cloud.dataplex.v1.RunTaskResponse> + getRunTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunTask", + requestType = com.google.cloud.dataplex.v1.RunTaskRequest.class, + responseType = com.google.cloud.dataplex.v1.RunTaskResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunTaskRequest, com.google.cloud.dataplex.v1.RunTaskResponse> + getRunTaskMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.RunTaskRequest, + com.google.cloud.dataplex.v1.RunTaskResponse> + getRunTaskMethod; + if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { + DataplexServiceGrpc.getRunTaskMethod = + getRunTaskMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunTaskRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.RunTaskResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("RunTask")) + .build(); + } + } + } + return getRunTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> + getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.dataplex.v1.GetJobRequest.class, + responseType = com.google.cloud.dataplex.v1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> + getGetJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job> + getGetJobMethod; + if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { + DataplexServiceGrpc.getGetJobMethod = + getGetJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Job.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> + getCancelJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelJob", + requestType = com.google.cloud.dataplex.v1.CancelJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> + getCancelJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty> + getCancelJobMethod; + if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { + DataplexServiceGrpc.getCancelJobMethod = + getCancelJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CancelJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CancelJob")) + .build(); + } + } + } + return getCancelJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> + getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> + getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEnvironmentRequest, com.google.longrunning.Operation> + getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { + DataplexServiceGrpc.getCreateEnvironmentMethod = + getCreateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> + getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { + DataplexServiceGrpc.getUpdateEnvironmentMethod = + getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> + getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { + DataplexServiceGrpc.getDeleteEnvironmentMethod = + getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEnvironmentsRequest, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEnvironmentsRequest, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEnvironmentsRequest, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { + DataplexServiceGrpc.getListEnvironmentsMethod = + getListEnvironmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEnvironmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEnvironmentRequest, + com.google.cloud.dataplex.v1.Environment> + getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, + responseType = com.google.cloud.dataplex.v1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEnvironmentRequest, + com.google.cloud.dataplex.v1.Environment> + getGetEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEnvironmentRequest, + com.google.cloud.dataplex.v1.Environment> + getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { + DataplexServiceGrpc.getGetEnvironmentMethod = + getGetEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetEnvironmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Environment.getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListSessionsRequest, + com.google.cloud.dataplex.v1.ListSessionsResponse> + getListSessionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSessions", + requestType = com.google.cloud.dataplex.v1.ListSessionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListSessionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListSessionsRequest, + com.google.cloud.dataplex.v1.ListSessionsResponse> + getListSessionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListSessionsRequest, + com.google.cloud.dataplex.v1.ListSessionsResponse> + getListSessionsMethod; + if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { + synchronized (DataplexServiceGrpc.class) { + if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { + DataplexServiceGrpc.getListSessionsMethod = + getListSessionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListSessionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListSessionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataplexServiceMethodDescriptorSupplier("ListSessions")) + .build(); + } + } + } + return getListSessionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataplexServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceStub(channel, callOptions); + } + }; + return DataplexServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataplexServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceBlockingStub(channel, callOptions); + } + }; + return DataplexServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataplexServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataplexServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceFutureStub(channel, callOptions); + } + }; + return DataplexServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a lake resource.
+     * 
+ */ + default void createLake( + com.google.cloud.dataplex.v1.CreateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateLakeMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a lake resource.
+     * 
+ */ + default void updateLake( + com.google.cloud.dataplex.v1.UpdateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateLakeMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + default void deleteLake( + com.google.cloud.dataplex.v1.DeleteLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLakeMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + default void listLakes( + com.google.cloud.dataplex.v1.ListLakesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakesMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves a lake resource.
+     * 
+ */ + default void getLake( + com.google.cloud.dataplex.v1.GetLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLakeMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists action resources in a lake.
+     * 
+ */ + default void listLakeActions( + com.google.cloud.dataplex.v1.ListLakeActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListLakeActionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + default void createZone( + com.google.cloud.dataplex.v1.CreateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a zone resource.
+     * 
+ */ + default void updateZone( + com.google.cloud.dataplex.v1.UpdateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + default void deleteZone( + com.google.cloud.dataplex.v1.DeleteZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists zone resources in a lake.
+     * 
+ */ + default void listZones( + com.google.cloud.dataplex.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves a zone resource.
+     * 
+ */ + default void getZone( + com.google.cloud.dataplex.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists action resources in a zone.
+     * 
+ */ + default void listZoneActions( + com.google.cloud.dataplex.v1.ListZoneActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListZoneActionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an asset resource.
+     * 
+ */ + default void createAsset( + com.google.cloud.dataplex.v1.CreateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAssetMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an asset resource.
+     * 
+ */ + default void updateAsset( + com.google.cloud.dataplex.v1.UpdateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAssetMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + default void deleteAsset( + com.google.cloud.dataplex.v1.DeleteAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAssetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists asset resources in a zone.
+     * 
+ */ + default void listAssets( + com.google.cloud.dataplex.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves an asset resource.
+     * 
+ */ + default void getAsset( + com.google.cloud.dataplex.v1.GetAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAssetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists action resources in an asset.
+     * 
+ */ + default void listAssetActions( + com.google.cloud.dataplex.v1.ListAssetActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAssetActionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a task resource within a lake.
+     * 
+ */ + default void createTask( + com.google.cloud.dataplex.v1.CreateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Update the task resource.
+     * 
+ */ + default void updateTask( + com.google.cloud.dataplex.v1.UpdateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete the task resource.
+     * 
+ */ + default void deleteTask( + com.google.cloud.dataplex.v1.DeleteTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tasks under the given lake.
+     * 
+ */ + default void listTasks( + com.google.cloud.dataplex.v1.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); + } + + /** + * + * + *
+     * Get task resource.
+     * 
+ */ + default void getTask( + com.google.cloud.dataplex.v1.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Jobs under the given task.
+     * 
+ */ + default void listJobs( + com.google.cloud.dataplex.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + default void runTask( + com.google.cloud.dataplex.v1.RunTaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); + } + + /** + * + * + *
+     * Get job resource.
+     * 
+ */ + default void getJob( + com.google.cloud.dataplex.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + default void cancelJob( + com.google.cloud.dataplex.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Create an environment resource.
+     * 
+ */ + default void createEnvironment( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Update the environment resource.
+     * 
+ */ + default void updateEnvironment( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + default void deleteEnvironment( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists environments under the given lake.
+     * 
+ */ + default void listEnvironments( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEnvironmentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Get environment resource.
+     * 
+ */ + default void getEnvironment( + com.google.cloud.dataplex.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists session resources in an environment.
+     * 
+ */ + default void listSessions( + com.google.cloud.dataplex.v1.ListSessionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSessionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataplexService. + * + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public abstract static class DataplexServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataplexServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataplexService. + * + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DataplexServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a lake resource.
+     * 
+ */ + public void createLake( + com.google.cloud.dataplex.v1.CreateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a lake resource.
+     * 
+ */ + public void updateLake( + com.google.cloud.dataplex.v1.UpdateLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public void deleteLake( + com.google.cloud.dataplex.v1.DeleteLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public void listLakes( + com.google.cloud.dataplex.v1.ListLakesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLakesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Retrieves a lake resource.
+     * 
+ */ + public void getLake( + com.google.cloud.dataplex.v1.GetLakeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetLakeMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists action resources in a lake.
+     * 
+ */ + public void listLakeActions( + com.google.cloud.dataplex.v1.ListLakeActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public void createZone( + com.google.cloud.dataplex.v1.CreateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a zone resource.
+     * 
+ */ + public void updateZone( + com.google.cloud.dataplex.v1.UpdateZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public void deleteZone( + com.google.cloud.dataplex.v1.DeleteZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public void listZones( + com.google.cloud.dataplex.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Retrieves a zone resource.
+     * 
+ */ + public void getZone( + com.google.cloud.dataplex.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists action resources in a zone.
+     * 
+ */ + public void listZoneActions( + com.google.cloud.dataplex.v1.ListZoneActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an asset resource.
+     * 
+ */ + public void createAsset( + com.google.cloud.dataplex.v1.CreateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAssetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an asset resource.
+     * 
+ */ + public void updateAsset( + com.google.cloud.dataplex.v1.UpdateAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public void deleteAsset( + com.google.cloud.dataplex.v1.DeleteAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public void listAssets( + com.google.cloud.dataplex.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Retrieves an asset resource.
+     * 
+ */ + public void getAsset( + com.google.cloud.dataplex.v1.GetAssetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAssetMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists action resources in an asset.
+     * 
+ */ + public void listAssetActions( + com.google.cloud.dataplex.v1.ListAssetActionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public void createTask( + com.google.cloud.dataplex.v1.CreateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Update the task resource.
+     * 
+ */ + public void updateTask( + com.google.cloud.dataplex.v1.UpdateTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Delete the task resource.
+     * 
+ */ + public void deleteTask( + com.google.cloud.dataplex.v1.DeleteTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public void listTasks( + com.google.cloud.dataplex.v1.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Get task resource.
+     * 
+ */ + public void getTask( + com.google.cloud.dataplex.v1.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public void listJobs( + com.google.cloud.dataplex.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public void runTask( + com.google.cloud.dataplex.v1.RunTaskRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Get job resource.
+     * 
+ */ + public void getJob( + com.google.cloud.dataplex.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public void cancelJob( + com.google.cloud.dataplex.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Create an environment resource.
+     * 
+ */ + public void createEnvironment( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update the environment resource.
+     * 
+ */ + public void updateEnvironment( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public void deleteEnvironment( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists environments under the given lake.
+     * 
+ */ + public void listEnvironments( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get environment resource.
+     * 
+ */ + public void getEnvironment( + com.google.cloud.dataplex.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists session resources in an environment.
+     * 
+ */ + public void listSessions( + com.google.cloud.dataplex.v1.ListSessionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSessionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataplexService. + * + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataplexServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a lake resource.
+     * 
+ */ + public com.google.longrunning.Operation createLake( + com.google.cloud.dataplex.v1.CreateLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateLakeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a lake resource.
+     * 
+ */ + public com.google.longrunning.Operation updateLake( + com.google.cloud.dataplex.v1.UpdateLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateLakeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteLake( + com.google.cloud.dataplex.v1.DeleteLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteLakeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListLakesResponse listLakes( + com.google.cloud.dataplex.v1.ListLakesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLakesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves a lake resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Lake getLake( + com.google.cloud.dataplex.v1.GetLakeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetLakeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists action resources in a lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listLakeActions( + com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLakeActionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public com.google.longrunning.Operation createZone( + com.google.cloud.dataplex.v1.CreateZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a zone resource.
+     * 
+ */ + public com.google.longrunning.Operation updateZone( + com.google.cloud.dataplex.v1.UpdateZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteZone( + com.google.cloud.dataplex.v1.DeleteZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListZonesResponse listZones( + com.google.cloud.dataplex.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListZonesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves a zone resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Zone getZone( + com.google.cloud.dataplex.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists action resources in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listZoneActions( + com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListZoneActionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an asset resource.
+     * 
+ */ + public com.google.longrunning.Operation createAsset( + com.google.cloud.dataplex.v1.CreateAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAssetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an asset resource.
+     * 
+ */ + public com.google.longrunning.Operation updateAsset( + com.google.cloud.dataplex.v1.UpdateAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAssetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public com.google.longrunning.Operation deleteAsset( + com.google.cloud.dataplex.v1.DeleteAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAssetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListAssetsResponse listAssets( + com.google.cloud.dataplex.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves an asset resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Asset getAsset( + com.google.cloud.dataplex.v1.GetAssetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAssetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists action resources in an asset.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListActionsResponse listAssetActions( + com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetActionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public com.google.longrunning.Operation createTask( + com.google.cloud.dataplex.v1.CreateTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update the task resource.
+     * 
+ */ + public com.google.longrunning.Operation updateTask( + com.google.cloud.dataplex.v1.UpdateTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete the task resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteTask( + com.google.cloud.dataplex.v1.DeleteTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListTasksResponse listTasks( + com.google.cloud.dataplex.v1.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTasksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get task resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Task getTask( + com.google.cloud.dataplex.v1.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListJobsResponse listJobs( + com.google.cloud.dataplex.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public com.google.cloud.dataplex.v1.RunTaskResponse runTask( + com.google.cloud.dataplex.v1.RunTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunTaskMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get job resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Job getJob( + com.google.cloud.dataplex.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public com.google.protobuf.Empty cancelJob( + com.google.cloud.dataplex.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create an environment resource.
+     * 
+ */ + public com.google.longrunning.Operation createEnvironment( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update the environment resource.
+     * 
+ */ + public com.google.longrunning.Operation updateEnvironment( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public com.google.longrunning.Operation deleteEnvironment( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists environments under the given lake.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListEnvironmentsResponse listEnvironments( + com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get environment resource.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Environment getEnvironment( + com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists session resources in an environment.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListSessionsResponse listSessions( + com.google.cloud.dataplex.v1.ListSessionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSessionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataplexService. + * + *
+   * Dataplex service provides data lakes as a service. The primary resources
+   * offered by this service are Lakes, Zones and Assets which collectively allow
+   * a data administrator to organize, manage, secure and catalog data across
+   * their organization located across cloud projects in a variety of storage
+   * systems including Cloud Storage and BigQuery.
+   * 
+ */ + public static final class DataplexServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataplexServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataplexServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataplexServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a lake resource. All zones within the lake must be deleted before
+     * the lake can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists lake resources in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListLakesResponse> + listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLakesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves a lake resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getLake(com.google.cloud.dataplex.v1.GetLakeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetLakeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists action resources in a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListActionsResponse> + listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a zone resource within a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a zone resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a zone resource. All assets within a zone must be deleted before
+     * the zone can be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists zone resources in a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListZonesResponse> + listZones(com.google.cloud.dataplex.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves a zone resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getZone(com.google.cloud.dataplex.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists action resources in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListActionsResponse> + listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an asset resource. The referenced storage resource is detached
+     * (default) or deleted based on the associated Lifecycle policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists asset resources in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListAssetsResponse> + listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves an asset resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAssetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists action resources in an asset.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListActionsResponse> + listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a task resource within a lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tasks under the given lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListTasksResponse> + listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.dataplex.v1.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Jobs under the given task.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListJobsResponse> + listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Run an on demand execution of a Task.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.RunTaskResponse> + runTask(com.google.cloud.dataplex.v1.RunTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunTaskMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get job resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.dataplex.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancel jobs running for the task resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelJob( + com.google.cloud.dataplex.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create an environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update the environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete the environment resource. All the child resources must have been
+     * deleted before environment deletion can be initiated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists environments under the given lake.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListEnvironmentsResponse> + listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get environment resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.Environment> + getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists session resources in an environment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListSessionsResponse> + listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_LAKE = 0; + private static final int METHODID_UPDATE_LAKE = 1; + private static final int METHODID_DELETE_LAKE = 2; + private static final int METHODID_LIST_LAKES = 3; + private static final int METHODID_GET_LAKE = 4; + private static final int METHODID_LIST_LAKE_ACTIONS = 5; + private static final int METHODID_CREATE_ZONE = 6; + private static final int METHODID_UPDATE_ZONE = 7; + private static final int METHODID_DELETE_ZONE = 8; + private static final int METHODID_LIST_ZONES = 9; + private static final int METHODID_GET_ZONE = 10; + private static final int METHODID_LIST_ZONE_ACTIONS = 11; + private static final int METHODID_CREATE_ASSET = 12; + private static final int METHODID_UPDATE_ASSET = 13; + private static final int METHODID_DELETE_ASSET = 14; + private static final int METHODID_LIST_ASSETS = 15; + private static final int METHODID_GET_ASSET = 16; + private static final int METHODID_LIST_ASSET_ACTIONS = 17; + private static final int METHODID_CREATE_TASK = 18; + private static final int METHODID_UPDATE_TASK = 19; + private static final int METHODID_DELETE_TASK = 20; + private static final int METHODID_LIST_TASKS = 21; + private static final int METHODID_GET_TASK = 22; + private static final int METHODID_LIST_JOBS = 23; + private static final int METHODID_RUN_TASK = 24; + private static final int METHODID_GET_JOB = 25; + private static final int METHODID_CANCEL_JOB = 26; + private static final int METHODID_CREATE_ENVIRONMENT = 27; + private static final int METHODID_UPDATE_ENVIRONMENT = 28; + private static final int METHODID_DELETE_ENVIRONMENT = 29; + private static final int METHODID_LIST_ENVIRONMENTS = 30; + private static final int METHODID_GET_ENVIRONMENT = 31; + private static final int METHODID_LIST_SESSIONS = 32; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_LAKE: + serviceImpl.createLake( + (com.google.cloud.dataplex.v1.CreateLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_LAKE: + serviceImpl.updateLake( + (com.google.cloud.dataplex.v1.UpdateLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_LAKE: + serviceImpl.deleteLake( + (com.google.cloud.dataplex.v1.DeleteLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_LAKES: + serviceImpl.listLakes( + (com.google.cloud.dataplex.v1.ListLakesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_LAKE: + serviceImpl.getLake( + (com.google.cloud.dataplex.v1.GetLakeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_LAKE_ACTIONS: + serviceImpl.listLakeActions( + (com.google.cloud.dataplex.v1.ListLakeActionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_ZONE: + serviceImpl.createZone( + (com.google.cloud.dataplex.v1.CreateZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ZONE: + serviceImpl.updateZone( + (com.google.cloud.dataplex.v1.UpdateZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ZONE: + serviceImpl.deleteZone( + (com.google.cloud.dataplex.v1.DeleteZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ZONES: + serviceImpl.listZones( + (com.google.cloud.dataplex.v1.ListZonesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ZONE: + serviceImpl.getZone( + (com.google.cloud.dataplex.v1.GetZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ZONE_ACTIONS: + serviceImpl.listZoneActions( + (com.google.cloud.dataplex.v1.ListZoneActionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_ASSET: + serviceImpl.createAsset( + (com.google.cloud.dataplex.v1.CreateAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ASSET: + serviceImpl.updateAsset( + (com.google.cloud.dataplex.v1.UpdateAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ASSET: + serviceImpl.deleteAsset( + (com.google.cloud.dataplex.v1.DeleteAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSETS: + serviceImpl.listAssets( + (com.google.cloud.dataplex.v1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ASSET: + serviceImpl.getAsset( + (com.google.cloud.dataplex.v1.GetAssetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSET_ACTIONS: + serviceImpl.listAssetActions( + (com.google.cloud.dataplex.v1.ListAssetActionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TASK: + serviceImpl.createTask( + (com.google.cloud.dataplex.v1.CreateTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TASK: + serviceImpl.updateTask( + (com.google.cloud.dataplex.v1.UpdateTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TASK: + serviceImpl.deleteTask( + (com.google.cloud.dataplex.v1.DeleteTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TASKS: + serviceImpl.listTasks( + (com.google.cloud.dataplex.v1.ListTasksRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TASK: + serviceImpl.getTask( + (com.google.cloud.dataplex.v1.GetTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs( + (com.google.cloud.dataplex.v1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_TASK: + serviceImpl.runTask( + (com.google.cloud.dataplex.v1.RunTaskRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob( + (com.google.cloud.dataplex.v1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_JOB: + serviceImpl.cancelJob( + (com.google.cloud.dataplex.v1.CancelJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment( + (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment( + (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment( + (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments( + (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment( + (com.google.cloud.dataplex.v1.GetEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_SESSIONS: + serviceImpl.listSessions( + (com.google.cloud.dataplex.v1.ListSessionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateLakeRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_LAKE))) + .addMethod( + getUpdateLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateLakeRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_LAKE))) + .addMethod( + getDeleteLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteLakeRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_LAKE))) + .addMethod( + getListLakesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListLakesRequest, + com.google.cloud.dataplex.v1.ListLakesResponse>(service, METHODID_LIST_LAKES))) + .addMethod( + getGetLakeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetLakeRequest, com.google.cloud.dataplex.v1.Lake>( + service, METHODID_GET_LAKE))) + .addMethod( + getListLakeActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListLakeActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_LAKE_ACTIONS))) + .addMethod( + getCreateZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateZoneRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ZONE))) + .addMethod( + getUpdateZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateZoneRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_ZONE))) + .addMethod( + getDeleteZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteZoneRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_ZONE))) + .addMethod( + getListZonesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListZonesRequest, + com.google.cloud.dataplex.v1.ListZonesResponse>(service, METHODID_LIST_ZONES))) + .addMethod( + getGetZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetZoneRequest, com.google.cloud.dataplex.v1.Zone>( + service, METHODID_GET_ZONE))) + .addMethod( + getListZoneActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListZoneActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_ZONE_ACTIONS))) + .addMethod( + getCreateAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateAssetRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ASSET))) + .addMethod( + getUpdateAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateAssetRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_ASSET))) + .addMethod( + getDeleteAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteAssetRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_ASSET))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListAssetsRequest, + com.google.cloud.dataplex.v1.ListAssetsResponse>( + service, METHODID_LIST_ASSETS))) + .addMethod( + getGetAssetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetAssetRequest, + com.google.cloud.dataplex.v1.Asset>(service, METHODID_GET_ASSET))) + .addMethod( + getListAssetActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListAssetActionsRequest, + com.google.cloud.dataplex.v1.ListActionsResponse>( + service, METHODID_LIST_ASSET_ACTIONS))) + .addMethod( + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateTaskRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_TASK))) + .addMethod( + getUpdateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateTaskRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_TASK))) + .addMethod( + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteTaskRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_TASK))) + .addMethod( + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListTasksRequest, + com.google.cloud.dataplex.v1.ListTasksResponse>(service, METHODID_LIST_TASKS))) + .addMethod( + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetTaskRequest, com.google.cloud.dataplex.v1.Task>( + service, METHODID_GET_TASK))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListJobsRequest, + com.google.cloud.dataplex.v1.ListJobsResponse>(service, METHODID_LIST_JOBS))) + .addMethod( + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.RunTaskRequest, + com.google.cloud.dataplex.v1.RunTaskResponse>(service, METHODID_RUN_TASK))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetJobRequest, com.google.cloud.dataplex.v1.Job>( + service, METHODID_GET_JOB))) + .addMethod( + getCancelJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CancelJobRequest, com.google.protobuf.Empty>( + service, METHODID_CANCEL_JOB))) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListEnvironmentsRequest, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse>( + service, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetEnvironmentRequest, + com.google.cloud.dataplex.v1.Environment>(service, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListSessionsRequest, + com.google.cloud.dataplex.v1.ListSessionsResponse>( + service, METHODID_LIST_SESSIONS))) + .build(); + } + + private abstract static class DataplexServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataplexServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataplexService"); + } + } + + private static final class DataplexServiceFileDescriptorSupplier + extends DataplexServiceBaseDescriptorSupplier { + DataplexServiceFileDescriptorSupplier() {} + } + + private static final class DataplexServiceMethodDescriptorSupplier + extends DataplexServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DataplexServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataplexServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataplexServiceFileDescriptorSupplier()) + .addMethod(getCreateLakeMethod()) + .addMethod(getUpdateLakeMethod()) + .addMethod(getDeleteLakeMethod()) + .addMethod(getListLakesMethod()) + .addMethod(getGetLakeMethod()) + .addMethod(getListLakeActionsMethod()) + .addMethod(getCreateZoneMethod()) + .addMethod(getUpdateZoneMethod()) + .addMethod(getDeleteZoneMethod()) + .addMethod(getListZonesMethod()) + .addMethod(getGetZoneMethod()) + .addMethod(getListZoneActionsMethod()) + .addMethod(getCreateAssetMethod()) + .addMethod(getUpdateAssetMethod()) + .addMethod(getDeleteAssetMethod()) + .addMethod(getListAssetsMethod()) + .addMethod(getGetAssetMethod()) + .addMethod(getListAssetActionsMethod()) + .addMethod(getCreateTaskMethod()) + .addMethod(getUpdateTaskMethod()) + .addMethod(getDeleteTaskMethod()) + .addMethod(getListTasksMethod()) + .addMethod(getGetTaskMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getRunTaskMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCancelJobMethod()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListSessionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java new file mode 100644 index 000000000000..e3a5ead326db --- /dev/null +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java @@ -0,0 +1,1291 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataplex.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Metadata service manages metadata resources such as tables, filesets and
+ * partitions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataplex/v1/metadata.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MetadataServiceGrpc { + + private MetadataServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.MetadataService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getCreateEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntity", + requestType = com.google.cloud.dataplex.v1.CreateEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getCreateEntityMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getCreateEntityMethod; + if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { + MetadataServiceGrpc.getCreateEntityMethod = + getCreateEntityMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreateEntityRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("CreateEntity")) + .build(); + } + } + } + return getCreateEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getUpdateEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntity", + requestType = com.google.cloud.dataplex.v1.UpdateEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getUpdateEntityMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.UpdateEntityRequest, com.google.cloud.dataplex.v1.Entity> + getUpdateEntityMethod; + if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { + MetadataServiceGrpc.getUpdateEntityMethod = + getUpdateEntityMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.UpdateEntityRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("UpdateEntity")) + .build(); + } + } + } + return getUpdateEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> + getDeleteEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntity", + requestType = com.google.cloud.dataplex.v1.DeleteEntityRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> + getDeleteEntityMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty> + getDeleteEntityMethod; + if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { + MetadataServiceGrpc.getDeleteEntityMethod = + getDeleteEntityMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeleteEntityRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("DeleteEntity")) + .build(); + } + } + } + return getDeleteEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> + getGetEntityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntity", + requestType = com.google.cloud.dataplex.v1.GetEntityRequest.class, + responseType = com.google.cloud.dataplex.v1.Entity.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> + getGetEntityMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetEntityRequest, com.google.cloud.dataplex.v1.Entity> + getGetEntityMethod; + if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { + MetadataServiceGrpc.getGetEntityMethod = + getGetEntityMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetEntityRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) + .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetEntity")) + .build(); + } + } + } + return getGetEntityMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEntitiesRequest, + com.google.cloud.dataplex.v1.ListEntitiesResponse> + getListEntitiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntities", + requestType = com.google.cloud.dataplex.v1.ListEntitiesRequest.class, + responseType = com.google.cloud.dataplex.v1.ListEntitiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEntitiesRequest, + com.google.cloud.dataplex.v1.ListEntitiesResponse> + getListEntitiesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListEntitiesRequest, + com.google.cloud.dataplex.v1.ListEntitiesResponse> + getListEntitiesMethod; + if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { + MetadataServiceGrpc.getListEntitiesMethod = + getListEntitiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntities")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEntitiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListEntitiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("ListEntities")) + .build(); + } + } + } + return getListEntitiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreatePartitionRequest, + com.google.cloud.dataplex.v1.Partition> + getCreatePartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePartition", + requestType = com.google.cloud.dataplex.v1.CreatePartitionRequest.class, + responseType = com.google.cloud.dataplex.v1.Partition.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreatePartitionRequest, + com.google.cloud.dataplex.v1.Partition> + getCreatePartitionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.CreatePartitionRequest, + com.google.cloud.dataplex.v1.Partition> + getCreatePartitionMethod; + if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { + MetadataServiceGrpc.getCreatePartitionMethod = + getCreatePartitionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.CreatePartitionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("CreatePartition")) + .build(); + } + } + } + return getCreatePartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> + getDeletePartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePartition", + requestType = com.google.cloud.dataplex.v1.DeletePartitionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> + getDeletePartitionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty> + getDeletePartitionMethod; + if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { + MetadataServiceGrpc.getDeletePartitionMethod = + getDeletePartitionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.DeletePartitionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("DeletePartition")) + .build(); + } + } + } + return getDeletePartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetPartitionRequest, com.google.cloud.dataplex.v1.Partition> + getGetPartitionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPartition", + requestType = com.google.cloud.dataplex.v1.GetPartitionRequest.class, + responseType = com.google.cloud.dataplex.v1.Partition.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetPartitionRequest, com.google.cloud.dataplex.v1.Partition> + getGetPartitionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.GetPartitionRequest, + com.google.cloud.dataplex.v1.Partition> + getGetPartitionMethod; + if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { + MetadataServiceGrpc.getGetPartitionMethod = + getGetPartitionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPartition")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.GetPartitionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("GetPartition")) + .build(); + } + } + } + return getGetPartitionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListPartitionsRequest, + com.google.cloud.dataplex.v1.ListPartitionsResponse> + getListPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPartitions", + requestType = com.google.cloud.dataplex.v1.ListPartitionsRequest.class, + responseType = com.google.cloud.dataplex.v1.ListPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListPartitionsRequest, + com.google.cloud.dataplex.v1.ListPartitionsResponse> + getListPartitionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataplex.v1.ListPartitionsRequest, + com.google.cloud.dataplex.v1.ListPartitionsResponse> + getListPartitionsMethod; + if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { + MetadataServiceGrpc.getListPartitionsMethod = + getListPartitionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListPartitionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataplex.v1.ListPartitionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("ListPartitions")) + .build(); + } + } + } + return getListPartitionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static MetadataServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceStub(channel, callOptions); + } + }; + return MetadataServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MetadataServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceBlockingStub(channel, callOptions); + } + }; + return MetadataServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static MetadataServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetadataServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceFutureStub(channel, callOptions); + } + }; + return MetadataServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Create a metadata entity.
+     * 
+ */ + default void createEntity( + com.google.cloud.dataplex.v1.CreateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntityMethod(), responseObserver); + } + + /** + * + * + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + default void updateEntity( + com.google.cloud.dataplex.v1.UpdateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntityMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete a metadata entity.
+     * 
+ */ + default void deleteEntity( + com.google.cloud.dataplex.v1.DeleteEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntityMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a metadata entity.
+     * 
+ */ + default void getEntity( + com.google.cloud.dataplex.v1.GetEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityMethod(), responseObserver); + } + + /** + * + * + *
+     * List metadata entities in a zone.
+     * 
+ */ + default void listEntities( + com.google.cloud.dataplex.v1.ListEntitiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntitiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a metadata partition.
+     * 
+ */ + default void createPartition( + com.google.cloud.dataplex.v1.CreatePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePartitionMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete a metadata partition.
+     * 
+ */ + default void deletePartition( + com.google.cloud.dataplex.v1.DeletePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePartitionMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + default void getPartition( + com.google.cloud.dataplex.v1.GetPartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPartitionMethod(), responseObserver); + } + + /** + * + * + *
+     * List metadata partitions of an entity.
+     * 
+ */ + default void listPartitions( + com.google.cloud.dataplex.v1.ListPartitionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPartitionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service MetadataService. + * + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public abstract static class MetadataServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return MetadataServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service MetadataService. + * + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private MetadataServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a metadata entity.
+     * 
+ */ + public void createEntity( + com.google.cloud.dataplex.v1.CreateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntityMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public void updateEntity( + com.google.cloud.dataplex.v1.UpdateEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete a metadata entity.
+     * 
+ */ + public void deleteEntity( + com.google.cloud.dataplex.v1.DeleteEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a metadata entity.
+     * 
+ */ + public void getEntity( + com.google.cloud.dataplex.v1.GetEntityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntityMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * List metadata entities in a zone.
+     * 
+ */ + public void listEntities( + com.google.cloud.dataplex.v1.ListEntitiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntitiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a metadata partition.
+     * 
+ */ + public void createPartition( + com.google.cloud.dataplex.v1.CreatePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete a metadata partition.
+     * 
+ */ + public void deletePartition( + com.google.cloud.dataplex.v1.DeletePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public void getPartition( + com.google.cloud.dataplex.v1.GetPartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPartitionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public void listPartitions( + com.google.cloud.dataplex.v1.ListPartitionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPartitionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service MetadataService. + * + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private MetadataServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a metadata entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity createEntity( + com.google.cloud.dataplex.v1.CreateEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntityMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity updateEntity( + com.google.cloud.dataplex.v1.UpdateEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntityMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete a metadata entity.
+     * 
+ */ + public com.google.protobuf.Empty deleteEntity( + com.google.cloud.dataplex.v1.DeleteEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntityMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a metadata entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Entity getEntity( + com.google.cloud.dataplex.v1.GetEntityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntityMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List metadata entities in a zone.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListEntitiesResponse listEntities( + com.google.cloud.dataplex.v1.ListEntitiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntitiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a metadata partition.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Partition createPartition( + com.google.cloud.dataplex.v1.CreatePartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePartitionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete a metadata partition.
+     * 
+ */ + public com.google.protobuf.Empty deletePartition( + com.google.cloud.dataplex.v1.DeletePartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePartitionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.Partition getPartition( + com.google.cloud.dataplex.v1.GetPartitionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPartitionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public com.google.cloud.dataplex.v1.ListPartitionsResponse listPartitions( + com.google.cloud.dataplex.v1.ListPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPartitionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service MetadataService. + * + *
+   * Metadata service manages metadata resources such as tables, filesets and
+   * partitions.
+   * 
+ */ + public static final class MetadataServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private MetadataServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetadataServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetadataServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update a metadata entity. Only supports full resource update.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a metadata entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntityMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List metadata entities in a zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListEntitiesResponse> + listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create a metadata partition.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.Partition> + createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete a metadata partition.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a metadata partition of an entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.Partition> + getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List metadata partitions of an entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataplex.v1.ListPartitionsResponse> + listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENTITY = 0; + private static final int METHODID_UPDATE_ENTITY = 1; + private static final int METHODID_DELETE_ENTITY = 2; + private static final int METHODID_GET_ENTITY = 3; + private static final int METHODID_LIST_ENTITIES = 4; + private static final int METHODID_CREATE_PARTITION = 5; + private static final int METHODID_DELETE_PARTITION = 6; + private static final int METHODID_GET_PARTITION = 7; + private static final int METHODID_LIST_PARTITIONS = 8; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENTITY: + serviceImpl.createEntity( + (com.google.cloud.dataplex.v1.CreateEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENTITY: + serviceImpl.updateEntity( + (com.google.cloud.dataplex.v1.UpdateEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENTITY: + serviceImpl.deleteEntity( + (com.google.cloud.dataplex.v1.DeleteEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTITY: + serviceImpl.getEntity( + (com.google.cloud.dataplex.v1.GetEntityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTITIES: + serviceImpl.listEntities( + (com.google.cloud.dataplex.v1.ListEntitiesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_PARTITION: + serviceImpl.createPartition( + (com.google.cloud.dataplex.v1.CreatePartitionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PARTITION: + serviceImpl.deletePartition( + (com.google.cloud.dataplex.v1.DeletePartitionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PARTITION: + serviceImpl.getPartition( + (com.google.cloud.dataplex.v1.GetPartitionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PARTITIONS: + serviceImpl.listPartitions( + (com.google.cloud.dataplex.v1.ListPartitionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreateEntityRequest, + com.google.cloud.dataplex.v1.Entity>(service, METHODID_CREATE_ENTITY))) + .addMethod( + getUpdateEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.UpdateEntityRequest, + com.google.cloud.dataplex.v1.Entity>(service, METHODID_UPDATE_ENTITY))) + .addMethod( + getDeleteEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeleteEntityRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_ENTITY))) + .addMethod( + getGetEntityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetEntityRequest, + com.google.cloud.dataplex.v1.Entity>(service, METHODID_GET_ENTITY))) + .addMethod( + getListEntitiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListEntitiesRequest, + com.google.cloud.dataplex.v1.ListEntitiesResponse>( + service, METHODID_LIST_ENTITIES))) + .addMethod( + getCreatePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.CreatePartitionRequest, + com.google.cloud.dataplex.v1.Partition>(service, METHODID_CREATE_PARTITION))) + .addMethod( + getDeletePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.DeletePartitionRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_PARTITION))) + .addMethod( + getGetPartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.GetPartitionRequest, + com.google.cloud.dataplex.v1.Partition>(service, METHODID_GET_PARTITION))) + .addMethod( + getListPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataplex.v1.ListPartitionsRequest, + com.google.cloud.dataplex.v1.ListPartitionsResponse>( + service, METHODID_LIST_PARTITIONS))) + .build(); + } + + private abstract static class MetadataServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MetadataServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MetadataService"); + } + } + + private static final class MetadataServiceFileDescriptorSupplier + extends MetadataServiceBaseDescriptorSupplier { + MetadataServiceFileDescriptorSupplier() {} + } + + private static final class MetadataServiceMethodDescriptorSupplier + extends MetadataServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + MetadataServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MetadataServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MetadataServiceFileDescriptorSupplier()) + .addMethod(getCreateEntityMethod()) + .addMethod(getUpdateEntityMethod()) + .addMethod(getDeleteEntityMethod()) + .addMethod(getGetEntityMethod()) + .addMethod(getListEntitiesMethod()) + .addMethod(getCreatePartitionMethod()) + .addMethod(getDeletePartitionMethod()) + .addMethod(getGetPartitionMethod()) + .addMethod(getListPartitionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java index cdfcdea2056d..e3d94b5ba668 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Action.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Action represents an issue requiring administrator action for resolution.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.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() { category_ = 0; issue_ = ""; @@ -26,40 +44,43 @@ private Action() { lake_ = ""; zone_ = ""; asset_ = ""; - dataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Action(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.class, com.google.cloud.dataplex.v1.Action.Builder.class); + com.google.cloud.dataplex.v1.Action.class, + com.google.cloud.dataplex.v1.Action.Builder.class); } /** + * + * *
    * The category of issues.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.Category} */ - public enum Category - implements com.google.protobuf.ProtocolMessageEnum { + public enum Category implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified category.
      * 
@@ -68,6 +89,8 @@ public enum Category */ CATEGORY_UNSPECIFIED(0), /** + * + * *
      * Resource management related issues.
      * 
@@ -76,6 +99,8 @@ public enum Category */ RESOURCE_MANAGEMENT(1), /** + * + * *
      * Security policy related issues.
      * 
@@ -84,6 +109,8 @@ public enum Category */ SECURITY_POLICY(2), /** + * + * *
      * Data and discovery related issues.
      * 
@@ -95,6 +122,8 @@ public enum Category ; /** + * + * *
      * Unspecified category.
      * 
@@ -103,6 +132,8 @@ public enum Category */ public static final int CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Resource management related issues.
      * 
@@ -111,6 +142,8 @@ public enum Category */ public static final int RESOURCE_MANAGEMENT_VALUE = 1; /** + * + * *
      * Security policy related issues.
      * 
@@ -119,6 +152,8 @@ public enum Category */ public static final int SECURITY_POLICY_VALUE = 2; /** + * + * *
      * Data and discovery related issues.
      * 
@@ -127,7 +162,6 @@ public enum Category */ public static final int DATA_DISCOVERY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -152,50 +186,51 @@ public static Category valueOf(int value) { */ public static Category forNumber(int value) { switch (value) { - case 0: return CATEGORY_UNSPECIFIED; - case 1: return RESOURCE_MANAGEMENT; - case 2: return SECURITY_POLICY; - case 3: return DATA_DISCOVERY; - default: return null; + case 0: + return CATEGORY_UNSPECIFIED; + case 1: + return RESOURCE_MANAGEMENT; + case 2: + return SECURITY_POLICY; + case 3: + return DATA_DISCOVERY; + 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< - Category> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Category findValueByNumber(int number) { - return Category.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 Category findValueByNumber(int number) { + return Category.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Action.getDescriptor().getEnumTypes().get(0); } private static final Category[] VALUES = values(); - public static Category valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Category valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -212,50 +247,54 @@ private Category(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Action.Category) } - public interface MissingResourceOrBuilder extends + public interface MissingResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingResource) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Action details for resource references in assets that cannot be located.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource} */ - public static final class MissingResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MissingResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingResource) MissingResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MissingResource.newBuilder() to construct. private MissingResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MissingResource() { - } + + private MissingResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MissingResource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingResource.class, com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingResource.class, + com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,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 { getUnknownFields().writeTo(output); } @@ -286,12 +324,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingResource)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.MissingResource other = (com.google.cloud.dataplex.v1.Action.MissingResource) obj; + com.google.cloud.dataplex.v1.Action.MissingResource other = + (com.google.cloud.dataplex.v1.Action.MissingResource) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,89 +349,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.MissingResource prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.MissingResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -402,39 +446,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for resource references in assets that cannot be located.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingResource) com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingResource.class, com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingResource.class, + com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; } @java.lang.Override @@ -463,7 +509,8 @@ public com.google.cloud.dataplex.v1.Action.MissingResource build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingResource buildPartial() { - com.google.cloud.dataplex.v1.Action.MissingResource result = new com.google.cloud.dataplex.v1.Action.MissingResource(this); + com.google.cloud.dataplex.v1.Action.MissingResource result = + new com.google.cloud.dataplex.v1.Action.MissingResource(this); onBuilt(); return result; } @@ -472,38 +519,41 @@ public com.google.cloud.dataplex.v1.Action.MissingResource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.MissingResource) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingResource)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingResource) other); } else { super.mergeFrom(other); return this; @@ -511,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingResource other) { - if (other == com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -538,12 +589,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -553,6 +605,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -565,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingResource) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingResource) private static final com.google.cloud.dataplex.v1.Action.MissingResource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingResource(); } @@ -579,27 +632,28 @@ public static com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MissingResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MissingResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -614,14 +668,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UnauthorizedResourceOrBuilder extends + public interface UnauthorizedResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.UnauthorizedResource) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Action details for unauthorized resource issues raised to indicate that the
    * service account associated with the lake instance is not authorized to
@@ -630,39 +685,41 @@ public interface UnauthorizedResourceOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
    */
-  public static final class UnauthorizedResource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UnauthorizedResource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
       UnauthorizedResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UnauthorizedResource.newBuilder() to construct.
     private UnauthorizedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private UnauthorizedResource() {
-    }
+
+    private UnauthorizedResource() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UnauthorizedResource();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
+              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
+              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -674,8 +731,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       getUnknownFields().writeTo(output);
     }
 
@@ -693,12 +749,13 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.Action.UnauthorizedResource other = (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) obj;
+      com.google.cloud.dataplex.v1.Action.UnauthorizedResource other =
+          (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) obj;
 
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -717,89 +774,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.UnauthorizedResource prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataplex.v1.Action.UnauthorizedResource prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -809,6 +871,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Action details for unauthorized resource issues raised to indicate that the
      * service account associated with the lake instance is not authorized to
@@ -817,33 +881,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
         com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
+                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
+                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -851,9 +915,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
       }
 
       @java.lang.Override
@@ -872,7 +936,8 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Action.UnauthorizedResource buildPartial() {
-        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result = new com.google.cloud.dataplex.v1.Action.UnauthorizedResource(this);
+        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result =
+            new com.google.cloud.dataplex.v1.Action.UnauthorizedResource(this);
         onBuilt();
         return result;
       }
@@ -881,38 +946,41 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Action.UnauthorizedResource)other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Action.UnauthorizedResource) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -920,7 +988,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.UnauthorizedResource other) {
-        if (other == com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) return this;
+        if (other == com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance())
+          return this;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -947,12 +1016,13 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -962,6 +1032,7 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -974,12 +1045,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
     private static final com.google.cloud.dataplex.v1.Action.UnauthorizedResource DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.UnauthorizedResource();
     }
@@ -988,27 +1059,28 @@ public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public UnauthorizedResource parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public UnauthorizedResource parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1023,36 +1095,43 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface FailedSecurityPolicyApplyOrBuilder extends
+  public interface FailedSecurityPolicyApplyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); } /** + * + * *
    * Failed to apply security policy to the managed resource(s) under a
    * lake, zone or an asset. For a lake or zone resource, one or more underlying
@@ -1062,49 +1141,55 @@ public interface FailedSecurityPolicyApplyOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
    */
-  public static final class FailedSecurityPolicyApply extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class FailedSecurityPolicyApply extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
       FailedSecurityPolicyApplyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use FailedSecurityPolicyApply.newBuilder() to construct.
     private FailedSecurityPolicyApply(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private FailedSecurityPolicyApply() {
       asset_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new FailedSecurityPolicyApply();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
+              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
+              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
     }
 
     public static final int ASSET_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object asset_ = "";
     /**
+     *
+     *
      * 
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; + * * @return The asset. */ @java.lang.Override @@ -1113,30 +1198,30 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
      * Resource name of one of the assets with failing security policy
      * application. Populated for a lake or zone resource only.
      * 
* * string asset = 1; + * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -1145,6 +1230,7 @@ public java.lang.String getAsset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1156,8 +1242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -1181,15 +1266,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other = (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) obj; + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other = + (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) obj; - if (!getAsset() - .equals(other.getAsset())) return false; + if (!getAsset().equals(other.getAsset())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1209,89 +1294,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1301,6 +1391,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Failed to apply security policy to the managed resource(s) under a
      * lake, zone or an asset. For a lake or zone resource, one or more underlying
@@ -1310,33 +1402,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
         com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
+                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
+                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1346,13 +1438,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstanceForType() {
+      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+          getDefaultInstanceForType() {
         return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
       }
 
@@ -1367,13 +1460,17 @@ public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply buildPartial() {
-        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result = new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result =
+            new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result) {
+      private void buildPartial0(
+          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.asset_ = asset_;
@@ -1384,46 +1481,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.FailedSecurityPol
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other) {
-        if (other == com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other) {
+        if (other
+            == com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance())
+          return this;
         if (!other.getAsset().isEmpty()) {
           asset_ = other.asset_;
           bitField0_ |= 0x00000001;
@@ -1455,17 +1558,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                asset_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  asset_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1475,23 +1580,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object asset_ = "";
       /**
+       *
+       *
        * 
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; + * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -1500,21 +1608,22 @@ public java.lang.String getAsset() { } } /** + * + * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; + * * @return The bytes for asset. */ - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -1522,30 +1631,37 @@ public java.lang.String getAsset() { } } /** + * + * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; + * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -1555,24 +1671,29 @@ public Builder clearAsset() { return this; } /** + * + * *
        * Resource name of one of the assets with failing security policy
        * application. Populated for a lake or zone resource only.
        * 
* * string asset = 1; + * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1585,41 +1706,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) - private static final com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(); } - public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailedSecurityPolicyApply parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailedSecurityPolicyApply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1631,180 +1755,213 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InvalidDataFormatOrBuilder extends + public interface InvalidDataFormatOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataFormat) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @return A list containing the sampledDataLocations. */ - java.util.List - getSampledDataLocationsList(); + java.util.List getSampledDataLocationsList(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); /** + * + * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; + * * @return The expectedFormat. */ java.lang.String getExpectedFormat(); /** + * + * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; + * * @return The bytes for expectedFormat. */ - com.google.protobuf.ByteString - getExpectedFormatBytes(); + com.google.protobuf.ByteString getExpectedFormatBytes(); /** + * + * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; + * * @return The newFormat. */ java.lang.String getNewFormat(); /** + * + * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; + * * @return The bytes for newFormat. */ - com.google.protobuf.ByteString - getNewFormatBytes(); + com.google.protobuf.ByteString getNewFormatBytes(); } /** + * + * *
    * Action details for invalid or unsupported data files detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat} */ - public static final class InvalidDataFormat extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InvalidDataFormat extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat) InvalidDataFormatOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataFormat.newBuilder() to construct. private InvalidDataFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InvalidDataFormat() { - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); expectedFormat_ = ""; newFormat_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InvalidDataFormat(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { return sampledDataLocations_; } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -1812,29 +1969,35 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } public static final int EXPECTED_FORMAT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object expectedFormat_ = ""; /** + * + * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; + * * @return The expectedFormat. */ @java.lang.Override @@ -1843,29 +2006,29 @@ public java.lang.String getExpectedFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expectedFormat_ = s; return s; } } /** + * + * *
      * The expected data format of the entity.
      * 
* * string expected_format = 2; + * * @return The bytes for expectedFormat. */ @java.lang.Override - public com.google.protobuf.ByteString - getExpectedFormatBytes() { + public com.google.protobuf.ByteString getExpectedFormatBytes() { java.lang.Object ref = expectedFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expectedFormat_ = b; return b; } else { @@ -1874,14 +2037,18 @@ public java.lang.String getExpectedFormat() { } public static final int NEW_FORMAT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object newFormat_ = ""; /** + * + * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; + * * @return The newFormat. */ @java.lang.Override @@ -1890,29 +2057,29 @@ public java.lang.String getNewFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newFormat_ = s; return s; } } /** + * + * *
      * The new unexpected data format within the entity.
      * 
* * string new_format = 3; + * * @return The bytes for newFormat. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewFormatBytes() { + public com.google.protobuf.ByteString getNewFormatBytes() { java.lang.Object ref = newFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newFormat_ = b; return b; } else { @@ -1921,6 +2088,7 @@ public java.lang.String getNewFormat() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1932,10 +2100,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 { for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, sampledDataLocations_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, expectedFormat_); @@ -1974,19 +2142,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataFormat other = (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataFormat other = + (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) obj; - if (!getSampledDataLocationsList() - .equals(other.getSampledDataLocationsList())) return false; - if (!getExpectedFormat() - .equals(other.getExpectedFormat())) return false; - if (!getNewFormat() - .equals(other.getNewFormat())) return false; + if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; + if (!getExpectedFormat().equals(other.getExpectedFormat())) return false; + if (!getNewFormat().equals(other.getNewFormat())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2012,89 +2178,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataFormat prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.InvalidDataFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2104,54 +2275,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for invalid or unsupported data files detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat) com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class, + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); expectedFormat_ = ""; newFormat_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; } @java.lang.Override @@ -2170,8 +2342,11 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataFormat buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataFormat result = new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Action.InvalidDataFormat result = + new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2194,38 +2369,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataFormat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataFormat)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataFormat) other); } else { super.mergeFrom(other); return this; @@ -2233,7 +2411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataFormat other) { - if (other == com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) + return this; if (!other.sampledDataLocations_.isEmpty()) { if (sampledDataLocations_.isEmpty()) { sampledDataLocations_ = other.sampledDataLocations_; @@ -2280,28 +2459,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 10 - case 18: { - expectedFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - newFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 10 + case 18: + { + expectedFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + newFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2311,49 +2494,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = + new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000001; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -2361,33 +2555,39 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSampledDataLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000001; @@ -2395,18 +2595,22 @@ public Builder setSampledDataLocations( return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000001; @@ -2414,53 +2618,61 @@ public Builder addSampledDataLocations( return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations( - java.lang.Iterable values) { + public Builder addAllSampledDataLocations(java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 1; + * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -2471,18 +2683,20 @@ public Builder addSampledDataLocationsBytes( private java.lang.Object expectedFormat_ = ""; /** + * + * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; + * * @return The expectedFormat. */ public java.lang.String getExpectedFormat() { java.lang.Object ref = expectedFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expectedFormat_ = s; return s; @@ -2491,20 +2705,21 @@ public java.lang.String getExpectedFormat() { } } /** + * + * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; + * * @return The bytes for expectedFormat. */ - public com.google.protobuf.ByteString - getExpectedFormatBytes() { + public com.google.protobuf.ByteString getExpectedFormatBytes() { java.lang.Object ref = expectedFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expectedFormat_ = b; return b; } else { @@ -2512,28 +2727,35 @@ public java.lang.String getExpectedFormat() { } } /** + * + * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; + * * @param value The expectedFormat to set. * @return This builder for chaining. */ - public Builder setExpectedFormat( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExpectedFormat(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } expectedFormat_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; + * * @return This builder for chaining. */ public Builder clearExpectedFormat() { @@ -2543,17 +2765,21 @@ public Builder clearExpectedFormat() { return this; } /** + * + * *
        * The expected data format of the entity.
        * 
* * string expected_format = 2; + * * @param value The bytes for expectedFormat to set. * @return This builder for chaining. */ - public Builder setExpectedFormatBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExpectedFormatBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); expectedFormat_ = value; bitField0_ |= 0x00000002; @@ -2563,18 +2789,20 @@ public Builder setExpectedFormatBytes( private java.lang.Object newFormat_ = ""; /** + * + * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; + * * @return The newFormat. */ public java.lang.String getNewFormat() { java.lang.Object ref = newFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newFormat_ = s; return s; @@ -2583,20 +2811,21 @@ public java.lang.String getNewFormat() { } } /** + * + * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; + * * @return The bytes for newFormat. */ - public com.google.protobuf.ByteString - getNewFormatBytes() { + public com.google.protobuf.ByteString getNewFormatBytes() { java.lang.Object ref = newFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newFormat_ = b; return b; } else { @@ -2604,28 +2833,35 @@ public java.lang.String getNewFormat() { } } /** + * + * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; + * * @param value The newFormat to set. * @return This builder for chaining. */ - public Builder setNewFormat( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewFormat(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; + * * @return This builder for chaining. */ public Builder clearNewFormat() { @@ -2635,23 +2871,28 @@ public Builder clearNewFormat() { return this; } /** + * + * *
        * The new unexpected data format within the entity.
        * 
* * string new_format = 3; + * * @param value The bytes for newFormat to set. * @return This builder for chaining. */ - public Builder setNewFormatBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewFormatBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2664,12 +2905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat) private static final com.google.cloud.dataplex.v1.Action.InvalidDataFormat DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(); } @@ -2678,27 +2919,28 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2713,196 +2955,235 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IncompatibleDataSchemaOrBuilder extends + public interface IncompatibleDataSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; + * * @return The existingSchema. */ java.lang.String getExistingSchema(); /** + * + * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; + * * @return The bytes for existingSchema. */ - com.google.protobuf.ByteString - getExistingSchemaBytes(); + com.google.protobuf.ByteString getExistingSchemaBytes(); /** + * + * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; + * * @return The newSchema. */ java.lang.String getNewSchema(); /** + * + * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; + * * @return The bytes for newSchema. */ - com.google.protobuf.ByteString - getNewSchemaBytes(); + com.google.protobuf.ByteString getNewSchemaBytes(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - java.util.List - getSampledDataLocationsList(); + java.util.List getSampledDataLocationsList(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); /** + * + * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The enum numeric value on the wire for schemaChange. */ int getSchemaChangeValue(); /** + * + * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The schemaChange. */ com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange(); } /** + * + * *
    * Action details for incompatible schemas detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema} */ - public static final class IncompatibleDataSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IncompatibleDataSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) IncompatibleDataSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncompatibleDataSchema.newBuilder() to construct. private IncompatibleDataSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IncompatibleDataSchema() { table_ = ""; existingSchema_ = ""; newSchema_ = ""; - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); schemaChange_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IncompatibleDataSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); } /** + * + * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange} */ - public enum SchemaChange - implements com.google.protobuf.ProtocolMessageEnum { + public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Schema change unspecified.
        * 
@@ -2911,6 +3192,8 @@ public enum SchemaChange */ SCHEMA_CHANGE_UNSPECIFIED(0), /** + * + * *
        * Newly discovered schema is incompatible with existing schema.
        * 
@@ -2919,6 +3202,8 @@ public enum SchemaChange */ INCOMPATIBLE(1), /** + * + * *
        * Newly discovered schema has changed from existing schema for data in a
        * curated zone.
@@ -2931,6 +3216,8 @@ public enum SchemaChange
       ;
 
       /**
+       *
+       *
        * 
        * Schema change unspecified.
        * 
@@ -2939,6 +3226,8 @@ public enum SchemaChange */ public static final int SCHEMA_CHANGE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Newly discovered schema is incompatible with existing schema.
        * 
@@ -2947,6 +3236,8 @@ public enum SchemaChange */ public static final int INCOMPATIBLE_VALUE = 1; /** + * + * *
        * Newly discovered schema has changed from existing schema for data in a
        * curated zone.
@@ -2956,7 +3247,6 @@ public enum SchemaChange
        */
       public static final int MODIFIED_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2981,49 +3271,51 @@ public static SchemaChange valueOf(int value) {
        */
       public static SchemaChange forNumber(int value) {
         switch (value) {
-          case 0: return SCHEMA_CHANGE_UNSPECIFIED;
-          case 1: return INCOMPATIBLE;
-          case 2: return MODIFIED;
-          default: return null;
+          case 0:
+            return SCHEMA_CHANGE_UNSPECIFIED;
+          case 1:
+            return INCOMPATIBLE;
+          case 2:
+            return MODIFIED;
+          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<
-          SchemaChange> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public SchemaChange findValueByNumber(int number) {
-                return SchemaChange.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 SchemaChange findValueByNumber(int number) {
+              return SchemaChange.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final SchemaChange[] VALUES = values();
 
-      public static SchemaChange valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static SchemaChange 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;
@@ -3041,14 +3333,18 @@ private SchemaChange(int value) {
     }
 
     public static final int TABLE_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
+     *
+     *
      * 
      * The name of the table containing invalid data.
      * 
* * string table = 1; + * * @return The table. */ @java.lang.Override @@ -3057,29 +3353,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
      * The name of the table containing invalid data.
      * 
* * string table = 1; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -3088,15 +3384,19 @@ public java.lang.String getTable() { } public static final int EXISTING_SCHEMA_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object existingSchema_ = ""; /** + * + * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; + * * @return The existingSchema. */ @java.lang.Override @@ -3105,30 +3405,30 @@ public java.lang.String getExistingSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); existingSchema_ = s; return s; } } /** + * + * *
      * The existing and expected schema of the table. The schema is provided as
      * a JSON formatted structure listing columns and data types.
      * 
* * string existing_schema = 2; + * * @return The bytes for existingSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getExistingSchemaBytes() { + public com.google.protobuf.ByteString getExistingSchemaBytes() { java.lang.Object ref = existingSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); existingSchema_ = b; return b; } else { @@ -3137,15 +3437,19 @@ public java.lang.String getExistingSchema() { } public static final int NEW_SCHEMA_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object newSchema_ = ""; /** + * + * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; + * * @return The newSchema. */ @java.lang.Override @@ -3154,30 +3458,30 @@ public java.lang.String getNewSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSchema_ = s; return s; } } /** + * + * *
      * The new and incompatible schema within the table. The schema is provided
      * as a JSON formatted structured listing columns and data types.
      * 
* * string new_schema = 3; + * * @return The bytes for newSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewSchemaBytes() { + public com.google.protobuf.ByteString getNewSchemaBytes() { java.lang.Object ref = newSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newSchema_ = b; return b; } else { @@ -3186,41 +3490,50 @@ public java.lang.String getNewSchema() { } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { return sampledDataLocations_; } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -3228,47 +3541,65 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
      * The list of data locations sampled and used for format/schema
      * inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } public static final int SCHEMA_CHANGE_FIELD_NUMBER = 5; private int schemaChange_ = 0; /** + * + * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The enum numeric value on the wire for schemaChange. */ - @java.lang.Override public int getSchemaChangeValue() { + @java.lang.Override + public int getSchemaChangeValue() { return schemaChange_; } /** + * + * *
      * Whether the action relates to a schema that is incompatible or modified.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The schemaChange. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(schemaChange_); - return result == null ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange + getSchemaChange() { + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber( + schemaChange_); + return result == null + ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3280,8 +3611,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -3292,9 +3622,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newSchema_); } for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, sampledDataLocations_.getRaw(i)); } - if (schemaChange_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.SCHEMA_CHANGE_UNSPECIFIED.getNumber()) { + if (schemaChange_ + != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange + .SCHEMA_CHANGE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, schemaChange_); } getUnknownFields().writeTo(output); @@ -3323,9 +3657,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getSampledDataLocationsList().size(); } - if (schemaChange_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.SCHEMA_CHANGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, schemaChange_); + if (schemaChange_ + != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange + .SCHEMA_CHANGE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, schemaChange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3335,21 +3671,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other = (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) obj; + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other = + (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) obj; - if (!getTable() - .equals(other.getTable())) return false; - if (!getExistingSchema() - .equals(other.getExistingSchema())) return false; - if (!getNewSchema() - .equals(other.getNewSchema())) return false; - if (!getSampledDataLocationsList() - .equals(other.getSampledDataLocationsList())) return false; + if (!getTable().equals(other.getTable())) return false; + if (!getExistingSchema().equals(other.getExistingSchema())) return false; + if (!getNewSchema().equals(other.getNewSchema())) return false; + if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; if (schemaChange_ != other.schemaChange_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3380,89 +3713,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3472,39 +3810,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for incompatible schemas detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3512,20 +3852,20 @@ public Builder clear() { table_ = ""; existingSchema_ = ""; newSchema_ = ""; - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); schemaChange_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } @@ -3540,13 +3880,17 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema buildPartial() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result = new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result = + new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.table_ = table_; @@ -3570,38 +3914,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.IncompatibleDataS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) other); } else { super.mergeFrom(other); return this; @@ -3609,7 +3956,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other) { - if (other == com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) + return this; if (!other.getTable().isEmpty()) { table_ = other.table_; bitField0_ |= 0x00000001; @@ -3664,38 +4013,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - existingSchema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - newSchema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 34 - case 40: { - schemaChange_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + existingSchema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + newSchema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 34 + case 40: + { + schemaChange_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3705,22 +4060,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object table_ = ""; /** + * + * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -3729,20 +4087,21 @@ public java.lang.String getTable() { } } /** + * + * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -3750,28 +4109,35 @@ public java.lang.String getTable() { } } /** + * + * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -3781,17 +4147,21 @@ public Builder clearTable() { return this; } /** + * + * *
        * The name of the table containing invalid data.
        * 
* * string table = 1; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -3801,19 +4171,21 @@ public Builder setTableBytes( private java.lang.Object existingSchema_ = ""; /** + * + * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; + * * @return The existingSchema. */ public java.lang.String getExistingSchema() { java.lang.Object ref = existingSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); existingSchema_ = s; return s; @@ -3822,21 +4194,22 @@ public java.lang.String getExistingSchema() { } } /** + * + * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; + * * @return The bytes for existingSchema. */ - public com.google.protobuf.ByteString - getExistingSchemaBytes() { + public com.google.protobuf.ByteString getExistingSchemaBytes() { java.lang.Object ref = existingSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); existingSchema_ = b; return b; } else { @@ -3844,30 +4217,37 @@ public java.lang.String getExistingSchema() { } } /** + * + * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; + * * @param value The existingSchema to set. * @return This builder for chaining. */ - public Builder setExistingSchema( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExistingSchema(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } existingSchema_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; + * * @return This builder for chaining. */ public Builder clearExistingSchema() { @@ -3877,18 +4257,22 @@ public Builder clearExistingSchema() { return this; } /** + * + * *
        * The existing and expected schema of the table. The schema is provided as
        * a JSON formatted structure listing columns and data types.
        * 
* * string existing_schema = 2; + * * @param value The bytes for existingSchema to set. * @return This builder for chaining. */ - public Builder setExistingSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExistingSchemaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); existingSchema_ = value; bitField0_ |= 0x00000002; @@ -3898,19 +4282,21 @@ public Builder setExistingSchemaBytes( private java.lang.Object newSchema_ = ""; /** + * + * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; + * * @return The newSchema. */ public java.lang.String getNewSchema() { java.lang.Object ref = newSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSchema_ = s; return s; @@ -3919,21 +4305,22 @@ public java.lang.String getNewSchema() { } } /** + * + * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; + * * @return The bytes for newSchema. */ - public com.google.protobuf.ByteString - getNewSchemaBytes() { + public com.google.protobuf.ByteString getNewSchemaBytes() { java.lang.Object ref = newSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newSchema_ = b; return b; } else { @@ -3941,30 +4328,37 @@ public java.lang.String getNewSchema() { } } /** + * + * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; + * * @param value The newSchema to set. * @return This builder for chaining. */ - public Builder setNewSchema( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewSchema(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newSchema_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; + * * @return This builder for chaining. */ public Builder clearNewSchema() { @@ -3974,18 +4368,22 @@ public Builder clearNewSchema() { return this; } /** + * + * *
        * The new and incompatible schema within the table. The schema is provided
        * as a JSON formatted structured listing columns and data types.
        * 
* * string new_schema = 3; + * * @param value The bytes for newSchema to set. * @return This builder for chaining. */ - public Builder setNewSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewSchemaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newSchema_ = value; bitField0_ |= 0x00000004; @@ -3995,45 +4393,55 @@ public Builder setNewSchemaBytes( private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = + new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000008; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -4041,33 +4449,39 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSampledDataLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -4075,18 +4489,22 @@ public Builder setSampledDataLocations( return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000008; @@ -4094,53 +4512,61 @@ public Builder addSampledDataLocations( return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations( - java.lang.Iterable values) { + public Builder addAllSampledDataLocations(java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
        * The list of data locations sampled and used for format/schema
        * inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -4151,22 +4577,33 @@ public Builder addSampledDataLocationsBytes( private int schemaChange_ = 0; /** + * + * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The enum numeric value on the wire for schemaChange. */ - @java.lang.Override public int getSchemaChangeValue() { + @java.lang.Override + public int getSchemaChangeValue() { return schemaChange_; } /** + * + * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @param value The enum numeric value on the wire for schemaChange to set. * @return This builder for chaining. */ @@ -4177,28 +4614,44 @@ public Builder setSchemaChangeValue(int value) { return this; } /** + * + * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return The schemaChange. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange() { - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(schemaChange_); - return result == null ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange + getSchemaChange() { + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result = + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber( + schemaChange_); + return result == null + ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED + : result; } /** + * + * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @param value The schemaChange to set. * @return This builder for chaining. */ - public Builder setSchemaChange(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange value) { + public Builder setSchemaChange( + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange value) { if (value == null) { throw new NullPointerException(); } @@ -4208,11 +4661,16 @@ public Builder setSchemaChange(com.google.cloud.dataplex.v1.Action.IncompatibleD return this; } /** + * + * *
        * Whether the action relates to a schema that is incompatible or modified.
        * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5; + * + * * @return This builder for chaining. */ public Builder clearSchemaChange() { @@ -4221,6 +4679,7 @@ public Builder clearSchemaChange() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4233,12 +4692,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema) - private static final com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(); } @@ -4247,27 +4707,28 @@ public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncompatibleDataSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncompatibleDataSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4282,82 +4743,100 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InvalidDataPartitionOrBuilder extends + public interface InvalidDataPartitionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataPartition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The issue type of InvalidDataPartition.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The enum numeric value on the wire for expectedStructure. */ int getExpectedStructureValue(); /** + * + * *
      * The issue type of InvalidDataPartition.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The expectedStructure. */ - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure(); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + getExpectedStructure(); } /** + * + * *
    * Action details for invalid or unsupported partitions detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition} */ - public static final class InvalidDataPartition extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InvalidDataPartition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition) InvalidDataPartitionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataPartition.newBuilder() to construct. private InvalidDataPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InvalidDataPartition() { expectedStructure_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InvalidDataPartition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); } /** + * + * *
      * The expected partition structure.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure} */ - public enum PartitionStructure - implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * PartitionStructure unspecified.
        * 
@@ -4366,6 +4845,8 @@ public enum PartitionStructure */ PARTITION_STRUCTURE_UNSPECIFIED(0), /** + * + * *
        * Consistent hive-style partition definition (both raw and curated zone).
        * 
@@ -4374,6 +4855,8 @@ public enum PartitionStructure */ CONSISTENT_KEYS(1), /** + * + * *
        * Hive style partition definition (curated zone only).
        * 
@@ -4385,6 +4868,8 @@ public enum PartitionStructure ; /** + * + * *
        * PartitionStructure unspecified.
        * 
@@ -4393,6 +4878,8 @@ public enum PartitionStructure */ public static final int PARTITION_STRUCTURE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Consistent hive-style partition definition (both raw and curated zone).
        * 
@@ -4401,6 +4888,8 @@ public enum PartitionStructure */ public static final int CONSISTENT_KEYS_VALUE = 1; /** + * + * *
        * Hive style partition definition (curated zone only).
        * 
@@ -4409,7 +4898,6 @@ public enum PartitionStructure */ public static final int HIVE_STYLE_KEYS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4434,10 +4922,14 @@ public static PartitionStructure valueOf(int value) { */ public static PartitionStructure forNumber(int value) { switch (value) { - case 0: return PARTITION_STRUCTURE_UNSPECIFIED; - case 1: return CONSISTENT_KEYS; - case 2: return HIVE_STYLE_KEYS; - default: return null; + case 0: + return PARTITION_STRUCTURE_UNSPECIFIED; + case 1: + return CONSISTENT_KEYS; + case 2: + return HIVE_STYLE_KEYS; + default: + return null; } } @@ -4445,29 +4937,31 @@ public static PartitionStructure forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PartitionStructure> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PartitionStructure findValueByNumber(int number) { - return PartitionStructure.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 PartitionStructure findValueByNumber(int number) { + return PartitionStructure.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDescriptor() + .getEnumTypes() + .get(0); } private static final PartitionStructure[] VALUES = values(); @@ -4475,8 +4969,7 @@ public PartitionStructure findValueByNumber(int number) { public static PartitionStructure 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; @@ -4496,30 +4989,48 @@ private PartitionStructure(int value) { public static final int EXPECTED_STRUCTURE_FIELD_NUMBER = 1; private int expectedStructure_ = 0; /** + * + * *
      * The issue type of InvalidDataPartition.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The enum numeric value on the wire for expectedStructure. */ - @java.lang.Override public int getExpectedStructureValue() { + @java.lang.Override + public int getExpectedStructureValue() { return expectedStructure_; } /** + * + * *
      * The issue type of InvalidDataPartition.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The expectedStructure. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(expectedStructure_); - return result == null ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + getExpectedStructure() { + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber( + expectedStructure_); + return result == null + ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4531,9 +5042,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (expectedStructure_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.PARTITION_STRUCTURE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (expectedStructure_ + != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + .PARTITION_STRUCTURE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, expectedStructure_); } getUnknownFields().writeTo(output); @@ -4545,9 +5058,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (expectedStructure_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.PARTITION_STRUCTURE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, expectedStructure_); + if (expectedStructure_ + != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + .PARTITION_STRUCTURE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, expectedStructure_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4557,12 +5072,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataPartition other = (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataPartition other = + (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) obj; if (expectedStructure_ != other.expectedStructure_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4584,89 +5100,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataPartition prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.InvalidDataPartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4676,39 +5197,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for invalid or unsupported partitions detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition) com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class, + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4718,9 +5241,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; } @java.lang.Override @@ -4739,8 +5262,11 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition result = new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Action.InvalidDataPartition result = + new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4756,38 +5282,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataPartit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataPartition)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataPartition) other); } else { super.mergeFrom(other); return this; @@ -4795,7 +5324,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataPartition other) { - if (other == com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) + return this; if (other.expectedStructure_ != 0) { setExpectedStructureValue(other.getExpectedStructureValue()); } @@ -4825,17 +5355,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - expectedStructure_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + expectedStructure_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4845,26 +5377,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int expectedStructure_ = 0; /** + * + * *
        * The issue type of InvalidDataPartition.
        * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The enum numeric value on the wire for expectedStructure. */ - @java.lang.Override public int getExpectedStructureValue() { + @java.lang.Override + public int getExpectedStructureValue() { return expectedStructure_; } /** + * + * *
        * The issue type of InvalidDataPartition.
        * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @param value The enum numeric value on the wire for expectedStructure to set. * @return This builder for chaining. */ @@ -4875,28 +5419,45 @@ public Builder setExpectedStructureValue(int value) { return this; } /** + * + * *
        * The issue type of InvalidDataPartition.
        * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return The expectedStructure. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure getExpectedStructure() { - com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(expectedStructure_); - return result == null ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + getExpectedStructure() { + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result = + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber( + expectedStructure_); + return result == null + ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure + .UNRECOGNIZED + : result; } /** + * + * *
        * The issue type of InvalidDataPartition.
        * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @param value The expectedStructure to set. * @return This builder for chaining. */ - public Builder setExpectedStructure(com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure value) { + public Builder setExpectedStructure( + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure value) { if (value == null) { throw new NullPointerException(); } @@ -4906,11 +5467,16 @@ public Builder setExpectedStructure(com.google.cloud.dataplex.v1.Action.InvalidD return this; } /** + * + * *
        * The issue type of InvalidDataPartition.
        * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1; + * + * * @return This builder for chaining. */ public Builder clearExpectedStructure() { @@ -4919,6 +5485,7 @@ public Builder clearExpectedStructure() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4931,12 +5498,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition) private static final com.google.cloud.dataplex.v1.Action.InvalidDataPartition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(); } @@ -4945,27 +5512,28 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataPartition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataPartition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4980,53 +5548,56 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MissingDataOrBuilder extends + public interface MissingDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingData) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Action details for absence of data detected by discovery.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData} */ - public static final class MissingData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MissingData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingData) MissingDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MissingData.newBuilder() to construct. private MissingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MissingData() { - } + + private MissingData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MissingData(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingData.class, com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingData.class, + com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5038,8 +5609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -5057,12 +5627,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingData)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.MissingData other = (com.google.cloud.dataplex.v1.Action.MissingData) obj; + com.google.cloud.dataplex.v1.Action.MissingData other = + (com.google.cloud.dataplex.v1.Action.MissingData) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5081,89 +5652,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.MissingData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5173,39 +5748,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for absence of data detected by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingData) com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.MissingData.class, com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); + com.google.cloud.dataplex.v1.Action.MissingData.class, + com.google.cloud.dataplex.v1.Action.MissingData.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.MissingData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5213,9 +5790,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; } @java.lang.Override @@ -5234,7 +5811,8 @@ public com.google.cloud.dataplex.v1.Action.MissingData build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingData buildPartial() { - com.google.cloud.dataplex.v1.Action.MissingData result = new com.google.cloud.dataplex.v1.Action.MissingData(this); + com.google.cloud.dataplex.v1.Action.MissingData result = + new com.google.cloud.dataplex.v1.Action.MissingData(this); onBuilt(); return result; } @@ -5243,38 +5821,41 @@ public com.google.cloud.dataplex.v1.Action.MissingData buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.MissingData) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingData)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingData) other); } else { super.mergeFrom(other); return this; @@ -5282,7 +5863,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingData other) { - if (other == com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5309,12 +5891,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5324,6 +5907,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5336,12 +5920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingData) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingData) private static final com.google.cloud.dataplex.v1.Action.MissingData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingData(); } @@ -5350,27 +5934,28 @@ public static com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MissingData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MissingData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5385,53 +5970,56 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InvalidDataOrganizationOrBuilder extends + public interface InvalidDataOrganizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataOrganization) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Action details for invalid data arrangement.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization} */ - public static final class InvalidDataOrganization extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InvalidDataOrganization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization) InvalidDataOrganizationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InvalidDataOrganization.newBuilder() to construct. private InvalidDataOrganization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InvalidDataOrganization() { - } + + private InvalidDataOrganization() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InvalidDataOrganization(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5443,8 +6031,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -5462,12 +6049,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other = (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) obj; + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other = + (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5486,89 +6074,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5578,39 +6171,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Action details for invalid data arrangement.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization) com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5618,13 +6213,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } @@ -5639,7 +6235,8 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization buildPartial() { - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result = new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(this); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result = + new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(this); onBuilt(); return result; } @@ -5648,38 +6245,41 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) { - return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) other); } else { super.mergeFrom(other); return this; @@ -5687,7 +6287,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other) { - if (other == com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5714,12 +6316,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5729,6 +6332,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5741,12 +6345,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization) - private static final com.google.cloud.dataplex.v1.Action.InvalidDataOrganization DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Action.InvalidDataOrganization + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(); } @@ -5755,27 +6360,28 @@ public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvalidDataOrganization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvalidDataOrganization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5790,14 +6396,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int detailsCase_ = 0; + @SuppressWarnings("serial") 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 { INVALID_DATA_FORMAT(10), INCOMPATIBLE_DATA_SCHEMA(11), @@ -5809,6 +6417,7 @@ public enum DetailsCase INVALID_DATA_ORGANIZATION(22), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -5824,64 +6433,86 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 10: return INVALID_DATA_FORMAT; - case 11: return INCOMPATIBLE_DATA_SCHEMA; - case 12: return INVALID_DATA_PARTITION; - case 13: return MISSING_DATA; - case 14: return MISSING_RESOURCE; - case 15: return UNAUTHORIZED_RESOURCE; - case 21: return FAILED_SECURITY_POLICY_APPLY; - case 22: return INVALID_DATA_ORGANIZATION; - case 0: return DETAILS_NOT_SET; - default: return null; + case 10: + return INVALID_DATA_FORMAT; + case 11: + return INCOMPATIBLE_DATA_SCHEMA; + case 12: + return INVALID_DATA_PARTITION; + case 13: + return MISSING_DATA; + case 14: + return MISSING_RESOURCE; + case 15: + return UNAUTHORIZED_RESOURCE; + case 21: + return FAILED_SECURITY_POLICY_APPLY; + case 22: + return INVALID_DATA_ORGANIZATION; + 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 CATEGORY_FIELD_NUMBER = 1; private int category_ = 0; /** + * + * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The enum numeric value on the wire for category. */ - @java.lang.Override public int getCategoryValue() { + @java.lang.Override + public int getCategoryValue() { return category_; } /** + * + * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The category. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Action.Category getCategory() { - com.google.cloud.dataplex.v1.Action.Category result = com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Action.Category getCategory() { + com.google.cloud.dataplex.v1.Action.Category result = + com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result; } public static final int ISSUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object issue_ = ""; /** + * + * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; + * * @return The issue. */ @java.lang.Override @@ -5890,29 +6521,29 @@ public java.lang.String getIssue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; } } /** + * + * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; + * * @return The bytes for issue. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -5923,11 +6554,14 @@ public java.lang.String getIssue() { public static final int DETECT_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp detectTime_; /** + * + * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return Whether the detectTime field is set. */ @java.lang.Override @@ -5935,11 +6569,14 @@ public boolean hasDetectTime() { return detectTime_ != null; } /** + * + * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return The detectTime. */ @java.lang.Override @@ -5947,6 +6584,8 @@ public com.google.protobuf.Timestamp getDetectTime() { return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; } /** + * + * *
    * The time that the issue was detected.
    * 
@@ -5959,9 +6598,12 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { } public static final int NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -5969,7 +6611,10 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -5978,14 +6623,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 relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -5993,17 +6639,18 @@ public java.lang.String getName() {
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -6012,15 +6659,21 @@ public java.lang.String getName() { } public static final int LAKE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object lake_ = ""; /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The lake. */ @java.lang.Override @@ -6029,30 +6682,32 @@ public java.lang.String getLake() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lake_ = s; return s; } } /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for lake. */ @java.lang.Override - public com.google.protobuf.ByteString - getLakeBytes() { + public com.google.protobuf.ByteString getLakeBytes() { java.lang.Object ref = lake_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lake_ = b; return b; } else { @@ -6061,15 +6716,21 @@ public java.lang.String getLake() { } public static final int ZONE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object zone_ = ""; /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The zone. */ @java.lang.Override @@ -6078,30 +6739,32 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -6110,15 +6773,21 @@ public java.lang.String getZone() { } public static final int ASSET_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The asset. */ @java.lang.Override @@ -6127,30 +6796,32 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -6159,10 +6830,13 @@ public java.lang.String getAsset() { } public static final int DATA_LOCATIONS_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6172,13 +6846,15 @@ public java.lang.String getAsset() {
    * 
* * repeated string data_locations = 9; + * * @return A list containing the dataLocations. */ - public com.google.protobuf.ProtocolStringList - getDataLocationsList() { + public com.google.protobuf.ProtocolStringList getDataLocationsList() { return dataLocations_; } /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6188,12 +6864,15 @@ public java.lang.String getAsset() {
    * 
* * repeated string data_locations = 9; + * * @return The count of dataLocations. */ public int getDataLocationsCount() { return dataLocations_.size(); } /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6203,6 +6882,7 @@ public int getDataLocationsCount() {
    * 
* * repeated string data_locations = 9; + * * @param index The index of the element to return. * @return The dataLocations at the given index. */ @@ -6210,6 +6890,8 @@ public java.lang.String getDataLocations(int index) { return dataLocations_.get(index); } /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -6219,21 +6901,24 @@ public java.lang.String getDataLocations(int index) {
    * 
* * repeated string data_locations = 9; + * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - public com.google.protobuf.ByteString - getDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getDataLocationsBytes(int index) { return dataLocations_.getByteString(index); } public static final int INVALID_DATA_FORMAT_FIELD_NUMBER = 10; /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return Whether the invalidDataFormat field is set. */ @java.lang.Override @@ -6241,21 +6926,26 @@ public boolean hasInvalidDataFormat() { return detailsCase_ == 10; } /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return The invalidDataFormat. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat() { if (detailsCase_ == 10) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
@@ -6263,20 +6953,25 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataForma * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder + getInvalidDataFormatOrBuilder() { if (detailsCase_ == 10) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER = 11; /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return Whether the incompatibleDataSchema field is set. */ @java.lang.Override @@ -6284,43 +6979,54 @@ public boolean hasIncompatibleDataSchema() { return detailsCase_ == 11; } /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return The incompatibleDataSchema. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema() { if (detailsCase_ == 11) { - return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; + return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; } return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder + getIncompatibleDataSchemaOrBuilder() { if (detailsCase_ == 11) { - return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; + return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_; } return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); } public static final int INVALID_DATA_PARTITION_FIELD_NUMBER = 12; /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * * @return Whether the invalidDataPartition field is set. */ @java.lang.Override @@ -6328,22 +7034,27 @@ public boolean hasInvalidDataPartition() { return detailsCase_ == 12; } /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * * @return The invalidDataPartition. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition() { if (detailsCase_ == 12) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance(); } /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
@@ -6352,20 +7063,24 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPa
    * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder() {
+  public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
+      getInvalidDataPartitionOrBuilder() {
     if (detailsCase_ == 12) {
-       return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
+      return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
     }
     return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
   }
 
   public static final int MISSING_DATA_FIELD_NUMBER = 13;
   /**
+   *
+   *
    * 
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return Whether the missingData field is set. */ @java.lang.Override @@ -6373,21 +7088,26 @@ public boolean hasMissingData() { return detailsCase_ == 13; } /** + * + * *
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return The missingData. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { if (detailsCase_ == 13) { - return (com.google.cloud.dataplex.v1.Action.MissingData) details_; + return (com.google.cloud.dataplex.v1.Action.MissingData) details_; } return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } /** + * + * *
    * Details for issues related to absence of data within managed resources.
    * 
@@ -6397,18 +7117,21 @@ public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder() { if (detailsCase_ == 13) { - return (com.google.cloud.dataplex.v1.Action.MissingData) details_; + return (com.google.cloud.dataplex.v1.Action.MissingData) details_; } return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } public static final int MISSING_RESOURCE_FIELD_NUMBER = 14; /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return Whether the missingResource field is set. */ @java.lang.Override @@ -6416,21 +7139,26 @@ public boolean hasMissingResource() { return detailsCase_ == 14; } /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return The missingResource. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() { if (detailsCase_ == 14) { - return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; + return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; } return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
@@ -6438,21 +7166,25 @@ public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder + getMissingResourceOrBuilder() { if (detailsCase_ == 14) { - return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; + return (com.google.cloud.dataplex.v1.Action.MissingResource) details_; } return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER = 15; /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * * @return Whether the unauthorizedResource field is set. */ @java.lang.Override @@ -6460,22 +7192,27 @@ public boolean hasUnauthorizedResource() { return detailsCase_ == 15; } /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * * @return The unauthorizedResource. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource() { if (detailsCase_ == 15) { - return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_; + return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_; } return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance(); } /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
@@ -6484,20 +7221,26 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedR
    * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder() {
+  public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
+      getUnauthorizedResourceOrBuilder() {
     if (detailsCase_ == 15) {
-       return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
+      return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
     }
     return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
   }
 
   public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER = 21;
   /**
+   *
+   *
    * 
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return Whether the failedSecurityPolicyApply field is set. */ @java.lang.Override @@ -6505,42 +7248,57 @@ public boolean hasFailedSecurityPolicyApply() { return detailsCase_ == 21; } /** + * + * *
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return The failedSecurityPolicyApply. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + getFailedSecurityPolicyApply() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; + return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; } return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); } /** + * + * *
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder + getFailedSecurityPolicyApplyOrBuilder() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; + return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; } return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); } public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER = 22; /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return Whether the invalidDataOrganization field is set. */ @java.lang.Override @@ -6548,36 +7306,45 @@ public boolean hasInvalidDataOrganization() { return detailsCase_ == 22; } /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return The invalidDataOrganization. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder + getInvalidDataOrganizationOrBuilder() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; + return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; } return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6589,9 +7356,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (category_ != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (category_ + != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { output.writeEnum(1, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { @@ -6619,7 +7386,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); } if (detailsCase_ == 11) { - output.writeMessage(11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); + output.writeMessage( + 11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); } if (detailsCase_ == 12) { output.writeMessage(12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); @@ -6634,10 +7402,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); } if (detailsCase_ == 21) { - output.writeMessage(21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); + output.writeMessage( + 21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); } if (detailsCase_ == 22) { - output.writeMessage(22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); + output.writeMessage( + 22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); } getUnknownFields().writeTo(output); } @@ -6648,16 +7418,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (category_ != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, category_); + if (category_ + != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, issue_); } if (detectTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDetectTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDetectTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -6680,36 +7449,44 @@ public int getSerializedSize() { size += 1 * getDataLocationsList().size(); } if (detailsCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_); } if (detailsCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_); } if (detailsCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_); } if (detailsCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.dataplex.v1.Action.MissingData) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.dataplex.v1.Action.MissingData) details_); } if (detailsCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_); } if (detailsCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_); } if (detailsCase_ == 21) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_); } if (detailsCase_ == 22) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6719,7 +7496,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Action)) { return super.equals(obj); @@ -6727,56 +7504,42 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.dataplex.v1.Action other = (com.google.cloud.dataplex.v1.Action) obj; if (category_ != other.category_) return false; - if (!getIssue() - .equals(other.getIssue())) return false; + if (!getIssue().equals(other.getIssue())) return false; if (hasDetectTime() != other.hasDetectTime()) return false; if (hasDetectTime()) { - if (!getDetectTime() - .equals(other.getDetectTime())) return false; - } - if (!getName() - .equals(other.getName())) return false; - if (!getLake() - .equals(other.getLake())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getAsset() - .equals(other.getAsset())) return false; - if (!getDataLocationsList() - .equals(other.getDataLocationsList())) return false; + if (!getDetectTime().equals(other.getDetectTime())) return false; + } + if (!getName().equals(other.getName())) return false; + if (!getLake().equals(other.getLake())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getAsset().equals(other.getAsset())) return false; + if (!getDataLocationsList().equals(other.getDataLocationsList())) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 10: - if (!getInvalidDataFormat() - .equals(other.getInvalidDataFormat())) return false; + if (!getInvalidDataFormat().equals(other.getInvalidDataFormat())) return false; break; case 11: - if (!getIncompatibleDataSchema() - .equals(other.getIncompatibleDataSchema())) return false; + if (!getIncompatibleDataSchema().equals(other.getIncompatibleDataSchema())) return false; break; case 12: - if (!getInvalidDataPartition() - .equals(other.getInvalidDataPartition())) return false; + if (!getInvalidDataPartition().equals(other.getInvalidDataPartition())) return false; break; case 13: - if (!getMissingData() - .equals(other.getMissingData())) return false; + if (!getMissingData().equals(other.getMissingData())) return false; break; case 14: - if (!getMissingResource() - .equals(other.getMissingResource())) return false; + if (!getMissingResource().equals(other.getMissingResource())) return false; break; case 15: - if (!getUnauthorizedResource() - .equals(other.getUnauthorizedResource())) return false; + if (!getUnauthorizedResource().equals(other.getUnauthorizedResource())) return false; break; case 21: - if (!getFailedSecurityPolicyApply() - .equals(other.getFailedSecurityPolicyApply())) return false; + if (!getFailedSecurityPolicyApply().equals(other.getFailedSecurityPolicyApply())) + return false; break; case 22: - if (!getInvalidDataOrganization() - .equals(other.getInvalidDataOrganization())) return false; + if (!getInvalidDataOrganization().equals(other.getInvalidDataOrganization())) return false; break; case 0: default: @@ -6853,132 +7616,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Action parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Action parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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; } /** + * + * *
    * Action represents an issue requiring administrator action for resolution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.Action) com.google.cloud.dataplex.v1.ActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Action.class, com.google.cloud.dataplex.v1.Action.Builder.class); + com.google.cloud.dataplex.v1.Action.class, + com.google.cloud.dataplex.v1.Action.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Action.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6994,8 +7760,7 @@ public Builder clear() { lake_ = ""; zone_ = ""; asset_ = ""; - dataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (invalidDataFormatBuilder_ != null) { invalidDataFormatBuilder_.clear(); } @@ -7026,9 +7791,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Action_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Action_descriptor; } @java.lang.Override @@ -7048,7 +7813,9 @@ public com.google.cloud.dataplex.v1.Action build() { @java.lang.Override public com.google.cloud.dataplex.v1.Action buildPartial() { com.google.cloud.dataplex.v1.Action result = new com.google.cloud.dataplex.v1.Action(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -7063,9 +7830,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action result) { result.issue_ = issue_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.detectTime_ = detectTimeBuilder_ == null - ? detectTime_ - : detectTimeBuilder_.build(); + result.detectTime_ = detectTimeBuilder_ == null ? detectTime_ : detectTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.name_ = name_; @@ -7088,36 +7853,28 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Action result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.Action result) { result.detailsCase_ = detailsCase_; result.details_ = this.details_; - if (detailsCase_ == 10 && - invalidDataFormatBuilder_ != null) { + if (detailsCase_ == 10 && invalidDataFormatBuilder_ != null) { result.details_ = invalidDataFormatBuilder_.build(); } - if (detailsCase_ == 11 && - incompatibleDataSchemaBuilder_ != null) { + if (detailsCase_ == 11 && incompatibleDataSchemaBuilder_ != null) { result.details_ = incompatibleDataSchemaBuilder_.build(); } - if (detailsCase_ == 12 && - invalidDataPartitionBuilder_ != null) { + if (detailsCase_ == 12 && invalidDataPartitionBuilder_ != null) { result.details_ = invalidDataPartitionBuilder_.build(); } - if (detailsCase_ == 13 && - missingDataBuilder_ != null) { + if (detailsCase_ == 13 && missingDataBuilder_ != null) { result.details_ = missingDataBuilder_.build(); } - if (detailsCase_ == 14 && - missingResourceBuilder_ != null) { + if (detailsCase_ == 14 && missingResourceBuilder_ != null) { result.details_ = missingResourceBuilder_.build(); } - if (detailsCase_ == 15 && - unauthorizedResourceBuilder_ != null) { + if (detailsCase_ == 15 && unauthorizedResourceBuilder_ != null) { result.details_ = unauthorizedResourceBuilder_.build(); } - if (detailsCase_ == 21 && - failedSecurityPolicyApplyBuilder_ != null) { + if (detailsCase_ == 21 && failedSecurityPolicyApplyBuilder_ != null) { result.details_ = failedSecurityPolicyApplyBuilder_.build(); } - if (detailsCase_ == 22 && - invalidDataOrganizationBuilder_ != null) { + if (detailsCase_ == 22 && invalidDataOrganizationBuilder_ != null) { result.details_ = invalidDataOrganizationBuilder_.build(); } } @@ -7126,38 +7883,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Action result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Action) { - return mergeFrom((com.google.cloud.dataplex.v1.Action)other); + return mergeFrom((com.google.cloud.dataplex.v1.Action) other); } else { super.mergeFrom(other); return this; @@ -7208,41 +7966,50 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Action other) { onChanged(); } switch (other.getDetailsCase()) { - case INVALID_DATA_FORMAT: { - mergeInvalidDataFormat(other.getInvalidDataFormat()); - break; - } - case INCOMPATIBLE_DATA_SCHEMA: { - mergeIncompatibleDataSchema(other.getIncompatibleDataSchema()); - break; - } - case INVALID_DATA_PARTITION: { - mergeInvalidDataPartition(other.getInvalidDataPartition()); - break; - } - case MISSING_DATA: { - mergeMissingData(other.getMissingData()); - break; - } - case MISSING_RESOURCE: { - mergeMissingResource(other.getMissingResource()); - break; - } - case UNAUTHORIZED_RESOURCE: { - mergeUnauthorizedResource(other.getUnauthorizedResource()); - break; - } - case FAILED_SECURITY_POLICY_APPLY: { - mergeFailedSecurityPolicyApply(other.getFailedSecurityPolicyApply()); - break; - } - case INVALID_DATA_ORGANIZATION: { - mergeInvalidDataOrganization(other.getInvalidDataOrganization()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case INVALID_DATA_FORMAT: + { + mergeInvalidDataFormat(other.getInvalidDataFormat()); + break; + } + case INCOMPATIBLE_DATA_SCHEMA: + { + mergeIncompatibleDataSchema(other.getIncompatibleDataSchema()); + break; + } + case INVALID_DATA_PARTITION: + { + mergeInvalidDataPartition(other.getInvalidDataPartition()); + break; + } + case MISSING_DATA: + { + mergeMissingData(other.getMissingData()); + break; + } + case MISSING_RESOURCE: + { + mergeMissingResource(other.getMissingResource()); + break; + } + case UNAUTHORIZED_RESOURCE: + { + mergeUnauthorizedResource(other.getUnauthorizedResource()); + break; + } + case FAILED_SECURITY_POLICY_APPLY: + { + mergeFailedSecurityPolicyApply(other.getFailedSecurityPolicyApply()); + break; + } + case INVALID_DATA_ORGANIZATION: + { + mergeInvalidDataOrganization(other.getInvalidDataOrganization()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -7270,111 +8037,116 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - category_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - issue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - input.readMessage( - getDetectTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - lake_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - zone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDataLocationsIsMutable(); - dataLocations_.add(s); - break; - } // case 74 - case 82: { - input.readMessage( - getInvalidDataFormatFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 10; - break; - } // case 82 - case 90: { - input.readMessage( - getIncompatibleDataSchemaFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 11; - break; - } // case 90 - case 98: { - input.readMessage( - getInvalidDataPartitionFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 12; - break; - } // case 98 - case 106: { - input.readMessage( - getMissingDataFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 13; - break; - } // case 106 - case 114: { - input.readMessage( - getMissingResourceFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 14; - break; - } // case 114 - case 122: { - input.readMessage( - getUnauthorizedResourceFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 15; - break; - } // case 122 - case 170: { - input.readMessage( - getFailedSecurityPolicyApplyFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 21; - break; - } // case 170 - case 178: { - input.readMessage( - getInvalidDataOrganizationFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 22; - break; - } // case 178 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + category_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + issue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + input.readMessage(getDetectTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + lake_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDataLocationsIsMutable(); + dataLocations_.add(s); + break; + } // case 74 + case 82: + { + input.readMessage( + getInvalidDataFormatFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 10; + break; + } // case 82 + case 90: + { + input.readMessage( + getIncompatibleDataSchemaFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 11; + break; + } // case 90 + case 98: + { + input.readMessage( + getInvalidDataPartitionFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 12; + break; + } // case 98 + case 106: + { + input.readMessage(getMissingDataFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 13; + break; + } // case 106 + case 114: + { + input.readMessage(getMissingResourceFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 14; + break; + } // case 114 + case 122: + { + input.readMessage( + getUnauthorizedResourceFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 15; + break; + } // case 122 + case 170: + { + input.readMessage( + getFailedSecurityPolicyApplyFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 21; + break; + } // case 170 + case 178: + { + input.readMessage( + getInvalidDataOrganizationFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 22; + break; + } // case 178 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7384,12 +8156,12 @@ public Builder mergeFrom( } // finally 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() { @@ -7403,22 +8175,29 @@ public Builder clearDetails() { private int category_ = 0; /** + * + * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The enum numeric value on the wire for category. */ - @java.lang.Override public int getCategoryValue() { + @java.lang.Override + public int getCategoryValue() { return category_; } /** + * + * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @param value The enum numeric value on the wire for category to set. * @return This builder for chaining. */ @@ -7429,24 +8208,31 @@ public Builder setCategoryValue(int value) { return this; } /** + * + * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The category. */ @java.lang.Override public com.google.cloud.dataplex.v1.Action.Category getCategory() { - com.google.cloud.dataplex.v1.Action.Category result = com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); + com.google.cloud.dataplex.v1.Action.Category result = + com.google.cloud.dataplex.v1.Action.Category.forNumber(category_); return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result; } /** + * + * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @param value The category to set. * @return This builder for chaining. */ @@ -7460,11 +8246,14 @@ public Builder setCategory(com.google.cloud.dataplex.v1.Action.Category value) { return this; } /** + * + * *
      * The category of issue associated with the action.
      * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return This builder for chaining. */ public Builder clearCategory() { @@ -7476,18 +8265,20 @@ public Builder clearCategory() { private java.lang.Object issue_ = ""; /** + * + * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; + * * @return The issue. */ public java.lang.String getIssue() { java.lang.Object ref = issue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issue_ = s; return s; @@ -7496,20 +8287,21 @@ public java.lang.String getIssue() { } } /** + * + * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; + * * @return The bytes for issue. */ - public com.google.protobuf.ByteString - getIssueBytes() { + public com.google.protobuf.ByteString getIssueBytes() { java.lang.Object ref = issue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issue_ = b; return b; } else { @@ -7517,28 +8309,35 @@ public java.lang.String getIssue() { } } /** + * + * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; + * * @param value The issue to set. * @return This builder for chaining. */ - public Builder setIssue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; + * * @return This builder for chaining. */ public Builder clearIssue() { @@ -7548,17 +8347,21 @@ public Builder clearIssue() { return this; } /** + * + * *
      * Detailed description of the issue requiring action.
      * 
* * string issue = 2; + * * @param value The bytes for issue to set. * @return This builder for chaining. */ - public Builder setIssueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issue_ = value; bitField0_ |= 0x00000002; @@ -7568,34 +8371,47 @@ public Builder setIssueBytes( private com.google.protobuf.Timestamp detectTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> detectTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + detectTimeBuilder_; /** + * + * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return Whether the detectTime field is set. */ public boolean hasDetectTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return The detectTime. */ public com.google.protobuf.Timestamp getDetectTime() { if (detectTimeBuilder_ == null) { - return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; + return detectTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : detectTime_; } else { return detectTimeBuilder_.getMessage(); } } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7616,14 +8432,15 @@ public Builder setDetectTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the issue was detected.
      * 
* * .google.protobuf.Timestamp detect_time = 4; */ - public Builder setDetectTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDetectTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (detectTimeBuilder_ == null) { detectTime_ = builderForValue.build(); } else { @@ -7634,6 +8451,8 @@ public Builder setDetectTime( return this; } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7642,9 +8461,9 @@ public Builder setDetectTime( */ public Builder mergeDetectTime(com.google.protobuf.Timestamp value) { if (detectTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - detectTime_ != null && - detectTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && detectTime_ != null + && detectTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDetectTimeBuilder().mergeFrom(value); } else { detectTime_ = value; @@ -7657,6 +8476,8 @@ public Builder mergeDetectTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7674,6 +8495,8 @@ public Builder clearDetectTime() { return this; } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7686,6 +8509,8 @@ public com.google.protobuf.Timestamp.Builder getDetectTimeBuilder() { return getDetectTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7696,11 +8521,14 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { if (detectTimeBuilder_ != null) { return detectTimeBuilder_.getMessageOrBuilder(); } else { - return detectTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_; + return detectTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : detectTime_; } } /** + * + * *
      * The time that the issue was detected.
      * 
@@ -7708,14 +8536,17 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { * .google.protobuf.Timestamp detect_time = 4; */ 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> getDetectTimeFieldBuilder() { if (detectTimeBuilder_ == null) { - detectTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDetectTime(), - getParentForChildren(), - isClean()); + detectTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDetectTime(), getParentForChildren(), isClean()); detectTime_ = null; } return detectTimeBuilder_; @@ -7723,6 +8554,8 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -7730,14 +8563,16 @@ public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -7746,6 +8581,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -7753,16 +8590,17 @@ public java.lang.String getName() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -7770,6 +8608,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -7777,19 +8617,25 @@ public java.lang.String getName() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -7797,7 +8643,10 @@ public Builder setName(
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -7807,6 +8656,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the action, of the form:
      * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -7814,13 +8665,17 @@ public Builder clearName() {
      * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
      * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -7830,19 +8685,23 @@ public Builder setNameBytes( private java.lang.Object lake_ = ""; /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The lake. */ public java.lang.String getLake() { java.lang.Object ref = lake_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lake_ = s; return s; @@ -7851,21 +8710,24 @@ public java.lang.String getLake() { } } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for lake. */ - public com.google.protobuf.ByteString - getLakeBytes() { + public com.google.protobuf.ByteString getLakeBytes() { java.lang.Object ref = lake_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lake_ = b; return b; } else { @@ -7873,30 +8735,41 @@ public java.lang.String getLake() { } } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The lake to set. * @return This builder for chaining. */ - public Builder setLake( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLake(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } lake_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLake() { @@ -7906,18 +8779,24 @@ public Builder clearLake() { return this; } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for lake to set. * @return This builder for chaining. */ - public Builder setLakeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLakeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); lake_ = value; bitField0_ |= 0x00000010; @@ -7927,19 +8806,23 @@ public Builder setLakeBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -7948,21 +8831,24 @@ public java.lang.String getZone() { } } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -7970,30 +8856,41 @@ public java.lang.String getZone() { } } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zone_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearZone() { @@ -8003,18 +8900,24 @@ public Builder clearZone() { return this; } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zone_ = value; bitField0_ |= 0x00000020; @@ -8024,19 +8927,23 @@ public Builder setZoneBytes( private java.lang.Object asset_ = ""; /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -8045,21 +8952,24 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for asset. */ - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -8067,30 +8977,41 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } asset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -8100,18 +9021,24 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000040; @@ -8121,6 +9048,7 @@ public Builder setAssetBytes( private com.google.protobuf.LazyStringArrayList dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDataLocationsIsMutable() { if (!dataLocations_.isModifiable()) { dataLocations_ = new com.google.protobuf.LazyStringArrayList(dataLocations_); @@ -8128,6 +9056,8 @@ private void ensureDataLocationsIsMutable() { bitField0_ |= 0x00000080; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8137,14 +9067,16 @@ private void ensureDataLocationsIsMutable() {
      * 
* * repeated string data_locations = 9; + * * @return A list containing the dataLocations. */ - public com.google.protobuf.ProtocolStringList - getDataLocationsList() { + public com.google.protobuf.ProtocolStringList getDataLocationsList() { dataLocations_.makeImmutable(); return dataLocations_; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8154,12 +9086,15 @@ private void ensureDataLocationsIsMutable() {
      * 
* * repeated string data_locations = 9; + * * @return The count of dataLocations. */ public int getDataLocationsCount() { return dataLocations_.size(); } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8169,6 +9104,7 @@ public int getDataLocationsCount() {
      * 
* * repeated string data_locations = 9; + * * @param index The index of the element to return. * @return The dataLocations at the given index. */ @@ -8176,6 +9112,8 @@ public java.lang.String getDataLocations(int index) { return dataLocations_.get(index); } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8185,14 +9123,16 @@ public java.lang.String getDataLocations(int index) {
      * 
* * repeated string data_locations = 9; + * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - public com.google.protobuf.ByteString - getDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getDataLocationsBytes(int index) { return dataLocations_.getByteString(index); } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8202,13 +9142,15 @@ public java.lang.String getDataLocations(int index) {
      * 
* * repeated string data_locations = 9; + * * @param index The index to set the value at. * @param value The dataLocations to set. * @return This builder for chaining. */ - public Builder setDataLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataLocationsIsMutable(); dataLocations_.set(index, value); bitField0_ |= 0x00000080; @@ -8216,6 +9158,8 @@ public Builder setDataLocations( return this; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8225,12 +9169,14 @@ public Builder setDataLocations(
      * 
* * repeated string data_locations = 9; + * * @param value The dataLocations to add. * @return This builder for chaining. */ - public Builder addDataLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDataLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDataLocationsIsMutable(); dataLocations_.add(value); bitField0_ |= 0x00000080; @@ -8238,6 +9184,8 @@ public Builder addDataLocations( return this; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8247,19 +9195,20 @@ public Builder addDataLocations(
      * 
* * repeated string data_locations = 9; + * * @param values The dataLocations to add. * @return This builder for chaining. */ - public Builder addAllDataLocations( - java.lang.Iterable values) { + public Builder addAllDataLocations(java.lang.Iterable values) { ensureDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataLocations_); bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8269,16 +9218,19 @@ public Builder addAllDataLocations(
      * 
* * repeated string data_locations = 9; + * * @return This builder for chaining. */ public Builder clearDataLocations() { - dataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080);; + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; onChanged(); return this; } /** + * + * *
      * The list of data locations associated with this action. Cloud Storage
      * locations are represented as URI paths(E.g.
@@ -8288,12 +9240,14 @@ public Builder clearDataLocations() {
      * 
* * repeated string data_locations = 9; + * * @param value The bytes of the dataLocations to add. * @return This builder for chaining. */ - public Builder addDataLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDataLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDataLocationsIsMutable(); dataLocations_.add(value); @@ -8303,13 +9257,19 @@ public Builder addDataLocationsBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> invalidDataFormatBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> + invalidDataFormatBuilder_; /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return Whether the invalidDataFormat field is set. */ @java.lang.Override @@ -8317,11 +9277,14 @@ public boolean hasInvalidDataFormat() { return detailsCase_ == 10; } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return The invalidDataFormat. */ @java.lang.Override @@ -8339,13 +9302,16 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataForma } } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public Builder setInvalidDataFormat(com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { + public Builder setInvalidDataFormat( + com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { if (invalidDataFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8359,6 +9325,8 @@ public Builder setInvalidDataFormat(com.google.cloud.dataplex.v1.Action.InvalidD return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -8377,18 +9345,25 @@ public Builder setInvalidDataFormat( return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public Builder mergeInvalidDataFormat(com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { + public Builder mergeInvalidDataFormat( + com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) { if (invalidDataFormatBuilder_ == null) { - if (detailsCase_ == 10 && - details_ != com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 10 + && details_ + != com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder( + (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -8404,6 +9379,8 @@ public Builder mergeInvalidDataFormat(com.google.cloud.dataplex.v1.Action.Invali return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -8427,16 +9404,21 @@ public Builder clearInvalidDataFormat() { return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ - public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder getInvalidDataFormatBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder + getInvalidDataFormatBuilder() { return getInvalidDataFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -8444,7 +9426,8 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder getInvalidD * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder + getInvalidDataFormatOrBuilder() { if ((detailsCase_ == 10) && (invalidDataFormatBuilder_ != null)) { return invalidDataFormatBuilder_.getMessageOrBuilder(); } else { @@ -8455,6 +9438,8 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalid } } /** + * + * *
      * Details for issues related to invalid or unsupported data formats.
      * 
@@ -8462,14 +9447,19 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalid * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder> getInvalidDataFormatFieldBuilder() { if (invalidDataFormatBuilder_ == null) { if (!(detailsCase_ == 10)) { details_ = com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance(); } - invalidDataFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataFormat, com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>( + invalidDataFormatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataFormat, + com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_, getParentForChildren(), isClean()); @@ -8481,13 +9471,20 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalid } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> incompatibleDataSchemaBuilder_; + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> + incompatibleDataSchemaBuilder_; /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return Whether the incompatibleDataSchema field is set. */ @java.lang.Override @@ -8495,11 +9492,15 @@ public boolean hasIncompatibleDataSchema() { return detailsCase_ == 11; } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return The incompatibleDataSchema. */ @java.lang.Override @@ -8517,13 +9518,17 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibl } } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ - public Builder setIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { + public Builder setIncompatibleDataSchema( + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { if (incompatibleDataSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8537,11 +9542,14 @@ public Builder setIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.Inc return this; } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ public Builder setIncompatibleDataSchema( com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder builderForValue) { @@ -8555,18 +9563,27 @@ public Builder setIncompatibleDataSchema( return this; } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ - public Builder mergeIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { + public Builder mergeIncompatibleDataSchema( + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) { if (incompatibleDataSchemaBuilder_ == null) { - if (detailsCase_ == 11 && - details_ != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 11 + && details_ + != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema + .getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder( + (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -8582,11 +9599,14 @@ public Builder mergeIncompatibleDataSchema(com.google.cloud.dataplex.v1.Action.I return this; } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ public Builder clearIncompatibleDataSchema() { if (incompatibleDataSchemaBuilder_ == null) { @@ -8605,24 +9625,32 @@ public Builder clearIncompatibleDataSchema() { return this; } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder getIncompatibleDataSchemaBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder + getIncompatibleDataSchemaBuilder() { return getIncompatibleDataSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder() { + public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder + getIncompatibleDataSchemaOrBuilder() { if ((detailsCase_ == 11) && (incompatibleDataSchemaBuilder_ != null)) { return incompatibleDataSchemaBuilder_.getMessageOrBuilder(); } else { @@ -8633,21 +9661,30 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIn } } /** + * + * *
      * Details for issues related to incompatible schemas detected within data.
      * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder> getIncompatibleDataSchemaFieldBuilder() { if (incompatibleDataSchemaBuilder_ == null) { if (!(detailsCase_ == 11)) { - details_ = com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); - } - incompatibleDataSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>( + details_ = + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance(); + } + incompatibleDataSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder, + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>( (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_, getParentForChildren(), isClean()); @@ -8659,14 +9696,21 @@ public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIn } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> invalidDataPartitionBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> + invalidDataPartitionBuilder_; /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * + * * @return Whether the invalidDataPartition field is set. */ @java.lang.Override @@ -8674,12 +9718,16 @@ public boolean hasInvalidDataPartition() { return detailsCase_ == 12; } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * + * * @return The invalidDataPartition. */ @java.lang.Override @@ -8697,14 +9745,18 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPa } } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ - public Builder setInvalidDataPartition(com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { + public Builder setInvalidDataPartition( + com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { if (invalidDataPartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8718,12 +9770,15 @@ public Builder setInvalidDataPartition(com.google.cloud.dataplex.v1.Action.Inval return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ public Builder setInvalidDataPartition( com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder builderForValue) { @@ -8737,19 +9792,27 @@ public Builder setInvalidDataPartition( return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ - public Builder mergeInvalidDataPartition(com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { + public Builder mergeInvalidDataPartition( + com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) { if (invalidDataPartitionBuilder_ == null) { - if (detailsCase_ == 12 && - details_ != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 12 + && details_ + != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder( + (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -8765,12 +9828,15 @@ public Builder mergeInvalidDataPartition(com.google.cloud.dataplex.v1.Action.Inv return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ public Builder clearInvalidDataPartition() { if (invalidDataPartitionBuilder_ == null) { @@ -8789,26 +9855,34 @@ public Builder clearInvalidDataPartition() { return this; } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ - public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder getInvalidDataPartitionBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder + getInvalidDataPartitionBuilder() { return getInvalidDataPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder + getInvalidDataPartitionOrBuilder() { if ((detailsCase_ == 12) && (invalidDataPartitionBuilder_ != null)) { return invalidDataPartitionBuilder_.getMessageOrBuilder(); } else { @@ -8819,22 +9893,30 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInva } } /** + * + * *
      * Details for issues related to invalid or unsupported data partition
      * structure.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder> getInvalidDataPartitionFieldBuilder() { if (invalidDataPartitionBuilder_ == null) { if (!(detailsCase_ == 12)) { details_ = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance(); } - invalidDataPartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataPartition, com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>( + invalidDataPartitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataPartition, + com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_, getParentForChildren(), isClean()); @@ -8846,13 +9928,19 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInva } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> missingDataBuilder_; + com.google.cloud.dataplex.v1.Action.MissingData, + com.google.cloud.dataplex.v1.Action.MissingData.Builder, + com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> + missingDataBuilder_; /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return Whether the missingData field is set. */ @java.lang.Override @@ -8860,11 +9948,14 @@ public boolean hasMissingData() { return detailsCase_ == 13; } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return The missingData. */ @java.lang.Override @@ -8882,6 +9973,8 @@ public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() { } } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8902,6 +9995,8 @@ public Builder setMissingData(com.google.cloud.dataplex.v1.Action.MissingData va return this; } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8920,6 +10015,8 @@ public Builder setMissingData( return this; } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8928,10 +10025,13 @@ public Builder setMissingData( */ public Builder mergeMissingData(com.google.cloud.dataplex.v1.Action.MissingData value) { if (missingDataBuilder_ == null) { - if (detailsCase_ == 13 && - details_ != com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.MissingData.newBuilder((com.google.cloud.dataplex.v1.Action.MissingData) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 13 + && details_ != com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.MissingData.newBuilder( + (com.google.cloud.dataplex.v1.Action.MissingData) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -8947,6 +10047,8 @@ public Builder mergeMissingData(com.google.cloud.dataplex.v1.Action.MissingData return this; } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8970,6 +10072,8 @@ public Builder clearMissingData() { return this; } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8980,6 +10084,8 @@ public com.google.cloud.dataplex.v1.Action.MissingData.Builder getMissingDataBui return getMissingDataFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -8998,6 +10104,8 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr } } /** + * + * *
      * Details for issues related to absence of data within managed resources.
      * 
@@ -9005,14 +10113,19 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> + com.google.cloud.dataplex.v1.Action.MissingData, + com.google.cloud.dataplex.v1.Action.MissingData.Builder, + com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder> getMissingDataFieldBuilder() { if (missingDataBuilder_ == null) { if (!(detailsCase_ == 13)) { details_ = com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance(); } - missingDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingData, com.google.cloud.dataplex.v1.Action.MissingData.Builder, com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>( + missingDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.MissingData, + com.google.cloud.dataplex.v1.Action.MissingData.Builder, + com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>( (com.google.cloud.dataplex.v1.Action.MissingData) details_, getParentForChildren(), isClean()); @@ -9024,13 +10137,19 @@ public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> missingResourceBuilder_; + com.google.cloud.dataplex.v1.Action.MissingResource, + com.google.cloud.dataplex.v1.Action.MissingResource.Builder, + com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> + missingResourceBuilder_; /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return Whether the missingResource field is set. */ @java.lang.Override @@ -9038,11 +10157,14 @@ public boolean hasMissingResource() { return detailsCase_ == 14; } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return The missingResource. */ @java.lang.Override @@ -9060,6 +10182,8 @@ public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() } } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9080,6 +10204,8 @@ public Builder setMissingResource(com.google.cloud.dataplex.v1.Action.MissingRes return this; } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9098,6 +10224,8 @@ public Builder setMissingResource( return this; } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9106,10 +10234,14 @@ public Builder setMissingResource( */ public Builder mergeMissingResource(com.google.cloud.dataplex.v1.Action.MissingResource value) { if (missingResourceBuilder_ == null) { - if (detailsCase_ == 14 && - details_ != com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder((com.google.cloud.dataplex.v1.Action.MissingResource) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 14 + && details_ + != com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder( + (com.google.cloud.dataplex.v1.Action.MissingResource) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -9125,6 +10257,8 @@ public Builder mergeMissingResource(com.google.cloud.dataplex.v1.Action.MissingR return this; } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9148,6 +10282,8 @@ public Builder clearMissingResource() { return this; } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9158,6 +10294,8 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes return getMissingResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9165,7 +10303,8 @@ public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingRes * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder + getMissingResourceOrBuilder() { if ((detailsCase_ == 14) && (missingResourceBuilder_ != null)) { return missingResourceBuilder_.getMessageOrBuilder(); } else { @@ -9176,6 +10315,8 @@ public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingRe } } /** + * + * *
      * Details for issues related to absence of a managed resource.
      * 
@@ -9183,14 +10324,19 @@ public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingRe * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> + com.google.cloud.dataplex.v1.Action.MissingResource, + com.google.cloud.dataplex.v1.Action.MissingResource.Builder, + com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder> getMissingResourceFieldBuilder() { if (missingResourceBuilder_ == null) { if (!(detailsCase_ == 14)) { details_ = com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance(); } - missingResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.MissingResource, com.google.cloud.dataplex.v1.Action.MissingResource.Builder, com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>( + missingResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.MissingResource, + com.google.cloud.dataplex.v1.Action.MissingResource.Builder, + com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>( (com.google.cloud.dataplex.v1.Action.MissingResource) details_, getParentForChildren(), isClean()); @@ -9202,14 +10348,21 @@ public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingRe } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> unauthorizedResourceBuilder_; + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, + com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, + com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> + unauthorizedResourceBuilder_; /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * + * * @return Whether the unauthorizedResource field is set. */ @java.lang.Override @@ -9217,12 +10370,16 @@ public boolean hasUnauthorizedResource() { return detailsCase_ == 15; } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * + * * @return The unauthorizedResource. */ @java.lang.Override @@ -9240,14 +10397,18 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedR } } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ - public Builder setUnauthorizedResource(com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { + public Builder setUnauthorizedResource( + com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { if (unauthorizedResourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9261,12 +10422,15 @@ public Builder setUnauthorizedResource(com.google.cloud.dataplex.v1.Action.Unaut return this; } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ public Builder setUnauthorizedResource( com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder builderForValue) { @@ -9280,19 +10444,27 @@ public Builder setUnauthorizedResource( return this; } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ - public Builder mergeUnauthorizedResource(com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { + public Builder mergeUnauthorizedResource( + com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) { if (unauthorizedResourceBuilder_ == null) { - if (detailsCase_ == 15 && - details_ != com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder((com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 15 + && details_ + != com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder( + (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -9308,12 +10480,15 @@ public Builder mergeUnauthorizedResource(com.google.cloud.dataplex.v1.Action.Una return this; } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ public Builder clearUnauthorizedResource() { if (unauthorizedResourceBuilder_ == null) { @@ -9332,26 +10507,34 @@ public Builder clearUnauthorizedResource() { return this; } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ - public com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder getUnauthorizedResourceBuilder() { + public com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder + getUnauthorizedResourceBuilder() { return getUnauthorizedResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder() { + public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder + getUnauthorizedResourceOrBuilder() { if ((detailsCase_ == 15) && (unauthorizedResourceBuilder_ != null)) { return unauthorizedResourceBuilder_.getMessageOrBuilder(); } else { @@ -9362,22 +10545,30 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnau } } /** + * + * *
      * Details for issues related to lack of permissions to access data
      * resources.
      * 
* - * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, + com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, + com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder> getUnauthorizedResourceFieldBuilder() { if (unauthorizedResourceBuilder_ == null) { if (!(detailsCase_ == 15)) { details_ = com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance(); } - unauthorizedResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.UnauthorizedResource, com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>( + unauthorizedResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.UnauthorizedResource, + com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder, + com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>( (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_, getParentForChildren(), isClean()); @@ -9389,13 +10580,21 @@ public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnau } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> failedSecurityPolicyApplyBuilder_; + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> + failedSecurityPolicyApplyBuilder_; /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return Whether the failedSecurityPolicyApply field is set. */ @java.lang.Override @@ -9403,15 +10602,21 @@ public boolean hasFailedSecurityPolicyApply() { return detailsCase_ == 21; } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return The failedSecurityPolicyApply. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + getFailedSecurityPolicyApply() { if (failedSecurityPolicyApplyBuilder_ == null) { if (detailsCase_ == 21) { return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_; @@ -9425,13 +10630,18 @@ public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSe } } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ - public Builder setFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { + public Builder setFailedSecurityPolicyApply( + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { if (failedSecurityPolicyApplyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9445,11 +10655,15 @@ public Builder setFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Action. return this; } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ public Builder setFailedSecurityPolicyApply( com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder builderForValue) { @@ -9463,18 +10677,28 @@ public Builder setFailedSecurityPolicyApply( return this; } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ - public Builder mergeFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { + public Builder mergeFailedSecurityPolicyApply( + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) { if (failedSecurityPolicyApplyBuilder_ == null) { - if (detailsCase_ == 21 && - details_ != com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 21 + && details_ + != com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply + .getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder( + (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -9490,11 +10714,15 @@ public Builder mergeFailedSecurityPolicyApply(com.google.cloud.dataplex.v1.Actio return this; } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ public Builder clearFailedSecurityPolicyApply() { if (failedSecurityPolicyApplyBuilder_ == null) { @@ -9513,24 +10741,34 @@ public Builder clearFailedSecurityPolicyApply() { return this; } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder getFailedSecurityPolicyApplyBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder + getFailedSecurityPolicyApplyBuilder() { return getFailedSecurityPolicyApplyFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder() { + public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder + getFailedSecurityPolicyApplyOrBuilder() { if ((detailsCase_ == 21) && (failedSecurityPolicyApplyBuilder_ != null)) { return failedSecurityPolicyApplyBuilder_.getMessageOrBuilder(); } else { @@ -9541,21 +10779,31 @@ public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder ge } } /** + * + * *
      * Details for issues related to applying security policy.
      * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder> getFailedSecurityPolicyApplyFieldBuilder() { if (failedSecurityPolicyApplyBuilder_ == null) { if (!(detailsCase_ == 21)) { - details_ = com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); - } - failedSecurityPolicyApplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>( + details_ = + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance(); + } + failedSecurityPolicyApplyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder, + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>( (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_, getParentForChildren(), isClean()); @@ -9567,13 +10815,21 @@ public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> invalidDataOrganizationBuilder_; + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> + invalidDataOrganizationBuilder_; /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return Whether the invalidDataOrganization field is set. */ @java.lang.Override @@ -9581,15 +10837,21 @@ public boolean hasInvalidDataOrganization() { return detailsCase_ == 22; } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return The invalidDataOrganization. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization + getInvalidDataOrganization() { if (invalidDataOrganizationBuilder_ == null) { if (detailsCase_ == 22) { return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_; @@ -9603,13 +10865,18 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDat } } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ - public Builder setInvalidDataOrganization(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { + public Builder setInvalidDataOrganization( + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { if (invalidDataOrganizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9623,11 +10890,15 @@ public Builder setInvalidDataOrganization(com.google.cloud.dataplex.v1.Action.In return this; } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ public Builder setInvalidDataOrganization( com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder builderForValue) { @@ -9641,18 +10912,28 @@ public Builder setInvalidDataOrganization( return this; } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ - public Builder mergeInvalidDataOrganization(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { + public Builder mergeInvalidDataOrganization( + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) { if (invalidDataOrganizationBuilder_ == null) { - if (detailsCase_ == 22 && - details_ != com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 22 + && details_ + != com.google.cloud.dataplex.v1.Action.InvalidDataOrganization + .getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder( + (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -9668,11 +10949,15 @@ public Builder mergeInvalidDataOrganization(com.google.cloud.dataplex.v1.Action. return this; } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ public Builder clearInvalidDataOrganization() { if (invalidDataOrganizationBuilder_ == null) { @@ -9691,24 +10976,34 @@ public Builder clearInvalidDataOrganization() { return this; } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder getInvalidDataOrganizationBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder + getInvalidDataOrganizationBuilder() { return getInvalidDataOrganizationFieldBuilder().getBuilder(); } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder() { + public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder + getInvalidDataOrganizationOrBuilder() { if ((detailsCase_ == 22) && (invalidDataOrganizationBuilder_ != null)) { return invalidDataOrganizationBuilder_.getMessageOrBuilder(); } else { @@ -9719,21 +11014,31 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getI } } /** + * + * *
      * Details for issues related to invalid data arrangement.
      * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder> getInvalidDataOrganizationFieldBuilder() { if (invalidDataOrganizationBuilder_ == null) { if (!(detailsCase_ == 22)) { - details_ = com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); - } - invalidDataOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>( + details_ = + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance(); + } + invalidDataOrganizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder, + com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>( (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_, getParentForChildren(), isClean()); @@ -9743,9 +11048,9 @@ public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getI onChanged(); return invalidDataOrganizationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9755,12 +11060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action) private static final com.google.cloud.dataplex.v1.Action DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action(); } @@ -9769,27 +11074,27 @@ public static com.google.cloud.dataplex.v1.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9804,6 +11109,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Action getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java similarity index 78% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java index 00d0c0995579..72f0ed9de689 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ActionOrBuilder.java @@ -1,70 +1,105 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface ActionOrBuilder extends +public interface ActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The enum numeric value on the wire for category. */ int getCategoryValue(); /** + * + * *
    * The category of issue associated with the action.
    * 
* * .google.cloud.dataplex.v1.Action.Category category = 1; + * * @return The category. */ com.google.cloud.dataplex.v1.Action.Category getCategory(); /** + * + * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; + * * @return The issue. */ java.lang.String getIssue(); /** + * + * *
    * Detailed description of the issue requiring action.
    * 
* * string issue = 2; + * * @return The bytes for issue. */ - com.google.protobuf.ByteString - getIssueBytes(); + com.google.protobuf.ByteString getIssueBytes(); /** + * + * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return Whether the detectTime field is set. */ boolean hasDetectTime(); /** + * + * *
    * The time that the issue was detected.
    * 
* * .google.protobuf.Timestamp detect_time = 4; + * * @return The detectTime. */ com.google.protobuf.Timestamp getDetectTime(); /** + * + * *
    * The time that the issue was detected.
    * 
@@ -74,6 +109,8 @@ public interface ActionOrBuilder extends com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder(); /** + * + * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -81,11 +118,16 @@ public interface ActionOrBuilder extends
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the action, of the form:
    * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
@@ -93,79 +135,110 @@ public interface ActionOrBuilder extends
    * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
    * 
* - * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The lake. */ java.lang.String getLake(); /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for lake. */ - com.google.protobuf.ByteString - getLakeBytes(); + com.google.protobuf.ByteString getLakeBytes(); /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -175,11 +248,13 @@ public interface ActionOrBuilder extends
    * 
* * repeated string data_locations = 9; + * * @return A list containing the dataLocations. */ - java.util.List - getDataLocationsList(); + java.util.List getDataLocationsList(); /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -189,10 +264,13 @@ public interface ActionOrBuilder extends
    * 
* * repeated string data_locations = 9; + * * @return The count of dataLocations. */ int getDataLocationsCount(); /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -202,11 +280,14 @@ public interface ActionOrBuilder extends
    * 
* * repeated string data_locations = 9; + * * @param index The index of the element to return. * @return The dataLocations at the given index. */ java.lang.String getDataLocations(int index); /** + * + * *
    * The list of data locations associated with this action. Cloud Storage
    * locations are represented as URI paths(E.g.
@@ -216,31 +297,39 @@ public interface ActionOrBuilder extends
    * 
* * repeated string data_locations = 9; + * * @param index The index of the value to return. * @return The bytes of the dataLocations at the given index. */ - com.google.protobuf.ByteString - getDataLocationsBytes(int index); + com.google.protobuf.ByteString getDataLocationsBytes(int index); /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return Whether the invalidDataFormat field is set. */ boolean hasInvalidDataFormat(); /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10; + * * @return The invalidDataFormat. */ com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat(); /** + * + * *
    * Details for issues related to invalid or unsupported data formats.
    * 
@@ -250,53 +339,73 @@ public interface ActionOrBuilder extends com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder(); /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return Whether the incompatibleDataSchema field is set. */ boolean hasIncompatibleDataSchema(); /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * + * * @return The incompatibleDataSchema. */ com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema(); /** + * + * *
    * Details for issues related to incompatible schemas detected within data.
    * 
* - * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11; + * */ - com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder(); + com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder + getIncompatibleDataSchemaOrBuilder(); /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * * @return Whether the invalidDataPartition field is set. */ boolean hasInvalidDataPartition(); /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
    * 
* * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12; + * * @return The invalidDataPartition. */ com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition(); /** + * + * *
    * Details for issues related to invalid or unsupported data partition
    * structure.
@@ -304,27 +413,36 @@ public interface ActionOrBuilder extends
    *
    * .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
    */
-  com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder();
+  com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
+      getInvalidDataPartitionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return Whether the missingData field is set. */ boolean hasMissingData(); /** + * + * *
    * Details for issues related to absence of data within managed resources.
    * 
* * .google.cloud.dataplex.v1.Action.MissingData missing_data = 13; + * * @return The missingData. */ com.google.cloud.dataplex.v1.Action.MissingData getMissingData(); /** + * + * *
    * Details for issues related to absence of data within managed resources.
    * 
@@ -334,24 +452,32 @@ public interface ActionOrBuilder extends com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder(); /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return Whether the missingResource field is set. */ boolean hasMissingResource(); /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
* * .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14; + * * @return The missingResource. */ com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource(); /** + * + * *
    * Details for issues related to absence of a managed resource.
    * 
@@ -361,26 +487,34 @@ public interface ActionOrBuilder extends com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder getMissingResourceOrBuilder(); /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * * @return Whether the unauthorizedResource field is set. */ boolean hasUnauthorizedResource(); /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
    * 
* * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15; + * * @return The unauthorizedResource. */ com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource(); /** + * + * *
    * Details for issues related to lack of permissions to access data
    * resources.
@@ -388,61 +522,89 @@ public interface ActionOrBuilder extends
    *
    * .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
    */
-  com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder();
+  com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
+      getUnauthorizedResourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return Whether the failedSecurityPolicyApply field is set. */ boolean hasFailedSecurityPolicyApply(); /** + * + * *
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * * @return The failedSecurityPolicyApply. */ com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply(); /** + * + * *
    * Details for issues related to applying security policy.
    * 
* - * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * + * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21; + * */ - com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder(); + com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder + getFailedSecurityPolicyApplyOrBuilder(); /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return Whether the invalidDataOrganization field is set. */ boolean hasInvalidDataOrganization(); /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * + * * @return The invalidDataOrganization. */ com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization(); /** + * + * *
    * Details for issues related to invalid data arrangement.
    * 
* - * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22; + * */ - com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder(); + com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder + getInvalidDataOrganizationOrBuilder(); com.google.cloud.dataplex.v1.Action.DetailsCase getDetailsCase(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java new file mode 100644 index 000000000000..5725000bebd8 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java @@ -0,0 +1,345 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/analyze.proto + +package com.google.cloud.dataplex.v1; + +public final class AnalyzeProto { + private AnalyzeProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Session_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/analyze.proto" + + "\022\030google.cloud.dataplex.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032(google/cloud/dataplex/v1/resourc" + + "es.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\263\r\n\013En" + + "vironment\022:\n\004name\030\001 \001(\tB,\342A\001\003\372A%\n#datapl" + + "ex.googleapis.com/Environment\022\032\n\014display" + + "_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013" + + "create_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022G\n\006labels\030\006 \003" + + "(\01321.google.cloud.dataplex.v1.Environmen" + + "t.LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\t" + + "B\004\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.dat" + + "aplex.v1.StateB\004\342A\001\003\022[\n\023infrastructure_s" + + "pec\030d \001(\01328.google.cloud.dataplex.v1.Env" + + "ironment.InfrastructureSpecB\004\342A\001\002\022M\n\014ses" + + "sion_spec\030e \001(\01321.google.cloud.dataplex." + + "v1.Environment.SessionSpecB\004\342A\001\001\022Q\n\016sess" + + "ion_status\030f \001(\01323.google.cloud.dataplex" + + ".v1.Environment.SessionStatusB\004\342A\001\003\022I\n\te" + + "ndpoints\030\310\001 \001(\0132/.google.cloud.dataplex." + + "v1.Environment.EndpointsB\004\342A\001\003\032\356\004\n\022Infra" + + "structureSpec\022b\n\007compute\0302 \001(\0132I.google." + + "cloud.dataplex.v1.Environment.Infrastruc" + + "tureSpec.ComputeResourcesB\004\342A\001\001H\000\022a\n\010os_" + + "image\030d \001(\0132G.google.cloud.dataplex.v1.E" + + "nvironment.InfrastructureSpec.OsImageRun" + + "timeB\004\342A\001\002H\001\032f\n\020ComputeResources\022\032\n\014disk" + + "_size_gb\030\001 \001(\005B\004\342A\001\001\022\030\n\nnode_count\030\002 \001(\005" + + "B\004\342A\001\001\022\034\n\016max_node_count\030\003 \001(\005B\004\342A\001\001\032\220\002\n" + + "\016OsImageRuntime\022\033\n\rimage_version\030\001 \001(\tB\004" + + "\342A\001\002\022\034\n\016java_libraries\030\002 \003(\tB\004\342A\001\001\022\035\n\017py" + + "thon_packages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030" + + "\004 \003(\0132W.google.cloud.dataplex.v1.Environ" + + "ment.InfrastructureSpec.OsImageRuntime.P" + + "ropertiesEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\013\n\tresou" + + "rcesB\t\n\007runtime\032l\n\013SessionSpec\022:\n\021max_id" + + "le_duration\030\001 \001(\0132\031.google.protobuf.Dura" + + "tionB\004\342A\001\001\022!\n\023enable_fast_startup\030\002 \001(\010B" + + "\004\342A\001\001\032%\n\rSessionStatus\022\024\n\006active\030\001 \001(\010B\004" + + "\342A\001\003\0327\n\tEndpoints\022\027\n\tnotebooks\030\001 \001(\tB\004\342A" + + "\001\003\022\021\n\003sql\030\002 \001(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y\352Av\n#datap" + + "lex.googleapis.com/Environment\022Oprojects" + + "/{project}/locations/{location}/lakes/{l" + + "ake}/environments/{environment}\"\260\007\n\007Cont" + + "ent\0226\n\004name\030\001 \001(\tB(\342A\001\003\372A!\n\037dataplex.goo" + + "gleapis.com/Content\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\022" + + "\n\004path\030\003 \001(\tB\004\342A\001\002\0225\n\013create_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022C\n\006labels\030\006 \003(\0132-.google.cloud." + + "dataplex.v1.Content.LabelsEntryB\004\342A\001\001\022\031\n" + + "\013description\030\007 \001(\tB\004\342A\001\001\022\031\n\tdata_text\030\t " + + "\001(\tB\004\342A\001\002H\000\022A\n\nsql_script\030d \001(\0132+.google" + + ".cloud.dataplex.v1.Content.SqlScriptH\001\022>" + + "\n\010notebook\030e \001(\0132*.google.cloud.dataplex" + + ".v1.Content.NotebookH\001\032\222\001\n\tSqlScript\022M\n\006" + + "engine\030\001 \001(\01627.google.cloud.dataplex.v1." + + "Content.SqlScript.QueryEngineB\004\342A\001\002\"6\n\013Q" + + "ueryEngine\022\034\n\030QUERY_ENGINE_UNSPECIFIED\020\000" + + "\022\t\n\005SPARK\020\002\032\224\001\n\010Notebook\022P\n\013kernel_type\030" + + "\001 \001(\01625.google.cloud.dataplex.v1.Content" + + ".Notebook.KernelTypeB\004\342A\001\002\"6\n\nKernelType" + + "\022\033\n\027KERNEL_TYPE_UNSPECIFIED\020\000\022\013\n\007PYTHON3" + + "\020\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001:l\352Ai\n\037dataplex.googleapis.com/" + + "Content\022Fprojects/{project}/locations/{l" + + "ocation}/lakes/{lake}/content/{content}B" + + "\006\n\004dataB\t\n\007content\"\321\002\n\007Session\0226\n\004name\030\001" + + " \001(\tB(\342A\001\003\372A!\n\037dataplex.googleapis.com/S" + + "ession\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\003\0225\n\013create_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0224\n\005state\030\004 \001(\0162\037.google.cloud.datap" + + "lex.v1.StateB\004\342A\001\003:\211\001\352A\205\001\n\037dataplex.goog" + + "leapis.com/Session\022bprojects/{project}/l" + + "ocations/{location}/lakes/{lake}/environ" + + "ments/{environment}/sessions/{session}Bh" + + "\n\034com.google.cloud.dataplex.v1B\014AnalyzeP" + + "rotoP\001Z8cloud.google.com/go/dataplex/api" + + "v1/dataplexpb;dataplexpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Environment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "State", + "InfrastructureSpec", + "SessionSpec", + "SessionStatus", + "Endpoints", + }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor, + new java.lang.String[] { + "Compute", "OsImage", "Resources", "Runtime", + }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor, + new java.lang.String[] { + "DiskSizeGb", "NodeCount", "MaxNodeCount", + }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor, + new java.lang.String[] { + "ImageVersion", "JavaLibraries", "PythonPackages", "Properties", + }); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor, + new java.lang.String[] { + "MaxIdleDuration", "EnableFastStartup", + }); + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor, + new java.lang.String[] { + "Active", + }); + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor, + new java.lang.String[] { + "Notebooks", "Sql", + }); + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Content_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Path", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "DataText", + "SqlScript", + "Notebook", + "Data", + "Content", + }); + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor, + new java.lang.String[] { + "Engine", + }); + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor, + new java.lang.String[] { + "KernelType", + }); + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Session_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Session_descriptor, + new java.lang.String[] { + "Name", "UserId", "CreateTime", "State", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java index 07c1bb8c28bf..3bae8ae653ea 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Asset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * An asset represents a cloud resource that is being managed within a lake as a
  * member of a zone.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Asset}
  */
-public final class Asset extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Asset extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset)
     AssetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Asset.newBuilder() to construct.
   private Asset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Asset() {
     name_ = "";
     displayName_ = "";
@@ -30,100 +48,120 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Asset_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Asset.class, com.google.cloud.dataplex.v1.Asset.Builder.class);
+            com.google.cloud.dataplex.v1.Asset.class,
+            com.google.cloud.dataplex.v1.Asset.Builder.class);
   }
 
-  public interface SecurityStatusOrBuilder extends
+  public interface SecurityStatusOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.SecurityStatus)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The state. */ com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
@@ -133,6 +171,8 @@ public interface SecurityStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } /** + * + * *
    * Security policy status of the asset. Data security policy, i.e., readers,
    * writers & owners, should be specified in the lake/zone/asset IAM policy.
@@ -140,15 +180,16 @@ public interface SecurityStatusOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Asset.SecurityStatus}
    */
-  public static final class SecurityStatus extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SecurityStatus extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.SecurityStatus)
       SecurityStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SecurityStatus.newBuilder() to construct.
     private SecurityStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SecurityStatus() {
       state_ = 0;
       message_ = "";
@@ -156,34 +197,38 @@ private SecurityStatus() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SecurityStatus();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Asset.SecurityStatus.class, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
+              com.google.cloud.dataplex.v1.Asset.SecurityStatus.class,
+              com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The state of the security policy.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.SecurityStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * State unspecified.
        * 
@@ -192,6 +237,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * Security policy has been successfully applied to the attached resource.
        * 
@@ -200,6 +247,8 @@ public enum State */ READY(1), /** + * + * *
        * Security policy is in the process of being applied to the attached
        * resource.
@@ -209,6 +258,8 @@ public enum State
        */
       APPLYING(2),
       /**
+       *
+       *
        * 
        * Security policy could not be applied to the attached resource due to
        * errors.
@@ -221,6 +272,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * State unspecified.
        * 
@@ -229,6 +282,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Security policy has been successfully applied to the attached resource.
        * 
@@ -237,6 +292,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
        * Security policy is in the process of being applied to the attached
        * resource.
@@ -246,6 +303,8 @@ public enum State
        */
       public static final int APPLYING_VALUE = 2;
       /**
+       *
+       *
        * 
        * Security policy could not be applied to the attached resource due to
        * errors.
@@ -255,7 +314,6 @@ public enum State
        */
       public static final int ERROR_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -280,50 +338,53 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return STATE_UNSPECIFIED;
-          case 1: return READY;
-          case 2: return APPLYING;
-          case 3: return ERROR;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return READY;
+          case 2:
+            return APPLYING;
+          case 3:
+            return ERROR;
+          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() {
-        return com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.Asset.SecurityStatus.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;
@@ -343,40 +404,55 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of the security policy applied to the attached
      * resource.
      * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -385,29 +461,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -418,11 +494,14 @@ public java.lang.String getMessage() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -430,11 +509,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ @java.lang.Override @@ -442,6 +524,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last update time of the status.
      * 
@@ -454,6 +538,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,9 +550,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -485,16 +571,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -504,20 +590,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.SecurityStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.SecurityStatus other = (com.google.cloud.dataplex.v1.Asset.SecurityStatus) obj; + com.google.cloud.dataplex.v1.Asset.SecurityStatus other = + (com.google.cloud.dataplex.v1.Asset.SecurityStatus) obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -544,89 +629,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.SecurityStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.SecurityStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -636,6 +725,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Security policy status of the asset. Data security policy, i.e., readers,
      * writers & owners, should be specified in the lake/zone/asset IAM policy.
@@ -643,33 +734,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Asset.SecurityStatus}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.SecurityStatus)
         com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Asset.SecurityStatus.class, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
+                com.google.cloud.dataplex.v1.Asset.SecurityStatus.class,
+                com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Asset.SecurityStatus.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -685,9 +776,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.ResourcesProto
+            .internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor;
       }
 
       @java.lang.Override
@@ -706,8 +797,11 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatus build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Asset.SecurityStatus buildPartial() {
-        com.google.cloud.dataplex.v1.Asset.SecurityStatus result = new com.google.cloud.dataplex.v1.Asset.SecurityStatus(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.Asset.SecurityStatus result =
+            new com.google.cloud.dataplex.v1.Asset.SecurityStatus(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -721,9 +815,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.SecurityStatus res
           result.message_ = message_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.updateTime_ = updateTimeBuilder_ == null
-              ? updateTime_
-              : updateTimeBuilder_.build();
+          result.updateTime_ =
+              updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         }
       }
 
@@ -731,38 +824,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.SecurityStatus res
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Asset.SecurityStatus) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Asset.SecurityStatus)other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Asset.SecurityStatus) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -770,7 +866,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.SecurityStatus other) {
-        if (other == com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) return this;
+        if (other == com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance())
+          return this;
         if (other.state_ != 0) {
           setStateValue(other.getStateValue());
         }
@@ -808,29 +905,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 18: {
-                message_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getUpdateTimeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  state_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 18:
+                {
+                  message_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -840,28 +939,36 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int state_ = 0;
       /**
+       *
+       *
        * 
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -872,26 +979,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State result = + com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.State.UNRECOGNIZED + : result; } /** + * + * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -905,12 +1021,15 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.SecurityStatus.State return this; } /** + * + * *
        * The current state of the security policy applied to the attached
        * resource.
        * 
* * .google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -922,18 +1041,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -942,20 +1063,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -963,28 +1085,35 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -994,17 +1123,21 @@ public Builder clearMessage() { return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -1014,34 +1147,47 @@ public Builder setMessageBytes( 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_; /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @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(); } } /** + * + * *
        * Last update time of the status.
        * 
@@ -1062,14 +1208,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1080,6 +1227,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -1088,9 +1237,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1103,6 +1252,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -1120,6 +1271,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -1132,6 +1285,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last update time of the status.
        * 
@@ -1142,11 +1297,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_; } } /** + * + * *
        * Last update time of the status.
        * 
@@ -1154,18 +1312,22 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1178,12 +1340,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.SecurityStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.SecurityStatus) private static final com.google.cloud.dataplex.v1.Asset.SecurityStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.SecurityStatus(); } @@ -1192,27 +1354,28 @@ public static com.google.cloud.dataplex.v1.Asset.SecurityStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,24 +1390,29 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.SecurityStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DiscoverySpecOrBuilder extends + public interface DiscoverySpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1254,11 +1422,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the includePatterns. */ - java.util.List - getIncludePatternsList(); + java.util.List getIncludePatternsList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1268,10 +1438,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of includePatterns. */ int getIncludePatternsCount(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1281,11 +1454,14 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ java.lang.String getIncludePatterns(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -1295,13 +1471,15 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - com.google.protobuf.ByteString - getIncludePatternsBytes(int index); + com.google.protobuf.ByteString getIncludePatternsBytes(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1310,11 +1488,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the excludePatterns. */ - java.util.List - getExcludePatternsList(); + java.util.List getExcludePatternsList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1323,10 +1503,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of excludePatterns. */ int getExcludePatternsCount(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1335,11 +1518,14 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ java.lang.String getExcludePatterns(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1348,67 +1534,97 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - com.google.protobuf.ByteString - getExcludePatternsBytes(int index); + com.google.protobuf.ByteString getExcludePatternsBytes(int index); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions(); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ boolean hasJsonOptions(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1421,10 +1637,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1437,10 +1656,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1453,140 +1675,162 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); com.google.cloud.dataplex.v1.Asset.DiscoverySpec.TriggerCase getTriggerCase(); } /** + * + * *
    * Settings to manage the metadata discovery and publishing for an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec} */ - public static final class DiscoverySpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DiscoverySpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec) DiscoverySpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoverySpec.newBuilder() to construct. private DiscoverySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiscoverySpec() { - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiscoverySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); } - public interface CsvOptionsOrBuilder extends + public interface CsvOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ int getHeaderRows(); /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ java.lang.String getDelimiter(); /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString - getDelimiterBytes(); + com.google.protobuf.ByteString getDelimiterBytes(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); /** + * + * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** + * + * *
      * Describe CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} */ - public static final class CsvOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CsvOptions() { delimiter_ = ""; encoding_ = ""; @@ -1594,33 +1838,37 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); } public static final int HEADER_ROWS_FIELD_NUMBER = 1; private int headerRows_ = 0; /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -1629,15 +1877,19 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ @java.lang.Override @@ -1646,30 +1898,30 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1678,14 +1930,18 @@ public java.lang.String getDelimiter() { } public static final int ENCODING_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -1694,29 +1950,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -1727,12 +1983,15 @@ public java.lang.String getEncoding() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 4; private boolean disableTypeInference_ = false; /** + * + * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -1741,6 +2000,7 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1752,8 +2012,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (headerRows_ != 0) { output.writeInt32(1, headerRows_); } @@ -1776,8 +2035,7 @@ public int getSerializedSize() { size = 0; if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, headerRows_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); @@ -1786,8 +2044,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1797,21 +2054,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other = + (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) obj; - if (getHeaderRows() - != other.getHeaderRows()) return false; - if (!getDelimiter() - .equals(other.getDelimiter())) return false; - if (!getEncoding() - .equals(other.getEncoding())) return false; - if (getDisableTypeInference() - != other.getDisableTypeInference()) return false; + if (getHeaderRows() != other.getHeaderRows()) return false; + if (!getDelimiter().equals(other.getDelimiter())) return false; + if (!getEncoding().equals(other.getEncoding())) return false; + if (getDisableTypeInference() != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1830,97 +2084,101 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1930,39 +2188,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Describe CSV and similar semi-structured data formats.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1975,13 +2235,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance(); } @@ -1996,13 +2257,17 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result = + new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.headerRows_ = headerRows_; @@ -2022,46 +2287,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions other) { + if (other + == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) + return this; if (other.getHeaderRows() != 0) { setHeaderRows(other.getHeaderRows()); } @@ -2104,32 +2375,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2139,16 +2415,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int headerRows_ ; + private int headerRows_; /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -2156,12 +2436,15 @@ public int getHeaderRows() { return headerRows_; } /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -2173,12 +2456,15 @@ public Builder setHeaderRows(int value) { return this; } /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -2190,19 +2476,21 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -2211,21 +2499,22 @@ public java.lang.String getDelimiter() { } } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -2233,30 +2522,37 @@ public java.lang.String getDelimiter() { } } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -2266,18 +2562,22 @@ public Builder clearDelimiter() { return this; } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -2287,18 +2587,20 @@ public Builder setDelimiterBytes( private java.lang.Object encoding_ = ""; /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2307,20 +2609,21 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2328,28 +2631,35 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2359,17 +2669,21 @@ public Builder clearEncoding() { return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000004; @@ -2377,14 +2691,17 @@ public Builder setEncodingBytes( return this; } - private boolean disableTypeInference_ ; + private boolean disableTypeInference_; /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -2392,12 +2709,15 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -2409,12 +2729,15 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -2423,6 +2746,7 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2435,41 +2759,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions) - private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions(); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2481,37 +2808,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface JsonOptionsOrBuilder extends + public interface JsonOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); /** + * + * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2519,59 +2854,68 @@ public interface JsonOptionsOrBuilder extends
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** + * + * *
      * Describe JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} */ - public static final class JsonOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -2580,29 +2924,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2613,6 +2957,8 @@ public java.lang.String getEncoding() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 2; private boolean disableTypeInference_ = false; /** + * + * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2620,6 +2966,7 @@ public java.lang.String getEncoding() {
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -2628,6 +2975,7 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2639,8 +2987,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -2660,8 +3007,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2671,17 +3017,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other = + (com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) obj; - if (!getEncoding() - .equals(other.getEncoding())) return false; - if (getDisableTypeInference() - != other.getDisableTypeInference()) return false; + if (!getEncoding().equals(other.getEncoding())) return false; + if (getDisableTypeInference() != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2696,97 +3041,101 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions 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.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseDelimitedFrom(java.io.InputStream input) + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions 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.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions 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.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions 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.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2796,39 +3145,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Describe JSON data format.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2839,13 +3190,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance(); } @@ -2860,13 +3212,17 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result = + new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encoding_ = encoding_; @@ -2880,46 +3236,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Json public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions other) { + if (other + == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) + return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -2954,22 +3316,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2979,22 +3344,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object encoding_ = ""; /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -3003,20 +3371,21 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -3024,28 +3393,35 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -3055,17 +3431,21 @@ public Builder clearEncoding() { return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -3073,8 +3453,10 @@ public Builder setEncodingBytes( return this; } - private boolean disableTypeInference_ ; + private boolean disableTypeInference_; /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3082,6 +3464,7 @@ public Builder setEncodingBytes(
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -3089,6 +3472,8 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3096,6 +3481,7 @@ public boolean getDisableTypeInference() {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -3107,6 +3493,8 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -3114,6 +3502,7 @@ public Builder setDisableTypeInference(boolean value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -3122,6 +3511,7 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3134,41 +3524,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions) - private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions(); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3180,21 +3573,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int triggerCase_ = 0; + @SuppressWarnings("serial") 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(10), TRIGGER_NOT_SET(0); private final int value; + private TriggerCase(int value) { this.value = value; } @@ -3210,30 +3607,35 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 10: return SCHEDULE; - case 0: return TRIGGER_NOT_SET; - default: return null; + case 10: + return SCHEDULE; + 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 ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** + * + * *
      * Optional. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -3242,10 +3644,13 @@ public boolean getEnabled() { } public static final int INCLUDE_PATTERNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3255,13 +3660,15 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList - getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList getIncludePatternsList() { return includePatterns_; } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3271,12 +3678,15 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3286,6 +3696,7 @@ public int getIncludePatternsCount() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -3293,6 +3704,8 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered.  For
@@ -3302,19 +3715,22 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString - getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } public static final int EXCLUDE_PATTERNS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3323,13 +3739,15 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList - getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList getExcludePatternsList() { return excludePatterns_; } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3338,12 +3756,15 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3352,6 +3773,7 @@ public int getExcludePatternsCount() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -3359,6 +3781,8 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3367,22 +3791,27 @@ public java.lang.String getExcludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString - getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } public static final int CSV_OPTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csvOptions_; /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -3390,37 +3819,56 @@ public boolean hasCsvOptions() { return csvOptions_ != null; } /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions() { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder + getCsvOptionsOrBuilder() { + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } public static final int JSON_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions jsonOptions_; /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ @java.lang.Override @@ -3428,31 +3876,47 @@ public boolean hasJsonOptions() { return jsonOptions_ != null; } /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions() { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder + getJsonOptionsOrBuilder() { + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } public static final int SCHEDULE_FIELD_NUMBER = 10; /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3465,12 +3929,15 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder get
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 10; } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3483,6 +3950,7 @@ public boolean hasSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ public java.lang.String getSchedule() { @@ -3493,8 +3961,7 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -3503,6 +3970,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3515,18 +3984,17 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -3537,6 +4005,7 @@ public java.lang.String getSchedule() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3548,8 +4017,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -3578,8 +4046,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } { int dataSize = 0; @@ -3598,12 +4065,10 @@ public int getSerializedSize() { size += 1 * getExcludePatternsList().size(); } if (csvOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCsvOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCsvOptions()); } if (jsonOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getJsonOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getJsonOptions()); } if (triggerCase_ == 10) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, trigger_); @@ -3616,34 +4081,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoverySpec other = (com.google.cloud.dataplex.v1.Asset.DiscoverySpec) obj; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec other = + (com.google.cloud.dataplex.v1.Asset.DiscoverySpec) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getIncludePatternsList() - .equals(other.getIncludePatternsList())) return false; - if (!getExcludePatternsList() - .equals(other.getExcludePatternsList())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getIncludePatternsList().equals(other.getIncludePatternsList())) return false; + if (!getExcludePatternsList().equals(other.getExcludePatternsList())) return false; if (hasCsvOptions() != other.hasCsvOptions()) return false; if (hasCsvOptions()) { - if (!getCsvOptions() - .equals(other.getCsvOptions())) return false; + if (!getCsvOptions().equals(other.getCsvOptions())) return false; } if (hasJsonOptions() != other.hasJsonOptions()) return false; if (hasJsonOptions()) { - if (!getJsonOptions() - .equals(other.getJsonOptions())) return false; + if (!getJsonOptions().equals(other.getJsonOptions())) return false; } if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 10: - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; break; case 0: default: @@ -3660,8 +4120,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); if (getIncludePatternsCount() > 0) { hash = (37 * hash) + INCLUDE_PATTERNS_FIELD_NUMBER; hash = (53 * hash) + getIncludePatternsList().hashCode(); @@ -3692,89 +4151,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoverySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3784,48 +4247,48 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Settings to manage the metadata discovery and publishing for an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoverySpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoverySpec) com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.class, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoverySpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; enabled_ = false; - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); csvOptions_ = null; if (csvOptionsBuilder_ != null) { csvOptionsBuilder_.dispose(); @@ -3842,9 +4305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; } @java.lang.Override @@ -3863,8 +4326,11 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoverySpec result = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.DiscoverySpec result = + new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3884,14 +4350,12 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoverySpec resu result.excludePatterns_ = excludePatterns_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.csvOptions_ = csvOptionsBuilder_ == null - ? csvOptions_ - : csvOptionsBuilder_.build(); + result.csvOptions_ = + csvOptionsBuilder_ == null ? csvOptions_ : csvOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.jsonOptions_ = jsonOptionsBuilder_ == null - ? jsonOptions_ - : jsonOptionsBuilder_.build(); + result.jsonOptions_ = + jsonOptionsBuilder_ == null ? jsonOptions_ : jsonOptionsBuilder_.build(); } } @@ -3904,38 +4368,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Asset.DiscoverySpec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoverySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoverySpec) other); } else { super.mergeFrom(other); return this; @@ -3943,7 +4410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -3974,15 +4442,17 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoverySpec other) mergeJsonOptions(other.getJsonOptions()); } switch (other.getTriggerCase()) { - case SCHEDULE: { - triggerCase_ = 10; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: { - break; - } + case SCHEDULE: + { + triggerCase_ = 10; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4010,49 +4480,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludePatternsIsMutable(); - includePatterns_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludePatternsIsMutable(); - excludePatterns_.add(s); - break; - } // case 26 - case 34: { - input.readMessage( - getCsvOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getJsonOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 10; - trigger_ = s; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePatternsIsMutable(); + includePatterns_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludePatternsIsMutable(); + excludePatterns_.add(s); + break; + } // case 26 + case 34: + { + input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getJsonOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 10; + trigger_ = s; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4062,12 +4535,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4079,13 +4552,16 @@ public Builder clearTrigger() { private int bitField0_; - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -4093,11 +4569,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4109,11 +4588,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
        * Optional. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4125,6 +4607,7 @@ public Builder clearEnabled() { private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludePatternsIsMutable() { if (!includePatterns_.isModifiable()) { includePatterns_ = new com.google.protobuf.LazyStringArrayList(includePatterns_); @@ -4132,6 +4615,8 @@ private void ensureIncludePatternsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4140,15 +4625,18 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList - getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList getIncludePatternsList() { includePatterns_.makeImmutable(); return includePatterns_; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4157,13 +4645,17 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4172,7 +4664,9 @@ public int getIncludePatternsCount() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -4180,6 +4674,8 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4188,15 +4684,18 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString - getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4205,14 +4704,17 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The includePatterns to set. * @return This builder for chaining. */ - public Builder setIncludePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludePatternsIsMutable(); includePatterns_.set(index, value); bitField0_ |= 0x00000002; @@ -4220,6 +4722,8 @@ public Builder setIncludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4228,13 +4732,16 @@ public Builder setIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludePatternsIsMutable(); includePatterns_.add(value); bitField0_ |= 0x00000002; @@ -4242,6 +4749,8 @@ public Builder addIncludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4250,20 +4759,22 @@ public Builder addIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The includePatterns to add. * @return This builder for chaining. */ - public Builder addAllIncludePatterns( - java.lang.Iterable values) { + public Builder addAllIncludePatterns(java.lang.Iterable values) { ensureIncludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePatterns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4272,17 +4783,21 @@ public Builder addAllIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearIncludePatterns() { - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered.  For
@@ -4291,13 +4806,16 @@ public Builder clearIncludePatterns() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludePatternsIsMutable(); includePatterns_.add(value); @@ -4308,6 +4826,7 @@ public Builder addIncludePatternsBytes( private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureExcludePatternsIsMutable() { if (!excludePatterns_.isModifiable()) { excludePatterns_ = new com.google.protobuf.LazyStringArrayList(excludePatterns_); @@ -4315,6 +4834,8 @@ private void ensureExcludePatternsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4322,15 +4843,18 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList - getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList getExcludePatternsList() { excludePatterns_.makeImmutable(); return excludePatterns_; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4338,13 +4862,17 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4352,7 +4880,9 @@ public int getExcludePatternsCount() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -4360,6 +4890,8 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4367,15 +4899,18 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString - getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4383,14 +4918,17 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The excludePatterns to set. * @return This builder for chaining. */ - public Builder setExcludePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExcludePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExcludePatternsIsMutable(); excludePatterns_.set(index, value); bitField0_ |= 0x00000004; @@ -4398,6 +4936,8 @@ public Builder setExcludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4405,13 +4945,16 @@ public Builder setExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExcludePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExcludePatternsIsMutable(); excludePatterns_.add(value); bitField0_ |= 0x00000004; @@ -4419,6 +4962,8 @@ public Builder addExcludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4426,20 +4971,22 @@ public Builder addExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The excludePatterns to add. * @return This builder for chaining. */ - public Builder addAllExcludePatterns( - java.lang.Iterable values) { + public Builder addAllExcludePatterns(java.lang.Iterable values) { ensureExcludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePatterns_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4447,17 +4994,21 @@ public Builder addAllExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearExcludePatterns() { - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4465,13 +5016,16 @@ public Builder clearExcludePatterns() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureExcludePatternsIsMutable(); excludePatterns_.add(value); @@ -4482,41 +5036,61 @@ public Builder addExcludePatternsBytes( private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csvOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> csvOptionsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> + csvOptionsBuilder_; /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ public boolean hasCsvOptions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions getCsvOptions() { if (csvOptionsBuilder_ == null) { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } else { return csvOptionsBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { + public Builder setCsvOptions( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4530,11 +5104,15 @@ public Builder setCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Cs return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCsvOptions( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder builderForValue) { @@ -4548,17 +5126,24 @@ public Builder setCsvOptions( return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { + public Builder mergeCsvOptions( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - csvOptions_ != null && - csvOptions_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && csvOptions_ != null + && csvOptions_ + != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions + .getDefaultInstance()) { getCsvOptionsBuilder().mergeFrom(value); } else { csvOptions_ = value; @@ -4571,11 +5156,15 @@ public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec. return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCsvOptions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4588,48 +5177,66 @@ public Builder clearCsvOptions() { return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder getCsvOptionsBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder + getCsvOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getCsvOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder + getCsvOptionsOrBuilder() { if (csvOptionsBuilder_ != null) { return csvOptionsBuilder_.getMessageOrBuilder(); } else { - return csvOptions_ == null ? - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { - csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder>( - getCsvOptions(), - getParentForChildren(), - isClean()); + csvOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder>( + getCsvOptions(), getParentForChildren(), isClean()); csvOptions_ = null; } return csvOptionsBuilder_; @@ -4637,41 +5244,61 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptionsOrBuilder getC private com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions jsonOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> jsonOptionsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> + jsonOptionsBuilder_; /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ public boolean hasJsonOptions() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions getJsonOptions() { if (jsonOptionsBuilder_ == null) { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } else { return jsonOptionsBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { + public Builder setJsonOptions( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4685,11 +5312,15 @@ public Builder setJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.J return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setJsonOptions( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder builderForValue) { @@ -4703,17 +5334,24 @@ public Builder setJsonOptions( return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { + public Builder mergeJsonOptions( + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - jsonOptions_ != null && - jsonOptions_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && jsonOptions_ != null + && jsonOptions_ + != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions + .getDefaultInstance()) { getJsonOptionsBuilder().mergeFrom(value); } else { jsonOptions_ = value; @@ -4726,11 +5364,15 @@ public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Asset.DiscoverySpec return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearJsonOptions() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4743,54 +5385,74 @@ public Builder clearJsonOptions() { return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder getJsonOptionsBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder + getJsonOptionsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getJsonOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder + getJsonOptionsOrBuilder() { if (jsonOptionsBuilder_ != null) { return jsonOptionsBuilder_.getMessageOrBuilder(); } else { - return jsonOptions_ == null ? - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder> getJsonOptionsFieldBuilder() { if (jsonOptionsBuilder_ == null) { - jsonOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder>( - getJsonOptions(), - getParentForChildren(), - isClean()); + jsonOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder>( + getJsonOptions(), getParentForChildren(), isClean()); jsonOptions_ = null; } return jsonOptionsBuilder_; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4803,6 +5465,7 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptionsOrBuilder get
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -4810,6 +5473,8 @@ public boolean hasSchedule() { return triggerCase_ == 10; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4822,6 +5487,7 @@ public boolean hasSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ @java.lang.Override @@ -4831,8 +5497,7 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -4843,6 +5508,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4855,19 +5522,18 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -4877,6 +5543,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4889,18 +5557,22 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } triggerCase_ = 10; trigger_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4913,6 +5585,7 @@ public Builder setSchedule(
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -4924,6 +5597,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4936,18 +5611,21 @@ public Builder clearSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); triggerCase_ = 10; trigger_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4960,12 +5638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoverySpec) private static final com.google.cloud.dataplex.v1.Asset.DiscoverySpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoverySpec(); } @@ -4974,27 +5652,28 @@ public static com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5009,14 +5688,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceSpecOrBuilder extends + public interface ResourceSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.ResourceSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5025,10 +5706,13 @@ public interface ResourceSpecOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5037,67 +5721,90 @@ public interface ResourceSpecOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Required. Immutable. Type of resource.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Required. Immutable. Type of resource.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType(); /** + * + * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for readAccessMode. */ int getReadAccessModeValue(); /** + * + * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readAccessMode. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode(); } /** + * + * *
    * Identifies the cloud resource that is referenced by this asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceSpec} */ - public static final class ResourceSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResourceSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.ResourceSpec) ResourceSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceSpec.newBuilder() to construct. private ResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceSpec() { name_ = ""; type_ = 0; @@ -5106,34 +5813,38 @@ private ResourceSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); } /** + * + * *
      * Type of resource.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceSpec.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Type not specified.
        * 
@@ -5142,6 +5853,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * Cloud Storage bucket.
        * 
@@ -5150,6 +5863,8 @@ public enum Type */ STORAGE_BUCKET(1), /** + * + * *
        * BigQuery dataset.
        * 
@@ -5161,6 +5876,8 @@ public enum Type ; /** + * + * *
        * Type not specified.
        * 
@@ -5169,6 +5886,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Cloud Storage bucket.
        * 
@@ -5177,6 +5896,8 @@ public enum Type */ public static final int STORAGE_BUCKET_VALUE = 1; /** + * + * *
        * BigQuery dataset.
        * 
@@ -5185,7 +5906,6 @@ public enum Type */ public static final int BIGQUERY_DATASET_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -5210,49 +5930,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return STORAGE_BUCKET; - case 2: return BIGQUERY_DATASET; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return STORAGE_BUCKET; + case 2: + return BIGQUERY_DATASET; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -5270,6 +5992,8 @@ private Type(int value) { } /** + * + * *
      * Access Mode determines how data stored within the resource is read. This
      * is only applicable to storage bucket assets.
@@ -5277,9 +6001,10 @@ private Type(int value) {
      *
      * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode}
      */
-    public enum AccessMode
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Access mode unspecified.
        * 
@@ -5288,6 +6013,8 @@ public enum AccessMode */ ACCESS_MODE_UNSPECIFIED(0), /** + * + * *
        * Default. Data is accessed directly using storage APIs.
        * 
@@ -5296,6 +6023,8 @@ public enum AccessMode */ DIRECT(1), /** + * + * *
        * Data is accessed through a managed interface using BigQuery APIs.
        * 
@@ -5307,6 +6036,8 @@ public enum AccessMode ; /** + * + * *
        * Access mode unspecified.
        * 
@@ -5315,6 +6046,8 @@ public enum AccessMode */ public static final int ACCESS_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Default. Data is accessed directly using storage APIs.
        * 
@@ -5323,6 +6056,8 @@ public enum AccessMode */ public static final int DIRECT_VALUE = 1; /** + * + * *
        * Data is accessed through a managed interface using BigQuery APIs.
        * 
@@ -5331,7 +6066,6 @@ public enum AccessMode */ public static final int MANAGED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -5356,49 +6090,51 @@ public static AccessMode valueOf(int value) { */ public static AccessMode forNumber(int value) { switch (value) { - case 0: return ACCESS_MODE_UNSPECIFIED; - case 1: return DIRECT; - case 2: return MANAGED; - default: return null; + case 0: + return ACCESS_MODE_UNSPECIFIED; + case 1: + return DIRECT; + case 2: + return 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< - AccessMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AccessMode findValueByNumber(int number) { - return AccessMode.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 AccessMode findValueByNumber(int number) { + return AccessMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDescriptor() + .getEnumTypes() + .get(1); } private static final AccessMode[] VALUES = values(); - public static AccessMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AccessMode 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; @@ -5416,9 +6152,12 @@ private AccessMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5427,6 +6166,7 @@ private AccessMode(int value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -5435,14 +6175,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; } } /** + * + * *
      * Immutable. Relative name of the cloud resource that contains the data
      * that is being managed within a lake. For example:
@@ -5451,16 +6192,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @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 { @@ -5471,58 +6211,89 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
      * Required. Immutable. Type of resource.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. Type of resource.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED + : result; } public static final int READ_ACCESS_MODE_FIELD_NUMBER = 5; private int readAccessMode_ = 0; /** + * + * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for readAccessMode. */ - @java.lang.Override public int getReadAccessModeValue() { + @java.lang.Override + public int getReadAccessModeValue() { return readAccessMode_; } /** + * + * *
      * Optional. Determines how read permissions are handled for each asset and
      * their associated tables. Only available to storage buckets assets.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readAccessMode. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5534,15 +6305,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (readAccessMode_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { + if (readAccessMode_ + != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, readAccessMode_); } getUnknownFields().writeTo(output); @@ -5557,13 +6330,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (readAccessMode_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, readAccessMode_); + if (readAccessMode_ + != com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.ACCESS_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, readAccessMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5573,15 +6347,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.ResourceSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.ResourceSpec other = (com.google.cloud.dataplex.v1.Asset.ResourceSpec) obj; + com.google.cloud.dataplex.v1.Asset.ResourceSpec other = + (com.google.cloud.dataplex.v1.Asset.ResourceSpec) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (readAccessMode_ != other.readAccessMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -5607,89 +6381,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec 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.cloud.dataplex.v1.Asset.ResourceSpec parseDelimitedFrom(java.io.InputStream input) + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec 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.cloud.dataplex.v1.Asset.ResourceSpec 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.cloud.dataplex.v1.Asset.ResourceSpec 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.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.ResourceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.ResourceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5699,39 +6477,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Identifies the cloud resource that is referenced by this asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.ResourceSpec) com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceSpec.class, + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.ResourceSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5743,9 +6523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; } @java.lang.Override @@ -5764,8 +6544,11 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec buildPartial() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec result = new com.google.cloud.dataplex.v1.Asset.ResourceSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.ResourceSpec result = + new com.google.cloud.dataplex.v1.Asset.ResourceSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -5787,38 +6570,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceSpec resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.ResourceSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceSpec) other); } else { super.mergeFrom(other); return this; @@ -5826,7 +6612,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.ResourceSpec other) { - if (other == com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -5864,27 +6651,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 40: { - readAccessMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 40: + { + readAccessMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5894,10 +6685,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -5906,13 +6700,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @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; @@ -5921,6 +6715,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -5929,15 +6725,14 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @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 { @@ -5945,6 +6740,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -5953,18 +6750,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -5973,6 +6774,7 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -5982,6 +6784,8 @@ public Builder clearName() { return this; } /** + * + * *
        * Immutable. Relative name of the cloud resource that contains the data
        * that is being managed within a lake. For example:
@@ -5990,12 +6794,14 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6005,22 +6811,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
        * Required. Immutable. Type of resource.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Required. Immutable. Type of resource.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -6031,24 +6848,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * Required. Immutable. Type of resource.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type getType() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type result = + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Immutable. Type of resource.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -6062,11 +6892,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Asset.ResourceSpec.Type valu return this; } /** + * + * *
        * Required. Immutable. Type of resource.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -6078,24 +6913,35 @@ public Builder clearType() { private int readAccessMode_ = 0; /** + * + * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for readAccessMode. */ - @java.lang.Override public int getReadAccessModeValue() { + @java.lang.Override + public int getReadAccessModeValue() { return readAccessMode_; } /** + * + * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for readAccessMode to set. * @return This builder for chaining. */ @@ -6106,30 +6952,44 @@ public Builder setReadAccessModeValue(int value) { return this; } /** + * + * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readAccessMode. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode getReadAccessMode() { - com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode result = + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.forNumber(readAccessMode_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode.UNRECOGNIZED + : result; } /** + * + * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The readAccessMode to set. * @return This builder for chaining. */ - public Builder setReadAccessMode(com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode value) { + public Builder setReadAccessMode( + com.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode value) { if (value == null) { throw new NullPointerException(); } @@ -6139,12 +6999,17 @@ public Builder setReadAccessMode(com.google.cloud.dataplex.v1.Asset.ResourceSpec return this; } /** + * + * *
        * Optional. Determines how read permissions are handled for each asset and
        * their associated tables. Only available to storage buckets assets.
        * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearReadAccessMode() { @@ -6153,6 +7018,7 @@ public Builder clearReadAccessMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6165,12 +7031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.ResourceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.ResourceSpec) private static final com.google.cloud.dataplex.v1.Asset.ResourceSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.ResourceSpec(); } @@ -6179,27 +7045,28 @@ public static com.google.cloud.dataplex.v1.Asset.ResourceSpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6214,71 +7081,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.ResourceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceStatusOrBuilder extends + public interface ResourceStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.ResourceStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The state. */ com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
@@ -6288,41 +7174,49 @@ public interface ResourceStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The managedAccessIdentity. */ java.lang.String getManagedAccessIdentity(); /** + * + * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for managedAccessIdentity. */ - com.google.protobuf.ByteString - getManagedAccessIdentityBytes(); + com.google.protobuf.ByteString getManagedAccessIdentityBytes(); } /** + * + * *
    * Status of the resource referenced by an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceStatus} */ - public static final class ResourceStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResourceStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.ResourceStatus) ResourceStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceStatus.newBuilder() to construct. private ResourceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceStatus() { state_ = 0; message_ = ""; @@ -6331,34 +7225,38 @@ private ResourceStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, + com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); } /** + * + * *
      * The state of a resource.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.ResourceStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * State unspecified.
        * 
@@ -6367,6 +7265,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * Resource does not have any errors.
        * 
@@ -6375,6 +7275,8 @@ public enum State */ READY(1), /** + * + * *
        * Resource has errors.
        * 
@@ -6386,6 +7288,8 @@ public enum State ; /** + * + * *
        * State unspecified.
        * 
@@ -6394,6 +7298,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Resource does not have any errors.
        * 
@@ -6402,6 +7308,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
        * Resource has errors.
        * 
@@ -6410,7 +7318,6 @@ public enum State */ public static final int ERROR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -6435,49 +7342,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return ERROR; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return ERROR; + 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() { - return com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.ResourceStatus.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; @@ -6497,38 +7406,53 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** + * + * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of the managed resource.
      * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -6537,29 +7461,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -6570,11 +7494,14 @@ public java.lang.String getMessage() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6582,11 +7509,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ @java.lang.Override @@ -6594,6 +7524,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last update time of the status.
      * 
@@ -6606,14 +7538,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int MANAGED_ACCESS_IDENTITY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object managedAccessIdentity_ = ""; /** + * + * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The managedAccessIdentity. */ @java.lang.Override @@ -6622,29 +7558,29 @@ public java.lang.String getManagedAccessIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); managedAccessIdentity_ = s; return s; } } /** + * + * *
      * Output only. Service account associated with the BigQuery Connection.
      * 
* * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for managedAccessIdentity. */ @java.lang.Override - public com.google.protobuf.ByteString - getManagedAccessIdentityBytes() { + public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { java.lang.Object ref = managedAccessIdentity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); managedAccessIdentity_ = b; return b; } else { @@ -6653,6 +7589,7 @@ public java.lang.String getManagedAccessIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6664,9 +7601,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -6687,16 +7625,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managedAccessIdentity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, managedAccessIdentity_); @@ -6709,23 +7647,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.ResourceStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.ResourceStatus other = (com.google.cloud.dataplex.v1.Asset.ResourceStatus) obj; + com.google.cloud.dataplex.v1.Asset.ResourceStatus other = + (com.google.cloud.dataplex.v1.Asset.ResourceStatus) obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) 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 (!getManagedAccessIdentity() - .equals(other.getManagedAccessIdentity())) return false; + if (!getManagedAccessIdentity().equals(other.getManagedAccessIdentity())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6753,89 +7689,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.ResourceStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.ResourceStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6845,39 +7785,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of the resource referenced by an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.ResourceStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.ResourceStatus) com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.ResourceStatus.class, + com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.ResourceStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6894,9 +7836,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; } @java.lang.Override @@ -6915,8 +7857,11 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus buildPartial() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus result = new com.google.cloud.dataplex.v1.Asset.ResourceStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.ResourceStatus result = + new com.google.cloud.dataplex.v1.Asset.ResourceStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -6930,9 +7875,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceStatus res result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.managedAccessIdentity_ = managedAccessIdentity_; @@ -6943,38 +7887,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.ResourceStatus res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.ResourceStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.ResourceStatus) other); } else { super.mergeFrom(other); return this; @@ -6982,7 +7929,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.ResourceStatus other) { - if (other == com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) + return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -7025,34 +7973,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - managedAccessIdentity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + managedAccessIdentity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7062,26 +8013,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7092,24 +8051,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State result = + com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.State.UNRECOGNIZED + : result; } /** + * + * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -7123,11 +8091,14 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.ResourceStatus.State return this; } /** + * + * *
        * The current state of the managed resource.
        * 
* * .google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -7139,18 +8110,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -7159,20 +8132,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -7180,28 +8154,35 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -7211,17 +8192,21 @@ public Builder clearMessage() { return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -7231,34 +8216,47 @@ public Builder setMessageBytes( 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_; /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @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(); } } /** + * + * *
        * Last update time of the status.
        * 
@@ -7279,14 +8277,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -7297,6 +8296,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -7305,9 +8306,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -7320,6 +8321,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -7337,6 +8340,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -7349,6 +8354,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last update time of the status.
        * 
@@ -7359,11 +8366,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_; } } /** + * + * *
        * Last update time of the status.
        * 
@@ -7371,14 +8381,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -7386,18 +8399,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object managedAccessIdentity_ = ""; /** + * + * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The managedAccessIdentity. */ public java.lang.String getManagedAccessIdentity() { java.lang.Object ref = managedAccessIdentity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); managedAccessIdentity_ = s; return s; @@ -7406,20 +8422,22 @@ public java.lang.String getManagedAccessIdentity() { } } /** + * + * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for managedAccessIdentity. */ - public com.google.protobuf.ByteString - getManagedAccessIdentityBytes() { + public com.google.protobuf.ByteString getManagedAccessIdentityBytes() { java.lang.Object ref = managedAccessIdentity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); managedAccessIdentity_ = b; return b; } else { @@ -7427,28 +8445,37 @@ public java.lang.String getManagedAccessIdentity() { } } /** + * + * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The managedAccessIdentity to set. * @return This builder for chaining. */ - public Builder setManagedAccessIdentity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManagedAccessIdentity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } managedAccessIdentity_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearManagedAccessIdentity() { @@ -7458,23 +8485,29 @@ public Builder clearManagedAccessIdentity() { return this; } /** + * + * *
        * Output only. Service account associated with the BigQuery Connection.
        * 
* - * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for managedAccessIdentity to set. * @return This builder for chaining. */ - public Builder setManagedAccessIdentityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManagedAccessIdentityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); managedAccessIdentity_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7487,12 +8520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.ResourceStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.ResourceStatus) private static final com.google.cloud.dataplex.v1.Asset.ResourceStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.ResourceStatus(); } @@ -7501,27 +8534,28 @@ public static com.google.cloud.dataplex.v1.Asset.ResourceStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7536,71 +8570,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.ResourceStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DiscoveryStatusOrBuilder extends + public interface DiscoveryStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoveryStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The state. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last update time of the status.
      * 
@@ -7610,24 +8663,32 @@ public interface DiscoveryStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @return Whether the lastRunTime field is set. */ boolean hasLastRunTime(); /** + * + * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @return The lastRunTime. */ com.google.protobuf.Timestamp getLastRunTime(); /** + * + * *
      * The start time of the last discovery run.
      * 
@@ -7637,24 +8698,32 @@ public interface DiscoveryStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder(); /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return The stats. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats(); /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
@@ -7664,24 +8733,32 @@ public interface DiscoveryStatusOrBuilder extends com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder(); /** + * + * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return Whether the lastRunDuration field is set. */ boolean hasLastRunDuration(); /** + * + * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return The lastRunDuration. */ com.google.protobuf.Duration getLastRunDuration(); /** + * + * *
      * The duration of the last discovery run.
      * 
@@ -7691,21 +8768,24 @@ public interface DiscoveryStatusOrBuilder extends com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder(); } /** + * + * *
    * Status of discovery for an asset.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus} */ - public static final class DiscoveryStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DiscoveryStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus) DiscoveryStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoveryStatus.newBuilder() to construct. private DiscoveryStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiscoveryStatus() { state_ = 0; message_ = ""; @@ -7713,34 +8793,38 @@ private DiscoveryStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiscoveryStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); } /** + * + * *
      * Current state of discovery.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * State is unspecified.
        * 
@@ -7749,6 +8833,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * Discovery for the asset is scheduled.
        * 
@@ -7757,6 +8843,8 @@ public enum State */ SCHEDULED(1), /** + * + * *
        * Discovery for the asset is running.
        * 
@@ -7765,6 +8853,8 @@ public enum State */ IN_PROGRESS(2), /** + * + * *
        * Discovery for the asset is currently paused (e.g. due to a lack
        * of available resources). It will be automatically resumed.
@@ -7774,6 +8864,8 @@ public enum State
        */
       PAUSED(3),
       /**
+       *
+       *
        * 
        * Discovery for the asset is disabled.
        * 
@@ -7785,6 +8877,8 @@ public enum State ; /** + * + * *
        * State is unspecified.
        * 
@@ -7793,6 +8887,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Discovery for the asset is scheduled.
        * 
@@ -7801,6 +8897,8 @@ public enum State */ public static final int SCHEDULED_VALUE = 1; /** + * + * *
        * Discovery for the asset is running.
        * 
@@ -7809,6 +8907,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 2; /** + * + * *
        * Discovery for the asset is currently paused (e.g. due to a lack
        * of available resources). It will be automatically resumed.
@@ -7818,6 +8918,8 @@ public enum State
        */
       public static final int PAUSED_VALUE = 3;
       /**
+       *
+       *
        * 
        * Discovery for the asset is disabled.
        * 
@@ -7826,7 +8928,6 @@ public enum State */ public static final int DISABLED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -7851,51 +8952,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return SCHEDULED; - case 2: return IN_PROGRESS; - case 3: return PAUSED; - case 5: return DISABLED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return SCHEDULED; + case 2: + return IN_PROGRESS; + case 3: + return PAUSED; + case 5: + return DISABLED; + default: + return null; + } + } + + 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() { - return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.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; @@ -7912,97 +9017,116 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.State) } - public interface StatsOrBuilder extends + public interface StatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The count of data items within the referenced resource.
        * 
* * int64 data_items = 1; + * * @return The dataItems. */ long getDataItems(); /** + * + * *
        * The number of stored data bytes within the referenced resource.
        * 
* * int64 data_size = 2; + * * @return The dataSize. */ long getDataSize(); /** + * + * *
        * The count of table entities within the referenced resource.
        * 
* * int64 tables = 3; + * * @return The tables. */ long getTables(); /** + * + * *
        * The count of fileset entities within the referenced resource.
        * 
* * int64 filesets = 4; + * * @return The filesets. */ long getFilesets(); } /** + * + * *
      * The aggregated data statistics for the asset reported by discovery.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} */ - public static final class Stats extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Stats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) StatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Stats.newBuilder() to construct. private Stats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Stats() { - } + + private Stats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Stats(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); } public static final int DATA_ITEMS_FIELD_NUMBER = 1; private long dataItems_ = 0L; /** + * + * *
        * The count of data items within the referenced resource.
        * 
* * int64 data_items = 1; + * * @return The dataItems. */ @java.lang.Override @@ -8013,11 +9137,14 @@ public long getDataItems() { public static final int DATA_SIZE_FIELD_NUMBER = 2; private long dataSize_ = 0L; /** + * + * *
        * The number of stored data bytes within the referenced resource.
        * 
* * int64 data_size = 2; + * * @return The dataSize. */ @java.lang.Override @@ -8028,11 +9155,14 @@ public long getDataSize() { public static final int TABLES_FIELD_NUMBER = 3; private long tables_ = 0L; /** + * + * *
        * The count of table entities within the referenced resource.
        * 
* * int64 tables = 3; + * * @return The tables. */ @java.lang.Override @@ -8043,11 +9173,14 @@ public long getTables() { public static final int FILESETS_FIELD_NUMBER = 4; private long filesets_ = 0L; /** + * + * *
        * The count of fileset entities within the referenced resource.
        * 
* * int64 filesets = 4; + * * @return The filesets. */ @java.lang.Override @@ -8056,6 +9189,7 @@ public long getFilesets() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8067,8 +9201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataItems_ != 0L) { output.writeInt64(1, dataItems_); } @@ -8091,20 +9224,16 @@ public int getSerializedSize() { size = 0; if (dataItems_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, dataItems_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, dataItems_); } if (dataSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, dataSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, dataSize_); } if (tables_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, tables_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, tables_); } if (filesets_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, filesets_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, filesets_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8114,21 +9243,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other = (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) obj; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other = + (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) obj; - if (getDataItems() - != other.getDataItems()) return false; - if (getDataSize() - != other.getDataSize()) return false; - if (getTables() - != other.getTables()) return false; - if (getFilesets() - != other.getFilesets()) return false; + if (getDataItems() != other.getDataItems()) return false; + if (getDataSize() != other.getDataSize()) return false; + if (getTables() != other.getTables()) return false; + if (getFilesets() != other.getFilesets()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8141,106 +9267,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_ITEMS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDataItems()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataItems()); hash = (37 * hash) + DATA_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDataSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataSize()); hash = (37 * hash) + TABLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTables()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTables()); hash = (37 * hash) + FILESETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFilesets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFilesets()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8250,39 +9377,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The aggregated data statistics for the asset reported by discovery.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.class, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8295,13 +9424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance(); } @@ -8316,13 +9446,17 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result = + new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataItems_ = dataItems_; @@ -8342,38 +9476,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) other); } else { super.mergeFrom(other); return this; @@ -8381,7 +9518,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) + return this; if (other.getDataItems() != 0L) { setDataItems(other.getDataItems()); } @@ -8420,32 +9559,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - dataItems_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - dataSize_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - tables_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - filesets_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + dataItems_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + dataSize_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + tables_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + filesets_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8455,15 +9599,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long dataItems_ ; + private long dataItems_; /** + * + * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; + * * @return The dataItems. */ @java.lang.Override @@ -8471,11 +9619,14 @@ public long getDataItems() { return dataItems_; } /** + * + * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; + * * @param value The dataItems to set. * @return This builder for chaining. */ @@ -8487,11 +9638,14 @@ public Builder setDataItems(long value) { return this; } /** + * + * *
          * The count of data items within the referenced resource.
          * 
* * int64 data_items = 1; + * * @return This builder for chaining. */ public Builder clearDataItems() { @@ -8501,13 +9655,16 @@ public Builder clearDataItems() { return this; } - private long dataSize_ ; + private long dataSize_; /** + * + * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; + * * @return The dataSize. */ @java.lang.Override @@ -8515,11 +9672,14 @@ public long getDataSize() { return dataSize_; } /** + * + * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; + * * @param value The dataSize to set. * @return This builder for chaining. */ @@ -8531,11 +9691,14 @@ public Builder setDataSize(long value) { return this; } /** + * + * *
          * The number of stored data bytes within the referenced resource.
          * 
* * int64 data_size = 2; + * * @return This builder for chaining. */ public Builder clearDataSize() { @@ -8545,13 +9708,16 @@ public Builder clearDataSize() { return this; } - private long tables_ ; + private long tables_; /** + * + * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; + * * @return The tables. */ @java.lang.Override @@ -8559,11 +9725,14 @@ public long getTables() { return tables_; } /** + * + * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; + * * @param value The tables to set. * @return This builder for chaining. */ @@ -8575,11 +9744,14 @@ public Builder setTables(long value) { return this; } /** + * + * *
          * The count of table entities within the referenced resource.
          * 
* * int64 tables = 3; + * * @return This builder for chaining. */ public Builder clearTables() { @@ -8589,13 +9761,16 @@ public Builder clearTables() { return this; } - private long filesets_ ; + private long filesets_; /** + * + * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; + * * @return The filesets. */ @java.lang.Override @@ -8603,11 +9778,14 @@ public long getFilesets() { return filesets_; } /** + * + * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; + * * @param value The filesets to set. * @return This builder for chaining. */ @@ -8619,11 +9797,14 @@ public Builder setFilesets(long value) { return this; } /** + * + * *
          * The count of fileset entities within the referenced resource.
          * 
* * int64 filesets = 4; + * * @return This builder for chaining. */ public Builder clearFilesets() { @@ -8632,6 +9813,7 @@ public Builder clearFilesets() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8644,41 +9826,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats) - private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats(); } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaultInstance() { return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8693,44 +9877,58 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** + * + * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current status of the discovery feature.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -8739,29 +9937,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Additional information about the current state.
      * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -8772,11 +9970,14 @@ public java.lang.String getMessage() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -8784,11 +9985,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ @java.lang.Override @@ -8796,6 +10000,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last update time of the status.
      * 
@@ -8810,11 +10016,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastRunTime_; /** + * + * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @return Whether the lastRunTime field is set. */ @java.lang.Override @@ -8822,18 +10031,25 @@ public boolean hasLastRunTime() { return lastRunTime_ != null; } /** + * + * *
      * The start time of the last discovery run.
      * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @return The lastRunTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastRunTime() { - return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; + return lastRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastRunTime_; } /** + * + * *
      * The start time of the last discovery run.
      * 
@@ -8842,17 +10058,22 @@ public com.google.protobuf.Timestamp getLastRunTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { - return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; + return lastRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastRunTime_; } public static final int STATS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats_; /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -8860,18 +10081,25 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return The stats. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { - return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() + : stats_; } /** + * + * *
      * Data Stats of the asset reported by discovery.
      * 
@@ -8880,17 +10108,22 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder() { - return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() + : stats_; } public static final int LAST_RUN_DURATION_FIELD_NUMBER = 7; private com.google.protobuf.Duration lastRunDuration_; /** + * + * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return Whether the lastRunDuration field is set. */ @java.lang.Override @@ -8898,18 +10131,25 @@ public boolean hasLastRunDuration() { return lastRunDuration_ != null; } /** + * + * *
      * The duration of the last discovery run.
      * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return The lastRunDuration. */ @java.lang.Override public com.google.protobuf.Duration getLastRunDuration() { - return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; + return lastRunDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : lastRunDuration_; } /** + * + * *
      * The duration of the last discovery run.
      * 
@@ -8918,10 +10158,13 @@ public com.google.protobuf.Duration getLastRunDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { - return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; + return lastRunDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : lastRunDuration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8933,9 +10176,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -8962,28 +10206,25 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (lastRunTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLastRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastRunTime()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStats()); } if (lastRunDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLastRunDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastRunDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8993,35 +10234,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other = (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) obj; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other = + (com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) 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 (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (hasLastRunDuration() != other.hasLastRunDuration()) return false; if (hasLastRunDuration()) { - if (!getLastRunDuration() - .equals(other.getLastRunDuration())) return false; + if (!getLastRunDuration().equals(other.getLastRunDuration())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -9060,89 +10297,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9152,39 +10393,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of discovery for an asset.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Asset.DiscoveryStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset.DiscoveryStatus) com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.class, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -9215,9 +10458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; } @java.lang.Override @@ -9236,8 +10479,11 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus buildPartial() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus result = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus result = + new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -9251,24 +10497,19 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus re result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.lastRunTime_ = lastRunTimeBuilder_ == null - ? lastRunTime_ - : lastRunTimeBuilder_.build(); + result.lastRunTime_ = + lastRunTimeBuilder_ == null ? lastRunTime_ : lastRunTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.stats_ = statsBuilder_ == null - ? stats_ - : statsBuilder_.build(); + result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.lastRunDuration_ = lastRunDurationBuilder_ == null - ? lastRunDuration_ - : lastRunDurationBuilder_.build(); + result.lastRunDuration_ = + lastRunDurationBuilder_ == null ? lastRunDuration_ : lastRunDurationBuilder_.build(); } } @@ -9276,38 +10517,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Asset.DiscoveryStatus) other); } else { super.mergeFrom(other); return this; @@ -9315,7 +10559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus other) { - if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) + return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -9362,50 +10607,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getLastRunTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: { - input.readMessage( - getStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - input.readMessage( - getLastRunDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getLastRunTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + input.readMessage( + getLastRunDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9415,26 +10660,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -9445,24 +10698,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State getState() { - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State result = + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State.UNRECOGNIZED + : result; } /** + * + * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -9476,11 +10738,14 @@ public Builder setState(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State return this; } /** + * + * *
        * The current status of the discovery feature.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -9492,18 +10757,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -9512,20 +10779,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -9533,28 +10801,35 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -9564,17 +10839,21 @@ public Builder clearMessage() { return this; } /** + * + * *
        * Additional information about the current state.
        * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -9584,34 +10863,47 @@ public Builder setMessageBytes( 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_; /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @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(); } } /** + * + * *
        * Last update time of the status.
        * 
@@ -9632,14 +10924,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -9650,6 +10943,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -9658,9 +10953,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -9673,6 +10968,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -9690,6 +10987,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last update time of the status.
        * 
@@ -9702,6 +11001,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last update time of the status.
        * 
@@ -9712,11 +11013,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_; } } /** + * + * *
        * Last update time of the status.
        * 
@@ -9724,14 +11028,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -9739,34 +11046,47 @@ 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_; /** + * + * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @return Whether the lastRunTime field is set. */ public boolean hasLastRunTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; + * * @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(); } } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9787,14 +11107,15 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The start time of the last discovery run.
        * 
* * .google.protobuf.Timestamp last_run_time = 4; */ - public Builder setLastRunTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastRunTimeBuilder_ == null) { lastRunTime_ = builderForValue.build(); } else { @@ -9805,6 +11126,8 @@ public Builder setLastRunTime( return this; } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9813,9 +11136,9 @@ public Builder setLastRunTime( */ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - lastRunTime_ != null && - lastRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && lastRunTime_ != null + && lastRunTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastRunTimeBuilder().mergeFrom(value); } else { lastRunTime_ = value; @@ -9828,6 +11151,8 @@ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9845,6 +11170,8 @@ public Builder clearLastRunTime() { return this; } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9857,6 +11184,8 @@ public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder() { return getLastRunTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9867,11 +11196,14 @@ 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_; } } /** + * + * *
        * The start time of the last discovery run.
        * 
@@ -9879,14 +11211,17 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { * .google.protobuf.Timestamp last_run_time = 4; */ 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_; @@ -9894,34 +11229,47 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> statsBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> + statsBuilder_; /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
* * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; + * * @return The stats. */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -9942,6 +11290,8 @@ public Builder setStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats return this; } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -9960,6 +11310,8 @@ public Builder setStats( return this; } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -9968,9 +11320,11 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - stats_ != null && - stats_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && stats_ != null + && stats_ + != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats + .getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -9983,6 +11337,8 @@ public Builder mergeStats(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Sta return this; } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -10000,6 +11356,8 @@ public Builder clearStats() { return this; } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -10012,6 +11370,8 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder getStats return getStatsFieldBuilder().getBuilder(); } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -10022,11 +11382,14 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.getDefaultInstance() + : stats_; } } /** + * + * *
        * Data Stats of the asset reported by discovery.
        * 
@@ -10034,14 +11397,17 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat * .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; @@ -10049,34 +11415,47 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.StatsOrBuilder getStat private com.google.protobuf.Duration lastRunDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lastRunDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + lastRunDurationBuilder_; /** + * + * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return Whether the lastRunDuration field is set. */ public boolean hasLastRunDuration() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; + * * @return The lastRunDuration. */ public com.google.protobuf.Duration getLastRunDuration() { if (lastRunDurationBuilder_ == null) { - return lastRunDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; + return lastRunDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : lastRunDuration_; } else { return lastRunDurationBuilder_.getMessage(); } } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10097,14 +11476,15 @@ public Builder setLastRunDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of the last discovery run.
        * 
* * .google.protobuf.Duration last_run_duration = 7; */ - public Builder setLastRunDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderForValue) { if (lastRunDurationBuilder_ == null) { lastRunDuration_ = builderForValue.build(); } else { @@ -10115,6 +11495,8 @@ public Builder setLastRunDuration( return this; } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10123,9 +11505,9 @@ public Builder setLastRunDuration( */ public Builder mergeLastRunDuration(com.google.protobuf.Duration value) { if (lastRunDurationBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - lastRunDuration_ != null && - lastRunDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && lastRunDuration_ != null + && lastRunDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getLastRunDurationBuilder().mergeFrom(value); } else { lastRunDuration_ = value; @@ -10138,6 +11520,8 @@ public Builder mergeLastRunDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10155,6 +11539,8 @@ public Builder clearLastRunDuration() { return this; } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10167,6 +11553,8 @@ public com.google.protobuf.Duration.Builder getLastRunDurationBuilder() { return getLastRunDurationFieldBuilder().getBuilder(); } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10177,11 +11565,14 @@ public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { if (lastRunDurationBuilder_ != null) { return lastRunDurationBuilder_.getMessageOrBuilder(); } else { - return lastRunDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : lastRunDuration_; + return lastRunDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : lastRunDuration_; } } /** + * + * *
        * The duration of the last discovery run.
        * 
@@ -10189,18 +11580,22 @@ public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder() { * .google.protobuf.Duration last_run_duration = 7; */ 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> getLastRunDurationFieldBuilder() { if (lastRunDurationBuilder_ == null) { - lastRunDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLastRunDuration(), - getParentForChildren(), - isClean()); + lastRunDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLastRunDuration(), getParentForChildren(), isClean()); lastRunDuration_ = null; } return lastRunDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10213,12 +11608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset.DiscoveryStatus) private static final com.google.cloud.dataplex.v1.Asset.DiscoveryStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset.DiscoveryStatus(); } @@ -10227,27 +11622,28 @@ public static com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoveryStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoveryStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10262,19 +11658,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -10283,30 +11684,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; } } /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -10315,14 +11718,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -10331,29 +11738,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -10362,9 +11769,12 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -10372,6 +11782,7 @@ public java.lang.String getDisplayName() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -10380,14 +11791,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -10395,16 +11807,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -10415,11 +11826,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the asset was created.
    * 
* - * .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 @@ -10427,11 +11842,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the asset was created.
    * 
* - * .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 @@ -10439,11 +11858,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the asset was created.
    * 
* - * .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() { @@ -10453,11 +11875,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 time when the asset was last updated.
    * 
* - * .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 @@ -10465,11 +11891,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the asset was last updated.
    * 
* - * .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 @@ -10477,11 +11907,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the asset was last updated.
    * 
* - * .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() { @@ -10489,32 +11922,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -10522,20 +11957,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -10547,6 +11983,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -10554,17 +11992,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -10572,11 +12012,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -10584,14 +12024,18 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -10600,29 +12044,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; } } /** + * + * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -10633,37 +12077,53 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int RESOURCE_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Asset.ResourceSpec resourceSpec_; /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ @java.lang.Override @@ -10671,37 +12131,55 @@ public boolean hasResourceSpec() { return resourceSpec_ != null; } /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec() { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() + : resourceSpec_; } /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder() { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() + : resourceSpec_; } public static final int RESOURCE_STATUS_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Asset.ResourceStatus resourceStatus_; /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the resourceStatus field is set. */ @java.lang.Override @@ -10709,38 +12187,56 @@ public boolean hasResourceStatus() { return resourceStatus_ != null; } /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The resourceStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus() { - return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; + return resourceStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() + : resourceStatus_; } /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder() { - return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; + return resourceStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() + : resourceStatus_; } public static final int SECURITY_STATUS_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.Asset.SecurityStatus securityStatus_; /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the securityStatus field is set. */ @java.lang.Override @@ -10748,41 +12244,59 @@ public boolean hasSecurityStatus() { return securityStatus_ != null; } /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The securityStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus() { - return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; + return securityStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() + : securityStatus_; } /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder() { - return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; + return securityStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() + : securityStatus_; } public static final int DISCOVERY_SPEC_FIELD_NUMBER = 106; private com.google.cloud.dataplex.v1.Asset.DiscoverySpec discoverySpec_; /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ @java.lang.Override @@ -10790,42 +12304,60 @@ public boolean hasDiscoverySpec() { return discoverySpec_ != null; } /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec() { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } public static final int DISCOVERY_STATUS_FIELD_NUMBER = 107; private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus discoveryStatus_; /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the discoveryStatus field is set. */ @java.lang.Override @@ -10833,32 +12365,46 @@ public boolean hasDiscoveryStatus() { return discoveryStatus_ != null; } /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The discoveryStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus() { - return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; + return discoveryStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() + : discoveryStatus_; } /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder() { - return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; + return discoveryStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() + : discoveryStatus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10870,8 +12416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -10887,12 +12432,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -10933,49 +12474,41 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (resourceSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, getResourceSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getResourceSpec()); } if (resourceStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, getResourceStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getResourceStatus()); } if (securityStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(103, getSecurityStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getSecurityStatus()); } if (discoverySpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(106, getDiscoverySpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(106, getDiscoverySpec()); } if (discoveryStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(107, getDiscoveryStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getDiscoveryStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -10985,58 +12518,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Asset)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Asset other = (com.google.cloud.dataplex.v1.Asset) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (hasResourceSpec() != other.hasResourceSpec()) return false; if (hasResourceSpec()) { - if (!getResourceSpec() - .equals(other.getResourceSpec())) return false; + if (!getResourceSpec().equals(other.getResourceSpec())) return false; } if (hasResourceStatus() != other.hasResourceStatus()) return false; if (hasResourceStatus()) { - if (!getResourceStatus() - .equals(other.getResourceStatus())) return false; + if (!getResourceStatus().equals(other.getResourceStatus())) return false; } if (hasSecurityStatus() != other.hasSecurityStatus()) return false; if (hasSecurityStatus()) { - if (!getSecurityStatus() - .equals(other.getSecurityStatus())) return false; + if (!getSecurityStatus().equals(other.getSecurityStatus())) return false; } if (hasDiscoverySpec() != other.hasDiscoverySpec()) return false; if (hasDiscoverySpec()) { - if (!getDiscoverySpec() - .equals(other.getDiscoverySpec())) return false; + if (!getDiscoverySpec().equals(other.getDiscoverySpec())) return false; } if (hasDiscoveryStatus() != other.hasDiscoveryStatus()) return false; if (hasDiscoveryStatus()) { - if (!getDiscoveryStatus() - .equals(other.getDiscoveryStatus())) return false; + if (!getDiscoveryStatus().equals(other.getDiscoveryStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -11096,99 +12617,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Asset parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Asset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Asset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Asset parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Asset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Asset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An asset represents a cloud resource that is being managed within a lake as a
    * member of a zone.
@@ -11196,55 +12721,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Asset}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Asset)
       com.google.cloud.dataplex.v1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Asset_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Asset.class, com.google.cloud.dataplex.v1.Asset.Builder.class);
+              com.google.cloud.dataplex.v1.Asset.class,
+              com.google.cloud.dataplex.v1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Asset.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -11294,9 +12816,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -11316,7 +12838,9 @@ public com.google.cloud.dataplex.v1.Asset build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Asset buildPartial() {
       com.google.cloud.dataplex.v1.Asset result = new com.google.cloud.dataplex.v1.Asset(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -11333,14 +12857,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -11353,29 +12873,24 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.resourceSpec_ = resourceSpecBuilder_ == null
-            ? resourceSpec_
-            : resourceSpecBuilder_.build();
+        result.resourceSpec_ =
+            resourceSpecBuilder_ == null ? resourceSpec_ : resourceSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.resourceStatus_ = resourceStatusBuilder_ == null
-            ? resourceStatus_
-            : resourceStatusBuilder_.build();
+        result.resourceStatus_ =
+            resourceStatusBuilder_ == null ? resourceStatus_ : resourceStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.securityStatus_ = securityStatusBuilder_ == null
-            ? securityStatus_
-            : securityStatusBuilder_.build();
+        result.securityStatus_ =
+            securityStatusBuilder_ == null ? securityStatus_ : securityStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.discoverySpec_ = discoverySpecBuilder_ == null
-            ? discoverySpec_
-            : discoverySpecBuilder_.build();
+        result.discoverySpec_ =
+            discoverySpecBuilder_ == null ? discoverySpec_ : discoverySpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.discoveryStatus_ = discoveryStatusBuilder_ == null
-            ? discoveryStatus_
-            : discoveryStatusBuilder_.build();
+        result.discoveryStatus_ =
+            discoveryStatusBuilder_ == null ? discoveryStatus_ : discoveryStatusBuilder_.build();
       }
     }
 
@@ -11383,38 +12898,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Asset) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Asset)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Asset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -11444,8 +12960,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Asset other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -11496,95 +13011,97 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 802: {
-              input.readMessage(
-                  getResourceSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 802
-            case 810: {
-              input.readMessage(
-                  getResourceStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 810
-            case 826: {
-              input.readMessage(
-                  getSecurityStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 826
-            case 850: {
-              input.readMessage(
-                  getDiscoverySpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 850
-            case 858: {
-              input.readMessage(
-                  getDiscoveryStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 858
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 802:
+              {
+                input.readMessage(getResourceSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 802
+            case 810:
+              {
+                input.readMessage(getResourceStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 810
+            case 826:
+              {
+                input.readMessage(getSecurityStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 826
+            case 850:
+              {
+                input.readMessage(getDiscoverySpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 850
+            case 858:
+              {
+                input.readMessage(getDiscoveryStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 858
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11594,23 +13111,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -11619,21 +13141,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -11641,30 +13166,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -11674,18 +13210,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the asset, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -11695,18 +13237,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -11715,20 +13259,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -11736,28 +13281,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -11767,17 +13319,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -11787,6 +13343,8 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -11794,13 +13352,13 @@ public Builder setDisplayNameBytes(
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -11809,6 +13367,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -11816,15 +13376,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -11832,6 +13391,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -11839,18 +13400,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -11858,6 +13423,7 @@ public Builder setUid(
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -11867,6 +13433,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the asset. This ID
      * will be different if the asset is deleted and re-created with the same
@@ -11874,12 +13442,14 @@ public Builder clearUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -11889,39 +13459,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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 time when the asset was created.
      * 
* - * .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) { @@ -11937,14 +13526,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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(); } else { @@ -11955,17 +13547,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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 (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -11978,11 +13574,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -11995,11 +13595,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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() { bitField0_ |= 0x00000008; @@ -12007,36 +13611,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the asset was created.
      * 
* - * .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 time when the asset was created.
      * 
* - * .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_; @@ -12044,39 +13660,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 time when the asset was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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 time when the asset was last updated.
      * 
* - * .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) { @@ -12092,14 +13727,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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(); } else { @@ -12110,17 +13748,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -12133,11 +13775,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -12150,11 +13796,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000010; @@ -12162,56 +13812,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the asset was last updated.
      * 
* - * .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 time when the asset was last updated.
      * 
* - * .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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -12220,10 +13880,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
@@ -12231,20 +13894,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
@@ -12256,6 +13920,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
@@ -12263,17 +13929,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
@@ -12281,91 +13949,95 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User defined labels for the asset.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -12374,20 +14046,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -12395,28 +14068,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -12426,17 +14106,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the asset.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -12446,22 +14130,31 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -12472,24 +14165,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -12503,11 +14205,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the asset.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -12519,39 +14225,58 @@ public Builder clearState() { private com.google.cloud.dataplex.v1.Asset.ResourceSpec resourceSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> resourceSpecBuilder_; + com.google.cloud.dataplex.v1.Asset.ResourceSpec, + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> + resourceSpecBuilder_; /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ public boolean hasResourceSpec() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ public com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec() { if (resourceSpecBuilder_ == null) { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() + : resourceSpec_; } else { return resourceSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec value) { if (resourceSpecBuilder_ == null) { @@ -12567,11 +14292,15 @@ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec v return this; } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceSpec( com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder builderForValue) { @@ -12585,17 +14314,22 @@ public Builder setResourceSpec( return this; } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec value) { if (resourceSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - resourceSpec_ != null && - resourceSpec_ != com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && resourceSpec_ != null + && resourceSpec_ + != com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance()) { getResourceSpecBuilder().mergeFrom(value); } else { resourceSpec_ = value; @@ -12608,11 +14342,15 @@ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Asset.ResourceSpec return this; } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -12625,11 +14363,15 @@ public Builder clearResourceSpec() { return this; } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder getResourceSpecBuilder() { bitField0_ |= 0x00000100; @@ -12637,36 +14379,48 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder getResourceSpecBu return getResourceSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder() { if (resourceSpecBuilder_ != null) { return resourceSpecBuilder_.getMessageOrBuilder(); } else { - return resourceSpec_ == null ? - com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceSpec.getDefaultInstance() + : resourceSpec_; } } /** + * + * *
      * Required. Specification of the resource that is referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> + com.google.cloud.dataplex.v1.Asset.ResourceSpec, + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder> getResourceSpecFieldBuilder() { if (resourceSpecBuilder_ == null) { - resourceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceSpec, com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder>( - getResourceSpec(), - getParentForChildren(), - isClean()); + resourceSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.ResourceSpec, + com.google.cloud.dataplex.v1.Asset.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder>( + getResourceSpec(), getParentForChildren(), isClean()); resourceSpec_ = null; } return resourceSpecBuilder_; @@ -12674,39 +14428,58 @@ public com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecO private com.google.cloud.dataplex.v1.Asset.ResourceStatus resourceStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> resourceStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.ResourceStatus, + com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> + resourceStatusBuilder_; /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the resourceStatus field is set. */ public boolean hasResourceStatus() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The resourceStatus. */ public com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus() { if (resourceStatusBuilder_ == null) { - return resourceStatus_ == null ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; + return resourceStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() + : resourceStatus_; } else { return resourceStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStatus value) { if (resourceStatusBuilder_ == null) { @@ -12722,11 +14495,15 @@ public Builder setResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStat return this; } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResourceStatus( com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder builderForValue) { @@ -12740,17 +14517,22 @@ public Builder setResourceStatus( return this; } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceStatus value) { if (resourceStatusBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - resourceStatus_ != null && - resourceStatus_ != com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && resourceStatus_ != null + && resourceStatus_ + != com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance()) { getResourceStatusBuilder().mergeFrom(value); } else { resourceStatus_ = value; @@ -12763,11 +14545,15 @@ public Builder mergeResourceStatus(com.google.cloud.dataplex.v1.Asset.ResourceSt return this; } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearResourceStatus() { bitField0_ = (bitField0_ & ~0x00000200); @@ -12780,11 +14566,15 @@ public Builder clearResourceStatus() { return this; } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder getResourceStatusBuilder() { bitField0_ |= 0x00000200; @@ -12792,36 +14582,48 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder getResourceStat return getResourceStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder() { if (resourceStatusBuilder_ != null) { return resourceStatusBuilder_.getMessageOrBuilder(); } else { - return resourceStatus_ == null ? - com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() : resourceStatus_; + return resourceStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.ResourceStatus.getDefaultInstance() + : resourceStatus_; } } /** + * + * *
      * Output only. Status of the resource referenced by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.ResourceStatus, + com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder> getResourceStatusFieldBuilder() { if (resourceStatusBuilder_ == null) { - resourceStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.ResourceStatus, com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder>( - getResourceStatus(), - getParentForChildren(), - isClean()); + resourceStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.ResourceStatus, + com.google.cloud.dataplex.v1.Asset.ResourceStatus.Builder, + com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder>( + getResourceStatus(), getParentForChildren(), isClean()); resourceStatus_ = null; } return resourceStatusBuilder_; @@ -12829,42 +14631,61 @@ public com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceSta private com.google.cloud.dataplex.v1.Asset.SecurityStatus securityStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> securityStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.SecurityStatus, + com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, + com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> + securityStatusBuilder_; /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the securityStatus field is set. */ public boolean hasSecurityStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The securityStatus. */ public com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus() { if (securityStatusBuilder_ == null) { - return securityStatus_ == null ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; + return securityStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() + : securityStatus_; } else { return securityStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStatus value) { if (securityStatusBuilder_ == null) { @@ -12880,12 +14701,16 @@ public Builder setSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStat return this; } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSecurityStatus( com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder builderForValue) { @@ -12899,18 +14724,23 @@ public Builder setSecurityStatus( return this; } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecurityStatus value) { if (securityStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - securityStatus_ != null && - securityStatus_ != com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && securityStatus_ != null + && securityStatus_ + != com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance()) { getSecurityStatusBuilder().mergeFrom(value); } else { securityStatus_ = value; @@ -12923,12 +14753,16 @@ public Builder mergeSecurityStatus(com.google.cloud.dataplex.v1.Asset.SecuritySt return this; } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSecurityStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -12941,12 +14775,16 @@ public Builder clearSecurityStatus() { return this; } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder getSecurityStatusBuilder() { bitField0_ |= 0x00000400; @@ -12954,38 +14792,50 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder getSecurityStat return getSecurityStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder() { if (securityStatusBuilder_ != null) { return securityStatusBuilder_.getMessageOrBuilder(); } else { - return securityStatus_ == null ? - com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() : securityStatus_; + return securityStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.SecurityStatus.getDefaultInstance() + : securityStatus_; } } /** + * + * *
      * Output only. Status of the security policy applied to resource referenced
      * by this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.SecurityStatus, + com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, + com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder> getSecurityStatusFieldBuilder() { if (securityStatusBuilder_ == null) { - securityStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.SecurityStatus, com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder>( - getSecurityStatus(), - getParentForChildren(), - isClean()); + securityStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.SecurityStatus, + com.google.cloud.dataplex.v1.Asset.SecurityStatus.Builder, + com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder>( + getSecurityStatus(), getParentForChildren(), isClean()); securityStatus_ = null; } return securityStatusBuilder_; @@ -12993,45 +14843,64 @@ public com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecuritySta private com.google.cloud.dataplex.v1.Asset.DiscoverySpec discoverySpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> discoverySpecBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> + discoverySpecBuilder_; /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ public boolean hasDiscoverySpec() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec() { if (discoverySpecBuilder_ == null) { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } else { return discoverySpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { @@ -13047,13 +14916,17 @@ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDiscoverySpec( com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder builderForValue) { @@ -13067,19 +14940,24 @@ public Builder setDiscoverySpec( return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - discoverySpec_ != null && - discoverySpec_ != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && discoverySpec_ != null + && discoverySpec_ + != com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance()) { getDiscoverySpecBuilder().mergeFrom(value); } else { discoverySpec_ = value; @@ -13092,13 +14970,17 @@ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Asset.DiscoverySp return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDiscoverySpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -13111,13 +14993,17 @@ public Builder clearDiscoverySpec() { return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder getDiscoverySpecBuilder() { bitField0_ |= 0x00000800; @@ -13125,40 +15011,52 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder getDiscoverySpec return getDiscoverySpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { if (discoverySpecBuilder_ != null) { return discoverySpecBuilder_.getMessageOrBuilder(); } else { - return discoverySpec_ == null ? - com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } } /** + * + * *
      * Optional. Specification of the discovery feature applied to data referenced
      * by this asset. When this spec is left unset, the asset will use the spec
      * set on the parent zone.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder> getDiscoverySpecFieldBuilder() { if (discoverySpecBuilder_ == null) { - discoverySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoverySpec, com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder>( - getDiscoverySpec(), - getParentForChildren(), - isClean()); + discoverySpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoverySpec, + com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder>( + getDiscoverySpec(), getParentForChildren(), isClean()); discoverySpec_ = null; } return discoverySpecBuilder_; @@ -13166,42 +15064,61 @@ public com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpe private com.google.cloud.dataplex.v1.Asset.DiscoveryStatus discoveryStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> discoveryStatusBuilder_; + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> + discoveryStatusBuilder_; /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the discoveryStatus field is set. */ public boolean hasDiscoveryStatus() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The discoveryStatus. */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus() { if (discoveryStatusBuilder_ == null) { - return discoveryStatus_ == null ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; + return discoveryStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() + : discoveryStatus_; } else { return discoveryStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus value) { if (discoveryStatusBuilder_ == null) { @@ -13217,12 +15134,16 @@ public Builder setDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoverySt return this; } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDiscoveryStatus( com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder builderForValue) { @@ -13236,18 +15157,23 @@ public Builder setDiscoveryStatus( return this; } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.DiscoveryStatus value) { if (discoveryStatusBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - discoveryStatus_ != null && - discoveryStatus_ != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && discoveryStatus_ != null + && discoveryStatus_ + != com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance()) { getDiscoveryStatusBuilder().mergeFrom(value); } else { discoveryStatus_ = value; @@ -13260,12 +15186,16 @@ public Builder mergeDiscoveryStatus(com.google.cloud.dataplex.v1.Asset.Discovery return this; } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDiscoveryStatus() { bitField0_ = (bitField0_ & ~0x00001000); @@ -13278,12 +15208,16 @@ public Builder clearDiscoveryStatus() { return this; } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder getDiscoveryStatusBuilder() { bitField0_ |= 0x00001000; @@ -13291,45 +15225,58 @@ public com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder getDiscoverySt return getDiscoveryStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder + getDiscoveryStatusOrBuilder() { if (discoveryStatusBuilder_ != null) { return discoveryStatusBuilder_.getMessageOrBuilder(); } else { - return discoveryStatus_ == null ? - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() : discoveryStatus_; + return discoveryStatus_ == null + ? com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.getDefaultInstance() + : discoveryStatus_; } } /** + * + * *
      * Output only. Status of the discovery feature applied to data referenced by
      * this asset.
      * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder> getDiscoveryStatusFieldBuilder() { if (discoveryStatusBuilder_ == null) { - discoveryStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder>( - getDiscoveryStatus(), - getParentForChildren(), - isClean()); + discoveryStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder, + com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder>( + getDiscoveryStatus(), getParentForChildren(), isClean()); discoveryStatus_ = null; } return discoveryStatusBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -13339,12 +15286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Asset) private static final com.google.cloud.dataplex.v1.Asset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Asset(); } @@ -13353,27 +15300,27 @@ public static com.google.cloud.dataplex.v1.Asset getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Asset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13388,6 +15335,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java index dccb49dda7c2..860a60e3ac55 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetOrBuilder.java @@ -1,55 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface AssetOrBuilder extends +public interface AssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Asset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the asset, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -57,10 +89,13 @@ public interface AssetOrBuilder extends
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the asset. This ID
    * will be different if the asset is deleted and re-created with the same
@@ -68,66 +103,90 @@ public interface AssetOrBuilder extends
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the asset was created.
    * 
* - * .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 time when the asset was created.
    * 
* - * .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 time when the asset was created.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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 time when the asset was last updated.
    * 
* - * .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(); /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -136,30 +195,31 @@ public interface AssetOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User defined labels for the asset.
    * 
@@ -167,203 +227,287 @@ boolean containsLabels( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User defined labels for the asset.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the asset.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the asset.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ boolean hasResourceSpec(); /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ com.google.cloud.dataplex.v1.Asset.ResourceSpec getResourceSpec(); /** + * + * *
    * Required. Specification of the resource that is referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder(); /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the resourceStatus field is set. */ boolean hasResourceStatus(); /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The resourceStatus. */ com.google.cloud.dataplex.v1.Asset.ResourceStatus getResourceStatus(); /** + * + * *
    * Output only. Status of the resource referenced by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder(); /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the securityStatus field is set. */ boolean hasSecurityStatus(); /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The securityStatus. */ com.google.cloud.dataplex.v1.Asset.SecurityStatus getSecurityStatus(); /** + * + * *
    * Output only. Status of the security policy applied to resource referenced
    * by this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ boolean hasDiscoverySpec(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ com.google.cloud.dataplex.v1.Asset.DiscoverySpec getDiscoverySpec(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data referenced
    * by this asset. When this spec is left unset, the asset will use the spec
    * set on the parent zone.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder(); /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the discoveryStatus field is set. */ boolean hasDiscoveryStatus(); /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The discoveryStatus. */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatus getDiscoveryStatus(); /** + * + * *
    * Output only. Status of the discovery feature applied to data referenced by
    * this asset.
    * 
* - * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java index 09725e419809..97d27a6f5db3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatus.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Aggregated status of the underlying assets of a lake or zone.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.AssetStatus} */ -public final class AssetStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AssetStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.AssetStatus) AssetStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AssetStatus.newBuilder() to construct. private AssetStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AssetStatus() { - } + + private AssetStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AssetStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.AssetStatus.class, com.google.cloud.dataplex.v1.AssetStatus.Builder.class); + com.google.cloud.dataplex.v1.AssetStatus.class, + com.google.cloud.dataplex.v1.AssetStatus.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -57,11 +78,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -69,6 +93,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Last update time of the status.
    * 
@@ -83,11 +109,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ACTIVE_ASSETS_FIELD_NUMBER = 2; private int activeAssets_ = 0; /** + * + * *
    * Number of active assets.
    * 
* * int32 active_assets = 2; + * * @return The activeAssets. */ @java.lang.Override @@ -98,12 +127,15 @@ public int getActiveAssets() { public static final int SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER = 3; private int securityPolicyApplyingAssets_ = 0; /** + * + * *
    * Number of assets that are in process of updating the security policy on
    * attached resources.
    * 
* * int32 security_policy_applying_assets = 3; + * * @return The securityPolicyApplyingAssets. */ @java.lang.Override @@ -112,6 +144,7 @@ public int getSecurityPolicyApplyingAssets() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +156,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateTime_ != null) { output.writeMessage(1, getUpdateTime()); } @@ -144,16 +176,14 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); } if (activeAssets_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, activeAssets_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, activeAssets_); } if (securityPolicyApplyingAssets_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, securityPolicyApplyingAssets_); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(3, securityPolicyApplyingAssets_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,7 +193,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.AssetStatus)) { return super.equals(obj); @@ -172,13 +202,10 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (getActiveAssets() - != other.getActiveAssets()) return false; - if (getSecurityPolicyApplyingAssets() - != other.getSecurityPolicyApplyingAssets()) return false; + if (getActiveAssets() != other.getActiveAssets()) return false; + if (getSecurityPolicyApplyingAssets() != other.getSecurityPolicyApplyingAssets()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,132 +230,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.AssetStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.AssetStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.AssetStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Aggregated status of the underlying assets of a lake or zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.AssetStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.AssetStatus) com.google.cloud.dataplex.v1.AssetStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.AssetStatus.class, com.google.cloud.dataplex.v1.AssetStatus.Builder.class); + com.google.cloud.dataplex.v1.AssetStatus.class, + com.google.cloud.dataplex.v1.AssetStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.AssetStatus.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; } @java.lang.Override @@ -365,8 +396,11 @@ public com.google.cloud.dataplex.v1.AssetStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus buildPartial() { - com.google.cloud.dataplex.v1.AssetStatus result = new com.google.cloud.dataplex.v1.AssetStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.AssetStatus result = + new com.google.cloud.dataplex.v1.AssetStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -374,9 +408,7 @@ public com.google.cloud.dataplex.v1.AssetStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.AssetStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.activeAssets_ = activeAssets_; @@ -390,38 +422,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.AssetStatus result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.AssetStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.AssetStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.AssetStatus) other); } else { super.mergeFrom(other); return this; @@ -465,29 +498,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - activeAssets_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - securityPolicyApplyingAssets_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + activeAssets_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + securityPolicyApplyingAssets_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,38 +532,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @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(); } } /** + * + * *
      * Last update time of the status.
      * 
@@ -549,14 +598,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last update time of the status.
      * 
* * .google.protobuf.Timestamp update_time = 1; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -567,6 +617,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Last update time of the status.
      * 
@@ -575,9 +627,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -590,6 +642,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last update time of the status.
      * 
@@ -607,6 +661,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Last update time of the status.
      * 
@@ -619,6 +675,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Last update time of the status.
      * 
@@ -629,11 +687,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_; } } /** + * + * *
      * Last update time of the status.
      * 
@@ -641,26 +702,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; } - private int activeAssets_ ; + private int activeAssets_; /** + * + * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; + * * @return The activeAssets. */ @java.lang.Override @@ -668,11 +735,14 @@ public int getActiveAssets() { return activeAssets_; } /** + * + * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; + * * @param value The activeAssets to set. * @return This builder for chaining. */ @@ -684,11 +754,14 @@ public Builder setActiveAssets(int value) { return this; } /** + * + * *
      * Number of active assets.
      * 
* * int32 active_assets = 2; + * * @return This builder for chaining. */ public Builder clearActiveAssets() { @@ -698,14 +771,17 @@ public Builder clearActiveAssets() { return this; } - private int securityPolicyApplyingAssets_ ; + private int securityPolicyApplyingAssets_; /** + * + * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; + * * @return The securityPolicyApplyingAssets. */ @java.lang.Override @@ -713,12 +789,15 @@ public int getSecurityPolicyApplyingAssets() { return securityPolicyApplyingAssets_; } /** + * + * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; + * * @param value The securityPolicyApplyingAssets to set. * @return This builder for chaining. */ @@ -730,12 +809,15 @@ public Builder setSecurityPolicyApplyingAssets(int value) { return this; } /** + * + * *
      * Number of assets that are in process of updating the security policy on
      * attached resources.
      * 
* * int32 security_policy_applying_assets = 3; + * * @return This builder for chaining. */ public Builder clearSecurityPolicyApplyingAssets() { @@ -744,9 +826,9 @@ public Builder clearSecurityPolicyApplyingAssets() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.AssetStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.AssetStatus) private static final com.google.cloud.dataplex.v1.AssetStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.AssetStatus(); } @@ -770,27 +852,27 @@ public static com.google.cloud.dataplex.v1.AssetStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssetStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssetStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,6 +887,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.AssetStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java index cae7040219c6..d87d7e20fb53 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AssetStatusOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface AssetStatusOrBuilder extends +public interface AssetStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.AssetStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Last update time of the status.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Last update time of the status.
    * 
@@ -35,22 +59,28 @@ public interface AssetStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Number of active assets.
    * 
* * int32 active_assets = 2; + * * @return The activeAssets. */ int getActiveAssets(); /** + * + * *
    * Number of assets that are in process of updating the security policy on
    * attached resources.
    * 
* * int32 security_policy_applying_assets = 3; + * * @return The securityPolicyApplyingAssets. */ int getSecurityPolicyApplyingAssets(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java index e9134f7b38cd..26858df8c10e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Cancel task jobs.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CancelJobRequest} */ -public final class CancelJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CancelJobRequest) CancelJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelJobRequest.newBuilder() to construct. private CancelJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CancelJobRequest.class, com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); + com.google.cloud.dataplex.v1.CancelJobRequest.class, + com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CancelJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CancelJobRequest other = (com.google.cloud.dataplex.v1.CancelJobRequest) obj; + com.google.cloud.dataplex.v1.CancelJobRequest other = + (com.google.cloud.dataplex.v1.CancelJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CancelJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CancelJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CancelJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Cancel task jobs.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CancelJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CancelJobRequest) com.google.cloud.dataplex.v1.CancelJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CancelJobRequest.class, com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); + com.google.cloud.dataplex.v1.CancelJobRequest.class, + com.google.cloud.dataplex.v1.CancelJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CancelJobRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.CancelJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CancelJobRequest buildPartial() { - com.google.cloud.dataplex.v1.CancelJobRequest result = new com.google.cloud.dataplex.v1.CancelJobRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CancelJobRequest result = + new com.google.cloud.dataplex.v1.CancelJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CancelJobRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CancelJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CancelJobRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CancelJobRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CancelJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CancelJobRequest) private static final com.google.cloud.dataplex.v1.CancelJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CancelJobRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.CancelJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CancelJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java new file mode 100644 index 000000000000..60c85a2dd386 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface CancelJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CancelJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java index 55201e2afaed..eac45917c537 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Content.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Content represents a user-visible notebook or a sql script
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content} */ -public final class Content extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Content extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content) ContentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Content.newBuilder() to construct. private Content(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Content() { name_ = ""; uid_ = ""; @@ -28,109 +46,127 @@ private Content() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Content(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_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 6: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.class, com.google.cloud.dataplex.v1.Content.Builder.class); + com.google.cloud.dataplex.v1.Content.class, + com.google.cloud.dataplex.v1.Content.Builder.class); } - public interface SqlScriptOrBuilder extends + public interface SqlScriptOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content.SqlScript) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for engine. */ int getEngineValue(); /** + * + * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The engine. */ com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine(); } /** + * + * *
    * Configuration for the Sql Script content.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.SqlScript} */ - public static final class SqlScript extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SqlScript extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content.SqlScript) SqlScriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SqlScript.newBuilder() to construct. private SqlScript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SqlScript() { engine_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SqlScript(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.SqlScript.class, com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); + com.google.cloud.dataplex.v1.Content.SqlScript.class, + com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); } /** + * + * *
      * Query Engine Type of the SQL Script.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Content.SqlScript.QueryEngine} */ - public enum QueryEngine - implements com.google.protobuf.ProtocolMessageEnum { + public enum QueryEngine implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Value was unspecified.
        * 
@@ -139,6 +175,8 @@ public enum QueryEngine */ QUERY_ENGINE_UNSPECIFIED(0), /** + * + * *
        * Spark SQL Query.
        * 
@@ -150,6 +188,8 @@ public enum QueryEngine ; /** + * + * *
        * Value was unspecified.
        * 
@@ -158,6 +198,8 @@ public enum QueryEngine */ public static final int QUERY_ENGINE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Spark SQL Query.
        * 
@@ -166,7 +208,6 @@ public enum QueryEngine */ public static final int SPARK_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -191,48 +232,47 @@ public static QueryEngine valueOf(int value) { */ public static QueryEngine forNumber(int value) { switch (value) { - case 0: return QUERY_ENGINE_UNSPECIFIED; - case 2: return SPARK; - default: return null; + case 0: + return QUERY_ENGINE_UNSPECIFIED; + case 2: + return SPARK; + 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< - QueryEngine> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public QueryEngine findValueByNumber(int number) { - return QueryEngine.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 QueryEngine findValueByNumber(int number) { + return QueryEngine.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Content.SqlScript.getDescriptor().getEnumTypes().get(0); } private static final QueryEngine[] VALUES = values(); - public static QueryEngine valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static QueryEngine 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; @@ -252,30 +292,46 @@ private QueryEngine(int value) { public static final int ENGINE_FIELD_NUMBER = 1; private int engine_ = 0; /** + * + * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override public int getEngineValue() { + @java.lang.Override + public int getEngineValue() { return engine_; } /** + * + * *
      * Required. Query Engine to be used for the Sql Query.
      * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The engine. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); - return result == null ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); + return result == null + ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,9 +343,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (engine_ != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (engine_ + != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, engine_); } getUnknownFields().writeTo(output); @@ -301,9 +358,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (engine_ != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, engine_); + if (engine_ + != com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.QUERY_ENGINE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, engine_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,12 +371,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content.SqlScript)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Content.SqlScript other = (com.google.cloud.dataplex.v1.Content.SqlScript) obj; + com.google.cloud.dataplex.v1.Content.SqlScript other = + (com.google.cloud.dataplex.v1.Content.SqlScript) obj; if (engine_ != other.engine_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -339,90 +398,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content.SqlScript parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content.SqlScript parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Content.SqlScript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -432,39 +495,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the Sql Script content.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.SqlScript} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content.SqlScript) com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.SqlScript.class, com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); + com.google.cloud.dataplex.v1.Content.SqlScript.class, + com.google.cloud.dataplex.v1.Content.SqlScript.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; } @java.lang.Override @@ -495,8 +560,11 @@ public com.google.cloud.dataplex.v1.Content.SqlScript build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript buildPartial() { - com.google.cloud.dataplex.v1.Content.SqlScript result = new com.google.cloud.dataplex.v1.Content.SqlScript(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Content.SqlScript result = + new com.google.cloud.dataplex.v1.Content.SqlScript(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -512,38 +580,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content.SqlScript result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content.SqlScript) { - return mergeFrom((com.google.cloud.dataplex.v1.Content.SqlScript)other); + return mergeFrom((com.google.cloud.dataplex.v1.Content.SqlScript) other); } else { super.mergeFrom(other); return this; @@ -551,7 +622,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Content.SqlScript other) { - if (other == com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) + return this; if (other.engine_ != 0) { setEngineValue(other.getEngineValue()); } @@ -581,17 +653,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - engine_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + engine_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,26 +675,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int engine_ = 0; /** + * + * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override public int getEngineValue() { + @java.lang.Override + public int getEngineValue() { return engine_; } /** + * + * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for engine to set. * @return This builder for chaining. */ @@ -631,24 +717,37 @@ public Builder setEngineValue(int value) { return this; } /** + * + * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The engine. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine getEngine() { - com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); - return result == null ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine result = + com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.forNumber(engine_); + return result == null + ? com.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The engine to set. * @return This builder for chaining. */ @@ -662,11 +761,16 @@ public Builder setEngine(com.google.cloud.dataplex.v1.Content.SqlScript.QueryEng return this; } /** + * + * *
        * Required. Query Engine to be used for the Sql Query.
        * 
* - * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEngine() { @@ -675,6 +779,7 @@ public Builder clearEngine() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -687,12 +792,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content.SqlScript) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content.SqlScript) private static final com.google.cloud.dataplex.v1.Content.SqlScript DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content.SqlScript(); } @@ -701,27 +806,28 @@ public static com.google.cloud.dataplex.v1.Content.SqlScript getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SqlScript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SqlScript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,82 +842,99 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content.SqlScript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NotebookOrBuilder extends + public interface NotebookOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content.Notebook) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Kernel Type of the notebook.
      * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for kernelType. */ int getKernelTypeValue(); /** + * + * *
      * Required. Kernel Type of the notebook.
      * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The kernelType. */ com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType(); } /** + * + * *
    * Configuration for Notebook content.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.Notebook} */ - public static final class Notebook extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Notebook extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Content.Notebook) NotebookOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Notebook.newBuilder() to construct. private Notebook(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Notebook() { kernelType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Notebook(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.Notebook.class, com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); + com.google.cloud.dataplex.v1.Content.Notebook.class, + com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); } /** + * + * *
      * Kernel Type of the Jupyter notebook.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Content.Notebook.KernelType} */ - public enum KernelType - implements com.google.protobuf.ProtocolMessageEnum { + public enum KernelType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Kernel Type unspecified.
        * 
@@ -820,6 +943,8 @@ public enum KernelType */ KERNEL_TYPE_UNSPECIFIED(0), /** + * + * *
        * Python 3 Kernel.
        * 
@@ -831,6 +956,8 @@ public enum KernelType ; /** + * + * *
        * Kernel Type unspecified.
        * 
@@ -839,6 +966,8 @@ public enum KernelType */ public static final int KERNEL_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Python 3 Kernel.
        * 
@@ -847,7 +976,6 @@ public enum KernelType */ public static final int PYTHON3_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -872,48 +1000,47 @@ public static KernelType valueOf(int value) { */ public static KernelType forNumber(int value) { switch (value) { - case 0: return KERNEL_TYPE_UNSPECIFIED; - case 1: return PYTHON3; - default: return null; + case 0: + return KERNEL_TYPE_UNSPECIFIED; + case 1: + return PYTHON3; + 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< - KernelType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KernelType findValueByNumber(int number) { - return KernelType.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 KernelType findValueByNumber(int number) { + return KernelType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Content.Notebook.getDescriptor().getEnumTypes().get(0); } private static final KernelType[] VALUES = values(); - public static KernelType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static KernelType 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; @@ -933,30 +1060,46 @@ private KernelType(int value) { public static final int KERNEL_TYPE_FIELD_NUMBER = 1; private int kernelType_ = 0; /** + * + * *
      * Required. Kernel Type of the notebook.
      * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for kernelType. */ - @java.lang.Override public int getKernelTypeValue() { + @java.lang.Override + public int getKernelTypeValue() { return kernelType_; } /** + * + * *
      * Required. Kernel Type of the notebook.
      * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The kernelType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { - com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); - return result == null ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { + com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = + com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); + return result == null + ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -968,9 +1111,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (kernelType_ != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (kernelType_ + != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, kernelType_); } getUnknownFields().writeTo(output); @@ -982,9 +1126,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (kernelType_ != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, kernelType_); + if (kernelType_ + != com.google.cloud.dataplex.v1.Content.Notebook.KernelType.KERNEL_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, kernelType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -994,12 +1139,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content.Notebook)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Content.Notebook other = (com.google.cloud.dataplex.v1.Content.Notebook) obj; + com.google.cloud.dataplex.v1.Content.Notebook other = + (com.google.cloud.dataplex.v1.Content.Notebook) obj; if (kernelType_ != other.kernelType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1020,90 +1166,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content.Notebook parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content.Notebook parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Content.Notebook prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1113,39 +1263,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for Notebook content.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content.Notebook} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content.Notebook) com.google.cloud.dataplex.v1.Content.NotebookOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.Notebook.class, com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); + com.google.cloud.dataplex.v1.Content.Notebook.class, + com.google.cloud.dataplex.v1.Content.Notebook.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.Notebook.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1155,9 +1307,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; } @java.lang.Override @@ -1176,8 +1328,11 @@ public com.google.cloud.dataplex.v1.Content.Notebook build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook buildPartial() { - com.google.cloud.dataplex.v1.Content.Notebook result = new com.google.cloud.dataplex.v1.Content.Notebook(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Content.Notebook result = + new com.google.cloud.dataplex.v1.Content.Notebook(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1193,38 +1348,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content.Notebook result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content.Notebook) { - return mergeFrom((com.google.cloud.dataplex.v1.Content.Notebook)other); + return mergeFrom((com.google.cloud.dataplex.v1.Content.Notebook) other); } else { super.mergeFrom(other); return this; @@ -1232,7 +1390,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Content.Notebook other) { - if (other == com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) + return this; if (other.kernelType_ != 0) { setKernelTypeValue(other.getKernelTypeValue()); } @@ -1262,17 +1421,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - kernelType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + kernelType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1282,26 +1443,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int kernelType_ = 0; /** + * + * *
        * Required. Kernel Type of the notebook.
        * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for kernelType. */ - @java.lang.Override public int getKernelTypeValue() { + @java.lang.Override + public int getKernelTypeValue() { return kernelType_; } /** + * + * *
        * Required. Kernel Type of the notebook.
        * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for kernelType to set. * @return This builder for chaining. */ @@ -1312,24 +1485,37 @@ public Builder setKernelTypeValue(int value) { return this; } /** + * + * *
        * Required. Kernel Type of the notebook.
        * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The kernelType. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook.KernelType getKernelType() { - com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); - return result == null ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Content.Notebook.KernelType result = + com.google.cloud.dataplex.v1.Content.Notebook.KernelType.forNumber(kernelType_); + return result == null + ? com.google.cloud.dataplex.v1.Content.Notebook.KernelType.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Kernel Type of the notebook.
        * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The kernelType to set. * @return This builder for chaining. */ @@ -1343,11 +1529,16 @@ public Builder setKernelType(com.google.cloud.dataplex.v1.Content.Notebook.Kerne return this; } /** + * + * *
        * Required. Kernel Type of the notebook.
        * 
* - * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content.Notebook.KernelType kernel_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearKernelType() { @@ -1356,6 +1547,7 @@ public Builder clearKernelType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1368,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content.Notebook) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content.Notebook) private static final com.google.cloud.dataplex.v1.Content.Notebook DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content.Notebook(); } @@ -1382,27 +1574,28 @@ public static com.google.cloud.dataplex.v1.Content.Notebook getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Notebook parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Notebook parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1417,18 +1610,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content.Notebook getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int dataCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object data_; + public enum DataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_TEXT(9), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -1444,32 +1640,38 @@ public static DataCase valueOf(int value) { public static DataCase forNumber(int value) { switch (value) { - case 9: return DATA_TEXT; - case 0: return DATA_NOT_SET; - default: return null; + case 9: + return DATA_TEXT; + case 0: + return DATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } private int contentCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object content_; + public enum ContentCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SQL_SCRIPT(100), NOTEBOOK(101), CONTENT_NOT_SET(0); private final int value; + private ContentCase(int value) { this.value = value; } @@ -1485,33 +1687,42 @@ public static ContentCase valueOf(int value) { public static ContentCase forNumber(int value) { switch (value) { - case 100: return SQL_SCRIPT; - case 101: return NOTEBOOK; - case 0: return CONTENT_NOT_SET; - default: return null; + case 100: + return SQL_SCRIPT; + case 101: + return NOTEBOOK; + case 0: + return CONTENT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ContentCase - getContentCase() { - return ContentCase.forNumber( - contentCase_); + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -1520,30 +1731,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; } } /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1552,9 +1765,12 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -1562,6 +1778,7 @@ public java.lang.String getName() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -1570,14 +1787,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -1585,16 +1803,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1603,9 +1820,12 @@ public java.lang.String getUid() { } public static final int PATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** + * + * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -1613,6 +1833,7 @@ public java.lang.String getUid() {
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -1621,14 +1842,15 @@ 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; } } /** + * + * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -1636,16 +1858,15 @@ public java.lang.String getPath() {
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1656,11 +1877,15 @@ public java.lang.String getPath() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Content creation time.
    * 
* - * .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 @@ -1668,11 +1893,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Content creation time.
    * 
* - * .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 @@ -1680,11 +1909,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Content creation time.
    * 
* - * .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() { @@ -1694,11 +1926,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 time when the content was last updated.
    * 
* - * .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 @@ -1706,11 +1942,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the content was last updated.
    * 
* - * .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 @@ -1718,11 +1958,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the content was last updated.
    * 
* - * .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() { @@ -1730,32 +1973,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -1763,20 +2008,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -1788,6 +2034,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -1795,17 +2043,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -1813,11 +2063,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -1825,14 +2075,18 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1841,29 +2095,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; } } /** + * + * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1873,22 +2127,28 @@ public java.lang.String getDescription() { public static final int DATA_TEXT_FIELD_NUMBER = 9; /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the dataText field is set. */ public boolean hasDataText() { return dataCase_ == 9; } /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataText. */ public java.lang.String getDataText() { @@ -1899,8 +2159,7 @@ public java.lang.String getDataText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (dataCase_ == 9) { data_ = s; @@ -1909,23 +2168,24 @@ public java.lang.String getDataText() { } } /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataText. */ - public com.google.protobuf.ByteString - getDataTextBytes() { + public com.google.protobuf.ByteString getDataTextBytes() { java.lang.Object ref = ""; if (dataCase_ == 9) { ref = data_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (dataCase_ == 9) { data_ = b; } @@ -1937,11 +2197,14 @@ public java.lang.String getDataText() { public static final int SQL_SCRIPT_FIELD_NUMBER = 100; /** + * + * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -1949,21 +2212,26 @@ public boolean hasSqlScript() { return contentCase_ == 100; } /** + * + * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return The sqlScript. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { if (contentCase_ == 100) { - return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; + return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; } return com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } /** + * + * *
    * Sql Script related configurations.
    * 
@@ -1973,18 +2241,21 @@ public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBuilder() { if (contentCase_ == 100) { - return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; + return (com.google.cloud.dataplex.v1.Content.SqlScript) content_; } return com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } public static final int NOTEBOOK_FIELD_NUMBER = 101; /** + * + * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return Whether the notebook field is set. */ @java.lang.Override @@ -1992,21 +2263,26 @@ public boolean hasNotebook() { return contentCase_ == 101; } /** + * + * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return The notebook. */ @java.lang.Override public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { if (contentCase_ == 101) { - return (com.google.cloud.dataplex.v1.Content.Notebook) content_; + return (com.google.cloud.dataplex.v1.Content.Notebook) content_; } return com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } /** + * + * *
    * Notebook related configurations.
    * 
@@ -2016,12 +2292,13 @@ public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { @java.lang.Override public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuilder() { if (contentCase_ == 101) { - return (com.google.cloud.dataplex.v1.Content.Notebook) content_; + return (com.google.cloud.dataplex.v1.Content.Notebook) content_; } return com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2033,8 +2310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2050,12 +2326,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -2087,22 +2359,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); @@ -2111,12 +2381,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, data_); } if (contentCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.Content.SqlScript) content_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, (com.google.cloud.dataplex.v1.Content.SqlScript) content_); } if (contentCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.Content.Notebook) content_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, (com.google.cloud.dataplex.v1.Content.Notebook) content_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2126,38 +2398,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Content)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Content other = (com.google.cloud.dataplex.v1.Content) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getPath().equals(other.getPath())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 9: - if (!getDataText() - .equals(other.getDataText())) return false; + if (!getDataText().equals(other.getDataText())) return false; break; case 0: default: @@ -2165,12 +2429,10 @@ public boolean equals(final java.lang.Object obj) { if (!getContentCase().equals(other.getContentCase())) return false; switch (contentCase_) { case 100: - if (!getSqlScript() - .equals(other.getSqlScript())) return false; + if (!getSqlScript().equals(other.getSqlScript())) return false; break; case 101: - if (!getNotebook() - .equals(other.getNotebook())) return false; + if (!getNotebook().equals(other.getNotebook())) return false; break; case 0: default: @@ -2231,154 +2493,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Content parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Content parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Content parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Content parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Content parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Content parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Content parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Content parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Content parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Content prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Content represents a user-visible notebook or a sql script
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Content} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Content) com.google.cloud.dataplex.v1.ContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: 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 6: return internalGetMutableLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Content.class, com.google.cloud.dataplex.v1.Content.Builder.class); + com.google.cloud.dataplex.v1.Content.class, + com.google.cloud.dataplex.v1.Content.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Content.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2412,9 +2675,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Content_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Content_descriptor; } @java.lang.Override @@ -2434,7 +2697,9 @@ public com.google.cloud.dataplex.v1.Content build() { @java.lang.Override public com.google.cloud.dataplex.v1.Content buildPartial() { com.google.cloud.dataplex.v1.Content result = new com.google.cloud.dataplex.v1.Content(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2452,14 +2717,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Content result) { result.path_ = path_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.labels_ = internalGetLabels(); @@ -2475,12 +2736,10 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Content result) { result.data_ = this.data_; result.contentCase_ = contentCase_; result.content_ = this.content_; - if (contentCase_ == 100 && - sqlScriptBuilder_ != null) { + if (contentCase_ == 100 && sqlScriptBuilder_ != null) { result.content_ = sqlScriptBuilder_.build(); } - if (contentCase_ == 101 && - notebookBuilder_ != null) { + if (contentCase_ == 101 && notebookBuilder_ != null) { result.content_ = notebookBuilder_.build(); } } @@ -2489,38 +2748,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Content result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Content) { - return mergeFrom((com.google.cloud.dataplex.v1.Content)other); + return mergeFrom((com.google.cloud.dataplex.v1.Content) other); } else { super.mergeFrom(other); return this; @@ -2550,8 +2810,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Content other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000020; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -2559,28 +2818,33 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Content other) { onChanged(); } switch (other.getDataCase()) { - case DATA_TEXT: { - dataCase_ = 9; - data_ = other.data_; - onChanged(); - break; - } - case DATA_NOT_SET: { - break; - } + case DATA_TEXT: + { + dataCase_ = 9; + data_ = other.data_; + onChanged(); + break; + } + case DATA_NOT_SET: + { + break; + } } switch (other.getContentCase()) { - case SQL_SCRIPT: { - mergeSqlScript(other.getSqlScript()); - break; - } - case NOTEBOOK: { - mergeNotebook(other.getNotebook()); - break; - } - case CONTENT_NOT_SET: { - break; - } + case SQL_SCRIPT: + { + mergeSqlScript(other.getSqlScript()); + break; + } + case NOTEBOOK: + { + mergeNotebook(other.getNotebook()); + break; + } + case CONTENT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2608,75 +2872,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - dataCase_ = 9; - data_ = s; - break; - } // case 74 - case 802: { - input.readMessage( - getSqlScriptFieldBuilder().getBuilder(), - extensionRegistry); - contentCase_ = 100; - break; - } // case 802 - case 810: { - input.readMessage( - getNotebookFieldBuilder().getBuilder(), - extensionRegistry); - contentCase_ = 101; - break; - } // case 810 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); + dataCase_ = 9; + data_ = s; + break; + } // case 74 + case 802: + { + input.readMessage(getSqlScriptFieldBuilder().getBuilder(), extensionRegistry); + contentCase_ = 100; + break; + } // case 802 + case 810: + { + input.readMessage(getNotebookFieldBuilder().getBuilder(), extensionRegistry); + contentCase_ = 101; + break; + } // case 810 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2686,12 +2955,12 @@ public Builder mergeFrom( } // finally return this; } + private int dataCase_ = 0; private java.lang.Object data_; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); + + public DataCase getDataCase() { + return DataCase.forNumber(dataCase_); } public Builder clearData() { @@ -2703,10 +2972,9 @@ public Builder clearData() { private int contentCase_ = 0; private java.lang.Object content_; - public ContentCase - getContentCase() { - return ContentCase.forNumber( - contentCase_); + + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); } public Builder clearContent() { @@ -2720,19 +2988,23 @@ public Builder clearContent() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -2741,21 +3013,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2763,30 +3038,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -2796,18 +3082,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2817,6 +3109,8 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -2824,13 +3118,13 @@ public Builder setNameBytes(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2839,6 +3133,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -2846,15 +3142,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2862,6 +3157,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -2869,18 +3166,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -2888,6 +3189,7 @@ public Builder setUid(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -2897,6 +3199,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the content. This ID
      * will be different if the content is deleted and re-created with the same
@@ -2904,12 +3208,14 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -2919,6 +3225,8 @@ public Builder setUidBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -2926,13 +3234,13 @@ public Builder setUidBytes(
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2941,6 +3249,8 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -2948,15 +3258,14 @@ public java.lang.String getPath() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -2964,6 +3273,8 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -2971,18 +3282,22 @@ public java.lang.String getPath() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } path_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -2990,6 +3305,7 @@ public Builder setPath(
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -2999,6 +3315,8 @@ public Builder clearPath() { return this; } /** + * + * *
      * Required. The path for the Content file, represented as directory
      * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -3006,12 +3324,14 @@ public Builder clearPath() {
      * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000004; @@ -3021,39 +3341,58 @@ public Builder setPathBytes( 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. Content creation time.
      * 
* - * .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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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. Content creation time.
      * 
* - * .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) { @@ -3069,14 +3408,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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(); } else { @@ -3087,17 +3429,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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 (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3110,11 +3456,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3127,11 +3477,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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() { bitField0_ |= 0x00000008; @@ -3139,36 +3493,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Content creation time.
      * 
* - * .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. Content creation time.
      * 
* - * .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_; @@ -3176,39 +3542,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 time when the content was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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 time when the content was last updated.
      * 
* - * .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) { @@ -3224,14 +3609,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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(); } else { @@ -3242,17 +3630,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3265,11 +3657,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3282,11 +3678,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000010; @@ -3294,56 +3694,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the content was last updated.
      * 
* - * .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 time when the content was last updated.
      * 
* - * .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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3352,10 +3762,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User defined labels for the content.
      * 
@@ -3363,20 +3776,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User defined labels for the content.
      * 
@@ -3388,6 +3802,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User defined labels for the content.
      * 
@@ -3395,17 +3811,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User defined labels for the content.
      * 
@@ -3413,91 +3831,95 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User defined labels for the content.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3506,20 +3928,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -3527,28 +3950,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3558,17 +3988,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the content.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -3577,11 +4011,14 @@ public Builder setDescriptionBytes( } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the dataText field is set. */ @java.lang.Override @@ -3589,11 +4026,14 @@ public boolean hasDataText() { return dataCase_ == 9; } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataText. */ @java.lang.Override @@ -3603,8 +4043,7 @@ public java.lang.String getDataText() { ref = data_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (dataCase_ == 9) { data_ = s; @@ -3615,24 +4054,25 @@ public java.lang.String getDataText() { } } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataText. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataTextBytes() { + public com.google.protobuf.ByteString getDataTextBytes() { java.lang.Object ref = ""; if (dataCase_ == 9) { ref = data_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (dataCase_ == 9) { data_ = b; } @@ -3642,28 +4082,35 @@ public java.lang.String getDataText() { } } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataText to set. * @return This builder for chaining. */ - public Builder setDataText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataCase_ = 9; data_ = value; onChanged(); return this; } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataText() { @@ -3675,17 +4122,21 @@ public Builder clearDataText() { return this; } /** + * + * *
      * Required. Content data in string format.
      * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataText to set. * @return This builder for chaining. */ - public Builder setDataTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataCase_ = 9; data_ = value; @@ -3694,13 +4145,19 @@ public Builder setDataTextBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> sqlScriptBuilder_; + com.google.cloud.dataplex.v1.Content.SqlScript, + com.google.cloud.dataplex.v1.Content.SqlScript.Builder, + com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> + sqlScriptBuilder_; /** + * + * *
      * Sql Script related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -3708,11 +4165,14 @@ public boolean hasSqlScript() { return contentCase_ == 100; } /** + * + * *
      * Sql Script related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return The sqlScript. */ @java.lang.Override @@ -3730,6 +4190,8 @@ public com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript() { } } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3750,6 +4212,8 @@ public Builder setSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript value return this; } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3768,6 +4232,8 @@ public Builder setSqlScript( return this; } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3776,10 +4242,13 @@ public Builder setSqlScript( */ public Builder mergeSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript value) { if (sqlScriptBuilder_ == null) { - if (contentCase_ == 100 && - content_ != com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) { - content_ = com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder((com.google.cloud.dataplex.v1.Content.SqlScript) content_) - .mergeFrom(value).buildPartial(); + if (contentCase_ == 100 + && content_ != com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance()) { + content_ = + com.google.cloud.dataplex.v1.Content.SqlScript.newBuilder( + (com.google.cloud.dataplex.v1.Content.SqlScript) content_) + .mergeFrom(value) + .buildPartial(); } else { content_ = value; } @@ -3795,6 +4264,8 @@ public Builder mergeSqlScript(com.google.cloud.dataplex.v1.Content.SqlScript val return this; } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3818,6 +4289,8 @@ public Builder clearSqlScript() { return this; } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3828,6 +4301,8 @@ public com.google.cloud.dataplex.v1.Content.SqlScript.Builder getSqlScriptBuilde return getSqlScriptFieldBuilder().getBuilder(); } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3846,6 +4321,8 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui } } /** + * + * *
      * Sql Script related configurations.
      * 
@@ -3853,14 +4330,19 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> + com.google.cloud.dataplex.v1.Content.SqlScript, + com.google.cloud.dataplex.v1.Content.SqlScript.Builder, + com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder> getSqlScriptFieldBuilder() { if (sqlScriptBuilder_ == null) { if (!(contentCase_ == 100)) { content_ = com.google.cloud.dataplex.v1.Content.SqlScript.getDefaultInstance(); } - sqlScriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.SqlScript, com.google.cloud.dataplex.v1.Content.SqlScript.Builder, com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder>( + sqlScriptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content.SqlScript, + com.google.cloud.dataplex.v1.Content.SqlScript.Builder, + com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder>( (com.google.cloud.dataplex.v1.Content.SqlScript) content_, getParentForChildren(), isClean()); @@ -3872,13 +4354,19 @@ public com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> notebookBuilder_; + com.google.cloud.dataplex.v1.Content.Notebook, + com.google.cloud.dataplex.v1.Content.Notebook.Builder, + com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> + notebookBuilder_; /** + * + * *
      * Notebook related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return Whether the notebook field is set. */ @java.lang.Override @@ -3886,11 +4374,14 @@ public boolean hasNotebook() { return contentCase_ == 101; } /** + * + * *
      * Notebook related configurations.
      * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return The notebook. */ @java.lang.Override @@ -3908,6 +4399,8 @@ public com.google.cloud.dataplex.v1.Content.Notebook getNotebook() { } } /** + * + * *
      * Notebook related configurations.
      * 
@@ -3928,6 +4421,8 @@ public Builder setNotebook(com.google.cloud.dataplex.v1.Content.Notebook value) return this; } /** + * + * *
      * Notebook related configurations.
      * 
@@ -3946,6 +4441,8 @@ public Builder setNotebook( return this; } /** + * + * *
      * Notebook related configurations.
      * 
@@ -3954,10 +4451,13 @@ public Builder setNotebook( */ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Content.Notebook value) { if (notebookBuilder_ == null) { - if (contentCase_ == 101 && - content_ != com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) { - content_ = com.google.cloud.dataplex.v1.Content.Notebook.newBuilder((com.google.cloud.dataplex.v1.Content.Notebook) content_) - .mergeFrom(value).buildPartial(); + if (contentCase_ == 101 + && content_ != com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance()) { + content_ = + com.google.cloud.dataplex.v1.Content.Notebook.newBuilder( + (com.google.cloud.dataplex.v1.Content.Notebook) content_) + .mergeFrom(value) + .buildPartial(); } else { content_ = value; } @@ -3973,6 +4473,8 @@ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Content.Notebook value return this; } /** + * + * *
      * Notebook related configurations.
      * 
@@ -3996,6 +4498,8 @@ public Builder clearNotebook() { return this; } /** + * + * *
      * Notebook related configurations.
      * 
@@ -4006,6 +4510,8 @@ public com.google.cloud.dataplex.v1.Content.Notebook.Builder getNotebookBuilder( return getNotebookFieldBuilder().getBuilder(); } /** + * + * *
      * Notebook related configurations.
      * 
@@ -4024,6 +4530,8 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild } } /** + * + * *
      * Notebook related configurations.
      * 
@@ -4031,14 +4539,19 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> + com.google.cloud.dataplex.v1.Content.Notebook, + com.google.cloud.dataplex.v1.Content.Notebook.Builder, + com.google.cloud.dataplex.v1.Content.NotebookOrBuilder> getNotebookFieldBuilder() { if (notebookBuilder_ == null) { if (!(contentCase_ == 101)) { content_ = com.google.cloud.dataplex.v1.Content.Notebook.getDefaultInstance(); } - notebookBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content.Notebook, com.google.cloud.dataplex.v1.Content.Notebook.Builder, com.google.cloud.dataplex.v1.Content.NotebookOrBuilder>( + notebookBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content.Notebook, + com.google.cloud.dataplex.v1.Content.Notebook.Builder, + com.google.cloud.dataplex.v1.Content.NotebookOrBuilder>( (com.google.cloud.dataplex.v1.Content.Notebook) content_, getParentForChildren(), isClean()); @@ -4048,9 +4561,9 @@ public com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuild onChanged(); return notebookBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4060,12 +4573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Content) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Content) private static final com.google.cloud.dataplex.v1.Content DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Content(); } @@ -4074,27 +4587,27 @@ public static com.google.cloud.dataplex.v1.Content getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Content parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Content parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4109,6 +4622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Content getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java similarity index 76% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java index 6c8e53017fff..4b74a27ce7ad 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface ContentOrBuilder extends +public interface ContentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -37,10 +64,13 @@ public interface ContentOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the content. This ID
    * will be different if the content is deleted and re-created with the same
@@ -48,12 +78,14 @@ public interface ContentOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -61,10 +93,13 @@ public interface ContentOrBuilder extends
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The path for the Content file, represented as directory
    * structure. Unique within a lake. Limited to alphanumerics, hyphens,
@@ -72,66 +107,90 @@ public interface ContentOrBuilder extends
    * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Output only. Content creation time.
    * 
* - * .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. Content creation time.
    * 
* - * .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. Content creation time.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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 time when the content was last updated.
    * 
* - * .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(); /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -140,30 +199,31 @@ public interface ContentOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User defined labels for the content.
    * 
@@ -171,88 +231,110 @@ boolean containsLabels( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User defined labels for the content.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the content.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the dataText field is set. */ boolean hasDataText(); /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataText. */ java.lang.String getDataText(); /** + * + * *
    * Required. Content data in string format.
    * 
* * string data_text = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataText. */ - com.google.protobuf.ByteString - getDataTextBytes(); + com.google.protobuf.ByteString getDataTextBytes(); /** + * + * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return Whether the sqlScript field is set. */ boolean hasSqlScript(); /** + * + * *
    * Sql Script related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100; + * * @return The sqlScript. */ com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript(); /** + * + * *
    * Sql Script related configurations.
    * 
@@ -262,24 +344,32 @@ java.lang.String getLabelsOrThrow( com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBuilder(); /** + * + * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return Whether the notebook field is set. */ boolean hasNotebook(); /** + * + * *
    * Notebook related configurations.
    * 
* * .google.cloud.dataplex.v1.Content.Notebook notebook = 101; + * * @return The notebook. */ com.google.cloud.dataplex.v1.Content.Notebook getNotebook(); /** + * + * *
    * Notebook related configurations.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java new file mode 100644 index 000000000000..74b620ae0c47 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java @@ -0,0 +1,234 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public final class ContentProto { + private ContentProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/content.proto" + + "\022\030google.cloud.dataplex.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032&google/cloud/data" + + "plex/v1/analyze.proto\032\036google/iam/v1/iam" + + "_policy.proto\032\032google/iam/v1/policy.prot" + + "o\032\033google/protobuf/empty.proto\032 google/p" + + "rotobuf/field_mask.proto\"\244\001\n\024CreateConte" + + "ntRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034data" + + "plex.googleapis.com/Lake\0228\n\007content\030\002 \001(" + + "\0132!.google.cloud.dataplex.v1.ContentB\004\342A" + + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\244\001\n\024Upda" + + "teContentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\0228\n\007conte" + + "nt\030\002 \001(\0132!.google.cloud.dataplex.v1.Cont" + + "entB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"N" + + "\n\024DeleteContentRequest\0226\n\004name\030\001 \001(\tB(\342A" + + "\001\002\372A!\n\037dataplex.googleapis.com/Content\"\224" + + "\001\n\022ListContentRequest\0225\n\006parent\030\001 \001(\tB%\342" + + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"b\n\023ListCon" + + "tentResponse\0222\n\007content\030\001 \003(\0132!.google.c" + + "loud.dataplex.v1.Content\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\332\001\n\021GetContentRequest\0226\n\004name\030" + + "\001 \001(\tB(\342A\001\002\372A!\n\037dataplex.googleapis.com/" + + "Content\022K\n\004view\030\002 \001(\01627.google.cloud.dat" + + "aplex.v1.GetContentRequest.ContentViewB\004" + + "\342A\001\001\"@\n\013ContentView\022\034\n\030CONTENT_VIEW_UNSP" + + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\255\020\n\016Conte" + + "ntService\022\200\002\n\rCreateContent\022..google.clo" + + "ud.dataplex.v1.CreateContentRequest\032!.go" + + "ogle.cloud.dataplex.v1.Content\"\233\001\332A\016pare" + + "nt,content\202\323\344\223\002\203\001\"8/v1/{parent=projects/" + + "*/locations/*/lakes/*}/contentitems:\007con" + + "tentZ>\"3/v1/{parent=projects/*/locations" + + "/*/lakes/*}/content:\007content\022\227\002\n\rUpdateC" + + "ontent\022..google.cloud.dataplex.v1.Update" + + "ContentRequest\032!.google.cloud.dataplex.v" + + "1.Content\"\262\001\332A\023content,update_mask\202\323\344\223\002\225" + + "\0012A/v1/{content.name=projects/*/location" + + "s/*/lakes/*/contentitems/**}:\007contentZG2" + + " * Create asset request. *
* * Protobuf type {@code google.cloud.dataplex.v1.CreateAssetRequest} */ -public final class CreateAssetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAssetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateAssetRequest) CreateAssetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAssetRequest.newBuilder() to construct. private CreateAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAssetRequest() { parent_ = ""; assetId_ = ""; @@ -26,34 +44,41 @@ private CreateAssetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateAssetRequest.class, com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateAssetRequest.class, + com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int ASSET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetId_ = ""; /** + * + * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -109,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The assetId. */ @java.lang.Override @@ -117,14 +148,15 @@ public java.lang.String getAssetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; } } /** + * + * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -137,16 +169,15 @@ public java.lang.String getAssetId() {
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for assetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetIdBytes() { + public com.google.protobuf.ByteString getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetId_ = b; return b; } else { @@ -157,11 +188,15 @@ public java.lang.String getAssetId() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Asset asset_; /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ @java.lang.Override @@ -169,11 +204,15 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ @java.lang.Override @@ -181,11 +220,14 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { @@ -195,12 +237,15 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -209,6 +254,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,12 +295,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetId_); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAsset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -265,24 +308,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateAssetRequest other = (com.google.cloud.dataplex.v1.CreateAssetRequest) obj; + com.google.cloud.dataplex.v1.CreateAssetRequest other = + (com.google.cloud.dataplex.v1.CreateAssetRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAssetId() - .equals(other.getAssetId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAssetId().equals(other.getAssetId())) return false; if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset() - .equals(other.getAsset())) return false; + if (!getAsset().equals(other.getAsset())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,139 +343,142 @@ public int hashCode() { hash = (53 * hash) + getAsset().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateAssetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateAssetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateAssetRequest) com.google.cloud.dataplex.v1.CreateAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateAssetRequest.class, com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateAssetRequest.class, + com.google.cloud.dataplex.v1.CreateAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateAssetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; } @java.lang.Override @@ -473,8 +516,11 @@ public com.google.cloud.dataplex.v1.CreateAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateAssetRequest result = new com.google.cloud.dataplex.v1.CreateAssetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateAssetRequest result = + new com.google.cloud.dataplex.v1.CreateAssetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -488,9 +534,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateAssetRequest resul result.assetId_ = assetId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.asset_ = assetBuilder_ == null - ? asset_ - : assetBuilder_.build(); + result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -501,38 +545,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateAssetRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateAssetRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateAssetRequest) other); } else { super.mergeFrom(other); return this; @@ -540,7 +585,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -583,34 +629,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - assetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getAssetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + assetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,23 +669,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -645,21 +699,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -667,30 +724,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -700,18 +768,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -721,6 +795,8 @@ public Builder setParentBytes( private java.lang.Object assetId_ = ""; /** + * + * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -733,13 +809,13 @@ public Builder setParentBytes(
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The assetId. */ public java.lang.String getAssetId() { java.lang.Object ref = assetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; @@ -748,6 +824,8 @@ public java.lang.String getAssetId() { } } /** + * + * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -760,15 +838,14 @@ public java.lang.String getAssetId() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for assetId. */ - public com.google.protobuf.ByteString - getAssetIdBytes() { + public com.google.protobuf.ByteString getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetId_ = b; return b; } else { @@ -776,6 +853,8 @@ public java.lang.String getAssetId() { } } /** + * + * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -788,18 +867,22 @@ public java.lang.String getAssetId() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The assetId to set. * @return This builder for chaining. */ - public Builder setAssetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -812,6 +895,7 @@ public Builder setAssetId(
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAssetId() { @@ -821,6 +905,8 @@ public Builder clearAssetId() { return this; } /** + * + * *
      * Required. Asset identifier.
      * This ID will be used to generate names such as table names when publishing
@@ -833,12 +919,14 @@ public Builder clearAssetId() {
      * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for assetId to set. * @return This builder for chaining. */ - public Builder setAssetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetId_ = value; bitField0_ |= 0x00000002; @@ -848,24 +936,35 @@ public Builder setAssetIdBytes( private com.google.cloud.dataplex.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetBuilder_; + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> + assetBuilder_; /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ public boolean hasAsset() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ public com.google.cloud.dataplex.v1.Asset getAsset() { @@ -876,11 +975,14 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { } } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { @@ -896,14 +998,16 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAsset( - com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); } else { @@ -914,17 +1018,20 @@ public Builder setAsset( return this; } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - asset_ != null && - asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && asset_ != null + && asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -937,11 +1044,14 @@ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAsset() { bitField0_ = (bitField0_ & ~0x00000004); @@ -954,11 +1064,14 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { bitField0_ |= 0x00000004; @@ -966,49 +1079,60 @@ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? - com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } } /** + * + * *
      * Required. Asset resource.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( - getAsset(), - getParentForChildren(), - isClean()); + assetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder>( + getAsset(), getParentForChildren(), isClean()); asset_ = null; } return assetBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1016,12 +1140,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1033,12 +1160,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1047,9 +1177,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +1189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateAssetRequest) private static final com.google.cloud.dataplex.v1.CreateAssetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateAssetRequest(); } @@ -1073,27 +1203,27 @@ public static com.google.cloud.dataplex.v1.CreateAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1108,6 +1238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java index bf9f0823bd83..458cf8581d1e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateAssetRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateAssetRequestOrBuilder extends +public interface CreateAssetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateAssetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -42,10 +69,13 @@ public interface CreateAssetRequestOrBuilder extends
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The assetId. */ java.lang.String getAssetId(); /** + * + * *
    * Required. Asset identifier.
    * This ID will be used to generate names such as table names when publishing
@@ -58,45 +88,59 @@ public interface CreateAssetRequestOrBuilder extends
    * 
* * string asset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for assetId. */ - com.google.protobuf.ByteString - getAssetIdBytes(); + com.google.protobuf.ByteString getAssetIdBytes(); /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ boolean hasAsset(); /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ com.google.cloud.dataplex.v1.Asset getAsset(); /** + * + * *
    * Required. Asset resource.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java index f15d2d74338b..dc34d531d558 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateContentRequest} */ -public final class CreateContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateContentRequest) CreateContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateContentRequest.newBuilder() to construct. private CreateContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateContentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateContentRequest.class, com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateContentRequest.class, + com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,15 @@ public java.lang.String getParent() { public static final int CONTENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Content content_; /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ @java.lang.Override @@ -107,11 +138,15 @@ public boolean hasContent() { return content_ != null; } /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ @java.lang.Override @@ -119,11 +154,14 @@ public com.google.cloud.dataplex.v1.Content getContent() { return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { @@ -133,12 +171,15 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -147,6 +188,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -182,12 +223,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContent()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,22 +236,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateContentRequest other = (com.google.cloud.dataplex.v1.CreateContentRequest) obj; + com.google.cloud.dataplex.v1.CreateContentRequest other = + (com.google.cloud.dataplex.v1.CreateContentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,139 +268,142 @@ public int hashCode() { hash = (53 * hash) + getContent().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateContentRequest) com.google.cloud.dataplex.v1.CreateContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateContentRequest.class, com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateContentRequest.class, + com.google.cloud.dataplex.v1.CreateContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateContentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; } @java.lang.Override @@ -400,8 +440,11 @@ public com.google.cloud.dataplex.v1.CreateContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateContentRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateContentRequest result = new com.google.cloud.dataplex.v1.CreateContentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateContentRequest result = + new com.google.cloud.dataplex.v1.CreateContentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -412,9 +455,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateContentRequest res result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.content_ = contentBuilder_ == null - ? content_ - : contentBuilder_.build(); + result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +466,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateContentRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateContentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateContentRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateContentRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateContentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -502,29 +545,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getContentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,23 +579,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -559,21 +609,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -581,30 +634,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -614,18 +678,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -635,39 +705,58 @@ public Builder setParentBytes( private com.google.cloud.dataplex.v1.Content content_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> + contentBuilder_; /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ public com.google.cloud.dataplex.v1.Content getContent() { if (contentBuilder_ == null) { - return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() + : content_; } else { return contentBuilder_.getMessage(); } } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { @@ -683,14 +772,17 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setContent( - com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); } else { @@ -701,17 +793,21 @@ public Builder setContent( return this; } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - content_ != null && - content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && content_ != null + && content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -724,11 +820,15 @@ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -741,11 +841,15 @@ public Builder clearContent() { return this; } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { bitField0_ |= 0x00000002; @@ -753,49 +857,64 @@ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { return getContentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null ? - com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() + : content_; } } /** + * + * *
      * Required. Content resource.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( - getContent(), - getParentForChildren(), - isClean()); + contentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder>( + getContent(), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -803,12 +922,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -820,12 +942,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -834,9 +959,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -846,12 +971,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateContentRequest) private static final com.google.cloud.dataplex.v1.CreateContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateContentRequest(); } @@ -860,27 +985,27 @@ public static com.google.cloud.dataplex.v1.CreateContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,6 +1020,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java index 1fdb139a8a8e..71fb0d288133 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateContentRequestOrBuilder.java @@ -1,68 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface CreateContentRequestOrBuilder extends +public interface CreateContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ boolean hasContent(); /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ com.google.cloud.dataplex.v1.Content getContent(); /** + * + * *
    * Required. Content resource.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java index 3a9e846fd8aa..14863bea8167 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeBindingRequest} */ -public final class CreateDataAttributeBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) CreateDataAttributeBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataAttributeBindingRequest.newBuilder() to construct. - private CreateDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDataAttributeBindingRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataAttributeBindingRequest() { parent_ = ""; dataAttributeBindingId_ = ""; @@ -26,34 +45,41 @@ private CreateDataAttributeBindingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +88,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +122,12 @@ public java.lang.String getParent() { } public static final int DATA_ATTRIBUTE_BINDING_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataAttributeBindingId_ = ""; /** + * + * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -107,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeBindingId. */ @java.lang.Override @@ -115,14 +147,15 @@ public java.lang.String getDataAttributeBindingId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeBindingId_ = s; return s; } } /** + * + * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -133,16 +166,15 @@ public java.lang.String getDataAttributeBindingId() {
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeBindingId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataAttributeBindingIdBytes() { + public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { java.lang.Object ref = dataAttributeBindingId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataAttributeBindingId_ = b; return b; } else { @@ -153,11 +185,16 @@ public java.lang.String getDataAttributeBindingId() { public static final int DATA_ATTRIBUTE_BINDING_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ @java.lang.Override @@ -165,38 +202,55 @@ public boolean hasDataAttributeBinding() { return dataAttributeBinding_ != null; } /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingOrBuilder() { + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -205,6 +259,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -246,12 +300,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataAttributeBindingId_); } if (dataAttributeBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataAttributeBinding()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataAttributeBinding()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,24 +314,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other = + (com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDataAttributeBindingId() - .equals(other.getDataAttributeBindingId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDataAttributeBindingId().equals(other.getDataAttributeBindingId())) return false; if (hasDataAttributeBinding() != other.hasDataAttributeBinding()) return false; if (hasDataAttributeBinding()) { - if (!getDataAttributeBinding() - .equals(other.getDataAttributeBinding())) return false; + if (!getDataAttributeBinding().equals(other.getDataAttributeBinding())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,139 +349,143 @@ public int hashCode() { hash = (53 * hash) + getDataAttributeBinding().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,13 +502,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance(); } @@ -469,13 +524,17 @@ public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result = + new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -484,9 +543,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeBindi result.dataAttributeBindingId_ = dataAttributeBindingId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataAttributeBinding_ = dataAttributeBindingBuilder_ == null - ? dataAttributeBinding_ - : dataAttributeBindingBuilder_.build(); + result.dataAttributeBinding_ = + dataAttributeBindingBuilder_ == null + ? dataAttributeBinding_ + : dataAttributeBindingBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -497,38 +557,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeBindi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -536,7 +597,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -579,34 +642,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - dataAttributeBindingId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getDataAttributeBindingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + dataAttributeBindingId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getDataAttributeBindingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,23 +683,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -641,21 +713,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -663,30 +738,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -696,18 +782,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -717,6 +809,8 @@ public Builder setParentBytes( private java.lang.Object dataAttributeBindingId_ = ""; /** + * + * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -727,13 +821,13 @@ public Builder setParentBytes(
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeBindingId. */ public java.lang.String getDataAttributeBindingId() { java.lang.Object ref = dataAttributeBindingId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeBindingId_ = s; return s; @@ -742,6 +836,8 @@ public java.lang.String getDataAttributeBindingId() { } } /** + * + * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -752,15 +848,14 @@ public java.lang.String getDataAttributeBindingId() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeBindingId. */ - public com.google.protobuf.ByteString - getDataAttributeBindingIdBytes() { + public com.google.protobuf.ByteString getDataAttributeBindingIdBytes() { java.lang.Object ref = dataAttributeBindingId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataAttributeBindingId_ = b; return b; } else { @@ -768,6 +863,8 @@ public java.lang.String getDataAttributeBindingId() { } } /** + * + * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -778,18 +875,22 @@ public java.lang.String getDataAttributeBindingId() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataAttributeBindingId to set. * @return This builder for chaining. */ - public Builder setDataAttributeBindingId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataAttributeBindingId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataAttributeBindingId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -800,6 +901,7 @@ public Builder setDataAttributeBindingId(
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataAttributeBindingId() { @@ -809,6 +911,8 @@ public Builder clearDataAttributeBindingId() { return this; } /** + * + * *
      * Required. DataAttributeBinding identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -819,12 +923,14 @@ public Builder clearDataAttributeBindingId() {
      * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataAttributeBindingId to set. * @return This builder for chaining. */ - public Builder setDataAttributeBindingIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataAttributeBindingIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataAttributeBindingId_ = value; bitField0_ |= 0x00000002; @@ -834,41 +940,61 @@ public Builder setDataAttributeBindingIdBytes( private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + dataAttributeBindingBuilder_; /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ public boolean hasDataAttributeBinding() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { if (dataAttributeBindingBuilder_ == null) { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } else { return dataAttributeBindingBuilder_.getMessage(); } } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder setDataAttributeBinding( + com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -882,11 +1008,15 @@ public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttribut return this; } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttributeBinding( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -900,17 +1030,23 @@ public Builder setDataAttributeBinding( return this; } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder mergeDataAttributeBinding( + com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - dataAttributeBinding_ != null && - dataAttributeBinding_ != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && dataAttributeBinding_ != null + && dataAttributeBinding_ + != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { getDataAttributeBindingBuilder().mergeFrom(value); } else { dataAttributeBinding_ = value; @@ -923,11 +1059,15 @@ public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttrib return this; } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataAttributeBinding() { bitField0_ = (bitField0_ & ~0x00000004); @@ -940,61 +1080,82 @@ public Builder clearDataAttributeBinding() { return this; } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder + getDataAttributeBindingBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDataAttributeBindingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingOrBuilder() { if (dataAttributeBindingBuilder_ != null) { return dataAttributeBindingBuilder_.getMessageOrBuilder(); } else { - return dataAttributeBinding_ == null ? - com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } } /** + * + * *
      * Required. DataAttributeBinding resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingFieldBuilder() { if (dataAttributeBindingBuilder_ == null) { - dataAttributeBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( - getDataAttributeBinding(), - getParentForChildren(), - isClean()); + dataAttributeBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + getDataAttributeBinding(), getParentForChildren(), isClean()); dataAttributeBinding_ = null; } return dataAttributeBindingBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1002,12 +1163,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1019,12 +1183,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1033,9 +1200,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,41 +1212,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstance() { + public static com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1091,9 +1260,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java index b7d0445d1e6f..f5206fa9a1f1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeBindingRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataAttributeBindingRequestOrBuilder extends +public interface CreateDataAttributeBindingRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -40,10 +67,13 @@ public interface CreateDataAttributeBindingRequestOrBuilder extends
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeBindingId. */ java.lang.String getDataAttributeBindingId(); /** + * + * *
    * Required. DataAttributeBinding identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -54,45 +84,62 @@ public interface CreateDataAttributeBindingRequestOrBuilder extends
    * 
* * string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeBindingId. */ - com.google.protobuf.ByteString - getDataAttributeBindingIdBytes(); + com.google.protobuf.ByteString getDataAttributeBindingIdBytes(); /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ boolean hasDataAttributeBinding(); /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(); /** + * + * *
    * Required. DataAttributeBinding resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java index 55430069edc4..8920ff712ef4 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeRequest} */ -public final class CreateDataAttributeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataAttributeRequest) CreateDataAttributeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataAttributeRequest.newBuilder() to construct. private CreateDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataAttributeRequest() { parent_ = ""; dataAttributeId_ = ""; @@ -26,34 +44,41 @@ private CreateDataAttributeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int DATA_ATTRIBUTE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataAttributeId_ = ""; /** + * + * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -107,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeId. */ @java.lang.Override @@ -115,14 +146,15 @@ public java.lang.String getDataAttributeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeId_ = s; return s; } } /** + * + * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -133,16 +165,15 @@ public java.lang.String getDataAttributeId() {
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataAttributeIdBytes() { + public com.google.protobuf.ByteString getDataAttributeIdBytes() { java.lang.Object ref = dataAttributeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataAttributeId_ = b; return b; } else { @@ -153,11 +184,16 @@ public java.lang.String getDataAttributeId() { public static final int DATA_ATTRIBUTE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ @java.lang.Override @@ -165,38 +201,54 @@ public boolean hasDataAttribute() { return dataAttribute_ != null; } /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -205,6 +257,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -246,12 +298,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataAttributeId_); } if (dataAttribute_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataAttribute()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataAttribute()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,24 +311,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataAttributeRequest other = (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.CreateDataAttributeRequest other = + (com.google.cloud.dataplex.v1.CreateDataAttributeRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDataAttributeId() - .equals(other.getDataAttributeId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDataAttributeId().equals(other.getDataAttributeId())) return false; if (hasDataAttribute() != other.hasDataAttribute()) return false; if (hasDataAttribute()) { - if (!getDataAttribute() - .equals(other.getDataAttribute())) return false; + if (!getDataAttribute().equals(other.getDataAttribute())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,139 +346,143 @@ public int hashCode() { hash = (53 * hash) + getDataAttribute().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataAttributeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.CreateDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataAttributeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataAttributeRequest) com.google.cloud.dataplex.v1.CreateDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, + com.google.cloud.dataplex.v1.CreateDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataAttributeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; } @java.lang.Override @@ -469,8 +520,11 @@ public com.google.cloud.dataplex.v1.CreateDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataAttributeRequest result = new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateDataAttributeRequest result = + new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -484,9 +538,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeReque result.dataAttributeId_ = dataAttributeId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataAttribute_ = dataAttributeBuilder_ == null - ? dataAttribute_ - : dataAttributeBuilder_.build(); + result.dataAttribute_ = + dataAttributeBuilder_ == null ? dataAttribute_ : dataAttributeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -497,38 +550,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataAttributeReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataAttributeRequest) other); } else { super.mergeFrom(other); return this; @@ -536,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -579,34 +634,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - dataAttributeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getDataAttributeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + dataAttributeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getDataAttributeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,23 +674,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -641,21 +704,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -663,30 +729,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -696,18 +773,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent data taxonomy
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -717,6 +800,8 @@ public Builder setParentBytes( private java.lang.Object dataAttributeId_ = ""; /** + * + * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -727,13 +812,13 @@ public Builder setParentBytes(
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeId. */ public java.lang.String getDataAttributeId() { java.lang.Object ref = dataAttributeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataAttributeId_ = s; return s; @@ -742,6 +827,8 @@ public java.lang.String getDataAttributeId() { } } /** + * + * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -752,15 +839,14 @@ public java.lang.String getDataAttributeId() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeId. */ - public com.google.protobuf.ByteString - getDataAttributeIdBytes() { + public com.google.protobuf.ByteString getDataAttributeIdBytes() { java.lang.Object ref = dataAttributeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataAttributeId_ = b; return b; } else { @@ -768,6 +854,8 @@ public java.lang.String getDataAttributeId() { } } /** + * + * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -778,18 +866,22 @@ public java.lang.String getDataAttributeId() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataAttributeId to set. * @return This builder for chaining. */ - public Builder setDataAttributeId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataAttributeId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataAttributeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -800,6 +892,7 @@ public Builder setDataAttributeId(
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataAttributeId() { @@ -809,6 +902,8 @@ public Builder clearDataAttributeId() { return this; } /** + * + * *
      * Required. DataAttribute identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -819,12 +914,14 @@ public Builder clearDataAttributeId() {
      * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataAttributeId to set. * @return This builder for chaining. */ - public Builder setDataAttributeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataAttributeIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataAttributeId_ = value; bitField0_ |= 0x00000002; @@ -834,39 +931,58 @@ public Builder setDataAttributeIdBytes( private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributeBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + dataAttributeBuilder_; /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ public boolean hasDataAttribute() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { if (dataAttributeBuilder_ == null) { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } else { return dataAttributeBuilder_.getMessage(); } } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { @@ -882,11 +998,15 @@ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value return this; } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttribute( com.google.cloud.dataplex.v1.DataAttribute.Builder builderForValue) { @@ -900,17 +1020,21 @@ public Builder setDataAttribute( return this; } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - dataAttribute_ != null && - dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && dataAttribute_ != null + && dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { getDataAttributeBuilder().mergeFrom(value); } else { dataAttribute_ = value; @@ -923,11 +1047,15 @@ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute val return this; } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataAttribute() { bitField0_ = (bitField0_ & ~0x00000004); @@ -940,11 +1068,15 @@ public Builder clearDataAttribute() { return this; } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilder() { bitField0_ |= 0x00000004; @@ -952,49 +1084,64 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilde return getDataAttributeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { if (dataAttributeBuilder_ != null) { return dataAttributeBuilder_.getMessageOrBuilder(); } else { - return dataAttribute_ == null ? - com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } } /** + * + * *
      * Required. DataAttribute resource.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributeFieldBuilder() { if (dataAttributeBuilder_ == null) { - dataAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( - getDataAttribute(), - getParentForChildren(), - isClean()); + dataAttributeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + getDataAttribute(), getParentForChildren(), isClean()); dataAttribute_ = null; } return dataAttributeBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1002,12 +1149,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1019,12 +1169,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1033,9 +1186,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +1198,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataAttributeRequest) private static final com.google.cloud.dataplex.v1.CreateDataAttributeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataAttributeRequest(); } @@ -1059,27 +1212,27 @@ public static com.google.cloud.dataplex.v1.CreateDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,6 +1247,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.CreateDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java index d1889ec2ea2d..62a24b85de5f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataAttributeRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataAttributeRequestOrBuilder extends +public interface CreateDataAttributeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent data taxonomy
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -40,10 +67,13 @@ public interface CreateDataAttributeRequestOrBuilder extends
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataAttributeId. */ java.lang.String getDataAttributeId(); /** + * + * *
    * Required. DataAttribute identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -54,45 +84,62 @@ public interface CreateDataAttributeRequestOrBuilder extends
    * 
* * string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataAttributeId. */ - com.google.protobuf.ByteString - getDataAttributeIdBytes(); + com.google.protobuf.ByteString getDataAttributeIdBytes(); /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ boolean hasDataAttribute(); /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(); /** + * + * *
    * Required. DataAttribute resource.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java index 81cd806b4ae9..bd2bae34c57e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataScanRequest} */ -public final class CreateDataScanRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataScanRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataScanRequest) CreateDataScanRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataScanRequest.newBuilder() to construct. private CreateDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataScanRequest() { parent_ = ""; dataScanId_ = ""; @@ -26,28 +44,32 @@ private CreateDataScanRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataScanRequest.class, com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataScanRequest.class, + com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -79,17 +105,18 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +127,16 @@ public java.lang.String getParent() { public static final int DATA_SCAN_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataScan dataScan_; /** + * + * *
    * Required. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ @java.lang.Override @@ -112,33 +144,49 @@ public boolean hasDataScan() { return dataScan_ != null; } /** + * + * *
    * Required. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan getDataScan() { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } /** + * + * *
    * Required. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } public static final int DATA_SCAN_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object dataScanId_ = ""; /** + * + * *
    * Required. DataScan identifier.
    *
@@ -150,6 +198,7 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() {
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataScanId. */ @java.lang.Override @@ -158,14 +207,15 @@ public java.lang.String getDataScanId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataScanId_ = s; return s; } } /** + * + * *
    * Required. DataScan identifier.
    *
@@ -177,16 +227,15 @@ public java.lang.String getDataScanId() {
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataScanId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataScanIdBytes() { + public com.google.protobuf.ByteString getDataScanIdBytes() { java.lang.Object ref = dataScanId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataScanId_ = b; return b; } else { @@ -197,12 +246,15 @@ public java.lang.String getDataScanId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -211,6 +263,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -249,15 +301,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataScan_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataScan()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataScan()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataScanId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dataScanId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,24 +317,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataScanRequest other = (com.google.cloud.dataplex.v1.CreateDataScanRequest) obj; + com.google.cloud.dataplex.v1.CreateDataScanRequest other = + (com.google.cloud.dataplex.v1.CreateDataScanRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDataScan() != other.hasDataScan()) return false; if (hasDataScan()) { - if (!getDataScan() - .equals(other.getDataScan())) return false; + if (!getDataScan().equals(other.getDataScan())) return false; } - if (!getDataScanId() - .equals(other.getDataScanId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getDataScanId().equals(other.getDataScanId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,139 +352,142 @@ public int hashCode() { hash = (37 * hash) + DATA_SCAN_ID_FIELD_NUMBER; hash = (53 * hash) + getDataScanId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataScanRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataScanRequest) com.google.cloud.dataplex.v1.CreateDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataScanRequest.class, com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataScanRequest.class, + com.google.cloud.dataplex.v1.CreateDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataScanRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; } @java.lang.Override @@ -475,8 +525,11 @@ public com.google.cloud.dataplex.v1.CreateDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataScanRequest result = new com.google.cloud.dataplex.v1.CreateDataScanRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateDataScanRequest result = + new com.google.cloud.dataplex.v1.CreateDataScanRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -487,9 +540,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataScanRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataScan_ = dataScanBuilder_ == null - ? dataScan_ - : dataScanBuilder_.build(); + result.dataScan_ = dataScanBuilder_ == null ? dataScan_ : dataScanBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.dataScanId_ = dataScanId_; @@ -503,38 +554,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataScanRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataScanRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataScanRequest) other); } else { super.mergeFrom(other); return this; @@ -542,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -585,34 +638,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataScanFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - dataScanId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataScanFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + dataScanId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,10 +678,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -633,14 +692,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -649,6 +710,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -656,16 +719,17 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -673,6 +737,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -680,19 +746,25 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -700,7 +772,10 @@ public Builder setParent(
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -710,6 +785,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -717,13 +794,17 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -733,39 +814,58 @@ public Builder setParentBytes( private com.google.cloud.dataplex.v1.DataScan dataScan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScanBuilder_; + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> + dataScanBuilder_; /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ public boolean hasDataScan() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ public com.google.cloud.dataplex.v1.DataScan getDataScan() { if (dataScanBuilder_ == null) { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } else { return dataScanBuilder_.getMessage(); } } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { @@ -781,14 +881,17 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataScan( - com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScanBuilder_ == null) { dataScan_ = builderForValue.build(); } else { @@ -799,17 +902,21 @@ public Builder setDataScan( return this; } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataScan_ != null && - dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataScan_ != null + && dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { getDataScanBuilder().mergeFrom(value); } else { dataScan_ = value; @@ -822,11 +929,15 @@ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataScan() { bitField0_ = (bitField0_ & ~0x00000002); @@ -839,11 +950,15 @@ public Builder clearDataScan() { return this; } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { bitField0_ |= 0x00000002; @@ -851,36 +966,48 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { return getDataScanFieldBuilder().getBuilder(); } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { if (dataScanBuilder_ != null) { return dataScanBuilder_.getMessageOrBuilder(); } else { - return dataScan_ == null ? - com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } } /** + * + * *
      * Required. DataScan resource.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScanFieldBuilder() { if (dataScanBuilder_ == null) { - dataScanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( - getDataScan(), - getParentForChildren(), - isClean()); + dataScanBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder>( + getDataScan(), getParentForChildren(), isClean()); dataScan_ = null; } return dataScanBuilder_; @@ -888,6 +1015,8 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { private java.lang.Object dataScanId_ = ""; /** + * + * *
      * Required. DataScan identifier.
      *
@@ -899,13 +1028,13 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataScanId. */ public java.lang.String getDataScanId() { java.lang.Object ref = dataScanId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataScanId_ = s; return s; @@ -914,6 +1043,8 @@ public java.lang.String getDataScanId() { } } /** + * + * *
      * Required. DataScan identifier.
      *
@@ -925,15 +1056,14 @@ public java.lang.String getDataScanId() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataScanId. */ - public com.google.protobuf.ByteString - getDataScanIdBytes() { + public com.google.protobuf.ByteString getDataScanIdBytes() { java.lang.Object ref = dataScanId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataScanId_ = b; return b; } else { @@ -941,6 +1071,8 @@ public java.lang.String getDataScanId() { } } /** + * + * *
      * Required. DataScan identifier.
      *
@@ -952,18 +1084,22 @@ public java.lang.String getDataScanId() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataScanId to set. * @return This builder for chaining. */ - public Builder setDataScanId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataScanId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataScanId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. DataScan identifier.
      *
@@ -975,6 +1111,7 @@ public Builder setDataScanId(
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataScanId() { @@ -984,6 +1121,8 @@ public Builder clearDataScanId() { return this; } /** + * + * *
      * Required. DataScan identifier.
      *
@@ -995,12 +1134,14 @@ public Builder clearDataScanId() {
      * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataScanId to set. * @return This builder for chaining. */ - public Builder setDataScanIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataScanIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataScanId_ = value; bitField0_ |= 0x00000004; @@ -1008,14 +1149,17 @@ public Builder setDataScanIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1023,12 +1167,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1040,12 +1187,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1054,9 +1204,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +1216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataScanRequest) private static final com.google.cloud.dataplex.v1.CreateDataScanRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataScanRequest(); } @@ -1080,27 +1230,27 @@ public static com.google.cloud.dataplex.v1.CreateDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,6 +1265,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java index 4c4ff0761152..a44d58f77bd6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface CreateDataScanRequestOrBuilder extends +public interface CreateDataScanRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataScanRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -15,11 +33,16 @@ public interface CreateDataScanRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -27,40 +50,58 @@ public interface CreateDataScanRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 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. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ boolean hasDataScan(); /** + * + * *
    * Required. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ com.google.cloud.dataplex.v1.DataScan getDataScan(); /** + * + * *
    * Required. DataScan resource.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder(); /** + * + * *
    * Required. DataScan identifier.
    *
@@ -72,10 +113,13 @@ public interface CreateDataScanRequestOrBuilder extends
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataScanId. */ java.lang.String getDataScanId(); /** + * + * *
    * Required. DataScan identifier.
    *
@@ -87,18 +131,21 @@ public interface CreateDataScanRequestOrBuilder extends
    * 
* * string data_scan_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataScanId. */ - com.google.protobuf.ByteString - getDataScanIdBytes(); + com.google.protobuf.ByteString getDataScanIdBytes(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java index 2b00610835f7..f3ac00528d70 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataTaxonomyRequest} */ -public final class CreateDataTaxonomyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) CreateDataTaxonomyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataTaxonomyRequest.newBuilder() to construct. private CreateDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataTaxonomyRequest() { parent_ = ""; dataTaxonomyId_ = ""; @@ -26,35 +44,42 @@ private CreateDataTaxonomyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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 @@ -63,31 +88,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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 { @@ -96,9 +123,12 @@ public java.lang.String getParent() { } public static final int DATA_TAXONOMY_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataTaxonomyId_ = ""; /** + * + * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -109,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataTaxonomyId. */ @java.lang.Override @@ -117,14 +148,15 @@ public java.lang.String getDataTaxonomyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataTaxonomyId_ = s; return s; } } /** + * + * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -135,16 +167,15 @@ public java.lang.String getDataTaxonomyId() {
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataTaxonomyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataTaxonomyIdBytes() { + public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { java.lang.Object ref = dataTaxonomyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataTaxonomyId_ = b; return b; } else { @@ -155,11 +186,16 @@ public java.lang.String getDataTaxonomyId() { public static final int DATA_TAXONOMY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ @java.lang.Override @@ -167,38 +203,54 @@ public boolean hasDataTaxonomy() { return dataTaxonomy_ != null; } /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -207,6 +259,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,12 +300,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataTaxonomyId_); } if (dataTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataTaxonomy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataTaxonomy()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,24 +313,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other = + (com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDataTaxonomyId() - .equals(other.getDataTaxonomyId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDataTaxonomyId().equals(other.getDataTaxonomyId())) return false; if (hasDataTaxonomy() != other.hasDataTaxonomy()) return false; if (hasDataTaxonomy()) { - if (!getDataTaxonomy() - .equals(other.getDataTaxonomy())) return false; + if (!getDataTaxonomy().equals(other.getDataTaxonomy())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,139 +348,143 @@ public int hashCode() { hash = (53 * hash) + getDataTaxonomy().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateDataTaxonomyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) com.google.cloud.dataplex.v1.CreateDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -471,8 +522,11 @@ public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest result = + new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -486,9 +540,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataTaxonomyReques result.dataTaxonomyId_ = dataTaxonomyId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.dataTaxonomy_ = dataTaxonomyBuilder_ == null - ? dataTaxonomy_ - : dataTaxonomyBuilder_.build(); + result.dataTaxonomy_ = + dataTaxonomyBuilder_ == null ? dataTaxonomy_ : dataTaxonomyBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -499,38 +552,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateDataTaxonomyReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) other); } else { super.mergeFrom(other); return this; @@ -538,7 +592,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -581,34 +636,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - dataTaxonomyId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getDataTaxonomyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + dataTaxonomyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getDataTaxonomyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,24 +676,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -644,22 +707,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -667,32 +733,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -702,19 +779,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the data taxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -724,6 +807,8 @@ public Builder setParentBytes( private java.lang.Object dataTaxonomyId_ = ""; /** + * + * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -734,13 +819,13 @@ public Builder setParentBytes(
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataTaxonomyId. */ public java.lang.String getDataTaxonomyId() { java.lang.Object ref = dataTaxonomyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataTaxonomyId_ = s; return s; @@ -749,6 +834,8 @@ public java.lang.String getDataTaxonomyId() { } } /** + * + * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -759,15 +846,14 @@ public java.lang.String getDataTaxonomyId() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataTaxonomyId. */ - public com.google.protobuf.ByteString - getDataTaxonomyIdBytes() { + public com.google.protobuf.ByteString getDataTaxonomyIdBytes() { java.lang.Object ref = dataTaxonomyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataTaxonomyId_ = b; return b; } else { @@ -775,6 +861,8 @@ public java.lang.String getDataTaxonomyId() { } } /** + * + * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -785,18 +873,22 @@ public java.lang.String getDataTaxonomyId() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataTaxonomyId to set. * @return This builder for chaining. */ - public Builder setDataTaxonomyId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataTaxonomyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataTaxonomyId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -807,6 +899,7 @@ public Builder setDataTaxonomyId(
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataTaxonomyId() { @@ -816,6 +909,8 @@ public Builder clearDataTaxonomyId() { return this; } /** + * + * *
      * Required. DataTaxonomy identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -826,12 +921,14 @@ public Builder clearDataTaxonomyId() {
      * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dataTaxonomyId to set. * @return This builder for chaining. */ - public Builder setDataTaxonomyIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataTaxonomyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataTaxonomyId_ = value; bitField0_ |= 0x00000002; @@ -841,39 +938,58 @@ public Builder setDataTaxonomyIdBytes( private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomyBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + dataTaxonomyBuilder_; /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ public boolean hasDataTaxonomy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { if (dataTaxonomyBuilder_ == null) { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } else { return dataTaxonomyBuilder_.getMessage(); } } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { @@ -889,11 +1005,15 @@ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) return this; } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataTaxonomy( com.google.cloud.dataplex.v1.DataTaxonomy.Builder builderForValue) { @@ -907,17 +1027,21 @@ public Builder setDataTaxonomy( return this; } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - dataTaxonomy_ != null && - dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && dataTaxonomy_ != null + && dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { getDataTaxonomyBuilder().mergeFrom(value); } else { dataTaxonomy_ = value; @@ -930,11 +1054,15 @@ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataTaxonomy() { bitField0_ = (bitField0_ & ~0x00000004); @@ -947,11 +1075,15 @@ public Builder clearDataTaxonomy() { return this; } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder() { bitField0_ |= 0x00000004; @@ -959,49 +1091,64 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder( return getDataTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { if (dataTaxonomyBuilder_ != null) { return dataTaxonomyBuilder_.getMessageOrBuilder(); } else { - return dataTaxonomy_ == null ? - com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } } /** + * + * *
      * Required. DataTaxonomy resource.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomyFieldBuilder() { if (dataTaxonomyBuilder_ == null) { - dataTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( - getDataTaxonomy(), - getParentForChildren(), - isClean()); + dataTaxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + getDataTaxonomy(), getParentForChildren(), isClean()); dataTaxonomy_ = null; } return dataTaxonomyBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1009,12 +1156,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1026,12 +1176,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1040,9 +1193,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1052,12 +1205,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest(); } @@ -1066,27 +1219,27 @@ public static com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,6 +1254,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java index 7e18e046f3f8..b269faefcddd 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataTaxonomyRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface CreateDataTaxonomyRequestOrBuilder extends +public interface CreateDataTaxonomyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the data taxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -42,10 +69,13 @@ public interface CreateDataTaxonomyRequestOrBuilder extends
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataTaxonomyId. */ java.lang.String getDataTaxonomyId(); /** + * + * *
    * Required. DataTaxonomy identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -56,45 +86,62 @@ public interface CreateDataTaxonomyRequestOrBuilder extends
    * 
* * string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataTaxonomyId. */ - com.google.protobuf.ByteString - getDataTaxonomyIdBytes(); + com.google.protobuf.ByteString getDataTaxonomyIdBytes(); /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ boolean hasDataTaxonomy(); /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(); /** + * + * *
    * Required. DataTaxonomy resource.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java index 6378938f711d..4945b88a4459 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create a metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEntityRequest} */ -public final class CreateEntityRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEntityRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateEntityRequest) CreateEntityRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEntityRequest.newBuilder() to construct. private CreateEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEntityRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEntityRequest.class, com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEntityRequest.class, + com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,15 @@ public java.lang.String getParent() { public static final int ENTITY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Entity entity_; /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ @java.lang.Override @@ -107,11 +138,15 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ @java.lang.Override @@ -119,11 +154,14 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { @@ -133,12 +171,15 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -147,6 +188,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -182,12 +223,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntity()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,22 +236,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateEntityRequest other = (com.google.cloud.dataplex.v1.CreateEntityRequest) obj; + com.google.cloud.dataplex.v1.CreateEntityRequest other = + (com.google.cloud.dataplex.v1.CreateEntityRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,139 +268,142 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateEntityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create a metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEntityRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateEntityRequest) com.google.cloud.dataplex.v1.CreateEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEntityRequest.class, com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEntityRequest.class, + com.google.cloud.dataplex.v1.CreateEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateEntityRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; } @java.lang.Override @@ -400,8 +440,11 @@ public com.google.cloud.dataplex.v1.CreateEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateEntityRequest result = new com.google.cloud.dataplex.v1.CreateEntityRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateEntityRequest result = + new com.google.cloud.dataplex.v1.CreateEntityRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -412,9 +455,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEntityRequest resu result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.entity_ = entityBuilder_ == null - ? entity_ - : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +466,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEntityRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateEntityRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateEntityRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateEntityRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -502,29 +545,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getEntityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,23 +579,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -559,21 +609,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -581,30 +634,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -614,18 +678,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -635,24 +705,35 @@ public Builder setParentBytes( private com.google.cloud.dataplex.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entityBuilder_; + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ public com.google.cloud.dataplex.v1.Entity getEntity() { @@ -663,11 +744,14 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { } } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { @@ -683,14 +767,16 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntity( - com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -701,17 +787,20 @@ public Builder setEntity( return this; } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - entity_ != null && - entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && entity_ != null + && entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -724,11 +813,14 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntity() { bitField0_ = (bitField0_ & ~0x00000002); @@ -741,11 +833,14 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { bitField0_ |= 0x00000002; @@ -753,49 +848,60 @@ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } } /** + * + * *
      * Required. Entity resource.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -803,12 +909,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -820,12 +929,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -834,9 +946,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -846,12 +958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateEntityRequest) private static final com.google.cloud.dataplex.v1.CreateEntityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateEntityRequest(); } @@ -860,27 +972,27 @@ public static com.google.cloud.dataplex.v1.CreateEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java index f7930c10d95d..4cc5f739001a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEntityRequestOrBuilder.java @@ -1,68 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface CreateEntityRequestOrBuilder extends +public interface CreateEntityRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateEntityRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ com.google.cloud.dataplex.v1.Entity getEntity(); /** + * + * *
    * Required. Entity resource.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java index 7067c70c2061..46c8ff5d6ad6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEnvironmentRequest() { parent_ = ""; environmentId_ = ""; @@ -26,34 +44,41 @@ private CreateEnvironmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int ENVIRONMENT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object environmentId_ = ""; /** + * + * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -107,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The environmentId. */ @java.lang.Override @@ -115,14 +146,15 @@ public java.lang.String getEnvironmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; } } /** + * + * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -133,16 +165,15 @@ public java.lang.String getEnvironmentId() {
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for environmentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEnvironmentIdBytes() { + public com.google.protobuf.ByteString getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); environmentId_ = b; return b; } else { @@ -153,11 +184,16 @@ public java.lang.String getEnvironmentId() { public static final int ENVIRONMENT_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Environment environment_; /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ @java.lang.Override @@ -165,38 +201,54 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -205,6 +257,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -246,12 +298,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, environmentId_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEnvironment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEnvironment()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,24 +311,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateEnvironmentRequest other = (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.CreateEnvironmentRequest other = + (com.google.cloud.dataplex.v1.CreateEnvironmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEnvironmentId() - .equals(other.getEnvironmentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEnvironmentId().equals(other.getEnvironmentId())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment() - .equals(other.getEnvironment())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,139 +346,143 @@ public int hashCode() { hash = (53 * hash) + getEnvironment().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateEnvironmentRequest) com.google.cloud.dataplex.v1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, + com.google.cloud.dataplex.v1.CreateEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateEnvironmentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override @@ -469,8 +520,11 @@ public com.google.cloud.dataplex.v1.CreateEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateEnvironmentRequest result = new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateEnvironmentRequest result = + new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -484,9 +538,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEnvironmentRequest result.environmentId_ = environmentId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.environment_ = environmentBuilder_ == null - ? environment_ - : environmentBuilder_.build(); + result.environment_ = + environmentBuilder_ == null ? environment_ : environmentBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -497,38 +550,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateEnvironmentRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateEnvironmentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateEnvironmentRequest) other); } else { super.mergeFrom(other); return this; @@ -536,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreateEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -579,34 +634,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - environmentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEnvironmentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + environmentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEnvironmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,23 +674,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -641,21 +704,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -663,30 +729,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -696,18 +773,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -717,6 +800,8 @@ public Builder setParentBytes( private java.lang.Object environmentId_ = ""; /** + * + * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -727,13 +812,13 @@ public Builder setParentBytes(
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The environmentId. */ public java.lang.String getEnvironmentId() { java.lang.Object ref = environmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; @@ -742,6 +827,8 @@ public java.lang.String getEnvironmentId() { } } /** + * + * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -752,15 +839,14 @@ public java.lang.String getEnvironmentId() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for environmentId. */ - public com.google.protobuf.ByteString - getEnvironmentIdBytes() { + public com.google.protobuf.ByteString getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); environmentId_ = b; return b; } else { @@ -768,6 +854,8 @@ public java.lang.String getEnvironmentId() { } } /** + * + * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -778,18 +866,22 @@ public java.lang.String getEnvironmentId() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The environmentId to set. * @return This builder for chaining. */ - public Builder setEnvironmentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEnvironmentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } environmentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -800,6 +892,7 @@ public Builder setEnvironmentId(
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEnvironmentId() { @@ -809,6 +902,8 @@ public Builder clearEnvironmentId() { return this; } /** + * + * *
      * Required. Environment identifier.
      * * Must contain only lowercase letters, numbers and hyphens.
@@ -819,12 +914,14 @@ public Builder clearEnvironmentId() {
      * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for environmentId to set. * @return This builder for chaining. */ - public Builder setEnvironmentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEnvironmentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); environmentId_ = value; bitField0_ |= 0x00000002; @@ -834,39 +931,58 @@ public Builder setEnvironmentIdBytes( private com.google.cloud.dataplex.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ public com.google.cloud.dataplex.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { @@ -882,11 +998,15 @@ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { return this; } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEnvironment( com.google.cloud.dataplex.v1.Environment.Builder builderForValue) { @@ -900,17 +1020,21 @@ public Builder setEnvironment( return this; } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - environment_ != null && - environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && environment_ != null + && environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { getEnvironmentBuilder().mergeFrom(value); } else { environment_ = value; @@ -923,11 +1047,15 @@ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) return this; } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEnvironment() { bitField0_ = (bitField0_ & ~0x00000004); @@ -940,11 +1068,15 @@ public Builder clearEnvironment() { return this; } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() { bitField0_ |= 0x00000004; @@ -952,49 +1084,64 @@ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() return getEnvironmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null ? - com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } } /** + * + * *
      * Required. Environment resource.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - getEnvironment(), - getParentForChildren(), - isClean()); + environmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + getEnvironment(), getParentForChildren(), isClean()); environment_ = null; } return environmentBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1002,12 +1149,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1019,12 +1169,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1033,9 +1186,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +1198,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateEnvironmentRequest) private static final com.google.cloud.dataplex.v1.CreateEnvironmentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateEnvironmentRequest(); } @@ -1059,27 +1212,27 @@ public static com.google.cloud.dataplex.v1.CreateEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,6 +1247,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java index 98adf87bea0a..6923e94ca631 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateEnvironmentRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateEnvironmentRequestOrBuilder extends +public interface CreateEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -40,10 +67,13 @@ public interface CreateEnvironmentRequestOrBuilder extends
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The environmentId. */ java.lang.String getEnvironmentId(); /** + * + * *
    * Required. Environment identifier.
    * * Must contain only lowercase letters, numbers and hyphens.
@@ -54,45 +84,62 @@ public interface CreateEnvironmentRequestOrBuilder extends
    * 
* * string environment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for environmentId. */ - com.google.protobuf.ByteString - getEnvironmentIdBytes(); + com.google.protobuf.ByteString getEnvironmentIdBytes(); /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ com.google.cloud.dataplex.v1.Environment getEnvironment(); /** + * + * *
    * Required. Environment resource.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java index 30a154993a2e..6b420ac2d758 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateLakeRequest} */ -public final class CreateLakeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateLakeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateLakeRequest) CreateLakeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateLakeRequest.newBuilder() to construct. private CreateLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateLakeRequest() { parent_ = ""; lakeId_ = ""; @@ -26,35 +44,42 @@ private CreateLakeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateLakeRequest.class, com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateLakeRequest.class, + com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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 @@ -63,31 +88,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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 { @@ -96,9 +123,12 @@ public java.lang.String getParent() { } public static final int LAKE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object lakeId_ = ""; /** + * + * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -111,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lakeId. */ @java.lang.Override @@ -119,14 +150,15 @@ public java.lang.String getLakeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; } } /** + * + * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -139,16 +171,15 @@ public java.lang.String getLakeId() {
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for lakeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLakeIdBytes() { + public com.google.protobuf.ByteString getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lakeId_ = b; return b; } else { @@ -159,11 +190,14 @@ public java.lang.String getLakeId() { public static final int LAKE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Lake lake_; /** + * + * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lake field is set. */ @java.lang.Override @@ -171,11 +205,14 @@ public boolean hasLake() { return lake_ != null; } /** + * + * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lake. */ @java.lang.Override @@ -183,6 +220,8 @@ public com.google.cloud.dataplex.v1.Lake getLake() { return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } /** + * + * *
    * Required. Lake resource
    * 
@@ -197,12 +236,15 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -211,6 +253,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,12 +294,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lakeId_); } if (lake_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLake()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLake()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,24 +307,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateLakeRequest other = (com.google.cloud.dataplex.v1.CreateLakeRequest) obj; + com.google.cloud.dataplex.v1.CreateLakeRequest other = + (com.google.cloud.dataplex.v1.CreateLakeRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getLakeId() - .equals(other.getLakeId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getLakeId().equals(other.getLakeId())) return false; if (hasLake() != other.hasLake()) return false; if (hasLake()) { - if (!getLake() - .equals(other.getLake())) return false; + if (!getLake().equals(other.getLake())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,139 +342,142 @@ public int hashCode() { hash = (53 * hash) + getLake().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateLakeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateLakeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateLakeRequest) com.google.cloud.dataplex.v1.CreateLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateLakeRequest.class, com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateLakeRequest.class, + com.google.cloud.dataplex.v1.CreateLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateLakeRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; } @java.lang.Override @@ -475,8 +515,11 @@ public com.google.cloud.dataplex.v1.CreateLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateLakeRequest result = new com.google.cloud.dataplex.v1.CreateLakeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateLakeRequest result = + new com.google.cloud.dataplex.v1.CreateLakeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -490,9 +533,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateLakeRequest result result.lakeId_ = lakeId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.lake_ = lakeBuilder_ == null - ? lake_ - : lakeBuilder_.build(); + result.lake_ = lakeBuilder_ == null ? lake_ : lakeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -503,38 +544,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateLakeRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateLakeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateLakeRequest) other); } else { super.mergeFrom(other); return this; @@ -585,34 +627,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - lakeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getLakeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + lakeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getLakeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,24 +667,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -648,22 +698,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -671,32 +724,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -706,19 +770,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -728,6 +798,8 @@ public Builder setParentBytes( private java.lang.Object lakeId_ = ""; /** + * + * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -740,13 +812,13 @@ public Builder setParentBytes(
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lakeId. */ public java.lang.String getLakeId() { java.lang.Object ref = lakeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; @@ -755,6 +827,8 @@ public java.lang.String getLakeId() { } } /** + * + * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -767,15 +841,14 @@ public java.lang.String getLakeId() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for lakeId. */ - public com.google.protobuf.ByteString - getLakeIdBytes() { + public com.google.protobuf.ByteString getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lakeId_ = b; return b; } else { @@ -783,6 +856,8 @@ public java.lang.String getLakeId() { } } /** + * + * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -795,18 +870,22 @@ public java.lang.String getLakeId() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The lakeId to set. * @return This builder for chaining. */ - public Builder setLakeId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLakeId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } lakeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -819,6 +898,7 @@ public Builder setLakeId(
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLakeId() { @@ -828,6 +908,8 @@ public Builder clearLakeId() { return this; } /** + * + * *
      * Required. Lake identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -840,12 +922,14 @@ public Builder clearLakeId() {
      * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for lakeId to set. * @return This builder for chaining. */ - public Builder setLakeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); lakeId_ = value; bitField0_ |= 0x00000002; @@ -855,24 +939,35 @@ public Builder setLakeIdBytes( private com.google.cloud.dataplex.v1.Lake lake_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakeBuilder_; + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> + lakeBuilder_; /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lake field is set. */ public boolean hasLake() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lake. */ public com.google.cloud.dataplex.v1.Lake getLake() { @@ -883,11 +978,14 @@ public com.google.cloud.dataplex.v1.Lake getLake() { } } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { @@ -903,14 +1001,16 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLake( - com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakeBuilder_ == null) { lake_ = builderForValue.build(); } else { @@ -921,17 +1021,20 @@ public Builder setLake( return this; } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - lake_ != null && - lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && lake_ != null + && lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { getLakeBuilder().mergeFrom(value); } else { lake_ = value; @@ -944,11 +1047,14 @@ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLake() { bitField0_ = (bitField0_ & ~0x00000004); @@ -961,11 +1067,14 @@ public Builder clearLake() { return this; } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { bitField0_ |= 0x00000004; @@ -973,49 +1082,60 @@ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { return getLakeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { if (lakeBuilder_ != null) { return lakeBuilder_.getMessageOrBuilder(); } else { - return lake_ == null ? - com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; + return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } } /** + * + * *
      * Required. Lake resource
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> getLakeFieldBuilder() { if (lakeBuilder_ == null) { - lakeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( - getLake(), - getParentForChildren(), - isClean()); + lakeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder>( + getLake(), getParentForChildren(), isClean()); lake_ = null; } return lakeBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1023,12 +1143,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1040,12 +1163,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1054,9 +1180,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +1192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateLakeRequest) private static final com.google.cloud.dataplex.v1.CreateLakeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateLakeRequest(); } @@ -1080,27 +1206,27 @@ public static com.google.cloud.dataplex.v1.CreateLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,6 +1241,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java index 7773cb8ee3f6..5ea731774170 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateLakeRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateLakeRequestOrBuilder extends +public interface CreateLakeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateLakeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 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. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -44,10 +71,13 @@ public interface CreateLakeRequestOrBuilder extends
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lakeId. */ java.lang.String getLakeId(); /** + * + * *
    * Required. Lake identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -60,30 +90,38 @@ public interface CreateLakeRequestOrBuilder extends
    * 
* * string lake_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for lakeId. */ - com.google.protobuf.ByteString - getLakeIdBytes(); + com.google.protobuf.ByteString getLakeIdBytes(); /** + * + * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lake field is set. */ boolean hasLake(); /** + * + * *
    * Required. Lake resource
    * 
* * .google.cloud.dataplex.v1.Lake lake = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lake. */ com.google.cloud.dataplex.v1.Lake getLake(); /** + * + * *
    * Required. Lake resource
    * 
@@ -93,12 +131,15 @@ public interface CreateLakeRequestOrBuilder extends com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java index 0889060b8621..05ada1c2549f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreatePartitionRequest} */ -public final class CreatePartitionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePartitionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreatePartitionRequest) CreatePartitionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePartitionRequest.newBuilder() to construct. private CreatePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreatePartitionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreatePartitionRequest.class, com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.CreatePartitionRequest.class, + com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Partition partition_; /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the partition field is set. */ @java.lang.Override @@ -107,38 +139,54 @@ public boolean hasPartition() { return partition_ != null; } /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The partition. */ @java.lang.Override public com.google.cloud.dataplex.v1.Partition getPartition() { - return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() + : partition_; } /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() + : partition_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -147,6 +195,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -182,12 +230,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,22 +243,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreatePartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreatePartitionRequest other = (com.google.cloud.dataplex.v1.CreatePartitionRequest) obj; + com.google.cloud.dataplex.v1.CreatePartitionRequest other = + (com.google.cloud.dataplex.v1.CreatePartitionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition() - .equals(other.getPartition())) return false; + if (!getPartition().equals(other.getPartition())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,139 +275,142 @@ public int hashCode() { hash = (53 * hash) + getPartition().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreatePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreatePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreatePartitionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreatePartitionRequest) com.google.cloud.dataplex.v1.CreatePartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreatePartitionRequest.class, com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.CreatePartitionRequest.class, + com.google.cloud.dataplex.v1.CreatePartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreatePartitionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; } @java.lang.Override @@ -400,8 +447,11 @@ public com.google.cloud.dataplex.v1.CreatePartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreatePartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.CreatePartitionRequest result = new com.google.cloud.dataplex.v1.CreatePartitionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreatePartitionRequest result = + new com.google.cloud.dataplex.v1.CreatePartitionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -412,9 +462,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreatePartitionRequest r result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.partition_ = partitionBuilder_ == null - ? partition_ - : partitionBuilder_.build(); + result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +473,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreatePartitionRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreatePartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreatePartitionRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreatePartitionRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.CreatePartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -502,29 +552,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getPartitionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,23 +586,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -559,21 +616,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -581,30 +641,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -614,18 +685,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -635,39 +712,58 @@ public Builder setParentBytes( private com.google.cloud.dataplex.v1.Partition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> partitionBuilder_; + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder> + partitionBuilder_; /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The partition. */ public com.google.cloud.dataplex.v1.Partition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() + : partition_; } else { return partitionBuilder_.getMessage(); } } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPartition(com.google.cloud.dataplex.v1.Partition value) { if (partitionBuilder_ == null) { @@ -683,14 +779,17 @@ public Builder setPartition(com.google.cloud.dataplex.v1.Partition value) { return this; } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPartition( - com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { + public Builder setPartition(com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -701,17 +800,21 @@ public Builder setPartition( return this; } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePartition(com.google.cloud.dataplex.v1.Partition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - partition_ != null && - partition_ != com.google.cloud.dataplex.v1.Partition.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && partition_ != null + && partition_ != com.google.cloud.dataplex.v1.Partition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -724,11 +827,15 @@ public Builder mergePartition(com.google.cloud.dataplex.v1.Partition value) { return this; } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPartition() { bitField0_ = (bitField0_ & ~0x00000002); @@ -741,11 +848,15 @@ public Builder clearPartition() { return this; } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Partition.Builder getPartitionBuilder() { bitField0_ |= 0x00000002; @@ -753,49 +864,64 @@ public com.google.cloud.dataplex.v1.Partition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null ? - com.google.cloud.dataplex.v1.Partition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.cloud.dataplex.v1.Partition.getDefaultInstance() + : partition_; } } /** + * + * *
      * Required. Partition resource.
      * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder>( - getPartition(), - getParentForChildren(), - isClean()); + partitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder>( + getPartition(), getParentForChildren(), isClean()); partition_ = null; } return partitionBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -803,12 +929,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -820,12 +949,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -834,9 +966,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -846,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreatePartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreatePartitionRequest) private static final com.google.cloud.dataplex.v1.CreatePartitionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreatePartitionRequest(); } @@ -860,27 +992,27 @@ public static com.google.cloud.dataplex.v1.CreatePartitionRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreatePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java index f3280cfaa776..42ad9808d9ce 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreatePartitionRequestOrBuilder.java @@ -1,68 +1,110 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface CreatePartitionRequestOrBuilder extends +public interface CreatePartitionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreatePartitionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the partition field is set. */ boolean hasPartition(); /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The partition. */ com.google.cloud.dataplex.v1.Partition getPartition(); /** + * + * *
    * Required. Partition resource.
    * 
* - * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Partition partition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java index d8cf05ffd940..d1d0bb63a147 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; taskId_ = ""; @@ -26,34 +44,41 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateTaskRequest.class, com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateTaskRequest.class, + com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,14 +121,18 @@ public java.lang.String getParent() { } public static final int TASK_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** + * + * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The taskId. */ @java.lang.Override @@ -110,29 +141,29 @@ public java.lang.String getTaskId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; } } /** + * + * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for taskId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -143,11 +174,14 @@ public java.lang.String getTaskId() { public static final int TASK_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Task task_; /** + * + * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ @java.lang.Override @@ -155,11 +189,14 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ @java.lang.Override @@ -167,6 +204,8 @@ public com.google.cloud.dataplex.v1.Task getTask() { return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. Task resource.
    * 
@@ -181,12 +220,15 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -195,6 +237,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -236,12 +278,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskId_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,24 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateTaskRequest other = (com.google.cloud.dataplex.v1.CreateTaskRequest) obj; + com.google.cloud.dataplex.v1.CreateTaskRequest other = + (com.google.cloud.dataplex.v1.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTaskId() - .equals(other.getTaskId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTaskId().equals(other.getTaskId())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,139 +326,142 @@ public int hashCode() { hash = (53 * hash) + getTask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateTaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateTaskRequest) com.google.cloud.dataplex.v1.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateTaskRequest.class, com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateTaskRequest.class, + com.google.cloud.dataplex.v1.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateTaskRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; } @java.lang.Override @@ -459,8 +499,11 @@ public com.google.cloud.dataplex.v1.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateTaskRequest result = new com.google.cloud.dataplex.v1.CreateTaskRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateTaskRequest result = + new com.google.cloud.dataplex.v1.CreateTaskRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -474,9 +517,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateTaskRequest result result.taskId_ = taskId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.task_ = taskBuilder_ == null - ? task_ - : taskBuilder_.build(); + result.task_ = taskBuilder_ == null ? task_ : taskBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -487,38 +528,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateTaskRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -569,34 +611,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - taskId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getTaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getTaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -606,23 +651,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -631,21 +681,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -653,30 +706,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -686,18 +750,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -707,18 +777,20 @@ public Builder setParentBytes( private java.lang.Object taskId_ = ""; /** + * + * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The taskId. */ public java.lang.String getTaskId() { java.lang.Object ref = taskId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskId_ = s; return s; @@ -727,20 +799,21 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for taskId. */ - public com.google.protobuf.ByteString - getTaskIdBytes() { + public com.google.protobuf.ByteString getTaskIdBytes() { java.lang.Object ref = taskId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taskId_ = b; return b; } else { @@ -748,28 +821,35 @@ public java.lang.String getTaskId() { } } /** + * + * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The taskId to set. * @return This builder for chaining. */ - public Builder setTaskId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaskId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } taskId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTaskId() { @@ -779,17 +859,21 @@ public Builder clearTaskId() { return this; } /** + * + * *
      * Required. Task identifier.
      * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for taskId to set. * @return This builder for chaining. */ - public Builder setTaskIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaskIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); taskId_ = value; bitField0_ |= 0x00000002; @@ -799,24 +883,35 @@ public Builder setTaskIdBytes( private com.google.cloud.dataplex.v1.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> taskBuilder_; + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.dataplex.v1.Task getTask() { @@ -827,11 +922,14 @@ public com.google.cloud.dataplex.v1.Task getTask() { } } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { @@ -847,14 +945,16 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); } else { @@ -865,17 +965,20 @@ public Builder setTask( return this; } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - task_ != null && - task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && task_ != null + && task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { getTaskBuilder().mergeFrom(value); } else { task_ = value; @@ -888,11 +991,14 @@ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -905,11 +1011,14 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { bitField0_ |= 0x00000004; @@ -917,49 +1026,60 @@ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. Task resource.
      * 
* - * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -967,12 +1087,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -984,12 +1107,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -998,9 +1124,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1010,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateTaskRequest) private static final com.google.cloud.dataplex.v1.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateTaskRequest(); } @@ -1024,27 +1150,27 @@ public static com.google.cloud.dataplex.v1.CreateTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,6 +1185,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java index b1cd7a8fefe8..892ac5c3e5b2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateTaskRequestOrBuilder.java @@ -1,73 +1,111 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The taskId. */ java.lang.String getTaskId(); /** + * + * *
    * Required. Task identifier.
    * 
* * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for taskId. */ - com.google.protobuf.ByteString - getTaskIdBytes(); + com.google.protobuf.ByteString getTaskIdBytes(); /** + * + * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. Task resource.
    * 
* * .google.cloud.dataplex.v1.Task task = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ com.google.cloud.dataplex.v1.Task getTask(); /** + * + * *
    * Required. Task resource.
    * 
@@ -77,12 +115,15 @@ public interface CreateTaskRequestOrBuilder extends com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java index 7be14ccc4be6..8013d0e6abcf 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Create zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateZoneRequest} */ -public final class CreateZoneRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateZoneRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.CreateZoneRequest) CreateZoneRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateZoneRequest.newBuilder() to construct. private CreateZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateZoneRequest() { parent_ = ""; zoneId_ = ""; @@ -26,34 +44,41 @@ private CreateZoneRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateZoneRequest.class, com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateZoneRequest.class, + com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int ZONE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object zoneId_ = ""; /** + * + * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zoneId. */ @java.lang.Override @@ -118,14 +149,15 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** + * + * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -139,16 +171,15 @@ public java.lang.String getZoneId() {
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -159,11 +190,14 @@ public java.lang.String getZoneId() { public static final int ZONE_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Zone zone_; /** + * + * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the zone field is set. */ @java.lang.Override @@ -171,11 +205,14 @@ public boolean hasZone() { return zone_ != null; } /** + * + * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -183,6 +220,8 @@ public com.google.cloud.dataplex.v1.Zone getZone() { return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } /** + * + * *
    * Required. Zone resource.
    * 
@@ -197,12 +236,15 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -211,6 +253,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,12 +294,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zoneId_); } if (zone_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getZone()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getZone()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,24 +307,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.CreateZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.CreateZoneRequest other = (com.google.cloud.dataplex.v1.CreateZoneRequest) obj; + com.google.cloud.dataplex.v1.CreateZoneRequest other = + (com.google.cloud.dataplex.v1.CreateZoneRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getZoneId() - .equals(other.getZoneId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getZoneId().equals(other.getZoneId())) return false; if (hasZone() != other.hasZone()) return false; if (hasZone()) { - if (!getZone() - .equals(other.getZone())) return false; + if (!getZone().equals(other.getZone())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,139 +342,142 @@ public int hashCode() { hash = (53 * hash) + getZone().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.CreateZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.CreateZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.CreateZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.CreateZoneRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.CreateZoneRequest) com.google.cloud.dataplex.v1.CreateZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.CreateZoneRequest.class, com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.CreateZoneRequest.class, + com.google.cloud.dataplex.v1.CreateZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.CreateZoneRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; } @java.lang.Override @@ -475,8 +515,11 @@ public com.google.cloud.dataplex.v1.CreateZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.CreateZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.CreateZoneRequest result = new com.google.cloud.dataplex.v1.CreateZoneRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.CreateZoneRequest result = + new com.google.cloud.dataplex.v1.CreateZoneRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -490,9 +533,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateZoneRequest result result.zoneId_ = zoneId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.zone_ = zoneBuilder_ == null - ? zone_ - : zoneBuilder_.build(); + result.zone_ = zoneBuilder_ == null ? zone_ : zoneBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.validateOnly_ = validateOnly_; @@ -503,38 +544,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.CreateZoneRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.CreateZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.CreateZoneRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.CreateZoneRequest) other); } else { super.mergeFrom(other); return this; @@ -585,34 +627,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - zoneId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getZoneFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + zoneId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getZoneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,23 +667,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -647,21 +697,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -669,30 +722,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -702,18 +766,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -723,6 +793,8 @@ public Builder setParentBytes( private java.lang.Object zoneId_ = ""; /** + * + * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -736,13 +808,13 @@ public Builder setParentBytes(
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -751,6 +823,8 @@ public java.lang.String getZoneId() { } } /** + * + * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -764,15 +838,14 @@ public java.lang.String getZoneId() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -780,6 +853,8 @@ public java.lang.String getZoneId() { } } /** + * + * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -793,18 +868,22 @@ public java.lang.String getZoneId() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -818,6 +897,7 @@ public Builder setZoneId(
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -827,6 +907,8 @@ public Builder clearZoneId() { return this; } /** + * + * *
      * Required. Zone identifier.
      * This ID will be used to generate names such as database and dataset names
@@ -840,12 +922,14 @@ public Builder clearZoneId() {
      * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000002; @@ -855,24 +939,35 @@ public Builder setZoneIdBytes( private com.google.cloud.dataplex.v1.Zone zone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zoneBuilder_; + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> + zoneBuilder_; /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the zone field is set. */ public boolean hasZone() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The zone. */ public com.google.cloud.dataplex.v1.Zone getZone() { @@ -883,11 +978,14 @@ public com.google.cloud.dataplex.v1.Zone getZone() { } } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { @@ -903,14 +1001,16 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setZone( - com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zoneBuilder_ == null) { zone_ = builderForValue.build(); } else { @@ -921,17 +1021,20 @@ public Builder setZone( return this; } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - zone_ != null && - zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && zone_ != null + && zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { getZoneBuilder().mergeFrom(value); } else { zone_ = value; @@ -944,11 +1047,14 @@ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearZone() { bitField0_ = (bitField0_ & ~0x00000004); @@ -961,11 +1067,14 @@ public Builder clearZone() { return this; } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { bitField0_ |= 0x00000004; @@ -973,49 +1082,60 @@ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { return getZoneFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { if (zoneBuilder_ != null) { return zoneBuilder_.getMessageOrBuilder(); } else { - return zone_ == null ? - com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; + return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } } /** + * + * *
      * Required. Zone resource.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> getZoneFieldBuilder() { if (zoneBuilder_ == null) { - zoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( - getZone(), - getParentForChildren(), - isClean()); + zoneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder>( + getZone(), getParentForChildren(), isClean()); zone_ = null; } return zoneBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1023,12 +1143,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1040,12 +1163,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1054,9 +1180,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +1192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.CreateZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.CreateZoneRequest) private static final com.google.cloud.dataplex.v1.CreateZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.CreateZoneRequest(); } @@ -1080,27 +1206,27 @@ public static com.google.cloud.dataplex.v1.CreateZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,6 +1241,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.CreateZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java index f85e70eb598d..9abf25ca3fc4 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateZoneRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface CreateZoneRequestOrBuilder extends +public interface CreateZoneRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CreateZoneRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -43,10 +70,13 @@ public interface CreateZoneRequestOrBuilder extends
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zoneId. */ java.lang.String getZoneId(); /** + * + * *
    * Required. Zone identifier.
    * This ID will be used to generate names such as database and dataset names
@@ -60,30 +90,38 @@ public interface CreateZoneRequestOrBuilder extends
    * 
* * string zone_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString - getZoneIdBytes(); + com.google.protobuf.ByteString getZoneIdBytes(); /** + * + * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the zone field is set. */ boolean hasZone(); /** + * + * *
    * Required. Zone resource.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ com.google.cloud.dataplex.v1.Zone getZone(); /** + * + * *
    * Required. Zone resource.
    * 
@@ -93,12 +131,15 @@ public interface CreateZoneRequestOrBuilder extends com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java index 5e79188e9025..88b53944fb32 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpec.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataAccessSpec holds the access control configuration to be enforced on data
  * stored within resources (eg: rows, columns in BigQuery Tables). When
@@ -14,45 +31,49 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAccessSpec}
  */
-public final class DataAccessSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataAccessSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAccessSpec)
     DataAccessSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataAccessSpec.newBuilder() to construct.
   private DataAccessSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataAccessSpec() {
-    readers_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataAccessSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.SecurityProto
+        .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.SecurityProto
+        .internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAccessSpec.class, com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
+            com.google.cloud.dataplex.v1.DataAccessSpec.class,
+            com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
   }
 
   public static final int READERS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList readers_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -61,13 +82,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList - getReadersList() { + public com.google.protobuf.ProtocolStringList getReadersList() { return readers_; } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -76,12 +99,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -90,6 +116,7 @@ public int getReadersCount() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -97,6 +124,8 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -105,15 +134,16 @@ public java.lang.String getReaders(int index) {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString - getReadersBytes(int index) { + public com.google.protobuf.ByteString getReadersBytes(int index) { return readers_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,8 +155,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < readers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readers_.getRaw(i)); } @@ -155,15 +184,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAccessSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAccessSpec other = (com.google.cloud.dataplex.v1.DataAccessSpec) obj; + com.google.cloud.dataplex.v1.DataAccessSpec other = + (com.google.cloud.dataplex.v1.DataAccessSpec) obj; - if (!getReadersList() - .equals(other.getReadersList())) return false; + if (!getReadersList().equals(other.getReadersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,99 +213,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAccessSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAccessSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAccessSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataAccessSpec holds the access control configuration to be enforced on data
    * stored within resources (eg: rows, columns in BigQuery Tables). When
@@ -287,46 +321,44 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAccessSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAccessSpec)
       com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAccessSpec.class, com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
+              com.google.cloud.dataplex.v1.DataAccessSpec.class,
+              com.google.cloud.dataplex.v1.DataAccessSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAccessSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      readers_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor;
     }
 
     @java.lang.Override
@@ -345,8 +377,11 @@ public com.google.cloud.dataplex.v1.DataAccessSpec build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAccessSpec buildPartial() {
-      com.google.cloud.dataplex.v1.DataAccessSpec result = new com.google.cloud.dataplex.v1.DataAccessSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataAccessSpec result =
+          new com.google.cloud.dataplex.v1.DataAccessSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -363,38 +398,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAccessSpec result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAccessSpec) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAccessSpec)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAccessSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,18 +475,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureReadersIsMutable();
-              readers_.add(s);
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureReadersIsMutable();
+                readers_.add(s);
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -460,10 +498,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList readers_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureReadersIsMutable() {
       if (!readers_.isModifiable()) {
         readers_ = new com.google.protobuf.LazyStringArrayList(readers_);
@@ -471,6 +511,8 @@ private void ensureReadersIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -479,14 +521,16 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList - getReadersList() { + public com.google.protobuf.ProtocolStringList getReadersList() { readers_.makeImmutable(); return readers_; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -495,12 +539,15 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -509,6 +556,7 @@ public int getReadersCount() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -516,6 +564,8 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -524,14 +574,16 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString - getReadersBytes(int index) { + public com.google.protobuf.ByteString getReadersBytes(int index) { return readers_.getByteString(index); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -540,13 +592,15 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The readers to set. * @return This builder for chaining. */ - public Builder setReaders( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReaders(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReadersIsMutable(); readers_.set(index, value); bitField0_ |= 0x00000001; @@ -554,6 +608,8 @@ public Builder setReaders( return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -562,12 +618,14 @@ public Builder setReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The readers to add. * @return This builder for chaining. */ - public Builder addReaders( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReaders(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReadersIsMutable(); readers_.add(value); bitField0_ |= 0x00000001; @@ -575,6 +633,8 @@ public Builder addReaders( return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -583,19 +643,20 @@ public Builder addReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The readers to add. * @return This builder for chaining. */ - public Builder addAllReaders( - java.lang.Iterable values) { + public Builder addAllReaders(java.lang.Iterable values) { ensureReadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, readers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, readers_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -604,16 +665,19 @@ public Builder addAllReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearReaders() { - readers_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + readers_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -622,12 +686,14 @@ public Builder clearReaders() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the readers to add. * @return This builder for chaining. */ - public Builder addReadersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReadersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureReadersIsMutable(); readers_.add(value); @@ -635,9 +701,9 @@ public Builder addReadersBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAccessSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAccessSpec) private static final com.google.cloud.dataplex.v1.DataAccessSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAccessSpec(); } @@ -661,27 +727,27 @@ public static com.google.cloud.dataplex.v1.DataAccessSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAccessSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAccessSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,6 +762,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAccessSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java index b1b2fcabc7fd..0227c8ee3ff7 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAccessSpecOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; -public interface DataAccessSpecOrBuilder extends +public interface DataAccessSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAccessSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -16,11 +34,13 @@ public interface DataAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - java.util.List - getReadersList(); + java.util.List getReadersList(); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -29,10 +49,13 @@ public interface DataAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ int getReadersCount(); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -41,11 +64,14 @@ public interface DataAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ java.lang.String getReaders(int index); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -54,9 +80,9 @@ public interface DataAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - com.google.protobuf.ByteString - getReadersBytes(int index); + com.google.protobuf.ByteString getReadersBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java index df64899d7c08..5f3e4a2605c3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttribute.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Denotes one dataAttribute in a dataTaxonomy, for example, PII.
  * DataAttribute resources can be defined in a hierarchy.
@@ -20,15 +37,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAttribute}
  */
-public final class DataAttribute extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataAttribute extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttribute)
     DataAttributeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataAttribute.newBuilder() to construct.
   private DataAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataAttribute() {
     name_ = "";
     uid_ = "";
@@ -40,46 +58,52 @@ private DataAttribute() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataAttribute();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 7:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAttribute.class, com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
+            com.google.cloud.dataplex.v1.DataAttribute.class,
+            com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -88,30 +112,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; } } /** + * + * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -120,9 +146,12 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -130,6 +159,7 @@ public java.lang.String getName() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -138,14 +168,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -153,16 +184,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -173,11 +203,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -185,11 +219,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -197,11 +235,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -211,11 +252,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -223,11 +268,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -235,11 +284,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -247,14 +299,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -263,29 +319,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; } } /** + * + * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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,14 +350,18 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -310,29 +370,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -341,32 +401,34 @@ public java.lang.String getDisplayName() { } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -374,20 +436,21 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -399,6 +462,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -406,17 +471,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -424,11 +491,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -436,9 +503,12 @@ public java.lang.String getLabelsOrThrow( } public static final int PARENT_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object parentId_ = ""; /** + * + * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -446,7 +516,10 @@ public java.lang.String getLabelsOrThrow(
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The parentId. */ @java.lang.Override @@ -455,14 +528,15 @@ public java.lang.String getParentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentId_ = s; return s; } } /** + * + * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -470,17 +544,18 @@ public java.lang.String getParentId() {
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentIdBytes() { + public com.google.protobuf.ByteString getParentIdBytes() { java.lang.Object ref = parentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentId_ = b; return b; } else { @@ -491,11 +566,14 @@ public java.lang.String getParentId() { public static final int ATTRIBUTE_COUNT_FIELD_NUMBER = 9; private int attributeCount_ = 0; /** + * + * *
    * Output only. The number of child attributes present for this attribute.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ @java.lang.Override @@ -504,9 +582,12 @@ public int getAttributeCount() { } public static final int ETAG_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -514,6 +595,7 @@ public int getAttributeCount() {
    * 
* * string etag = 10; + * * @return The etag. */ @java.lang.Override @@ -522,14 +604,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -537,16 +620,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 10; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -557,12 +639,17 @@ public java.lang.String getEtag() { public static final int RESOURCE_ACCESS_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.ResourceAccessSpec resourceAccessSpec_; /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceAccessSpec field is set. */ @java.lang.Override @@ -570,40 +657,58 @@ public boolean hasResourceAccessSpec() { return resourceAccessSpec_ != null; } /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceAccessSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec() { - return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; + return resourceAccessSpec_ == null + ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() + : resourceAccessSpec_; } /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder() { - return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; + return resourceAccessSpec_ == null + ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() + : resourceAccessSpec_; } public static final int DATA_ACCESS_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.DataAccessSpec dataAccessSpec_; /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dataAccessSpec field is set. */ @java.lang.Override @@ -611,32 +716,46 @@ public boolean hasDataAccessSpec() { return dataAccessSpec_ != null; } /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dataAccessSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec() { - return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; + return dataAccessSpec_ == null + ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() + : dataAccessSpec_; } /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder() { - return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; + return dataAccessSpec_ == null + ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() + : dataAccessSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -648,8 +767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -668,12 +786,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, parentId_); } @@ -705,12 +819,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -718,33 +830,31 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, parentId_); } if (attributeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, attributeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, attributeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (resourceAccessSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, getResourceAccessSpec()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(100, getResourceAccessSpec()); } if (dataAccessSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, getDataAccessSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getDataAccessSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -754,48 +864,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttribute)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttribute other = (com.google.cloud.dataplex.v1.DataAttribute) obj; + com.google.cloud.dataplex.v1.DataAttribute other = + (com.google.cloud.dataplex.v1.DataAttribute) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getParentId() - .equals(other.getParentId())) return false; - if (getAttributeCount() - != other.getAttributeCount()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getParentId().equals(other.getParentId())) return false; + if (getAttributeCount() != other.getAttributeCount()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (hasResourceAccessSpec() != other.hasResourceAccessSpec()) return false; if (hasResourceAccessSpec()) { - if (!getResourceAccessSpec() - .equals(other.getResourceAccessSpec())) return false; + if (!getResourceAccessSpec().equals(other.getResourceAccessSpec())) return false; } if (hasDataAccessSpec() != other.hasDataAccessSpec()) return false; if (hasDataAccessSpec()) { - if (!getDataAccessSpec() - .equals(other.getDataAccessSpec())) return false; + if (!getDataAccessSpec().equals(other.getDataAccessSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -847,99 +946,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Denotes one dataAttribute in a dataTaxonomy, for example, PII.
    * DataAttribute resources can be defined in a hierarchy.
@@ -956,55 +1060,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttribute}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttribute)
       com.google.cloud.dataplex.v1.DataAttributeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 7:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 7:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttribute.class, com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttribute.class,
+              com.google.cloud.dataplex.v1.DataAttribute.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAttribute.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1041,9 +1142,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor;
     }
 
     @java.lang.Override
@@ -1062,8 +1163,11 @@ public com.google.cloud.dataplex.v1.DataAttribute build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAttribute buildPartial() {
-      com.google.cloud.dataplex.v1.DataAttribute result = new com.google.cloud.dataplex.v1.DataAttribute(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataAttribute result =
+          new com.google.cloud.dataplex.v1.DataAttribute(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1077,14 +1181,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -1106,14 +1206,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
         result.etag_ = etag_;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.resourceAccessSpec_ = resourceAccessSpecBuilder_ == null
-            ? resourceAccessSpec_
-            : resourceAccessSpecBuilder_.build();
+        result.resourceAccessSpec_ =
+            resourceAccessSpecBuilder_ == null
+                ? resourceAccessSpec_
+                : resourceAccessSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.dataAccessSpec_ = dataAccessSpecBuilder_ == null
-            ? dataAccessSpec_
-            : dataAccessSpecBuilder_.build();
+        result.dataAccessSpec_ =
+            dataAccessSpecBuilder_ == null ? dataAccessSpec_ : dataAccessSpecBuilder_.build();
       }
     }
 
@@ -1121,38 +1221,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttribute result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAttribute) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAttribute)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAttribute) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1187,8 +1288,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttribute other) {
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getParentId().isEmpty()) {
         parentId_ = other.parentId_;
@@ -1235,84 +1335,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              parentId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 72: {
-              attributeCount_ = input.readInt32();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 802: {
-              input.readMessage(
-                  getResourceAccessSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 802
-            case 810: {
-              input.readMessage(
-                  getDataAccessSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 810
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                parentId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 72:
+              {
+                attributeCount_ = input.readInt32();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 802:
+              {
+                input.readMessage(
+                    getResourceAccessSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 802
+            case 810:
+              {
+                input.readMessage(getDataAccessSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 810
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1322,23 +1430,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1347,21 +1460,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1369,30 +1485,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -1402,18 +1529,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the dataAttribute, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1423,6 +1556,8 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1430,13 +1565,13 @@ public Builder setNameBytes(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1445,6 +1580,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1452,15 +1589,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1468,6 +1604,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1475,18 +1613,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1494,6 +1636,7 @@ public Builder setUid(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1503,6 +1646,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the DataAttribute.
      * This ID will be different if the DataAttribute is deleted and re-created
@@ -1510,12 +1655,14 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1525,39 +1672,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1573,14 +1739,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1591,17 +1760,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1614,11 +1787,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1631,11 +1808,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1643,36 +1824,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time when the DataAttribute was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1680,39 +1873,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 time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1728,14 +1940,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -1746,17 +1961,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1769,11 +1988,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1786,11 +2009,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1798,36 +2025,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttribute was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> 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_; @@ -1835,18 +2074,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1855,20 +2096,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1876,28 +2118,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1907,17 +2156,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the DataAttribute.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1927,18 +2180,20 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1947,20 +2202,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1968,28 +2224,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1999,17 +2262,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -2017,21 +2284,19 @@ public Builder setDisplayNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2040,10 +2305,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2051,20 +2319,21 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2076,6 +2345,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2083,17 +2354,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
@@ -2101,79 +2374,83 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Optional. User-defined labels for the DataAttribute.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private java.lang.Object parentId_ = ""; /** + * + * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2181,14 +2458,16 @@ public Builder putAllLabels(
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The parentId. */ public java.lang.String getParentId() { java.lang.Object ref = parentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentId_ = s; return s; @@ -2197,6 +2476,8 @@ public java.lang.String getParentId() { } } /** + * + * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2204,16 +2485,17 @@ public java.lang.String getParentId() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parentId. */ - public com.google.protobuf.ByteString - getParentIdBytes() { + public com.google.protobuf.ByteString getParentIdBytes() { java.lang.Object ref = parentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentId_ = b; return b; } else { @@ -2221,6 +2503,8 @@ public java.lang.String getParentId() { } } /** + * + * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2228,19 +2512,25 @@ public java.lang.String getParentId() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The parentId to set. * @return This builder for chaining. */ - public Builder setParentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2248,7 +2538,10 @@ public Builder setParentId(
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParentId() { @@ -2258,6 +2551,8 @@ public Builder clearParentId() { return this; } /** + * + * *
      * Optional. The ID of the parent DataAttribute resource, should belong to the
      * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -2265,13 +2560,17 @@ public Builder clearParentId() {
      * [a -> b -> c -> d -> e, depth = 4]
      * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parentId to set. * @return This builder for chaining. */ - public Builder setParentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentId_ = value; bitField0_ |= 0x00000080; @@ -2279,13 +2578,16 @@ public Builder setParentIdBytes( return this; } - private int attributeCount_ ; + private int attributeCount_; /** + * + * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ @java.lang.Override @@ -2293,11 +2595,14 @@ public int getAttributeCount() { return attributeCount_; } /** + * + * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The attributeCount to set. * @return This builder for chaining. */ @@ -2309,11 +2614,14 @@ public Builder setAttributeCount(int value) { return this; } /** + * + * *
      * Output only. The number of child attributes present for this attribute.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAttributeCount() { @@ -2325,6 +2633,8 @@ public Builder clearAttributeCount() { private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2332,13 +2642,13 @@ public Builder clearAttributeCount() {
      * 
* * string etag = 10; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2347,6 +2657,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2354,15 +2666,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -2370,6 +2681,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2377,18 +2690,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2396,6 +2713,7 @@ public Builder setEtag(
      * 
* * string etag = 10; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2405,6 +2723,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2412,12 +2732,14 @@ public Builder clearEtag() {
      * 
* * string etag = 10; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000200; @@ -2427,42 +2749,61 @@ public Builder setEtagBytes( private com.google.cloud.dataplex.v1.ResourceAccessSpec resourceAccessSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> resourceAccessSpecBuilder_; + com.google.cloud.dataplex.v1.ResourceAccessSpec, + com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, + com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> + resourceAccessSpecBuilder_; /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceAccessSpec field is set. */ public boolean hasResourceAccessSpec() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceAccessSpec. */ public com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec() { if (resourceAccessSpecBuilder_ == null) { - return resourceAccessSpec_ == null ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; + return resourceAccessSpec_ == null + ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() + : resourceAccessSpec_; } else { return resourceAccessSpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccessSpec value) { if (resourceAccessSpecBuilder_ == null) { @@ -2478,12 +2819,16 @@ public Builder setResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccess return this; } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setResourceAccessSpec( com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder builderForValue) { @@ -2497,18 +2842,23 @@ public Builder setResourceAccessSpec( return this; } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAccessSpec value) { if (resourceAccessSpecBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - resourceAccessSpec_ != null && - resourceAccessSpec_ != com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && resourceAccessSpec_ != null + && resourceAccessSpec_ + != com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) { getResourceAccessSpecBuilder().mergeFrom(value); } else { resourceAccessSpec_ = value; @@ -2521,12 +2871,16 @@ public Builder mergeResourceAccessSpec(com.google.cloud.dataplex.v1.ResourceAcce return this; } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearResourceAccessSpec() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2539,12 +2893,16 @@ public Builder clearResourceAccessSpec() { return this; } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder getResourceAccessSpecBuilder() { bitField0_ |= 0x00000400; @@ -2552,38 +2910,51 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder getResourceAccess return getResourceAccessSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder() { + public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder + getResourceAccessSpecOrBuilder() { if (resourceAccessSpecBuilder_ != null) { return resourceAccessSpecBuilder_.getMessageOrBuilder(); } else { - return resourceAccessSpec_ == null ? - com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() : resourceAccessSpec_; + return resourceAccessSpec_ == null + ? com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance() + : resourceAccessSpec_; } } /** + * + * *
      * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
      * BigQuery dataset, BigQuery table).
      * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> + com.google.cloud.dataplex.v1.ResourceAccessSpec, + com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, + com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder> getResourceAccessSpecFieldBuilder() { if (resourceAccessSpecBuilder_ == null) { - resourceAccessSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ResourceAccessSpec, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder>( - getResourceAccessSpec(), - getParentForChildren(), - isClean()); + resourceAccessSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ResourceAccessSpec, + com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder, + com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder>( + getResourceAccessSpec(), getParentForChildren(), isClean()); resourceAccessSpec_ = null; } return resourceAccessSpecBuilder_; @@ -2591,42 +2962,61 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAcces private com.google.cloud.dataplex.v1.DataAccessSpec dataAccessSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> dataAccessSpecBuilder_; + com.google.cloud.dataplex.v1.DataAccessSpec, + com.google.cloud.dataplex.v1.DataAccessSpec.Builder, + com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> + dataAccessSpecBuilder_; /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dataAccessSpec field is set. */ public boolean hasDataAccessSpec() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dataAccessSpec. */ public com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec() { if (dataAccessSpecBuilder_ == null) { - return dataAccessSpec_ == null ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; + return dataAccessSpec_ == null + ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() + : dataAccessSpec_; } else { return dataAccessSpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec value) { if (dataAccessSpecBuilder_ == null) { @@ -2642,12 +3032,16 @@ public Builder setDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec val return this; } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDataAccessSpec( com.google.cloud.dataplex.v1.DataAccessSpec.Builder builderForValue) { @@ -2661,18 +3055,23 @@ public Builder setDataAccessSpec( return this; } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec value) { if (dataAccessSpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - dataAccessSpec_ != null && - dataAccessSpec_ != com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && dataAccessSpec_ != null + && dataAccessSpec_ + != com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance()) { getDataAccessSpecBuilder().mergeFrom(value); } else { dataAccessSpec_ = value; @@ -2685,12 +3084,16 @@ public Builder mergeDataAccessSpec(com.google.cloud.dataplex.v1.DataAccessSpec v return this; } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDataAccessSpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -2703,12 +3106,16 @@ public Builder clearDataAccessSpec() { return this; } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAccessSpec.Builder getDataAccessSpecBuilder() { bitField0_ |= 0x00000800; @@ -2716,45 +3123,57 @@ public com.google.cloud.dataplex.v1.DataAccessSpec.Builder getDataAccessSpecBuil return getDataAccessSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder() { if (dataAccessSpecBuilder_ != null) { return dataAccessSpecBuilder_.getMessageOrBuilder(); } else { - return dataAccessSpec_ == null ? - com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() : dataAccessSpec_; + return dataAccessSpec_ == null + ? com.google.cloud.dataplex.v1.DataAccessSpec.getDefaultInstance() + : dataAccessSpec_; } } /** + * + * *
      * Optional. Specified when applied to data stored on the resource (eg: rows,
      * columns in BigQuery Tables).
      * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> + com.google.cloud.dataplex.v1.DataAccessSpec, + com.google.cloud.dataplex.v1.DataAccessSpec.Builder, + com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder> getDataAccessSpecFieldBuilder() { if (dataAccessSpecBuilder_ == null) { - dataAccessSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAccessSpec, com.google.cloud.dataplex.v1.DataAccessSpec.Builder, com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder>( - getDataAccessSpec(), - getParentForChildren(), - isClean()); + dataAccessSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAccessSpec, + com.google.cloud.dataplex.v1.DataAccessSpec.Builder, + com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder>( + getDataAccessSpec(), getParentForChildren(), isClean()); dataAccessSpec_ = null; } return dataAccessSpecBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2764,12 +3183,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttribute) private static final com.google.cloud.dataplex.v1.DataAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttribute(); } @@ -2778,27 +3197,27 @@ public static com.google.cloud.dataplex.v1.DataAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2813,6 +3232,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java index 6c0b84cde0ff..99bd587bab4d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBinding.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataAttributeBinding represents binding of attributes to resources. Eg: Bind
  * 'CustomerInfo' entity with 'PII' attribute.
@@ -11,134 +28,160 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding}
  */
-public final class DataAttributeBinding extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataAttributeBinding extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttributeBinding)
     DataAttributeBindingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataAttributeBinding.newBuilder() to construct.
   private DataAttributeBinding(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataAttributeBinding() {
     name_ = "";
     uid_ = "";
     description_ = "";
     displayName_ = "";
     etag_ = "";
-    attributes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
     paths_ = 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 DataAttributeBinding();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 7:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataAttributeBinding.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
+            com.google.cloud.dataplex.v1.DataAttributeBinding.class,
+            com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
   }
 
-  public interface PathOrBuilder extends
+  public interface PathOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttributeBinding.Path)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - java.util.List - getAttributesList(); + java.util.List getAttributesList(); /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ int getAttributesCount(); /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ java.lang.String getAttributes(int index); /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - com.google.protobuf.ByteString - getAttributesBytes(int index); + com.google.protobuf.ByteString getAttributesBytes(int index); } /** + * + * *
    * Represents a subresource of the given resource, and associated bindings
    * with it. Currently supported subresources are column and partition schema
@@ -147,51 +190,56 @@ public interface PathOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding.Path}
    */
-  public static final class Path extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Path extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataAttributeBinding.Path)
       PathOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Path.newBuilder() to construct.
     private Path(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Path() {
       name_ = "";
-      attributes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Path();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class,
+              com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -200,30 +248,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. The name identifier of the path.
      * Nested columns should be of the form: 'address.city'.
      * 
* * 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 { @@ -232,44 +280,59 @@ public java.lang.String getName() { } public static final int ATTRIBUTES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList - getAttributesList() { + public com.google.protobuf.ProtocolStringList getAttributesList() { return attributes_; } /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -277,22 +340,27 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** + * + * *
      * Optional. List of attributes to be associated with the path of the
      * resource, provided in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString - getAttributesBytes(int index) { + public com.google.protobuf.ByteString getAttributesBytes(int index) { return attributes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,8 +372,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -340,17 +407,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttributeBinding.Path)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttributeBinding.Path other = (com.google.cloud.dataplex.v1.DataAttributeBinding.Path) obj; + com.google.cloud.dataplex.v1.DataAttributeBinding.Path other = + (com.google.cloud.dataplex.v1.DataAttributeBinding.Path) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAttributesList() - .equals(other.getAttributesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,89 +440,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.Path prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataAttributeBinding.Path prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -466,6 +537,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a subresource of the given resource, and associated bindings
      * with it. Currently supported subresources are column and partition schema
@@ -474,47 +547,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding.Path}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttributeBinding.Path)
         com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto
+            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto
+            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
+                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.class,
+                com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.DataAttributeBinding.Path.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         name_ = "";
-        attributes_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataTaxonomyProto
+            .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor;
       }
 
       @java.lang.Override
@@ -533,8 +605,11 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataAttributeBinding.Path buildPartial() {
-        com.google.cloud.dataplex.v1.DataAttributeBinding.Path result = new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.DataAttributeBinding.Path result =
+            new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -554,38 +629,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttributeBinding.Pat
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.DataAttributeBinding.Path) {
-          return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding.Path)other);
+          return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding.Path) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -593,7 +671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding.Path other) {
-        if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()) return this;
+        if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -635,23 +714,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAttributesIsMutable();
-                attributes_.add(s);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureAttributesIsMutable();
+                  attributes_.add(s);
+                  break;
+                } // case 18
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -661,23 +743,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * 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; @@ -686,21 +771,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * 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 { @@ -708,30 +794,37 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -741,18 +834,22 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The name identifier of the path.
        * Nested columns should be of the form: 'address.city'.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -762,6 +859,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAttributesIsMutable() { if (!attributes_.isModifiable()) { attributes_ = new com.google.protobuf.LazyStringArrayList(attributes_); @@ -769,41 +867,55 @@ private void ensureAttributesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList - getAttributesList() { + public com.google.protobuf.ProtocolStringList getAttributesList() { attributes_.makeImmutable(); return attributes_; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -811,35 +923,45 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString - getAttributesBytes(int index) { + public com.google.protobuf.ByteString getAttributesBytes(int index) { return attributes_.getByteString(index); } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The attributes to set. * @return This builder for chaining. */ - public Builder setAttributes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttributes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAttributesIsMutable(); attributes_.set(index, value); bitField0_ |= 0x00000002; @@ -847,19 +969,25 @@ public Builder setAttributes( return this; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The attributes to add. * @return This builder for chaining. */ - public Builder addAttributes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAttributes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAttributesIsMutable(); attributes_.add(value); bitField0_ |= 0x00000002; @@ -867,56 +995,70 @@ public Builder addAttributes( return this; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param values The attributes to add. * @return This builder for chaining. */ - public Builder addAllAttributes( - java.lang.Iterable values) { + public Builder addAllAttributes(java.lang.Iterable values) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAttributes() { - attributes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Optional. List of attributes to be associated with the path of the
        * resource, provided in the form:
        * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
        * 
* - * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the attributes to add. * @return This builder for chaining. */ - public Builder addAttributesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAttributesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAttributesIsMutable(); attributes_.add(value); @@ -924,6 +1066,7 @@ public Builder addAttributesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -936,12 +1079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttributeBinding.Path) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttributeBinding.Path) private static final com.google.cloud.dataplex.v1.DataAttributeBinding.Path DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttributeBinding.Path(); } @@ -950,27 +1093,28 @@ public static com.google.cloud.dataplex.v1.DataAttributeBinding.Path getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Path parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Path parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -985,18 +1129,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourceReferenceCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object resourceReference_; + public enum ResourceReferenceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESOURCE(100), RESOURCEREFERENCE_NOT_SET(0); private final int value; + private ResourceReferenceCase(int value) { this.value = value; } @@ -1012,33 +1159,41 @@ public static ResourceReferenceCase valueOf(int value) { public static ResourceReferenceCase forNumber(int value) { switch (value) { - case 100: return RESOURCE; - case 0: return RESOURCEREFERENCE_NOT_SET; - default: return null; + case 100: + return RESOURCE; + case 0: + return RESOURCEREFERENCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourceReferenceCase - getResourceReferenceCase() { - return ResourceReferenceCase.forNumber( - resourceReferenceCase_); + public ResourceReferenceCase getResourceReferenceCase() { + return ResourceReferenceCase.forNumber(resourceReferenceCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -1047,31 +1202,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; } } /** + * + * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1080,9 +1237,12 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -1090,6 +1250,7 @@ public java.lang.String getName() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -1098,14 +1259,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -1113,16 +1275,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1133,11 +1294,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1145,11 +1310,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1157,11 +1326,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1171,11 +1343,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1183,11 +1359,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1195,11 +1375,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1207,14 +1390,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1223,29 +1410,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; } } /** + * + * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1254,14 +1441,18 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -1270,29 +1461,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1301,32 +1492,34 @@ public java.lang.String getDisplayName() { } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1334,20 +1527,21 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1359,6 +1553,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1366,17 +1562,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -1384,11 +1582,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -1396,9 +1594,12 @@ public java.lang.String getLabelsOrThrow( } public static final int ETAG_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1408,6 +1609,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8; + * * @return The etag. */ @java.lang.Override @@ -1416,14 +1618,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1433,16 +1636,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 8; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1452,6 +1654,8 @@ public java.lang.String getEtag() { public static final int RESOURCE_FIELD_NUMBER = 100; /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1460,13 +1664,18 @@ public java.lang.String getEtag() {
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceReferenceCase_ == 100; } /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1475,7 +1684,10 @@ public boolean hasResource() {
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The resource. */ public java.lang.String getResource() { @@ -1486,8 +1698,7 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resourceReferenceCase_ == 100) { resourceReference_ = s; @@ -1496,6 +1707,8 @@ public java.lang.String getResource() { } } /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -1504,19 +1717,20 @@ public java.lang.String getResource() {
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = ""; if (resourceReferenceCase_ == 100) { ref = resourceReference_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (resourceReferenceCase_ == 100) { resourceReference_ = b; } @@ -1527,44 +1741,59 @@ public java.lang.String getResource() { } public static final int ATTRIBUTES_FIELD_NUMBER = 110; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList - getAttributesList() { + public com.google.protobuf.ProtocolStringList getAttributesList() { return attributes_; } /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -1572,80 +1801,105 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString - getAttributesBytes(int index) { + public com.google.protobuf.ByteString getAttributesBytes(int index) { return attributes_.getByteString(index); } public static final int PATHS_FIELD_NUMBER = 120; + @SuppressWarnings("serial") private java.util.List paths_; /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getPathsList() { return paths_; } /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPathsOrBuilderList() { return paths_; } /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getPathsCount() { return paths_.size(); } /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index) { return paths_.get(index); } /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( @@ -1654,6 +1908,7 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1665,8 +1920,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1685,12 +1939,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } @@ -1719,12 +1969,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -1732,15 +1980,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); @@ -1757,8 +2005,7 @@ public int getSerializedSize() { size += 2 * getAttributesList().size(); } for (int i = 0; i < paths_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(120, paths_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(120, paths_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1768,44 +2015,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataAttributeBinding)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataAttributeBinding other = (com.google.cloud.dataplex.v1.DataAttributeBinding) obj; + com.google.cloud.dataplex.v1.DataAttributeBinding other = + (com.google.cloud.dataplex.v1.DataAttributeBinding) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getAttributesList() - .equals(other.getAttributesList())) return false; - if (!getPathsList() - .equals(other.getPathsList())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getPathsList().equals(other.getPathsList())) return false; if (!getResourceReferenceCase().equals(other.getResourceReferenceCase())) return false; switch (resourceReferenceCase_) { case 100: - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; break; case 0: default: @@ -1865,98 +2102,103 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataAttributeBinding parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataAttributeBinding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataAttributeBinding represents binding of attributes to resources. Eg: Bind
    * 'CustomerInfo' entity with 'PII' attribute.
@@ -1964,55 +2206,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataAttributeBinding}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataAttributeBinding)
       com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 7:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 7:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataAttributeBinding.class, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
+              com.google.cloud.dataplex.v1.DataAttributeBinding.class,
+              com.google.cloud.dataplex.v1.DataAttributeBinding.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataAttributeBinding.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2033,8 +2272,7 @@ public Builder clear() {
       displayName_ = "";
       internalGetMutableLabels().clear();
       etag_ = "";
-      attributes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      attributes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (pathsBuilder_ == null) {
         paths_ = java.util.Collections.emptyList();
       } else {
@@ -2048,9 +2286,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor;
     }
 
     @java.lang.Override
@@ -2069,15 +2307,19 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataAttributeBinding buildPartial() {
-      com.google.cloud.dataplex.v1.DataAttributeBinding result = new com.google.cloud.dataplex.v1.DataAttributeBinding(this);
+      com.google.cloud.dataplex.v1.DataAttributeBinding result =
+          new com.google.cloud.dataplex.v1.DataAttributeBinding(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataAttributeBinding result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.dataplex.v1.DataAttributeBinding result) {
       if (pathsBuilder_ == null) {
         if (((bitField0_ & 0x00000400) != 0)) {
           paths_ = java.util.Collections.unmodifiableList(paths_);
@@ -2098,14 +2340,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataAttributeBinding res
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -2135,38 +2373,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataAttributeBindin
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataAttributeBinding) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataAttributeBinding) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2174,7 +2413,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other) {
-      if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -2201,8 +2441,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -2237,24 +2476,27 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataAttributeBinding other
             pathsBuilder_ = null;
             paths_ = other.paths_;
             bitField0_ = (bitField0_ & ~0x00000400);
-            pathsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPathsFieldBuilder() : null;
+            pathsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPathsFieldBuilder()
+                    : null;
           } else {
             pathsBuilder_.addAllMessages(other.paths_);
           }
         }
       }
       switch (other.getResourceReferenceCase()) {
-        case RESOURCE: {
-          resourceReferenceCase_ = 100;
-          resourceReference_ = other.resourceReference_;
-          onChanged();
-          break;
-        }
-        case RESOURCEREFERENCE_NOT_SET: {
-          break;
-        }
+        case RESOURCE:
+          {
+            resourceReferenceCase_ = 100;
+            resourceReference_ = other.resourceReference_;
+            onChanged();
+            break;
+          }
+        case RESOURCEREFERENCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2282,85 +2524,95 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 802: {
-              java.lang.String s = input.readStringRequireUtf8();
-              resourceReferenceCase_ = 100;
-              resourceReference_ = s;
-              break;
-            } // case 802
-            case 882: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAttributesIsMutable();
-              attributes_.add(s);
-              break;
-            } // case 882
-            case 962: {
-              com.google.cloud.dataplex.v1.DataAttributeBinding.Path m =
-                  input.readMessage(
-                      com.google.cloud.dataplex.v1.DataAttributeBinding.Path.parser(),
-                      extensionRegistry);
-              if (pathsBuilder_ == null) {
-                ensurePathsIsMutable();
-                paths_.add(m);
-              } else {
-                pathsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 962
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 802:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                resourceReferenceCase_ = 100;
+                resourceReference_ = s;
+                break;
+              } // case 802
+            case 882:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAttributesIsMutable();
+                attributes_.add(s);
+                break;
+              } // case 882
+            case 962:
+              {
+                com.google.cloud.dataplex.v1.DataAttributeBinding.Path m =
+                    input.readMessage(
+                        com.google.cloud.dataplex.v1.DataAttributeBinding.Path.parser(),
+                        extensionRegistry);
+                if (pathsBuilder_ == null) {
+                  ensurePathsIsMutable();
+                  paths_.add(m);
+                } else {
+                  pathsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 962
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2370,12 +2622,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int resourceReferenceCase_ = 0;
     private java.lang.Object resourceReference_;
-    public ResourceReferenceCase
-        getResourceReferenceCase() {
-      return ResourceReferenceCase.forNumber(
-          resourceReferenceCase_);
+
+    public ResourceReferenceCase getResourceReferenceCase() {
+      return ResourceReferenceCase.forNumber(resourceReferenceCase_);
     }
 
     public Builder clearResourceReference() {
@@ -2389,20 +2641,24 @@ public Builder clearResourceReference() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -2411,22 +2667,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2434,32 +2693,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -2469,19 +2739,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the Data Attribute Binding, of
      * the form:
      * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2491,6 +2767,8 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2498,13 +2776,13 @@ public Builder setNameBytes(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2513,6 +2791,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2520,15 +2800,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2536,6 +2815,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2543,18 +2824,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2562,6 +2847,7 @@ public Builder setUid(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -2571,6 +2857,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the
      * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -2578,12 +2866,14 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -2593,39 +2883,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2641,14 +2950,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2659,17 +2971,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2682,11 +2998,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2699,11 +3019,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2711,36 +3035,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time when the DataAttributeBinding was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2748,39 +3084,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 time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2796,14 +3151,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -2814,17 +3172,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2837,11 +3199,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2854,11 +3220,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -2866,36 +3236,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataAttributeBinding was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> 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_; @@ -2903,18 +3285,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2923,20 +3307,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2944,28 +3329,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2975,17 +3367,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the DataAttributeBinding.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -2995,18 +3391,20 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3015,20 +3413,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -3036,28 +3435,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3067,17 +3473,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -3085,21 +3495,19 @@ public Builder setDisplayNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3108,10 +3516,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3119,20 +3530,21 @@ public int getLabelsCount() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3144,6 +3556,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3151,17 +3565,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
@@ -3169,79 +3585,83 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Optional. User-defined labels for the DataAttributeBinding.
      * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3251,13 +3671,13 @@ public Builder putAllLabels(
      * 
* * string etag = 8; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3266,6 +3686,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3275,15 +3697,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 8; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3291,6 +3712,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3300,18 +3723,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 8; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3321,6 +3748,7 @@ public Builder setEtag(
      * 
* * string etag = 8; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3330,6 +3758,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -3339,12 +3769,14 @@ public Builder clearEtag() {
      * 
* * string etag = 8; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000080; @@ -3353,6 +3785,8 @@ public Builder setEtagBytes( } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3361,7 +3795,10 @@ public Builder setEtagBytes(
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the resource field is set. */ @java.lang.Override @@ -3369,6 +3806,8 @@ public boolean hasResource() { return resourceReferenceCase_ == 100; } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3377,7 +3816,10 @@ public boolean hasResource() {
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The resource. */ @java.lang.Override @@ -3387,8 +3829,7 @@ public java.lang.String getResource() { ref = resourceReference_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (resourceReferenceCase_ == 100) { resourceReference_ = s; @@ -3399,6 +3840,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3407,20 +3850,21 @@ public java.lang.String getResource() {
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = ""; if (resourceReferenceCase_ == 100) { ref = resourceReference_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (resourceReferenceCase_ == 100) { resourceReference_ = b; } @@ -3430,6 +3874,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3438,19 +3884,25 @@ public java.lang.String getResource() {
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceReferenceCase_ = 100; resourceReference_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3459,7 +3911,10 @@ public Builder setResource(
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearResource() { @@ -3471,6 +3926,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Optional. Immutable. The resource name of the resource that is associated
      * to attributes. Presently, only entity resource is supported in the form:
@@ -3479,13 +3936,17 @@ public Builder clearResource() {
      * there can only exist one active binding for a resource.
      * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceReferenceCase_ = 100; resourceReference_ = value; @@ -3495,6 +3956,7 @@ public Builder setResourceBytes( private com.google.protobuf.LazyStringArrayList attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAttributesIsMutable() { if (!attributes_.isModifiable()) { attributes_ = new com.google.protobuf.LazyStringArrayList(attributes_); @@ -3502,41 +3964,55 @@ private void ensureAttributesIsMutable() { bitField0_ |= 0x00000200; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - public com.google.protobuf.ProtocolStringList - getAttributesList() { + public com.google.protobuf.ProtocolStringList getAttributesList() { attributes_.makeImmutable(); return attributes_; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ public int getAttributesCount() { return attributes_.size(); } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ @@ -3544,35 +4020,45 @@ public java.lang.String getAttributes(int index) { return attributes_.get(index); } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - public com.google.protobuf.ByteString - getAttributesBytes(int index) { + public com.google.protobuf.ByteString getAttributesBytes(int index) { return attributes_.getByteString(index); } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The attributes to set. * @return This builder for chaining. */ - public Builder setAttributes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttributes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAttributesIsMutable(); attributes_.set(index, value); bitField0_ |= 0x00000200; @@ -3580,19 +4066,25 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The attributes to add. * @return This builder for chaining. */ - public Builder addAttributes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAttributes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAttributesIsMutable(); attributes_.add(value); bitField0_ |= 0x00000200; @@ -3600,56 +4092,70 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param values The attributes to add. * @return This builder for chaining. */ - public Builder addAllAttributes( - java.lang.Iterable values) { + public Builder addAllAttributes(java.lang.Iterable values) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAttributes() { - attributes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200);; + attributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + ; onChanged(); return this; } /** + * + * *
      * Optional. List of attributes to be associated with the resource, provided
      * in the form:
      * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the attributes to add. * @return This builder for chaining. */ - public Builder addAttributesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAttributesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAttributesIsMutable(); attributes_.add(value); @@ -3659,24 +4165,33 @@ public Builder addAttributesBytes( } private java.util.List paths_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - paths_ = new java.util.ArrayList(paths_); + paths_ = + new java.util.ArrayList(paths_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> pathsBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, + com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, + com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> + pathsBuilder_; /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getPathsList() { if (pathsBuilder_ == null) { @@ -3686,12 +4201,16 @@ public java.util.List ge } } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getPathsCount() { if (pathsBuilder_ == null) { @@ -3701,12 +4220,16 @@ public int getPathsCount() { } } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index) { if (pathsBuilder_ == null) { @@ -3716,12 +4239,16 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index } } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { @@ -3738,12 +4265,16 @@ public Builder setPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -3757,12 +4288,16 @@ public Builder setPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPaths(com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { if (pathsBuilder_ == null) { @@ -3778,12 +4313,16 @@ public Builder addPaths(com.google.cloud.dataplex.v1.DataAttributeBinding.Path v return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path value) { @@ -3800,12 +4339,16 @@ public Builder addPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPaths( com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -3819,12 +4362,16 @@ public Builder addPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPaths( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder builderForValue) { @@ -3838,19 +4385,23 @@ public Builder addPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllPaths( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (pathsBuilder_ == null) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); } else { pathsBuilder_.addAllMessages(values); @@ -3858,12 +4409,16 @@ public Builder addAllPaths( return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPaths() { if (pathsBuilder_ == null) { @@ -3876,12 +4431,16 @@ public Builder clearPaths() { return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removePaths(int index) { if (pathsBuilder_ == null) { @@ -3894,42 +4453,55 @@ public Builder removePaths(int index) { return this; } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder getPathsBuilder( int index) { return getPathsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( int index) { if (pathsBuilder_ == null) { - return paths_.get(index); } else { + return paths_.get(index); + } else { return pathsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPathsOrBuilderList() { + public java.util.List + getPathsOrBuilderList() { if (pathsBuilder_ != null) { return pathsBuilder_.getMessageOrBuilderList(); } else { @@ -3937,59 +4509,75 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsO } } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder addPathsBuilder() { - return getPathsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); + return getPathsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder addPathsBuilder( int index) { - return getPathsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); + return getPathsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.getDefaultInstance()); } /** + * + * *
      * Optional. The list of paths for items within the associated resource (eg.
      * columns and partitions within a table) along with attribute bindings.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPathsBuilderList() { + public java.util.List + getPathsBuilderList() { return getPathsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, + com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, + com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder> getPathsFieldBuilder() { if (pathsBuilder_ == null) { - pathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding.Path, com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder>( - paths_, - ((bitField0_ & 0x00000400) != 0), - getParentForChildren(), - isClean()); + pathsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding.Path, + com.google.cloud.dataplex.v1.DataAttributeBinding.Path.Builder, + com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder>( + paths_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); paths_ = null; } return pathsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3999,12 +4587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataAttributeBinding) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataAttributeBinding) private static final com.google.cloud.dataplex.v1.DataAttributeBinding DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataAttributeBinding(); } @@ -4013,27 +4601,27 @@ public static com.google.cloud.dataplex.v1.DataAttributeBinding getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataAttributeBinding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataAttributeBinding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4048,6 +4636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataAttributeBinding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java index 77d42fce6fc3..1345c675ad38 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeBindingOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataAttributeBindingOrBuilder extends +public interface DataAttributeBindingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttributeBinding) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the Data Attribute Binding, of
    * the form:
    * projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -39,10 +66,13 @@ public interface DataAttributeBindingOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the
    * DataAttributeBinding. This ID will be different if the DataAttributeBinding
@@ -50,106 +80,140 @@ public interface DataAttributeBindingOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the DataAttributeBinding was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the DataAttributeBinding.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -158,30 +222,31 @@ public interface DataAttributeBindingOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
@@ -189,21 +254,24 @@ boolean containsLabels( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the DataAttributeBinding.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -213,10 +281,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -226,12 +297,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -240,11 +313,16 @@ java.lang.String getLabelsOrThrow(
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -253,11 +331,16 @@ java.lang.String getLabelsOrThrow(
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Optional. Immutable. The resource name of the resource that is associated
    * to attributes. Presently, only entity resource is supported in the form:
@@ -266,109 +349,148 @@ java.lang.String getLabelsOrThrow(
    * there can only exist one active binding for a resource.
    * 
* - * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the attributes. */ - java.util.List - getAttributesList(); + java.util.List getAttributesList(); /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The count of attributes. */ int getAttributesCount(); /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The attributes at the given index. */ java.lang.String getAttributes(int index); /** + * + * *
    * Optional. List of attributes to be associated with the resource, provided
    * in the form:
    * projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the attributes at the given index. */ - com.google.protobuf.ByteString - getAttributesBytes(int index); + com.google.protobuf.ByteString getAttributesBytes(int index); /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getPathsList(); + java.util.List getPathsList(); /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.DataAttributeBinding.Path getPaths(int index); /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPathsCount(); /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getPathsOrBuilderList(); /** + * + * *
    * Optional. The list of paths for items within the associated resource (eg.
    * columns and partitions within a table) along with attribute bindings.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataAttributeBinding.PathOrBuilder getPathsOrBuilder(int index); - com.google.cloud.dataplex.v1.DataAttributeBinding.ResourceReferenceCase getResourceReferenceCase(); + com.google.cloud.dataplex.v1.DataAttributeBinding.ResourceReferenceCase + getResourceReferenceCase(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java index 4033db7d3199..dd56e398b5f1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataAttributeOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataAttributeOrBuilder extends +public interface DataAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the dataAttribute, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -37,10 +64,13 @@ public interface DataAttributeOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the DataAttribute.
    * This ID will be different if the DataAttribute is deleted and re-created
@@ -48,106 +78,140 @@ public interface DataAttributeOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the DataAttribute was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the DataAttribute was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the DataAttribute.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -156,30 +220,31 @@ public interface DataAttributeOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
@@ -187,21 +252,24 @@ boolean containsLabels( * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the DataAttribute.
    * 
* * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -209,11 +277,16 @@ java.lang.String getLabelsOrThrow(
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The parentId. */ java.lang.String getParentId(); /** + * + * *
    * Optional. The ID of the parent DataAttribute resource, should belong to the
    * same data taxonomy. Circular dependency in parent chain is not valid.
@@ -221,23 +294,30 @@ java.lang.String getLabelsOrThrow(
    * [a -> b -> c -> d -> e, depth = 4]
    * 
* - * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parentId. */ - com.google.protobuf.ByteString - getParentIdBytes(); + com.google.protobuf.ByteString getParentIdBytes(); /** + * + * *
    * Output only. The number of child attributes present for this attribute.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ int getAttributeCount(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -245,10 +325,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -256,68 +339,96 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceAccessSpec field is set. */ boolean hasResourceAccessSpec(); /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceAccessSpec. */ com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec(); /** + * + * *
    * Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
    * BigQuery dataset, BigQuery table).
    * 
* - * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder(); /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dataAccessSpec field is set. */ boolean hasDataAccessSpec(); /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dataAccessSpec. */ com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec(); /** + * + * *
    * Optional. Specified when applied to data stored on the resource (eg: rows,
    * columns in BigQuery Tables).
    * 
* - * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java new file mode 100644 index 000000000000..96e1d60b0bf0 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java @@ -0,0 +1,316 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_profile.proto + +package com.google.cloud.dataplex.v1; + +public final class DataProfileProto { + private DataProfileProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/dataplex/v1/data_profile." + + "proto\022\030google.cloud.dataplex.v1\032\037google/" + + "api/field_behavior.proto\032)google/cloud/d" + + "ataplex/v1/processing.proto\"\260\004\n\017DataProf" + + "ileSpec\022\036\n\020sampling_percent\030\002 \001(\002B\004\342A\001\001\022" + + "\030\n\nrow_filter\030\003 \001(\tB\004\342A\001\001\022Z\n\021post_scan_a" + + "ctions\030\004 \001(\01329.google.cloud.dataplex.v1." + + "DataProfileSpec.PostScanActionsB\004\342A\001\001\022V\n" + + "\016include_fields\030\005 \001(\01328.google.cloud.dat" + + "aplex.v1.DataProfileSpec.SelectedFieldsB" + + "\004\342A\001\001\022V\n\016exclude_fields\030\006 \001(\01328.google.c" + + "loud.dataplex.v1.DataProfileSpec.Selecte" + + "dFieldsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017big" + + "query_export\030\001 \001(\0132H.google.cloud.datapl" + + "ex.v1.DataProfileSpec.PostScanActions.Bi" + + "gQueryExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\r" + + "results_table\030\001 \001(\tB\004\342A\001\001\032+\n\016SelectedFie" + + "lds\022\031\n\013field_names\030\001 \003(\tB\004\342A\001\001\"\350\r\n\021DataP" + + "rofileResult\022\021\n\trow_count\030\003 \001(\003\022D\n\007profi" + + "le\030\004 \001(\01323.google.cloud.dataplex.v1.Data" + + "ProfileResult.Profile\022;\n\014scanned_data\030\005 " + + "\001(\0132%.google.cloud.dataplex.v1.ScannedDa" + + "ta\022i\n\030post_scan_actions_result\030\006 \001(\0132A.g" + + "oogle.cloud.dataplex.v1.DataProfileResul" + + "t.PostScanActionsResultB\004\342A\001\003\032\316\010\n\007Profil" + + "e\022I\n\006fields\030\002 \003(\01329.google.cloud.dataple" + + "x.v1.DataProfileResult.Profile.Field\032\367\007\n" + + "\005Field\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mo" + + "de\030\003 \001(\t\022V\n\007profile\030\004 \001(\0132E.google.cloud" + + ".dataplex.v1.DataProfileResult.Profile.F" + + "ield.ProfileInfo\032\353\006\n\013ProfileInfo\022\022\n\nnull" + + "_ratio\030\002 \001(\001\022\026\n\016distinct_ratio\030\003 \001(\001\022e\n\014" + + "top_n_values\030\004 \003(\0132O.google.cloud.datapl" + + "ex.v1.DataProfileResult.Profile.Field.Pr" + + "ofileInfo.TopNValue\022o\n\016string_profile\030e " + + "\001(\0132U.google.cloud.dataplex.v1.DataProfi" + + "leResult.Profile.Field.ProfileInfo.Strin" + + "gFieldInfoH\000\022q\n\017integer_profile\030f \001(\0132V." + + "google.cloud.dataplex.v1.DataProfileResu" + + "lt.Profile.Field.ProfileInfo.IntegerFiel" + + "dInfoH\000\022o\n\016double_profile\030g \001(\0132U.google" + + ".cloud.dataplex.v1.DataProfileResult.Pro" + + "file.Field.ProfileInfo.DoubleFieldInfoH\000" + + "\032Q\n\017StringFieldInfo\022\022\n\nmin_length\030\001 \001(\003\022" + + "\022\n\nmax_length\030\002 \001(\003\022\026\n\016average_length\030\003 " + + "\001(\001\032l\n\020IntegerFieldInfo\022\017\n\007average\030\001 \001(\001" + + "\022\032\n\022standard_deviation\030\003 \001(\001\022\013\n\003min\030\004 \001(" + + "\003\022\021\n\tquartiles\030\006 \003(\003\022\013\n\003max\030\005 \001(\003\032k\n\017Dou" + + "bleFieldInfo\022\017\n\007average\030\001 \001(\001\022\032\n\022standar" + + "d_deviation\030\003 \001(\001\022\013\n\003min\030\004 \001(\001\022\021\n\tquarti" + + "les\030\006 \003(\001\022\013\n\003max\030\005 \001(\001\0328\n\tTopNValue\022\r\n\005v" + + "alue\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\r\n\005ratio\030\003 \001(\001" + + "B\014\n\nfield_info\032\200\003\n\025PostScanActionsResult" + + "\022|\n\026bigquery_export_result\030\001 \001(\0132V.googl" + + "e.cloud.dataplex.v1.DataProfileResult.Po" + + "stScanActionsResult.BigQueryExportResult" + + "B\004\342A\001\003\032\350\001\n\024BigQueryExportResult\022q\n\005state" + + "\030\001 \001(\0162\\.google.cloud.dataplex.v1.DataPr" + + "ofileResult.PostScanActionsResult.BigQue" + + "ryExportResult.StateB\004\342A\001\003\022\025\n\007message\030\002 " + + "\001(\tB\004\342A\001\003\"F\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + + "\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\013\n\007SKIPPED\020" + + "\003Bl\n\034com.google.cloud.dataplex.v1B\020DataP" + + "rofileProtoP\001Z8cloud.google.com/go/datap" + + "lex/apiv1/dataplexpb;dataplexpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor, + new java.lang.String[] { + "SamplingPercent", "RowFilter", "PostScanActions", "IncludeFields", "ExcludeFields", + }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor, + new java.lang.String[] { + "BigqueryExport", + }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor, + new java.lang.String[] { + "ResultsTable", + }); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor, + new java.lang.String[] { + "FieldNames", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor, + new java.lang.String[] { + "RowCount", "Profile", "ScannedData", "PostScanActionsResult", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor, + new java.lang.String[] { + "Name", "Type", "Mode", "Profile", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor, + new java.lang.String[] { + "NullRatio", + "DistinctRatio", + "TopNValues", + "StringProfile", + "IntegerProfile", + "DoubleProfile", + "FieldInfo", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor, + new java.lang.String[] { + "MinLength", "MaxLength", "AverageLength", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor, + new java.lang.String[] { + "Average", "StandardDeviation", "Min", "Quartiles", "Max", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor, + new java.lang.String[] { + "Average", "StandardDeviation", "Min", "Quartiles", "Max", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor, + new java.lang.String[] { + "Value", "Count", "Ratio", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor, + new java.lang.String[] { + "BigqueryExportResult", + }); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { + "State", "Message", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java index a0446837817f..1da01e63cbb7 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataProfileResult defines the output of DataProfileScan. Each field of the
  * table will have field type specific profile result.
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult}
  */
-public final class DataProfileResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataProfileResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult)
     DataProfileResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataProfileResult.newBuilder() to construct.
   private DataProfileResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DataProfileResult() {
-  }
+
+  private DataProfileResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataProfileResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataProfileProto
+        .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataProfileProto
+        .internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataProfileResult.class, com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataProfileResult.class,
+            com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
   }
 
-  public interface ProfileOrBuilder extends
+  public interface ProfileOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * List of fields with structural and profile information for each field.
      * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -65,6 +87,8 @@ public interface ProfileOrBuilder extends */ com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(int index); /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -73,15 +97,19 @@ public interface ProfileOrBuilder extends */ int getFieldsCount(); /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -92,70 +120,82 @@ com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder getFieldsO int index); } /** + * + * *
    * Contains name, type, mode and field type specific profile information.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile} */ - public static final class Profile extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Profile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile) ProfileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Profile.newBuilder() to construct. private Profile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Profile() { 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 Profile(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); } - public interface FieldOrBuilder extends + public interface FieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The name of the field.
        * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
        * The name of the field.
        * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -165,10 +205,13 @@ public interface FieldOrBuilder extends
        * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -178,12 +221,14 @@ public interface FieldOrBuilder extends
        * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
        * The mode of the field. Possible values include:
        *
@@ -193,10 +238,13 @@ public interface FieldOrBuilder extends
        * 
* * string mode = 3; + * * @return The mode. */ java.lang.String getMode(); /** + * + * *
        * The mode of the field. Possible values include:
        *
@@ -206,54 +254,69 @@ public interface FieldOrBuilder extends
        * 
* * string mode = 3; + * * @return The bytes for mode. */ - com.google.protobuf.ByteString - getModeBytes(); + com.google.protobuf.ByteString getModeBytes(); /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return Whether the profile field is set. */ boolean hasProfile(); /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return The profile. */ com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile(); /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder + getProfileOrBuilder(); } /** + * + * *
      * A field within a table.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field} */ - public static final class Field extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Field extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) FieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Field() { name_ = ""; type_ = ""; @@ -262,39 +325,46 @@ private Field() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Field(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); } - public interface ProfileInfoOrBuilder extends + public interface ProfileInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Ratio of rows with null value against total scanned rows.
          * 
* * double null_ratio = 2; + * * @return The nullRatio. */ double getNullRatio(); /** + * + * *
          * Ratio of rows with distinct values against total scanned rows.
          * Not available for complex non-groupable field type RECORD and fields
@@ -302,11 +372,14 @@ public interface ProfileInfoOrBuilder extends
          * 
* * double distinct_ratio = 3; + * * @return The distinctRatio. */ double getDistinctRatio(); /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -315,11 +388,16 @@ public interface ProfileInfoOrBuilder extends
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - java.util.List + java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> getTopNValuesList(); /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -328,10 +406,15 @@ public interface ProfileInfoOrBuilder extends
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + getTopNValues(int index); /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -340,10 +423,14 @@ public interface ProfileInfoOrBuilder extends
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ int getTopNValuesCount(); /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -352,11 +439,18 @@ public interface ProfileInfoOrBuilder extends
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder> getTopNValuesOrBuilderList(); /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -365,215 +459,293 @@ public interface ProfileInfoOrBuilder extends
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder + getTopNValuesOrBuilder(int index); /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return Whether the stringProfile field is set. */ boolean hasStringProfile(); /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return The stringProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo + getStringProfile(); /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder + getStringProfileOrBuilder(); /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return Whether the integerProfile field is set. */ boolean hasIntegerProfile(); /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return The integerProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo + getIntegerProfile(); /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder + getIntegerProfileOrBuilder(); /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return Whether the doubleProfile field is set. */ boolean hasDoubleProfile(); /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return The doubleProfile. */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo + getDoubleProfile(); /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder + getDoubleProfileOrBuilder(); - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase getFieldInfoCase(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase + getFieldInfoCase(); } /** + * + * *
        * The profile information for each field type.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} */ - public static final class ProfileInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProfileInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) ProfileInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProfileInfo.newBuilder() to construct. private ProfileInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProfileInfo() { topNValues_ = 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 ProfileInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder + .class); } - public interface StringFieldInfoOrBuilder extends + public interface StringFieldInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Minimum length of non-null values in the scanned data.
            * 
* * int64 min_length = 1; + * * @return The minLength. */ long getMinLength(); /** + * + * *
            * Maximum length of non-null values in the scanned data.
            * 
* * int64 max_length = 2; + * * @return The maxLength. */ long getMaxLength(); /** + * + * *
            * Average length of non-null values in the scanned data.
            * 
* * double average_length = 3; + * * @return The averageLength. */ double getAverageLength(); } /** + * + * *
          * The profile information for a string type field.
          * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} */ - public static final class StringFieldInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringFieldInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) StringFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFieldInfo.newBuilder() to construct. private StringFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringFieldInfo() { - } + + private StringFieldInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder.class); } public static final int MIN_LENGTH_FIELD_NUMBER = 1; private long minLength_ = 0L; /** + * + * *
            * Minimum length of non-null values in the scanned data.
            * 
* * int64 min_length = 1; + * * @return The minLength. */ @java.lang.Override @@ -584,11 +756,14 @@ public long getMinLength() { public static final int MAX_LENGTH_FIELD_NUMBER = 2; private long maxLength_ = 0L; /** + * + * *
            * Maximum length of non-null values in the scanned data.
            * 
* * int64 max_length = 2; + * * @return The maxLength. */ @java.lang.Override @@ -599,11 +774,14 @@ public long getMaxLength() { public static final int AVERAGE_LENGTH_FIELD_NUMBER = 3; private double averageLength_ = 0D; /** + * + * *
            * Average length of non-null values in the scanned data.
            * 
* * double average_length = 3; + * * @return The averageLength. */ @java.lang.Override @@ -612,6 +790,7 @@ public double getAverageLength() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -624,7 +803,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 (minLength_ != 0L) { output.writeInt64(1, minLength_); } @@ -644,16 +823,13 @@ public int getSerializedSize() { size = 0; if (minLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, minLength_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, minLength_); } if (maxLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, maxLength_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxLength_); } if (java.lang.Double.doubleToRawLongBits(averageLength_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, averageLength_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, averageLength_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -663,20 +839,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo + other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + obj; - if (getMinLength() - != other.getMinLength()) return false; - if (getMaxLength() - != other.getMaxLength()) return false; + if (getMinLength() != other.getMinLength()) return false; + if (getMaxLength() != other.getMaxLength()) return false; if (java.lang.Double.doubleToLongBits(getAverageLength()) - != java.lang.Double.doubleToLongBits( - other.getAverageLength())) return false; + != java.lang.Double.doubleToLongBits(other.getAverageLength())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -689,103 +869,132 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinLength()); hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLength()); hash = (37 * hash) + AVERAGE_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverageLength())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverageLength())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -795,39 +1004,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
            * The profile information for a string type field.
            * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -839,19 +1055,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_StringFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -859,14 +1082,25 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.minLength_ = minLength_; @@ -883,46 +1117,60 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance()) return this; if (other.getMinLength() != 0L) { setMinLength(other.getMinLength()); } @@ -958,27 +1206,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - minLength_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - maxLength_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: { - averageLength_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + minLength_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + maxLength_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: + { + averageLength_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -988,15 +1240,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long minLength_ ; + private long minLength_; /** + * + * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; + * * @return The minLength. */ @java.lang.Override @@ -1004,11 +1260,14 @@ public long getMinLength() { return minLength_; } /** + * + * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; + * * @param value The minLength to set. * @return This builder for chaining. */ @@ -1020,11 +1279,14 @@ public Builder setMinLength(long value) { return this; } /** + * + * *
              * Minimum length of non-null values in the scanned data.
              * 
* * int64 min_length = 1; + * * @return This builder for chaining. */ public Builder clearMinLength() { @@ -1034,13 +1296,16 @@ public Builder clearMinLength() { return this; } - private long maxLength_ ; + private long maxLength_; /** + * + * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; + * * @return The maxLength. */ @java.lang.Override @@ -1048,11 +1313,14 @@ public long getMaxLength() { return maxLength_; } /** + * + * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; + * * @param value The maxLength to set. * @return This builder for chaining. */ @@ -1064,11 +1332,14 @@ public Builder setMaxLength(long value) { return this; } /** + * + * *
              * Maximum length of non-null values in the scanned data.
              * 
* * int64 max_length = 2; + * * @return This builder for chaining. */ public Builder clearMaxLength() { @@ -1078,13 +1349,16 @@ public Builder clearMaxLength() { return this; } - private double averageLength_ ; + private double averageLength_; /** + * + * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; + * * @return The averageLength. */ @java.lang.Override @@ -1092,11 +1366,14 @@ public double getAverageLength() { return averageLength_; } /** + * + * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; + * * @param value The averageLength to set. * @return This builder for chaining. */ @@ -1108,11 +1385,14 @@ public Builder setAverageLength(double value) { return this; } /** + * + * *
              * Average length of non-null values in the scanned data.
              * 
* * double average_length = 3; + * * @return This builder for chaining. */ public Builder clearAverageLength() { @@ -1121,6 +1401,7 @@ public Builder clearAverageLength() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1133,41 +1414,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.StringFieldInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,50 +1467,63 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IntegerFieldInfoOrBuilder extends + public interface IntegerFieldInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; + * * @return The average. */ double getAverage(); /** + * + * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ double getStandardDeviation(); /** + * + * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 min = 4; + * * @return The min. */ long getMin(); /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1239,11 +1540,14 @@ public interface IntegerFieldInfoOrBuilder extends
            * 
* * repeated int64 quartiles = 6; + * * @return A list containing the quartiles. */ java.util.List getQuartilesList(); /** - *
+           *
+           *
+           * 
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
            * are: The first quartile (Q1) splits off the lowest 25% of data from
@@ -1259,10 +1563,13 @@ public interface IntegerFieldInfoOrBuilder extends
            * 
* * repeated int64 quartiles = 6; + * * @return The count of quartiles. */ int getQuartilesCount(); /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1279,71 +1586,85 @@ public interface IntegerFieldInfoOrBuilder extends
            * 
* * repeated int64 quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ long getQuartiles(int index); /** + * + * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 max = 5; + * * @return The max. */ long getMax(); } /** + * + * *
          * The profile information for an integer type field.
          * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} */ - public static final class IntegerFieldInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IntegerFieldInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) IntegerFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerFieldInfo.newBuilder() to construct. private IntegerFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IntegerFieldInfo() { quartiles_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IntegerFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder.class); } public static final int AVERAGE_FIELD_NUMBER = 1; private double average_ = 0D; /** + * + * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; + * * @return The average. */ @java.lang.Override @@ -1354,12 +1675,15 @@ public double getAverage() { public static final int STANDARD_DEVIATION_FIELD_NUMBER = 3; private double standardDeviation_ = 0D; /** + * + * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ @java.lang.Override @@ -1370,12 +1694,15 @@ public double getStandardDeviation() { public static final int MIN_FIELD_NUMBER = 4; private long min_ = 0L; /** + * + * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 min = 4; + * * @return The min. */ @java.lang.Override @@ -1384,9 +1711,12 @@ public long getMin() { } public static final int QUARTILES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList quartiles_; /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1403,14 +1733,16 @@ public long getMin() {
            * 
* * repeated int64 quartiles = 6; + * * @return A list containing the quartiles. */ @java.lang.Override - public java.util.List - getQuartilesList() { + public java.util.List getQuartilesList() { return quartiles_; } /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1427,12 +1759,15 @@ public long getMin() {
            * 
* * repeated int64 quartiles = 6; + * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -1449,23 +1784,28 @@ public int getQuartilesCount() {
            * 
* * repeated int64 quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ public long getQuartiles(int index) { return quartiles_.getLong(index); } + private int quartilesMemoizedSerializedSize = -1; public static final int MAX_FIELD_NUMBER = 5; private long max_ = 0L; /** + * + * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * int64 max = 5; + * * @return The max. */ @java.lang.Override @@ -1474,6 +1814,7 @@ public long getMax() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1486,7 +1827,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (java.lang.Double.doubleToRawLongBits(average_) != 0) { output.writeDouble(1, average_); @@ -1517,32 +1858,29 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(average_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, average_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, average_); } if (java.lang.Double.doubleToRawLongBits(standardDeviation_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, standardDeviation_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(3, standardDeviation_); } if (min_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, min_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, min_); } if (max_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, max_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, max_); } { int dataSize = 0; for (int i = 0; i < quartiles_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(quartiles_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag( + quartiles_.getLong(i)); } size += dataSize; if (!getQuartilesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } quartilesMemoizedSerializedSize = dataSize; } @@ -1554,25 +1892,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + obj; if (java.lang.Double.doubleToLongBits(getAverage()) - != java.lang.Double.doubleToLongBits( - other.getAverage())) return false; + != java.lang.Double.doubleToLongBits(other.getAverage())) return false; if (java.lang.Double.doubleToLongBits(getStandardDeviation()) - != java.lang.Double.doubleToLongBits( - other.getStandardDeviation())) return false; - if (getMin() - != other.getMin()) return false; - if (!getQuartilesList() - .equals(other.getQuartilesList())) return false; - if (getMax() - != other.getMax()) return false; + != java.lang.Double.doubleToLongBits(other.getStandardDeviation())) return false; + if (getMin() != other.getMin()) return false; + if (!getQuartilesList().equals(other.getQuartilesList())) return false; + if (getMax() != other.getMax()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1585,110 +1926,141 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVERAGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverage())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverage())); hash = (37 * hash) + STANDARD_DEVIATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStandardDeviation())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStandardDeviation())); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMin()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMin()); if (getQuartilesCount() > 0) { hash = (37 * hash) + QUARTILES_FIELD_NUMBER; hash = (53 * hash) + getQuartilesList().hashCode(); } hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMax()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMax()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1698,39 +2070,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
            * The profile information for an integer type field.
            * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1744,19 +2123,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_IntegerFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1764,15 +2150,26 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + result) { if (((bitField0_ & 0x00000008) != 0)) { quartiles_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); @@ -1780,7 +2177,10 @@ private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfile result.quartiles_ = quartiles_; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.average_ = average_; @@ -1800,46 +2200,60 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance()) return this; if (other.getAverage() != 0D) { setAverage(other.getAverage()); } @@ -1888,48 +2302,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - average_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 25: { - standardDeviation_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 32: { - min_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: { - max_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - long v = input.readInt64(); - ensureQuartilesIsMutable(); - quartiles_.addLong(v); - break; - } // case 48 - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureQuartilesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - quartiles_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + average_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 25: + { + standardDeviation_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 32: + { + min_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + max_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + long v = input.readInt64(); + ensureQuartilesIsMutable(); + quartiles_.addLong(v); + break; + } // case 48 + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureQuartilesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + quartiles_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1939,16 +2360,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double average_ ; + private double average_; /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @return The average. */ @java.lang.Override @@ -1956,12 +2381,15 @@ public double getAverage() { return average_; } /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @param value The average to set. * @return This builder for chaining. */ @@ -1973,12 +2401,15 @@ public Builder setAverage(double value) { return this; } /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @return This builder for chaining. */ public Builder clearAverage() { @@ -1988,14 +2419,17 @@ public Builder clearAverage() { return this; } - private double standardDeviation_ ; + private double standardDeviation_; /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ @java.lang.Override @@ -2003,12 +2437,15 @@ public double getStandardDeviation() { return standardDeviation_; } /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @param value The standardDeviation to set. * @return This builder for chaining. */ @@ -2020,12 +2457,15 @@ public Builder setStandardDeviation(double value) { return this; } /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @return This builder for chaining. */ public Builder clearStandardDeviation() { @@ -2035,14 +2475,17 @@ public Builder clearStandardDeviation() { return this; } - private long min_ ; + private long min_; /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; + * * @return The min. */ @java.lang.Override @@ -2050,12 +2493,15 @@ public long getMin() { return min_; } /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; + * * @param value The min to set. * @return This builder for chaining. */ @@ -2067,12 +2513,15 @@ public Builder setMin(long value) { return this; } /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 min = 4; + * * @return This builder for chaining. */ public Builder clearMin() { @@ -2083,6 +2532,7 @@ public Builder clearMin() { } private com.google.protobuf.Internal.LongList quartiles_ = emptyLongList(); + private void ensureQuartilesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { quartiles_ = mutableCopy(quartiles_); @@ -2090,6 +2540,8 @@ private void ensureQuartilesIsMutable() { } } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2106,14 +2558,17 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated int64 quartiles = 6; + * * @return A list containing the quartiles. */ - public java.util.List - getQuartilesList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(quartiles_) : quartiles_; + public java.util.List getQuartilesList() { + return ((bitField0_ & 0x00000008) != 0) + ? java.util.Collections.unmodifiableList(quartiles_) + : quartiles_; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2130,12 +2585,15 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated int64 quartiles = 6; + * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2152,6 +2610,7 @@ public int getQuartilesCount() {
              * 
* * repeated int64 quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ @@ -2159,6 +2618,8 @@ public long getQuartiles(int index) { return quartiles_.getLong(index); } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2175,12 +2636,12 @@ public long getQuartiles(int index) {
              * 
* * repeated int64 quartiles = 6; + * * @param index The index to set the value at. * @param value The quartiles to set. * @return This builder for chaining. */ - public Builder setQuartiles( - int index, long value) { + public Builder setQuartiles(int index, long value) { ensureQuartilesIsMutable(); quartiles_.setLong(index, value); @@ -2188,6 +2649,8 @@ public Builder setQuartiles( return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2204,6 +2667,7 @@ public Builder setQuartiles(
              * 
* * repeated int64 quartiles = 6; + * * @param value The quartiles to add. * @return This builder for chaining. */ @@ -2215,6 +2679,8 @@ public Builder addQuartiles(long value) { return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2231,18 +2697,19 @@ public Builder addQuartiles(long value) {
              * 
* * repeated int64 quartiles = 6; + * * @param values The quartiles to add. * @return This builder for chaining. */ - public Builder addAllQuartiles( - java.lang.Iterable values) { + public Builder addAllQuartiles(java.lang.Iterable values) { ensureQuartilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quartiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quartiles_); onChanged(); return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -2259,6 +2726,7 @@ public Builder addAllQuartiles(
              * 
* * repeated int64 quartiles = 6; + * * @return This builder for chaining. */ public Builder clearQuartiles() { @@ -2268,14 +2736,17 @@ public Builder clearQuartiles() { return this; } - private long max_ ; + private long max_; /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; + * * @return The max. */ @java.lang.Override @@ -2283,12 +2754,15 @@ public long getMax() { return max_; } /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; + * * @param value The max to set. * @return This builder for chaining. */ @@ -2300,12 +2774,15 @@ public Builder setMax(long value) { return this; } /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * int64 max = 5; + * * @return This builder for chaining. */ public Builder clearMax() { @@ -2314,6 +2791,7 @@ public Builder clearMax() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2326,41 +2804,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.IntegerFieldInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2372,50 +2857,63 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DoubleFieldInfoOrBuilder extends + public interface DoubleFieldInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; + * * @return The average. */ double getAverage(); /** + * + * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ double getStandardDeviation(); /** + * + * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double min = 4; + * * @return The min. */ double getMin(); /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2431,10 +2929,13 @@ public interface DoubleFieldInfoOrBuilder extends
            * 
* * repeated double quartiles = 6; + * * @return A list containing the quartiles. */ java.util.List getQuartilesList(); /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2450,10 +2951,13 @@ public interface DoubleFieldInfoOrBuilder extends
            * 
* * repeated double quartiles = 6; + * * @return The count of quartiles. */ int getQuartilesCount(); /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2469,71 +2973,85 @@ public interface DoubleFieldInfoOrBuilder extends
            * 
* * repeated double quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ double getQuartiles(int index); /** + * + * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double max = 5; + * * @return The max. */ double getMax(); } /** + * + * *
          * The profile information for a double type field.
          * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} */ - public static final class DoubleFieldInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DoubleFieldInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) DoubleFieldInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DoubleFieldInfo.newBuilder() to construct. private DoubleFieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DoubleFieldInfo() { quartiles_ = emptyDoubleList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DoubleFieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder.class); } public static final int AVERAGE_FIELD_NUMBER = 1; private double average_ = 0D; /** + * + * *
            * Average of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double average = 1; + * * @return The average. */ @java.lang.Override @@ -2544,12 +3062,15 @@ public double getAverage() { public static final int STANDARD_DEVIATION_FIELD_NUMBER = 3; private double standardDeviation_ = 0D; /** + * + * *
            * Standard deviation of non-null values in the scanned data. NaN, if
            * the field has a NaN.
            * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ @java.lang.Override @@ -2560,12 +3081,15 @@ public double getStandardDeviation() { public static final int MIN_FIELD_NUMBER = 4; private double min_ = 0D; /** + * + * *
            * Minimum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double min = 4; + * * @return The min. */ @java.lang.Override @@ -2574,9 +3098,12 @@ public double getMin() { } public static final int QUARTILES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.Internal.DoubleList quartiles_; /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2592,14 +3119,16 @@ public double getMin() {
            * 
* * repeated double quartiles = 6; + * * @return A list containing the quartiles. */ @java.lang.Override - public java.util.List - getQuartilesList() { + public java.util.List getQuartilesList() { return quartiles_; } /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2615,12 +3144,15 @@ public double getMin() {
            * 
* * repeated double quartiles = 6; + * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** + * + * *
            * A quartile divides the number of data points into four parts, or
            * quarters, of more-or-less equal size. Three main quartiles used
@@ -2636,23 +3168,28 @@ public int getQuartilesCount() {
            * 
* * repeated double quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ public double getQuartiles(int index) { return quartiles_.getDouble(index); } + private int quartilesMemoizedSerializedSize = -1; public static final int MAX_FIELD_NUMBER = 5; private double max_ = 0D; /** + * + * *
            * Maximum of non-null values in the scanned data. NaN, if the field
            * has a NaN.
            * 
* * double max = 5; + * * @return The max. */ @java.lang.Override @@ -2661,6 +3198,7 @@ public double getMax() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2673,7 +3211,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (java.lang.Double.doubleToRawLongBits(average_) != 0) { output.writeDouble(1, average_); @@ -2704,20 +3242,17 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(average_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, average_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, average_); } if (java.lang.Double.doubleToRawLongBits(standardDeviation_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, standardDeviation_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(3, standardDeviation_); } if (java.lang.Double.doubleToRawLongBits(min_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, min_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, min_); } if (java.lang.Double.doubleToRawLongBits(max_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, max_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, max_); } { int dataSize = 0; @@ -2725,8 +3260,7 @@ public int getSerializedSize() { size += dataSize; if (!getQuartilesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } quartilesMemoizedSerializedSize = dataSize; } @@ -2738,27 +3272,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo + other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + obj; if (java.lang.Double.doubleToLongBits(getAverage()) - != java.lang.Double.doubleToLongBits( - other.getAverage())) return false; + != java.lang.Double.doubleToLongBits(other.getAverage())) return false; if (java.lang.Double.doubleToLongBits(getStandardDeviation()) - != java.lang.Double.doubleToLongBits( - other.getStandardDeviation())) return false; + != java.lang.Double.doubleToLongBits(other.getStandardDeviation())) return false; if (java.lang.Double.doubleToLongBits(getMin()) - != java.lang.Double.doubleToLongBits( - other.getMin())) return false; - if (!getQuartilesList() - .equals(other.getQuartilesList())) return false; + != java.lang.Double.doubleToLongBits(other.getMin())) return false; + if (!getQuartilesList().equals(other.getQuartilesList())) return false; if (java.lang.Double.doubleToLongBits(getMax()) - != java.lang.Double.doubleToLongBits( - other.getMax())) return false; + != java.lang.Double.doubleToLongBits(other.getMax())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2771,110 +3307,147 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVERAGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAverage())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAverage())); hash = (37 * hash) + STANDARD_DEVIATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStandardDeviation())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStandardDeviation())); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMin())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMin())); if (getQuartilesCount() > 0) { hash = (37 * hash) + QUARTILES_FIELD_NUMBER; hash = (53 * hash) + getQuartilesList().hashCode(); } hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMax())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2884,39 +3457,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
            * The profile information for a double type field.
            * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2930,19 +3510,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_DoubleFieldInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2950,15 +3537,26 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + result) { if (((bitField0_ & 0x00000008) != 0)) { quartiles_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2966,7 +3564,10 @@ private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfile result.quartiles_ = quartiles_; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.average_ = average_; @@ -2986,46 +3587,60 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance()) return this; if (other.getAverage() != 0D) { setAverage(other.getAverage()); } @@ -3074,48 +3689,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - average_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 25: { - standardDeviation_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 33: { - min_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 33 - case 41: { - max_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 49: { - double v = input.readDouble(); - ensureQuartilesIsMutable(); - quartiles_.addDouble(v); - break; - } // case 49 - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureQuartilesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - quartiles_.addDouble(input.readDouble()); - } - input.popLimit(limit); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + average_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 25: + { + standardDeviation_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 33: + { + min_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 33 + case 41: + { + max_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: + { + double v = input.readDouble(); + ensureQuartilesIsMutable(); + quartiles_.addDouble(v); + break; + } // case 49 + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureQuartilesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + quartiles_.addDouble(input.readDouble()); + } + input.popLimit(limit); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3125,16 +3747,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double average_ ; + private double average_; /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @return The average. */ @java.lang.Override @@ -3142,12 +3768,15 @@ public double getAverage() { return average_; } /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @param value The average to set. * @return This builder for chaining. */ @@ -3159,12 +3788,15 @@ public Builder setAverage(double value) { return this; } /** + * + * *
              * Average of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double average = 1; + * * @return This builder for chaining. */ public Builder clearAverage() { @@ -3174,14 +3806,17 @@ public Builder clearAverage() { return this; } - private double standardDeviation_ ; + private double standardDeviation_; /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @return The standardDeviation. */ @java.lang.Override @@ -3189,12 +3824,15 @@ public double getStandardDeviation() { return standardDeviation_; } /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @param value The standardDeviation to set. * @return This builder for chaining. */ @@ -3206,12 +3844,15 @@ public Builder setStandardDeviation(double value) { return this; } /** + * + * *
              * Standard deviation of non-null values in the scanned data. NaN, if
              * the field has a NaN.
              * 
* * double standard_deviation = 3; + * * @return This builder for chaining. */ public Builder clearStandardDeviation() { @@ -3221,14 +3862,17 @@ public Builder clearStandardDeviation() { return this; } - private double min_ ; + private double min_; /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; + * * @return The min. */ @java.lang.Override @@ -3236,12 +3880,15 @@ public double getMin() { return min_; } /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; + * * @param value The min to set. * @return This builder for chaining. */ @@ -3253,12 +3900,15 @@ public Builder setMin(double value) { return this; } /** + * + * *
              * Minimum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double min = 4; + * * @return This builder for chaining. */ public Builder clearMin() { @@ -3269,6 +3919,7 @@ public Builder clearMin() { } private com.google.protobuf.Internal.DoubleList quartiles_ = emptyDoubleList(); + private void ensureQuartilesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { quartiles_ = mutableCopy(quartiles_); @@ -3276,6 +3927,8 @@ private void ensureQuartilesIsMutable() { } } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3291,14 +3944,17 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated double quartiles = 6; + * * @return A list containing the quartiles. */ - public java.util.List - getQuartilesList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(quartiles_) : quartiles_; + public java.util.List getQuartilesList() { + return ((bitField0_ & 0x00000008) != 0) + ? java.util.Collections.unmodifiableList(quartiles_) + : quartiles_; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3314,12 +3970,15 @@ private void ensureQuartilesIsMutable() {
              * 
* * repeated double quartiles = 6; + * * @return The count of quartiles. */ public int getQuartilesCount() { return quartiles_.size(); } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3335,6 +3994,7 @@ public int getQuartilesCount() {
              * 
* * repeated double quartiles = 6; + * * @param index The index of the element to return. * @return The quartiles at the given index. */ @@ -3342,6 +4002,8 @@ public double getQuartiles(int index) { return quartiles_.getDouble(index); } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3357,12 +4019,12 @@ public double getQuartiles(int index) {
              * 
* * repeated double quartiles = 6; + * * @param index The index to set the value at. * @param value The quartiles to set. * @return This builder for chaining. */ - public Builder setQuartiles( - int index, double value) { + public Builder setQuartiles(int index, double value) { ensureQuartilesIsMutable(); quartiles_.setDouble(index, value); @@ -3370,6 +4032,8 @@ public Builder setQuartiles( return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3385,6 +4049,7 @@ public Builder setQuartiles(
              * 
* * repeated double quartiles = 6; + * * @param value The quartiles to add. * @return This builder for chaining. */ @@ -3396,6 +4061,8 @@ public Builder addQuartiles(double value) { return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3411,18 +4078,19 @@ public Builder addQuartiles(double value) {
              * 
* * repeated double quartiles = 6; + * * @param values The quartiles to add. * @return This builder for chaining. */ - public Builder addAllQuartiles( - java.lang.Iterable values) { + public Builder addAllQuartiles(java.lang.Iterable values) { ensureQuartilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quartiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quartiles_); onChanged(); return this; } /** + * + * *
              * A quartile divides the number of data points into four parts, or
              * quarters, of more-or-less equal size. Three main quartiles used
@@ -3438,6 +4106,7 @@ public Builder addAllQuartiles(
              * 
* * repeated double quartiles = 6; + * * @return This builder for chaining. */ public Builder clearQuartiles() { @@ -3447,14 +4116,17 @@ public Builder clearQuartiles() { return this; } - private double max_ ; + private double max_; /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; + * * @return The max. */ @java.lang.Override @@ -3462,12 +4134,15 @@ public double getMax() { return max_; } /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; + * * @param value The max to set. * @return This builder for chaining. */ @@ -3479,12 +4154,15 @@ public Builder setMax(double value) { return this; } /** + * + * *
              * Maximum of non-null values in the scanned data. NaN, if the field
              * has a NaN.
              * 
* * double max = 5; + * * @return This builder for chaining. */ public Builder clearMax() { @@ -3493,6 +4171,7 @@ public Builder clearMax() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3505,41 +4184,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.DoubleFieldInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DoubleFieldInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DoubleFieldInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3551,106 +4237,130 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TopNValueOrBuilder extends + public interface TopNValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * String value of a top N non-null value.
            * 
* * string value = 1; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
            * String value of a top N non-null value.
            * 
* * string value = 1; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
            * Count of the corresponding value in the scanned data.
            * 
* * int64 count = 2; + * * @return The count. */ long getCount(); /** + * + * *
            * Ratio of the corresponding value in the field against the total
            * number of rows in the scanned data.
            * 
* * double ratio = 3; + * * @return The ratio. */ double getRatio(); } /** + * + * *
          * Top N non-null values in the scanned data.
          * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} */ - public static final class TopNValue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TopNValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) TopNValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TopNValue.newBuilder() to construct. private TopNValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TopNValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TopNValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
            * String value of a top N non-null value.
            * 
* * string value = 1; + * * @return The value. */ @java.lang.Override @@ -3659,29 +4369,29 @@ 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(); value_ = s; return s; } } /** + * + * *
            * String value of a top N non-null value.
            * 
* * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -3692,11 +4402,14 @@ public java.lang.String getValue() { public static final int COUNT_FIELD_NUMBER = 2; private long count_ = 0L; /** + * + * *
            * Count of the corresponding value in the scanned data.
            * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -3707,12 +4420,15 @@ public long getCount() { public static final int RATIO_FIELD_NUMBER = 3; private double ratio_ = 0D; /** + * + * *
            * Ratio of the corresponding value in the field against the total
            * number of rows in the scanned data.
            * 
* * double ratio = 3; + * * @return The ratio. */ @java.lang.Override @@ -3721,6 +4437,7 @@ public double getRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3733,7 +4450,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -3756,12 +4473,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); } if (java.lang.Double.doubleToRawLongBits(ratio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, ratio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, ratio_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3771,20 +4486,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue) + obj; - if (!getValue() - .equals(other.getValue())) return false; - if (getCount() - != other.getCount()) return false; + if (!getValue().equals(other.getValue())) return false; + if (getCount() != other.getCount()) return false; if (java.lang.Double.doubleToLongBits(getRatio()) - != java.lang.Double.doubleToLongBits( - other.getRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getRatio())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3799,100 +4518,129 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; 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 = (37 * hash) + RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRatio())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3902,39 +4650,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
            * Top N non-null values in the scanned data.
            * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3946,19 +4701,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_TopNValue_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + build() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3966,14 +4727,23 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = value_; @@ -3990,46 +4760,59 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -4067,27 +4850,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - count_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: { - ratio_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + count_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: + { + ratio_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4097,22 +4884,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object value_ = ""; /** + * + * *
              * String value of a top N non-null value.
              * 
* * string value = 1; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -4121,20 +4911,21 @@ public java.lang.String getValue() { } } /** + * + * *
              * String value of a top N non-null value.
              * 
* * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -4142,28 +4933,35 @@ public java.lang.String getValue() { } } /** + * + * *
              * String value of a top N non-null value.
              * 
* * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
              * String value of a top N non-null value.
              * 
* * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -4173,31 +4971,38 @@ public Builder clearValue() { return this; } /** + * + * *
              * String value of a top N non-null value.
              * 
* * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - private long count_ ; + private long count_; /** + * + * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -4205,11 +5010,14 @@ public long getCount() { return count_; } /** + * + * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ @@ -4221,11 +5029,14 @@ public Builder setCount(long value) { return this; } /** + * + * *
              * Count of the corresponding value in the scanned data.
              * 
* * int64 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -4235,14 +5046,17 @@ public Builder clearCount() { return this; } - private double ratio_ ; + private double ratio_; /** + * + * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; + * * @return The ratio. */ @java.lang.Override @@ -4250,12 +5064,15 @@ public double getRatio() { return ratio_; } /** + * + * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; + * * @param value The ratio to set. * @return This builder for chaining. */ @@ -4267,12 +5084,15 @@ public Builder setRatio(double value) { return this; } /** + * + * *
              * Ratio of the corresponding value in the field against the total
              * number of rows in the scanned data.
              * 
* * double ratio = 3; + * * @return This builder for chaining. */ public Builder clearRatio() { @@ -4281,6 +5101,7 @@ public Builder clearRatio() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4293,41 +5114,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.TopNValue + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TopNValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TopNValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4339,23 +5167,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int fieldInfoCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object fieldInfo_; + public enum FieldInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_PROFILE(101), INTEGER_PROFILE(102), DOUBLE_PROFILE(103), FIELDINFO_NOT_SET(0); private final int value; + private FieldInfoCase(int value) { this.value = value; } @@ -4371,32 +5203,39 @@ public static FieldInfoCase valueOf(int value) { public static FieldInfoCase forNumber(int value) { switch (value) { - case 101: return STRING_PROFILE; - case 102: return INTEGER_PROFILE; - case 103: return DOUBLE_PROFILE; - case 0: return FIELDINFO_NOT_SET; - default: return null; + case 101: + return STRING_PROFILE; + case 102: + return INTEGER_PROFILE; + case 103: + return DOUBLE_PROFILE; + case 0: + return FIELDINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FieldInfoCase - getFieldInfoCase() { - return FieldInfoCase.forNumber( - fieldInfoCase_); + public FieldInfoCase getFieldInfoCase() { + return FieldInfoCase.forNumber(fieldInfoCase_); } public static final int NULL_RATIO_FIELD_NUMBER = 2; private double nullRatio_ = 0D; /** + * + * *
          * Ratio of rows with null value against total scanned rows.
          * 
* * double null_ratio = 2; + * * @return The nullRatio. */ @java.lang.Override @@ -4407,6 +5246,8 @@ public double getNullRatio() { public static final int DISTINCT_RATIO_FIELD_NUMBER = 3; private double distinctRatio_ = 0D; /** + * + * *
          * Ratio of rows with distinct values against total scanned rows.
          * Not available for complex non-groupable field type RECORD and fields
@@ -4414,6 +5255,7 @@ public double getNullRatio() {
          * 
* * double distinct_ratio = 3; + * * @return The distinctRatio. */ @java.lang.Override @@ -4422,9 +5264,14 @@ public double getDistinctRatio() { } public static final int TOP_N_VALUES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") - private java.util.List topNValues_; + private java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> + topNValues_; /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -4433,13 +5280,19 @@ public double getDistinctRatio() {
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ @java.lang.Override - public java.util.List getTopNValuesList() { + public java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue> + getTopNValuesList() { return topNValues_; } /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -4448,14 +5301,21 @@ public java.util.List
          *
-         * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;
+         * 
+         * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;
+         * 
          */
         @java.lang.Override
-        public java.util.List 
+        public java.util.List<
+                ? extends
+                    com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo
+                        .TopNValueOrBuilder>
             getTopNValuesOrBuilderList() {
           return topNValues_;
         }
         /**
+         *
+         *
          * 
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -4464,13 +5324,17 @@ public java.util.List
          *
-         * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;
+         * 
+         * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;
+         * 
          */
         @java.lang.Override
         public int getTopNValuesCount() {
           return topNValues_.size();
         }
         /**
+         *
+         *
          * 
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -4479,13 +5343,18 @@ public int getTopNValuesCount() {
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + getTopNValues(int index) { return topNValues_.get(index); } /** + * + * *
          * The list of top N non-null values, frequency and ratio with which
          * they occur in the scanned data. N is 10 or equal to the number of
@@ -4494,21 +5363,29 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
          * mode.
          * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder + getTopNValuesOrBuilder(int index) { return topNValues_.get(index); } public static final int STRING_PROFILE_FIELD_NUMBER = 101; /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return Whether the stringProfile field is set. */ @java.lang.Override @@ -4516,42 +5393,66 @@ public boolean hasStringProfile() { return fieldInfoCase_ == 101; } /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return The stringProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + getStringProfile() { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } /** + * + * *
          * String type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder + getStringProfileOrBuilder() { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } public static final int INTEGER_PROFILE_FIELD_NUMBER = 102; /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return Whether the integerProfile field is set. */ @java.lang.Override @@ -4559,42 +5460,66 @@ public boolean hasIntegerProfile() { return fieldInfoCase_ == 102; } /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return The integerProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + getIntegerProfile() { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } /** + * + * *
          * Integer type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder + getIntegerProfileOrBuilder() { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } public static final int DOUBLE_PROFILE_FIELD_NUMBER = 103; /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return Whether the doubleProfile field is set. */ @java.lang.Override @@ -4602,36 +5527,56 @@ public boolean hasDoubleProfile() { return fieldInfoCase_ == 103; } /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return The doubleProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + getDoubleProfile() { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } /** + * + * *
          * Double type field information.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder + getDoubleProfileOrBuilder() { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4644,7 +5589,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 (java.lang.Double.doubleToRawLongBits(nullRatio_) != 0) { output.writeDouble(2, nullRatio_); } @@ -4655,13 +5600,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, topNValues_.get(i)); } if (fieldInfoCase_ == 101) { - output.writeMessage(101, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_); + output.writeMessage( + 101, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_); } if (fieldInfoCase_ == 102) { - output.writeMessage(102, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_); + output.writeMessage( + 102, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_); } if (fieldInfoCase_ == 103) { - output.writeMessage(103, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_); + output.writeMessage( + 103, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_); } getUnknownFields().writeTo(output); } @@ -4673,28 +5630,37 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(nullRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, nullRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, nullRatio_); } if (java.lang.Double.doubleToRawLongBits(distinctRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, distinctRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, distinctRatio_); } for (int i = 0; i < topNValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, topNValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, topNValues_.get(i)); } if (fieldInfoCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_); } if (fieldInfoCase_ == 102) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(102, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 102, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_); } if (fieldInfoCase_ == 103) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(103, (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 103, + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4704,34 +5670,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) obj; if (java.lang.Double.doubleToLongBits(getNullRatio()) - != java.lang.Double.doubleToLongBits( - other.getNullRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getNullRatio())) return false; if (java.lang.Double.doubleToLongBits(getDistinctRatio()) - != java.lang.Double.doubleToLongBits( - other.getDistinctRatio())) return false; - if (!getTopNValuesList() - .equals(other.getTopNValuesList())) return false; + != java.lang.Double.doubleToLongBits(other.getDistinctRatio())) return false; + if (!getTopNValuesList().equals(other.getTopNValuesList())) return false; if (!getFieldInfoCase().equals(other.getFieldInfoCase())) return false; switch (fieldInfoCase_) { case 101: - if (!getStringProfile() - .equals(other.getStringProfile())) return false; + if (!getStringProfile().equals(other.getStringProfile())) return false; break; case 102: - if (!getIntegerProfile() - .equals(other.getIntegerProfile())) return false; + if (!getIntegerProfile().equals(other.getIntegerProfile())) return false; break; case 103: - if (!getDoubleProfile() - .equals(other.getDoubleProfile())) return false; + if (!getDoubleProfile().equals(other.getDoubleProfile())) return false; break; case 0: default: @@ -4748,11 +5711,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NULL_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getNullRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getNullRatio())); hash = (37 * hash) + DISTINCT_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistinctRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistinctRatio())); if (getTopNValuesCount() > 0) { hash = (37 * hash) + TOP_N_VALUES_FIELD_NUMBER; hash = (53 * hash) + getTopNValuesList().hashCode(); @@ -4778,90 +5745,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4871,39 +5853,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * The profile information for each field type.
          * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder + .class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4932,19 +5919,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_ProfileInfo_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo build() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = buildPartial(); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4952,16 +5942,21 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(this); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { if (topNValuesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { topNValues_ = java.util.Collections.unmodifiableList(topNValues_); @@ -4973,7 +5968,8 @@ private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfile } } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.nullRatio_ = nullRatio_; @@ -4983,19 +5979,17 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil } } - private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { + private void buildPartialOneofs( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo result) { result.fieldInfoCase_ = fieldInfoCase_; result.fieldInfo_ = this.fieldInfo_; - if (fieldInfoCase_ == 101 && - stringProfileBuilder_ != null) { + if (fieldInfoCase_ == 101 && stringProfileBuilder_ != null) { result.fieldInfo_ = stringProfileBuilder_.build(); } - if (fieldInfoCase_ == 102 && - integerProfileBuilder_ != null) { + if (fieldInfoCase_ == 102 && integerProfileBuilder_ != null) { result.fieldInfo_ = integerProfileBuilder_.build(); } - if (fieldInfoCase_ == 103 && - doubleProfileBuilder_ != null) { + if (fieldInfoCase_ == 103 && doubleProfileBuilder_ != null) { result.fieldInfo_ = doubleProfileBuilder_.build(); } } @@ -5004,46 +5998,55 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataProfileResult.P public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance()) return this; if (other.getNullRatio() != 0D) { setNullRatio(other.getNullRatio()); } @@ -5068,30 +6071,35 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile. topNValuesBuilder_ = null; topNValues_ = other.topNValues_; bitField0_ = (bitField0_ & ~0x00000004); - topNValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTopNValuesFieldBuilder() : null; + topNValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTopNValuesFieldBuilder() + : null; } else { topNValuesBuilder_.addAllMessages(other.topNValues_); } } } switch (other.getFieldInfoCase()) { - case STRING_PROFILE: { - mergeStringProfile(other.getStringProfile()); - break; - } - case INTEGER_PROFILE: { - mergeIntegerProfile(other.getIntegerProfile()); - break; - } - case DOUBLE_PROFILE: { - mergeDoubleProfile(other.getDoubleProfile()); - break; - } - case FIELDINFO_NOT_SET: { - break; - } + case STRING_PROFILE: + { + mergeStringProfile(other.getStringProfile()); + break; + } + case INTEGER_PROFILE: + { + mergeIntegerProfile(other.getIntegerProfile()); + break; + } + case DOUBLE_PROFILE: + { + mergeDoubleProfile(other.getDoubleProfile()); + break; + } + case FIELDINFO_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5119,56 +6127,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 17: { - nullRatio_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 17 - case 25: { - distinctRatio_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 25 - case 34: { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue m = - input.readMessage( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.parser(), - extensionRegistry); - if (topNValuesBuilder_ == null) { - ensureTopNValuesIsMutable(); - topNValues_.add(m); - } else { - topNValuesBuilder_.addMessage(m); - } - break; - } // case 34 - case 810: { - input.readMessage( - getStringProfileFieldBuilder().getBuilder(), - extensionRegistry); - fieldInfoCase_ = 101; - break; - } // case 810 - case 818: { - input.readMessage( - getIntegerProfileFieldBuilder().getBuilder(), - extensionRegistry); - fieldInfoCase_ = 102; - break; - } // case 818 - case 826: { - input.readMessage( - getDoubleProfileFieldBuilder().getBuilder(), - extensionRegistry); - fieldInfoCase_ = 103; - break; - } // case 826 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 17: + { + nullRatio_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 17 + case 25: + { + distinctRatio_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 25 + case 34: + { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue + m = + input.readMessage( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.TopNValue.parser(), + extensionRegistry); + if (topNValuesBuilder_ == null) { + ensureTopNValuesIsMutable(); + topNValues_.add(m); + } else { + topNValuesBuilder_.addMessage(m); + } + break; + } // case 34 + case 810: + { + input.readMessage( + getStringProfileFieldBuilder().getBuilder(), extensionRegistry); + fieldInfoCase_ = 101; + break; + } // case 810 + case 818: + { + input.readMessage( + getIntegerProfileFieldBuilder().getBuilder(), extensionRegistry); + fieldInfoCase_ = 102; + break; + } // case 818 + case 826: + { + input.readMessage( + getDoubleProfileFieldBuilder().getBuilder(), extensionRegistry); + fieldInfoCase_ = 103; + break; + } // case 826 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5178,12 +6193,12 @@ public Builder mergeFrom( } // finally return this; } + private int fieldInfoCase_ = 0; private java.lang.Object fieldInfo_; - public FieldInfoCase - getFieldInfoCase() { - return FieldInfoCase.forNumber( - fieldInfoCase_); + + public FieldInfoCase getFieldInfoCase() { + return FieldInfoCase.forNumber(fieldInfoCase_); } public Builder clearFieldInfo() { @@ -5195,13 +6210,16 @@ public Builder clearFieldInfo() { private int bitField0_; - private double nullRatio_ ; + private double nullRatio_; /** + * + * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; + * * @return The nullRatio. */ @java.lang.Override @@ -5209,11 +6227,14 @@ public double getNullRatio() { return nullRatio_; } /** + * + * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; + * * @param value The nullRatio to set. * @return This builder for chaining. */ @@ -5225,11 +6246,14 @@ public Builder setNullRatio(double value) { return this; } /** + * + * *
            * Ratio of rows with null value against total scanned rows.
            * 
* * double null_ratio = 2; + * * @return This builder for chaining. */ public Builder clearNullRatio() { @@ -5239,8 +6263,10 @@ public Builder clearNullRatio() { return this; } - private double distinctRatio_ ; + private double distinctRatio_; /** + * + * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -5248,6 +6274,7 @@ public Builder clearNullRatio() {
            * 
* * double distinct_ratio = 3; + * * @return The distinctRatio. */ @java.lang.Override @@ -5255,6 +6282,8 @@ public double getDistinctRatio() { return distinctRatio_; } /** + * + * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -5262,6 +6291,7 @@ public double getDistinctRatio() {
            * 
* * double distinct_ratio = 3; + * * @param value The distinctRatio to set. * @return This builder for chaining. */ @@ -5273,6 +6303,8 @@ public Builder setDistinctRatio(double value) { return this; } /** + * + * *
            * Ratio of rows with distinct values against total scanned rows.
            * Not available for complex non-groupable field type RECORD and fields
@@ -5280,6 +6312,7 @@ public Builder setDistinctRatio(double value) {
            * 
* * double distinct_ratio = 3; + * * @return This builder for chaining. */ public Builder clearDistinctRatio() { @@ -5289,19 +6322,33 @@ public Builder clearDistinctRatio() { return this; } - private java.util.List topNValues_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue> + topNValues_ = java.util.Collections.emptyList(); + private void ensureTopNValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - topNValues_ = new java.util.ArrayList(topNValues_); + topNValues_ = + new java.util.ArrayList< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue>(topNValues_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder> topNValuesBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder> + topNValuesBuilder_; /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5310,9 +6357,14 @@ private void ensureTopNValuesIsMutable() {
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public java.util.List getTopNValuesList() { + public java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue> + getTopNValuesList() { if (topNValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(topNValues_); } else { @@ -5320,6 +6372,8 @@ public java.util.List * The list of top N non-null values, frequency and ratio with which * they occur in the scanned data. N is 10 or equal to the number of @@ -5328,7 +6382,9 @@ public java.util.List * - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public int getTopNValuesCount() { if (topNValuesBuilder_ == null) { @@ -5338,6 +6394,8 @@ public int getTopNValuesCount() { } } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5346,9 +6404,12 @@ public int getTopNValuesCount() {
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + getTopNValues(int index) { if (topNValuesBuilder_ == null) { return topNValues_.get(index); } else { @@ -5356,6 +6417,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5364,10 +6427,14 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder setTopNValues( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5381,6 +6448,8 @@ public Builder setTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5389,10 +6458,15 @@ public Builder setTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder setTopNValues( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.set(index, builderForValue.build()); @@ -5403,6 +6477,8 @@ public Builder setTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5411,9 +6487,13 @@ public Builder setTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public Builder addTopNValues(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { + public Builder addTopNValues( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5427,6 +6507,8 @@ public Builder addTopNValues(com.google.cloud.dataplex.v1.DataProfileResult.Prof return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5435,10 +6517,14 @@ public Builder addTopNValues(com.google.cloud.dataplex.v1.DataProfileResult.Prof
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder addTopNValues( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue value) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + value) { if (topNValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5452,6 +6538,8 @@ public Builder addTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5460,10 +6548,14 @@ public Builder addTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder addTopNValues( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.add(builderForValue.build()); @@ -5474,6 +6566,8 @@ public Builder addTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5482,10 +6576,15 @@ public Builder addTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder addTopNValues( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder builderForValue) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + builderForValue) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); topNValues_.add(index, builderForValue.build()); @@ -5496,6 +6595,8 @@ public Builder addTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5504,14 +6605,19 @@ public Builder addTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder addAllTopNValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue> + values) { if (topNValuesBuilder_ == null) { ensureTopNValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, topNValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topNValues_); onChanged(); } else { topNValuesBuilder_.addAllMessages(values); @@ -5519,6 +6625,8 @@ public Builder addAllTopNValues( return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5527,7 +6635,9 @@ public Builder addAllTopNValues(
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder clearTopNValues() { if (topNValuesBuilder_ == null) { @@ -5540,6 +6650,8 @@ public Builder clearTopNValues() { return this; } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5548,7 +6660,9 @@ public Builder clearTopNValues() {
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ public Builder removeTopNValues(int index) { if (topNValuesBuilder_ == null) { @@ -5561,7 +6675,9 @@ public Builder removeTopNValues(int index) { return this; } /** - *
+           *
+           *
+           * 
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
            * distinct values in the field, whichever is smaller. Not available for
@@ -5569,13 +6685,18 @@ public Builder removeTopNValues(int index) {
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder getTopNValuesBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + getTopNValuesBuilder(int index) { return getTopNValuesFieldBuilder().getBuilder(index); } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5584,16 +6705,22 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder + getTopNValuesOrBuilder(int index) { if (topNValuesBuilder_ == null) { - return topNValues_.get(index); } else { + return topNValues_.get(index); + } else { return topNValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5602,10 +6729,15 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public java.util.List - getTopNValuesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder> + getTopNValuesOrBuilderList() { if (topNValuesBuilder_ != null) { return topNValuesBuilder_.getMessageOrBuilderList(); } else { @@ -5613,6 +6745,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5621,13 +6755,21 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder addTopNValuesBuilder() { - return getTopNValuesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + addTopNValuesBuilder() { + return getTopNValuesFieldBuilder() + .addBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.getDefaultInstance()); } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5636,14 +6778,22 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder addTopNValuesBuilder( - int index) { - return getTopNValuesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder + addTopNValuesBuilder(int index) { + return getTopNValuesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.getDefaultInstance()); } /** + * + * *
            * The list of top N non-null values, frequency and ratio with which
            * they occur in the scanned data. N is 10 or equal to the number of
@@ -5652,18 +6802,34 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.
            * mode.
            * 
* - * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * + * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4; + * */ - public java.util.List - getTopNValuesBuilderList() { + public java.util.List< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder> + getTopNValuesBuilderList() { return getTopNValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue + .Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder> getTopNValuesFieldBuilder() { if (topNValuesBuilder_ == null) { - topNValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder>( + topNValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValue.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .TopNValueOrBuilder>( topNValues_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -5674,13 +6840,24 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder> stringProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder> + stringProfileBuilder_; /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return Whether the stringProfile field is set. */ @java.lang.Override @@ -5688,35 +6865,53 @@ public boolean hasStringProfile() { return fieldInfoCase_ == 101; } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * * @return The stringProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + getStringProfile() { if (stringProfileBuilder_ == null) { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 101) { return stringProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ - public Builder setStringProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo value) { + public Builder setStringProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + value) { if (stringProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5730,14 +6925,20 @@ public Builder setStringProfile(com.google.cloud.dataplex.v1.DataProfileResult.P return this; } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ public Builder setStringProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder + builderForValue) { if (stringProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -5748,18 +6949,33 @@ public Builder setStringProfile( return this; } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ - public Builder mergeStringProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo value) { + public Builder mergeStringProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo + value) { if (stringProfileBuilder_ == null) { - if (fieldInfoCase_ == 101 && - fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance()) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_) - .mergeFrom(value).buildPartial(); + if (fieldInfoCase_ == 101 + && fieldInfo_ + != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance()) { + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.StringFieldInfo) + fieldInfo_) + .mergeFrom(value) + .buildPartial(); } else { fieldInfo_ = value; } @@ -5775,11 +6991,15 @@ public Builder mergeStringProfile(com.google.cloud.dataplex.v1.DataProfileResult return this; } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ public Builder clearStringProfile() { if (stringProfileBuilder_ == null) { @@ -5798,50 +7018,84 @@ public Builder clearStringProfile() { return this; } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder getStringProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder + getStringProfileBuilder() { return getStringProfileFieldBuilder().getBuilder(); } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder + getStringProfileOrBuilder() { if ((fieldInfoCase_ == 101) && (stringProfileBuilder_ != null)) { return stringProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } } /** + * + * *
            * String type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder> getStringProfileFieldBuilder() { if (stringProfileBuilder_ == null) { if (!(fieldInfoCase_ == 101)) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.getDefaultInstance(); + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.getDefaultInstance(); } - stringProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo) fieldInfo_, + stringProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .StringFieldInfo) + fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -5852,13 +7106,24 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder> integerProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder> + integerProfileBuilder_; /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return Whether the integerProfile field is set. */ @java.lang.Override @@ -5866,35 +7131,53 @@ public boolean hasIntegerProfile() { return fieldInfoCase_ == 102; } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * * @return The integerProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + getIntegerProfile() { if (integerProfileBuilder_ == null) { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 102) { return integerProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ - public Builder setIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo value) { + public Builder setIntegerProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + value) { if (integerProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5908,14 +7191,20 @@ public Builder setIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResult. return this; } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ public Builder setIntegerProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder + builderForValue) { if (integerProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -5926,18 +7215,33 @@ public Builder setIntegerProfile( return this; } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ - public Builder mergeIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo value) { + public Builder mergeIntegerProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo + value) { if (integerProfileBuilder_ == null) { - if (fieldInfoCase_ == 102 && - fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance()) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_) - .mergeFrom(value).buildPartial(); + if (fieldInfoCase_ == 102 + && fieldInfo_ + != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance()) { + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.IntegerFieldInfo) + fieldInfo_) + .mergeFrom(value) + .buildPartial(); } else { fieldInfo_ = value; } @@ -5953,11 +7257,15 @@ public Builder mergeIntegerProfile(com.google.cloud.dataplex.v1.DataProfileResul return this; } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ public Builder clearIntegerProfile() { if (integerProfileBuilder_ == null) { @@ -5976,50 +7284,84 @@ public Builder clearIntegerProfile() { return this; } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder getIntegerProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder + getIntegerProfileBuilder() { return getIntegerProfileFieldBuilder().getBuilder(); } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder + getIntegerProfileOrBuilder() { if ((fieldInfoCase_ == 102) && (integerProfileBuilder_ != null)) { return integerProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } } /** + * + * *
            * Integer type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder> getIntegerProfileFieldBuilder() { if (integerProfileBuilder_ == null) { if (!(fieldInfoCase_ == 102)) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.getDefaultInstance(); + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.getDefaultInstance(); } - integerProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo) fieldInfo_, + integerProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .IntegerFieldInfo) + fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -6030,13 +7372,24 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder> doubleProfileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder> + doubleProfileBuilder_; /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return Whether the doubleProfile field is set. */ @java.lang.Override @@ -6044,35 +7397,53 @@ public boolean hasDoubleProfile() { return fieldInfoCase_ == 103; } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * * @return The doubleProfile. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + getDoubleProfile() { if (doubleProfileBuilder_ == null) { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } else { if (fieldInfoCase_ == 103) { return doubleProfileBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ - public Builder setDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo value) { + public Builder setDoubleProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + value) { if (doubleProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6086,14 +7457,20 @@ public Builder setDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult.P return this; } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ public Builder setDoubleProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder + builderForValue) { if (doubleProfileBuilder_ == null) { fieldInfo_ = builderForValue.build(); onChanged(); @@ -6104,18 +7481,33 @@ public Builder setDoubleProfile( return this; } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ - public Builder mergeDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo value) { + public Builder mergeDoubleProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo + value) { if (doubleProfileBuilder_ == null) { - if (fieldInfoCase_ == 103 && - fieldInfo_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance()) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_) - .mergeFrom(value).buildPartial(); + if (fieldInfoCase_ == 103 + && fieldInfo_ + != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance()) { + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo.DoubleFieldInfo) + fieldInfo_) + .mergeFrom(value) + .buildPartial(); } else { fieldInfo_ = value; } @@ -6131,11 +7523,15 @@ public Builder mergeDoubleProfile(com.google.cloud.dataplex.v1.DataProfileResult return this; } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ public Builder clearDoubleProfile() { if (doubleProfileBuilder_ == null) { @@ -6154,50 +7550,84 @@ public Builder clearDoubleProfile() { return this; } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder getDoubleProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder + getDoubleProfileBuilder() { return getDoubleProfileFieldBuilder().getBuilder(); } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder + getDoubleProfileOrBuilder() { if ((fieldInfoCase_ == 103) && (doubleProfileBuilder_ != null)) { return doubleProfileBuilder_.getMessageOrBuilder(); } else { if (fieldInfoCase_ == 103) { - return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_; + return (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_; } - return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } } /** + * + * *
            * Double type field information.
            * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder> getDoubleProfileFieldBuilder() { if (doubleProfileBuilder_ == null) { if (!(fieldInfoCase_ == 103)) { - fieldInfo_ = com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.getDefaultInstance(); + fieldInfo_ = + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.getDefaultInstance(); } - doubleProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder>( - (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo) fieldInfo_, + doubleProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfoOrBuilder>( + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .DoubleFieldInfo) + fieldInfo_, getParentForChildren(), isClean()); fieldInfo_ = null; @@ -6206,6 +7636,7 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo. onChanged(); return doubleProfileBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6218,41 +7649,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProfileInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProfileInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6264,21 +7700,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
        * The name of the field.
        * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -6287,29 +7727,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 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 { @@ -6318,9 +7758,12 @@ public java.lang.String getName() { } public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -6330,6 +7773,7 @@ public java.lang.String getName() {
        * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -6338,14 +7782,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
        * The data type retrieved from the schema of the data source. For
        * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -6355,16 +7800,15 @@ public java.lang.String getType() {
        * 
* * string type = 2; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -6373,9 +7817,12 @@ public java.lang.String getType() { } public static final int MODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** + * + * *
        * The mode of the field. Possible values include:
        *
@@ -6385,6 +7832,7 @@ public java.lang.String getType() {
        * 
* * string mode = 3; + * * @return The mode. */ @java.lang.Override @@ -6393,14 +7841,15 @@ public java.lang.String getMode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; } } /** + * + * *
        * The mode of the field. Possible values include:
        *
@@ -6410,16 +7859,15 @@ public java.lang.String getMode() {
        * 
* * string mode = 3; + * * @return The bytes for mode. */ @java.lang.Override - public com.google.protobuf.ByteString - getModeBytes() { + public com.google.protobuf.ByteString getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mode_ = b; return b; } else { @@ -6430,11 +7878,15 @@ public java.lang.String getMode() { public static final int PROFILE_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile_; /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return Whether the profile field is set. */ @java.lang.Override @@ -6442,30 +7894,45 @@ public boolean hasProfile() { return profile_ != null; } /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return The profile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile() { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance() + : profile_; } /** + * + * *
        * Profile information for the corresponding field.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder() { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder + getProfileOrBuilder() { + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance() + : profile_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6477,8 +7944,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6510,8 +7976,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mode_); } if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProfile()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProfile()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6521,23 +7986,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getMode() - .equals(other.getMode())) return false; + if (!getName().equals(other.getName())) return false; + if (!getType().equals(other.getType())) return false; + if (!getMode().equals(other.getMode())) return false; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile() - .equals(other.getProfile())) return false; + if (!getProfile().equals(other.getProfile())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6566,89 +8028,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6658,39 +8125,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A field within a table.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile.Field} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6707,13 +8176,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_Field_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance(); } @@ -6728,13 +8198,17 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -6746,9 +8220,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil result.mode_ = mode_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.profile_ = profileBuilder_ == null - ? profile_ - : profileBuilder_.build(); + result.profile_ = profileBuilder_ == null ? profile_ : profileBuilder_.build(); } } @@ -6756,46 +8228,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -6840,34 +8318,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - mode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getProfileFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getProfileFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6877,22 +8358,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
          * The name of 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; @@ -6901,20 +8385,21 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of 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 { @@ -6922,28 +8407,35 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of the field.
          * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * The name of the field.
          * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -6953,17 +8445,21 @@ public Builder clearName() { return this; } /** + * + * *
          * The name of 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6973,6 +8469,8 @@ public Builder setNameBytes( private java.lang.Object type_ = ""; /** + * + * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -6982,13 +8480,13 @@ public Builder setNameBytes(
          * 
* * string type = 2; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -6997,6 +8495,8 @@ public java.lang.String getType() { } } /** + * + * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7006,15 +8506,14 @@ public java.lang.String getType() {
          * 
* * string type = 2; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -7022,6 +8521,8 @@ public java.lang.String getType() { } } /** + * + * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7031,18 +8532,22 @@ public java.lang.String getType() {
          * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7052,6 +8557,7 @@ public Builder setType(
          * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -7061,6 +8567,8 @@ public Builder clearType() { return this; } /** + * + * *
          * The data type retrieved from the schema of the data source. For
          * instance, for a BigQuery native table, it is the [BigQuery Table
@@ -7070,12 +8578,14 @@ public Builder clearType() {
          * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -7085,6 +8595,8 @@ public Builder setTypeBytes( private java.lang.Object mode_ = ""; /** + * + * *
          * The mode of the field. Possible values include:
          *
@@ -7094,13 +8606,13 @@ public Builder setTypeBytes(
          * 
* * string mode = 3; + * * @return The mode. */ public java.lang.String getMode() { java.lang.Object ref = mode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; @@ -7109,6 +8621,8 @@ public java.lang.String getMode() { } } /** + * + * *
          * The mode of the field. Possible values include:
          *
@@ -7118,15 +8632,14 @@ public java.lang.String getMode() {
          * 
* * string mode = 3; + * * @return The bytes for mode. */ - public com.google.protobuf.ByteString - getModeBytes() { + public com.google.protobuf.ByteString getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mode_ = b; return b; } else { @@ -7134,6 +8647,8 @@ public java.lang.String getMode() { } } /** + * + * *
          * The mode of the field. Possible values include:
          *
@@ -7143,18 +8658,22 @@ public java.lang.String getMode() {
          * 
* * string mode = 3; + * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } mode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * The mode of the field. Possible values include:
          *
@@ -7164,6 +8683,7 @@ public Builder setMode(
          * 
* * string mode = 3; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -7173,6 +8693,8 @@ public Builder clearMode() { return this; } /** + * + * *
          * The mode of the field. Possible values include:
          *
@@ -7182,12 +8704,14 @@ public Builder clearMode() {
          * 
* * string mode = 3; + * * @param value The bytes for mode to set. * @return This builder for chaining. */ - public Builder setModeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setModeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); mode_ = value; bitField0_ |= 0x00000004; @@ -7197,41 +8721,60 @@ public Builder setModeBytes( private com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> profileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> + profileBuilder_; /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return Whether the profile field is set. */ public boolean hasProfile() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * + * * @return The profile. */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo getProfile() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + getProfile() { if (profileBuilder_ == null) { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance() + : profile_; } else { return profileBuilder_.getMessage(); } } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ - public Builder setProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { + public Builder setProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { if (profileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7245,14 +8788,18 @@ public Builder setProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile return this; } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ public Builder setProfile( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder + builderForValue) { if (profileBuilder_ == null) { profile_ = builderForValue.build(); } else { @@ -7263,17 +8810,23 @@ public Builder setProfile( return this; } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ - public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { + public Builder mergeProfile( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo value) { if (profileBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - profile_ != null && - profile_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && profile_ != null + && profile_ + != com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance()) { getProfileBuilder().mergeFrom(value); } else { profile_ = value; @@ -7286,11 +8839,14 @@ public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profi return this; } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ public Builder clearProfile() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7303,52 +8859,70 @@ public Builder clearProfile() { return this; } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder getProfileBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder + getProfileBuilder() { bitField0_ |= 0x00000008; onChanged(); return getProfileFieldBuilder().getBuilder(); } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder + getProfileOrBuilder() { if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { - return profile_ == null ? - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .getDefaultInstance() + : profile_; } } /** + * + * *
          * Profile information for the corresponding field.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { - profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoOrBuilder>( - getProfile(), - getParentForChildren(), - isClean()); + profileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo + .Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + .ProfileInfoOrBuilder>(getProfile(), getParentForChildren(), isClean()); profile_ = null; } return profileBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7361,41 +8935,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile.Field) - private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Field parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Field parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7407,16 +8984,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int FIELDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -7424,10 +9004,13 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getDefaultIn * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ @java.lang.Override - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { return fields_; } /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -7435,11 +9018,14 @@ public java.util.Listrepeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> getFieldsOrBuilderList() { return fields_; } /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -7451,6 +9037,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -7462,6 +9050,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(in return fields_.get(index); } /** + * + * *
      * List of fields with structural and profile information for each field.
      * 
@@ -7475,6 +9065,7 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder get } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7486,8 +9077,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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(2, fields_.get(i)); } @@ -7501,8 +9091,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7512,15 +9101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.Profile other = (com.google.cloud.dataplex.v1.DataProfileResult.Profile) obj; + com.google.cloud.dataplex.v1.DataProfileResult.Profile other = + (com.google.cloud.dataplex.v1.DataProfileResult.Profile) obj; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7542,89 +9131,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.Profile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.Profile prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7634,39 +9228,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains name, type, mode and field type specific profile information.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.Profile} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.Profile) com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.Profile.class, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileResult.Profile.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7682,9 +9278,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_Profile_descriptor; } @java.lang.Override @@ -7703,14 +9299,18 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.Profile result = new com.google.cloud.dataplex.v1.DataProfileResult.Profile(this); + com.google.cloud.dataplex.v1.DataProfileResult.Profile result = + new com.google.cloud.dataplex.v1.DataProfileResult.Profile(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.DataProfileResult.Profile result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -7730,38 +9330,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.Profil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.Profile) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.Profile) other); } else { super.mergeFrom(other); return this; @@ -7769,7 +9372,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) + return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -7788,9 +9392,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.Profile 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_); } @@ -7822,25 +9427,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field m = - input.readMessage( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field m = + input.readMessage( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7850,28 +9457,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> fieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> + fieldsBuilder_; /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -7879,6 +9496,8 @@ public java.util.List * List of fields with structural and profile information for each field. *
@@ -7893,6 +9512,8 @@ public int getFieldsCount() { } } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -7907,6 +9528,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(in } } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -7928,6 +9551,8 @@ public Builder setFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -7935,7 +9560,8 @@ public Builder setFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder setFields( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -7946,6 +9572,8 @@ public Builder setFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -7966,6 +9594,8 @@ public Builder addFields(com.google.cloud.dataplex.v1.DataProfileResult.Profile. return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -7987,6 +9617,8 @@ public Builder addFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8005,6 +9637,8 @@ public Builder addFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8012,7 +9646,8 @@ public Builder addFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder addFields( - int index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { + int index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -8023,6 +9658,8 @@ public Builder addFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8030,11 +9667,11 @@ public Builder addFields( * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ public Builder addAllFields( - java.lang.Iterable values) { + 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); @@ -8042,6 +9679,8 @@ public Builder addAllFields( return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8059,6 +9698,8 @@ public Builder clearFields() { return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8076,6 +9717,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8087,28 +9730,34 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder getF return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder + getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -8116,17 +9765,23 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder get } } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder + addFieldsBuilder() { + return getFieldsFieldBuilder() + .addBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
@@ -8135,34 +9790,42 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder addF */ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.getDefaultInstance()); } /** + * + * *
        * List of fields with structural and profile information for each field.
        * 
* * repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field fields = 2; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8175,12 +9838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.Profile) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.Profile) private static final com.google.cloud.dataplex.v1.DataProfileResult.Profile DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.Profile(); } @@ -8189,27 +9852,28 @@ public static com.google.cloud.dataplex.v1.DataProfileResult.Profile getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Profile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Profile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8224,138 +9888,180 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileResult.Profile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PostScanActionsResultOrBuilder extends + public interface PostScanActionsResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult(); /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder(); } /** + * + * *
    * The result of post scan actions of DataProfileScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult} */ - public static final class PostScanActionsResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostScanActionsResult() { - } + + private PostScanActionsResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder extends + public interface BigQueryExportResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + .State + getState(); /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); } /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -8363,34 +10069,41 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder.class); } /** + * + * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code + * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The exporting state is unspecified.
          * 
@@ -8399,7 +10112,9 @@ public enum State */ STATE_UNSPECIFIED(0), /** - *
+         *
+         *
+         * 
          * The exporting completed successfully.
          * 
* @@ -8407,6 +10122,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -8415,6 +10132,8 @@ public enum State */ FAILED(2), /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -8427,6 +10146,8 @@ public enum State
         ;
 
         /**
+         *
+         *
          * 
          * The exporting state is unspecified.
          * 
@@ -8435,6 +10156,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * The exporting completed successfully.
          * 
@@ -8443,6 +10166,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -8451,6 +10176,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -8460,7 +10187,6 @@ public enum State
          */
         public static final int SKIPPED_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -8485,50 +10211,55 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0: return STATE_UNSPECIFIED;
-            case 1: return SUCCEEDED;
-            case 2: return FAILED;
-            case 3: return SKIPPED;
-            default: return null;
+            case 0:
+              return STATE_UNSPECIFIED;
+            case 1:
+              return SUCCEEDED;
+            case 2:
+              return FAILED;
+            case 3:
+              return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult
+              .BigQueryExportResult.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.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -8548,38 +10279,63 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
+       *
+       *
        * 
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State + getState() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + .State + result = + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -8588,29 +10344,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -8619,6 +10375,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8630,9 +10387,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -8647,9 +10406,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -8662,16 +10423,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) obj; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + other = + (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult) + obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8692,90 +10459,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8785,39 +10578,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8828,19 +10628,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult build() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result = buildPartial(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + build() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8848,14 +10654,24 @@ public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQ } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + result = + new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -8869,46 +10685,60 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostSc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -8943,22 +10773,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8968,26 +10801,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8998,28 +10843,50 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State + getState() { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + .State + result = + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State.UNRECOGNIZED + : result; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State value) { + public Builder setState( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.State + value) { if (value == null) { throw new NullPointerException(); } @@ -9029,11 +10896,16 @@ public Builder setState(com.google.cloud.dataplex.v1.DataProfileResult.PostScanA return this; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -9045,18 +10917,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -9065,20 +10939,21 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -9086,28 +10961,35 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -9117,23 +10999,28 @@ public Builder clearMessage() { return this; } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9146,41 +11033,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9192,20 +11086,28 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + bigqueryExportResult_; /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -9213,30 +11115,49 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9248,8 +11169,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -9263,8 +11183,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryExportResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9274,17 +11194,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other = + (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult() - .equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -9307,89 +11227,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9399,39 +11325,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The result of post scan actions of DataProfileScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -9445,19 +11374,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileResult_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult build() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = buildPartial(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9466,18 +11398,23 @@ public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult buil @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result = + new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = + bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -9485,46 +11422,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult.PostSc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other) { - if (other == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -9548,25 +11492,26 @@ public Builder mergeFrom( } try { boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } // default: + case 10: + { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9576,45 +11521,75 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder> + bigqueryExportResultBuilder_; /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult + getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult value) { + public Builder setBigqueryExportResult( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9628,14 +11603,20 @@ public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfileR return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + .Builder + builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -9646,17 +11627,25 @@ public Builder setBigqueryExportResult( return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult value) { + public Builder mergeBigqueryExportResult( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryExportResult_ != null && - bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryExportResult_ != null + && bigqueryExportResult_ + != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -9669,11 +11658,15 @@ public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataProfil return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -9686,52 +11679,80 @@ public Builder clearBigqueryExportResult() { return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder + getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null ? - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), - getParentForChildren(), - isClean()); + bigqueryExportResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), getParentForChildren(), isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9744,41 +11765,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9790,20 +11814,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ROW_COUNT_FIELD_NUMBER = 3; private long rowCount_ = 0L; /** + * + * *
    * The count of rows scanned.
    * 
* * int64 row_count = 3; + * * @return The rowCount. */ @java.lang.Override @@ -9814,11 +11841,14 @@ public long getRowCount() { public static final int PROFILE_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileResult.Profile profile_; /** + * + * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return Whether the profile field is set. */ @java.lang.Override @@ -9826,18 +11856,25 @@ public boolean hasProfile() { return profile_ != null; } /** + * + * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return The profile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() + : profile_; } /** + * + * *
    * The profile information per field.
    * 
@@ -9846,17 +11883,22 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfileOrBuilder() { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() + : profile_; } public static final int SCANNED_DATA_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.ScannedData scannedData_; /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return Whether the scannedData field is set. */ @java.lang.Override @@ -9864,18 +11906,25 @@ public boolean hasScannedData() { return scannedData_ != null; } /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return The scannedData. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData getScannedData() { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } /** + * + * *
    * The data scanned for this result.
    * 
@@ -9884,17 +11933,25 @@ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 6; - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + postScanActionsResult_; /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -9902,30 +11959,46 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + getPostScanActionsResult() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9937,8 +12010,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(3, rowCount_); } @@ -9961,20 +12033,17 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowCount_); } if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProfile()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProfile()); } if (scannedData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getScannedData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScannedData()); } if (postScanActionsResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getPostScanActionsResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPostScanActionsResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9984,29 +12053,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileResult other = (com.google.cloud.dataplex.v1.DataProfileResult) obj; + com.google.cloud.dataplex.v1.DataProfileResult other = + (com.google.cloud.dataplex.v1.DataProfileResult) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile() - .equals(other.getProfile())) return false; + if (!getProfile().equals(other.getProfile())) return false; } if (hasScannedData() != other.hasScannedData()) return false; if (hasScannedData()) { - if (!getScannedData() - .equals(other.getScannedData())) return false; + if (!getScannedData().equals(other.getScannedData())) return false; } if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult() - .equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -10020,8 +12086,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); 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()); if (hasProfile()) { hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); @@ -10039,99 +12104,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataProfileResult defines the output of DataProfileScan. Each field of the
    * table will have field type specific profile result.
@@ -10139,33 +12209,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataProfileResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileResult)
       com.google.cloud.dataplex.v1.DataProfileResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataProfileProto
+          .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataProfileProto
+          .internal_static_google_cloud_dataplex_v1_DataProfileResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataProfileResult.class, com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataProfileResult.class,
+              com.google.cloud.dataplex.v1.DataProfileResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataProfileResult.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -10190,9 +12259,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataProfileProto
+          .internal_static_google_cloud_dataplex_v1_DataProfileResult_descriptor;
     }
 
     @java.lang.Override
@@ -10211,8 +12280,11 @@ public com.google.cloud.dataplex.v1.DataProfileResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataProfileResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataProfileResult result = new com.google.cloud.dataplex.v1.DataProfileResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataProfileResult result =
+          new com.google.cloud.dataplex.v1.DataProfileResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -10223,19 +12295,17 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult result
         result.rowCount_ = rowCount_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.profile_ = profileBuilder_ == null
-            ? profile_
-            : profileBuilder_.build();
+        result.profile_ = profileBuilder_ == null ? profile_ : profileBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.scannedData_ = scannedDataBuilder_ == null
-            ? scannedData_
-            : scannedDataBuilder_.build();
+        result.scannedData_ =
+            scannedDataBuilder_ == null ? scannedData_ : scannedDataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.postScanActionsResult_ = postScanActionsResultBuilder_ == null
-            ? postScanActionsResult_
-            : postScanActionsResultBuilder_.build();
+        result.postScanActionsResult_ =
+            postScanActionsResultBuilder_ == null
+                ? postScanActionsResult_
+                : postScanActionsResultBuilder_.build();
       }
     }
 
@@ -10243,38 +12313,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileResult result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataProfileResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataProfileResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -10321,38 +12392,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 24: {
-              rowCount_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getProfileFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getScannedDataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getPostScanActionsResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 24:
+              {
+                rowCount_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getProfileFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getScannedDataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10362,15 +12433,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long rowCount_ ;
+    private long rowCount_;
     /**
+     *
+     *
      * 
      * The count of rows scanned.
      * 
* * int64 row_count = 3; + * * @return The rowCount. */ @java.lang.Override @@ -10378,11 +12453,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * The count of rows scanned.
      * 
* * int64 row_count = 3; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -10394,11 +12472,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * The count of rows scanned.
      * 
* * int64 row_count = 3; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -10410,34 +12491,47 @@ public Builder clearRowCount() { private com.google.cloud.dataplex.v1.DataProfileResult.Profile profile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> profileBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.Profile, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> + profileBuilder_; /** + * + * *
      * The profile information per field.
      * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return Whether the profile field is set. */ public boolean hasProfile() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The profile information per field.
      * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return The profile. */ public com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile() { if (profileBuilder_ == null) { - return profile_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() + : profile_; } else { return profileBuilder_.getMessage(); } } /** + * + * *
      * The profile information per field.
      * 
@@ -10458,6 +12552,8 @@ public Builder setProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile return this; } /** + * + * *
      * The profile information per field.
      * 
@@ -10476,6 +12572,8 @@ public Builder setProfile( return this; } /** + * + * *
      * The profile information per field.
      * 
@@ -10484,9 +12582,10 @@ public Builder setProfile( */ public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profile value) { if (profileBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - profile_ != null && - profile_ != com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && profile_ != null + && profile_ + != com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance()) { getProfileBuilder().mergeFrom(value); } else { profile_ = value; @@ -10499,6 +12598,8 @@ public Builder mergeProfile(com.google.cloud.dataplex.v1.DataProfileResult.Profi return this; } /** + * + * *
      * The profile information per field.
      * 
@@ -10516,6 +12617,8 @@ public Builder clearProfile() { return this; } /** + * + * *
      * The profile information per field.
      * 
@@ -10528,6 +12631,8 @@ public com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder getProfile return getProfileFieldBuilder().getBuilder(); } /** + * + * *
      * The profile information per field.
      * 
@@ -10538,11 +12643,14 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { - return profile_ == null ? - com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.Profile.getDefaultInstance() + : profile_; } } /** + * + * *
      * The profile information per field.
      * 
@@ -10550,14 +12658,17 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.Profile, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { - profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.Profile, com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder>( - getProfile(), - getParentForChildren(), - isClean()); + profileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.Profile, + com.google.cloud.dataplex.v1.DataProfileResult.Profile.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder>( + getProfile(), getParentForChildren(), isClean()); profile_ = null; } return profileBuilder_; @@ -10565,34 +12676,47 @@ public com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfil private com.google.cloud.dataplex.v1.ScannedData scannedData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> scannedDataBuilder_; + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + scannedDataBuilder_; /** + * + * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return Whether the scannedData field is set. */ public boolean hasScannedData() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return The scannedData. */ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { if (scannedDataBuilder_ == null) { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } else { return scannedDataBuilder_.getMessage(); } } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10613,6 +12737,8 @@ public Builder setScannedData(com.google.cloud.dataplex.v1.ScannedData value) { return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10631,6 +12757,8 @@ public Builder setScannedData( return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10639,9 +12767,9 @@ public Builder setScannedData( */ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - scannedData_ != null && - scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && scannedData_ != null + && scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { getScannedDataBuilder().mergeFrom(value); } else { scannedData_ = value; @@ -10654,6 +12782,8 @@ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10671,6 +12801,8 @@ public Builder clearScannedData() { return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10683,6 +12815,8 @@ public com.google.cloud.dataplex.v1.ScannedData.Builder getScannedDataBuilder() return getScannedDataFieldBuilder().getBuilder(); } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10693,11 +12827,14 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder if (scannedDataBuilder_ != null) { return scannedDataBuilder_.getMessageOrBuilder(); } else { - return scannedData_ == null ? - com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } } /** + * + * *
      * The data scanned for this result.
      * 
@@ -10705,56 +12842,82 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder> getScannedDataFieldBuilder() { if (scannedDataBuilder_ == null) { - scannedDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( - getScannedData(), - getParentForChildren(), - isClean()); + scannedDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( + getScannedData(), getParentForChildren(), isClean()); scannedData_ = null; } return scannedDataBuilder_; } - private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> + postScanActionsResultBuilder_; /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .getDefaultInstance() + : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { + public Builder setPostScanActionsResult( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10768,14 +12931,19 @@ public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataProfile return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder + builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { @@ -10786,17 +12954,24 @@ public Builder setPostScanActionsResult( return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { + public Builder mergePostScanActionsResult( + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - postScanActionsResult_ != null && - postScanActionsResult_ != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && postScanActionsResult_ != null + && postScanActionsResult_ + != com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -10809,11 +12984,15 @@ public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataProfi return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00000008); @@ -10826,55 +13005,74 @@ public Builder clearPostScanActionsResult() { return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder + getPostScanActionsResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null ? - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult + .getDefaultInstance() + : postScanActionsResult_; } } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), - getParentForChildren(), - isClean()); + postScanActionsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), getParentForChildren(), isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10884,12 +13082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileResult) private static final com.google.cloud.dataplex.v1.DataProfileResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileResult(); } @@ -10898,27 +13096,27 @@ public static com.google.cloud.dataplex.v1.DataProfileResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10933,6 +13131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java index 2d98ab2d2114..9c446bc41705 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileResultOrBuilder.java @@ -1,41 +1,68 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; -public interface DataProfileResultOrBuilder extends +public interface DataProfileResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The count of rows scanned.
    * 
* * int64 row_count = 3; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return Whether the profile field is set. */ boolean hasProfile(); /** + * + * *
    * The profile information per field.
    * 
* * .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4; + * * @return The profile. */ com.google.cloud.dataplex.v1.DataProfileResult.Profile getProfile(); /** + * + * *
    * The profile information per field.
    * 
@@ -45,24 +72,32 @@ public interface DataProfileResultOrBuilder extends com.google.cloud.dataplex.v1.DataProfileResult.ProfileOrBuilder getProfileOrBuilder(); /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return Whether the scannedData field is set. */ boolean hasScannedData(); /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 5; + * * @return The scannedData. */ com.google.cloud.dataplex.v1.ScannedData getScannedData(); /** + * + * *
    * The data scanned for this result.
    * 
@@ -72,29 +107,44 @@ public interface DataProfileResultOrBuilder extends com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult getPostScanActionsResult(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java index 09c461581a48..da4c3ebe9fe9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpec.java @@ -1,126 +1,167 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataProfileScan related setting.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec} */ -public final class DataProfileSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataProfileSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec) DataProfileSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileSpec.newBuilder() to construct. private DataProfileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataProfileSpec() { rowFilter_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.class, com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.class, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); } - public interface PostScanActionsOrBuilder extends + public interface PostScanActionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ boolean hasBigqueryExport(); /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport(); /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder(); } /** + * + * *
    * The configuration of post scan actions of DataProfileScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions} */ - public static final class PostScanActions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PostScanActions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) PostScanActionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActions.newBuilder() to construct. private PostScanActions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostScanActions() { - } + + private PostScanActions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); } - public interface BigQueryExportOrBuilder extends + public interface BigQueryExportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -128,10 +169,13 @@ public interface BigQueryExportOrBuilder extends
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ java.lang.String getResultsTable(); /** + * + * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -139,55 +183,63 @@ public interface BigQueryExportOrBuilder extends
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ - com.google.protobuf.ByteString - getResultsTableBytes(); + com.google.protobuf.ByteString getResultsTableBytes(); } /** + * + * *
      * The configuration of BigQuery export post scan action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} */ - public static final class BigQueryExport extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) BigQueryExportOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExport.newBuilder() to construct. private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryExport() { resultsTable_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExport(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder + .class); } public static final int RESULTS_TABLE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resultsTable_ = ""; /** + * + * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -195,6 +247,7 @@ protected java.lang.Object newInstance(
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ @java.lang.Override @@ -203,14 +256,15 @@ public java.lang.String getResultsTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; } } /** + * + * *
        * Optional. The BigQuery table to export DataProfileScan results to.
        * Format:
@@ -218,16 +272,15 @@ public java.lang.String getResultsTable() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ @java.lang.Override - public com.google.protobuf.ByteString - getResultsTableBytes() { + public com.google.protobuf.ByteString getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -236,6 +289,7 @@ public java.lang.String getResultsTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultsTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resultsTable_); } @@ -272,15 +325,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other = (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other = + (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) obj; - if (!getResultsTable() - .equals(other.getResultsTable())) return false; + if (!getResultsTable().equals(other.getResultsTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,90 +354,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -392,39 +460,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The configuration of BigQuery export post scan action.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,19 +507,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport build() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = buildPartial(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -454,14 +530,19 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExpo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + buildPartial() { + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result = + new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultsTable_ = resultsTable_; @@ -472,46 +553,56 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScan public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other) { - if (other == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other) { + if (other + == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance()) return this; if (!other.getResultsTable().isEmpty()) { resultsTable_ = other.resultsTable_; bitField0_ |= 0x00000001; @@ -543,17 +634,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resultsTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resultsTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -563,10 +656,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resultsTable_ = ""; /** + * + * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -574,13 +670,13 @@ public Builder mergeFrom(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ public java.lang.String getResultsTable() { java.lang.Object ref = resultsTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; @@ -589,6 +685,8 @@ public java.lang.String getResultsTable() { } } /** + * + * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -596,15 +694,14 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ - public com.google.protobuf.ByteString - getResultsTableBytes() { + public com.google.protobuf.ByteString getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -612,6 +709,8 @@ public java.lang.String getResultsTable() { } } /** + * + * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -619,18 +718,22 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultsTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -638,6 +741,7 @@ public Builder setResultsTable(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearResultsTable() { @@ -647,6 +751,8 @@ public Builder clearResultsTable() { return this; } /** + * + * *
          * Optional. The BigQuery table to export DataProfileScan results to.
          * Format:
@@ -654,18 +760,21 @@ public Builder clearResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultsTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -678,41 +787,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + .BigQueryExport + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -724,21 +838,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_EXPORT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigqueryExport_; + private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + bigqueryExport_; /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ @java.lang.Override @@ -746,32 +866,50 @@ public boolean hasBigqueryExport() { return bigqueryExport_ != null; } /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport() { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + getBigqueryExport() { + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder() { + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -783,8 +921,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryExport_ != null) { output.writeMessage(1, getBigqueryExport()); } @@ -798,8 +935,7 @@ public int getSerializedSize() { size = 0; if (bigqueryExport_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryExport()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExport()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -809,17 +945,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other = (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other = + (com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) obj; if (hasBigqueryExport() != other.hasBigqueryExport()) return false; if (hasBigqueryExport()) { - if (!getBigqueryExport() - .equals(other.getBigqueryExport())) return false; + if (!getBigqueryExport().equals(other.getBigqueryExport())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -842,89 +978,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -934,39 +1075,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The configuration of post scan actions of DataProfileScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -980,13 +1123,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance(); } @@ -1001,18 +1145,21 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result = + new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExport_ = bigqueryExportBuilder_ == null - ? bigqueryExport_ - : bigqueryExportBuilder_.build(); + result.bigqueryExport_ = + bigqueryExportBuilder_ == null ? bigqueryExport_ : bigqueryExportBuilder_.build(); } } @@ -1020,38 +1167,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.PostScan public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) other); } else { super.mergeFrom(other); return this; @@ -1059,7 +1209,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions other) { - if (other == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) + return this; if (other.hasBigqueryExport()) { mergeBigqueryExport(other.getBigqueryExport()); } @@ -1089,19 +1241,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryExportFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getBigqueryExportFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1111,48 +1264,72 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigqueryExport_; + private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + bigqueryExport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> bigqueryExportBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> + bigqueryExportBuilder_; /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ public boolean hasBigqueryExport() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport getBigqueryExport() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + getBigqueryExport() { if (bigqueryExportBuilder_ == null) { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } else { return bigqueryExportBuilder_.getMessage(); } } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { + public Builder setBigqueryExport( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1166,15 +1343,20 @@ public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec.Po return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder + builderForValue) { if (bigqueryExportBuilder_ == null) { bigqueryExport_ = builderForValue.build(); } else { @@ -1185,18 +1367,25 @@ public Builder setBigqueryExport( return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { + public Builder mergeBigqueryExport( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryExport_ != null && - bigqueryExport_ != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryExport_ != null + && bigqueryExport_ + != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance()) { getBigqueryExportBuilder().mergeFrom(value); } else { bigqueryExport_ = value; @@ -1209,12 +1398,16 @@ public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataProfileSpec. return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearBigqueryExport() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1227,55 +1420,77 @@ public Builder clearBigqueryExport() { return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder getBigqueryExportBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder + getBigqueryExportBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder() { if (bigqueryExportBuilder_ != null) { return bigqueryExportBuilder_.getMessageOrBuilder(); } else { - return bigqueryExport_ == null ? - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder> getBigqueryExportFieldBuilder() { if (bigqueryExportBuilder_ == null) { - bigqueryExportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder>( - getBigqueryExport(), - getParentForChildren(), - isClean()); + bigqueryExportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport + .Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + .BigQueryExportOrBuilder>( + getBigqueryExport(), getParentForChildren(), isClean()); bigqueryExport_ = null; } return bigqueryExportBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1288,41 +1503,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions(); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1334,17 +1552,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SelectedFieldsOrBuilder extends + public interface SelectedFieldsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1356,11 +1577,13 @@ public interface SelectedFieldsOrBuilder extends
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fieldNames. */ - java.util.List - getFieldNamesList(); + java.util.List getFieldNamesList(); /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1372,10 +1595,13 @@ public interface SelectedFieldsOrBuilder extends
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fieldNames. */ int getFieldNamesCount(); /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1387,11 +1613,14 @@ public interface SelectedFieldsOrBuilder extends
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ java.lang.String getFieldNames(int index); /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1403,58 +1632,64 @@ public interface SelectedFieldsOrBuilder extends
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - com.google.protobuf.ByteString - getFieldNamesBytes(int index); + com.google.protobuf.ByteString getFieldNamesBytes(int index); } /** + * + * *
    * The specification for fields to include or exclude in data profile scan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields} */ - public static final class SelectedFields extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SelectedFields extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) SelectedFieldsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SelectedFields.newBuilder() to construct. private SelectedFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SelectedFields() { - fieldNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SelectedFields(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); } public static final int FIELD_NAMES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1466,13 +1701,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList - getFieldNamesList() { + public com.google.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_; } /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1484,12 +1721,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1501,6 +1741,7 @@ public int getFieldNamesCount() {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -1508,6 +1749,8 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** + * + * *
      * Optional. Expected input is a list of fully qualified names of fields as
      * in the schema.
@@ -1519,15 +1762,16 @@ public java.lang.String getFieldNames(int index) {
      * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString - getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1539,8 +1783,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fieldNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i)); } @@ -1569,15 +1812,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other = (com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) obj; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other = + (com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) obj; - if (!getFieldNamesList() - .equals(other.getFieldNamesList())) return false; + if (!getFieldNamesList().equals(other.getFieldNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1599,89 +1842,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1691,56 +1939,58 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The specification for fields to include or exclude in data profile scan.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - fieldNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance(); } @@ -1755,13 +2005,17 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result = new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result = + new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { fieldNames_.makeImmutable(); @@ -1773,38 +2027,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec.Selected public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) other); } else { super.mergeFrom(other); return this; @@ -1812,7 +2069,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other) { - if (other == com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) + return this; if (!other.fieldNames_.isEmpty()) { if (fieldNames_.isEmpty()) { fieldNames_ = other.fieldNames_; @@ -1849,18 +2108,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFieldNamesIsMutable(); - fieldNames_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFieldNamesIsMutable(); + fieldNames_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1870,10 +2131,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFieldNamesIsMutable() { if (!fieldNames_.isModifiable()) { fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_); @@ -1881,6 +2144,8 @@ private void ensureFieldNamesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1892,14 +2157,16 @@ private void ensureFieldNamesIsMutable() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList - getFieldNamesList() { + public com.google.protobuf.ProtocolStringList getFieldNamesList() { fieldNames_.makeImmutable(); return fieldNames_; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1911,12 +2178,15 @@ private void ensureFieldNamesIsMutable() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1928,6 +2198,7 @@ public int getFieldNamesCount() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -1935,6 +2206,8 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1946,14 +2219,16 @@ public java.lang.String getFieldNames(int index) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString - getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1965,13 +2240,15 @@ public java.lang.String getFieldNames(int index) {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The fieldNames to set. * @return This builder for chaining. */ - public Builder setFieldNames( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFieldNamesIsMutable(); fieldNames_.set(index, value); bitField0_ |= 0x00000001; @@ -1979,6 +2256,8 @@ public Builder setFieldNames( return this; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -1990,12 +2269,14 @@ public Builder setFieldNames(
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNames( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFieldNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFieldNamesIsMutable(); fieldNames_.add(value); bitField0_ |= 0x00000001; @@ -2003,6 +2284,8 @@ public Builder addFieldNames( return this; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2014,19 +2297,20 @@ public Builder addFieldNames(
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The fieldNames to add. * @return This builder for chaining. */ - public Builder addAllFieldNames( - java.lang.Iterable values) { + public Builder addAllFieldNames(java.lang.Iterable values) { ensureFieldNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2038,16 +2322,19 @@ public Builder addAllFieldNames(
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFieldNames() { - fieldNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Optional. Expected input is a list of fully qualified names of fields as
        * in the schema.
@@ -2059,12 +2346,14 @@ public Builder clearFieldNames() {
        * 
* * repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNamesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFieldNamesIsMutable(); fieldNames_.add(value); @@ -2072,6 +2361,7 @@ public Builder addFieldNamesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2084,12 +2374,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) - private static final com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(); } @@ -2098,27 +2389,28 @@ public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SelectedFields parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelectedFields parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2133,12 +2425,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 2; private float samplingPercent_ = 0F; /** + * + * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -2150,6 +2443,7 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultIns
    * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ @java.lang.Override @@ -2158,9 +2452,12 @@ public float getSamplingPercent() { } public static final int ROW_FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object rowFilter_ = ""; /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2169,6 +2466,7 @@ public float getSamplingPercent() {
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ @java.lang.Override @@ -2177,14 +2475,15 @@ public java.lang.String getRowFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; } } /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2193,16 +2492,15 @@ public java.lang.String getRowFilter() {
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getRowFilterBytes() { + public com.google.protobuf.ByteString getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -2213,11 +2511,16 @@ public java.lang.String getRowFilter() { public static final int POST_SCAN_ACTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions postScanActions_; /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ @java.lang.Override @@ -2225,32 +2528,48 @@ public boolean hasPostScanActions() { return postScanActions_ != null; } /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions() { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() + : postScanActions_; } /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder() { + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() + : postScanActions_; } public static final int INCLUDE_FIELDS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields includeFields_; /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -2258,7 +2577,10 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder get
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the includeFields field is set. */ @java.lang.Override @@ -2266,6 +2588,8 @@ public boolean hasIncludeFields() { return includeFields_ != null; } /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -2273,14 +2597,21 @@ public boolean hasIncludeFields() {
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The includeFields. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields() { - return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; + return includeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : includeFields_; } /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -2288,16 +2619,23 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFie
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder() { - return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder + getIncludeFieldsOrBuilder() { + return includeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : includeFields_; } public static final int EXCLUDE_FIELDS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields excludeFields_; /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2305,7 +2643,10 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getI
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the excludeFields field is set. */ @java.lang.Override @@ -2313,6 +2654,8 @@ public boolean hasExcludeFields() { return excludeFields_ != null; } /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2320,14 +2663,21 @@ public boolean hasExcludeFields() {
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The excludeFields. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields() { - return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; + return excludeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : excludeFields_; } /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -2335,14 +2685,20 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFie
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder() { - return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder + getExcludeFieldsOrBuilder() { + return excludeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : excludeFields_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2354,8 +2710,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { output.writeFloat(2, samplingPercent_); } @@ -2381,23 +2736,19 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, samplingPercent_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, samplingPercent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, rowFilter_); } if (postScanActions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPostScanActions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPostScanActions()); } if (includeFields_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getIncludeFields()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIncludeFields()); } if (excludeFields_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getExcludeFields()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExcludeFields()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2407,32 +2758,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataProfileSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataProfileSpec other = (com.google.cloud.dataplex.v1.DataProfileSpec) obj; + com.google.cloud.dataplex.v1.DataProfileSpec other = + (com.google.cloud.dataplex.v1.DataProfileSpec) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits( - other.getSamplingPercent())) return false; - if (!getRowFilter() - .equals(other.getRowFilter())) return false; + != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; + if (!getRowFilter().equals(other.getRowFilter())) return false; if (hasPostScanActions() != other.hasPostScanActions()) return false; if (hasPostScanActions()) { - if (!getPostScanActions() - .equals(other.getPostScanActions())) return false; + if (!getPostScanActions().equals(other.getPostScanActions())) return false; } if (hasIncludeFields() != other.hasIncludeFields()) return false; if (hasIncludeFields()) { - if (!getIncludeFields() - .equals(other.getIncludeFields())) return false; + if (!getIncludeFields().equals(other.getIncludeFields())) return false; } if (hasExcludeFields() != other.hasExcludeFields()) return false; if (hasExcludeFields()) { - if (!getExcludeFields() - .equals(other.getExcludeFields())) return false; + if (!getExcludeFields().equals(other.getExcludeFields())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2446,8 +2793,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_FIELD_NUMBER; hash = (53 * hash) + getRowFilter().hashCode(); if (hasPostScanActions()) { @@ -2467,132 +2813,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataProfileSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataProfileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataProfileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataProfileScan related setting.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec) com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataProfileSpec.class, com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); + com.google.cloud.dataplex.v1.DataProfileSpec.class, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2618,9 +2968,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataProfileProto.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataProfileProto + .internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor; } @java.lang.Override @@ -2639,8 +2989,11 @@ public com.google.cloud.dataplex.v1.DataProfileSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec buildPartial() { - com.google.cloud.dataplex.v1.DataProfileSpec result = new com.google.cloud.dataplex.v1.DataProfileSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataProfileSpec result = + new com.google.cloud.dataplex.v1.DataProfileSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2654,19 +3007,16 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec result) result.rowFilter_ = rowFilter_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.postScanActions_ = postScanActionsBuilder_ == null - ? postScanActions_ - : postScanActionsBuilder_.build(); + result.postScanActions_ = + postScanActionsBuilder_ == null ? postScanActions_ : postScanActionsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.includeFields_ = includeFieldsBuilder_ == null - ? includeFields_ - : includeFieldsBuilder_.build(); + result.includeFields_ = + includeFieldsBuilder_ == null ? includeFields_ : includeFieldsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.excludeFields_ = excludeFieldsBuilder_ == null - ? excludeFields_ - : excludeFieldsBuilder_.build(); + result.excludeFields_ = + excludeFieldsBuilder_ == null ? excludeFields_ : excludeFieldsBuilder_.build(); } } @@ -2674,38 +3024,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataProfileSpec result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataProfileSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec) other); } else { super.mergeFrom(other); return this; @@ -2757,43 +3108,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 21: { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 21 - case 26: { - rowFilter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getPostScanActionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - input.readMessage( - getIncludeFieldsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - input.readMessage( - getExcludeFieldsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 21: + { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 21 + case 26: + { + rowFilter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage(getPostScanActionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + input.readMessage(getIncludeFieldsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage(getExcludeFieldsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2803,10 +3154,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private float samplingPercent_ ; + private float samplingPercent_; /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2818,6 +3172,7 @@ public Builder mergeFrom(
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ @java.lang.Override @@ -2825,6 +3180,8 @@ public float getSamplingPercent() { return samplingPercent_; } /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2836,6 +3193,7 @@ public float getSamplingPercent() {
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -2847,6 +3205,8 @@ public Builder setSamplingPercent(float value) { return this; } /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2858,6 +3218,7 @@ public Builder setSamplingPercent(float value) {
      * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -2869,6 +3230,8 @@ public Builder clearSamplingPercent() { private java.lang.Object rowFilter_ = ""; /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2877,13 +3240,13 @@ public Builder clearSamplingPercent() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ public java.lang.String getRowFilter() { java.lang.Object ref = rowFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; @@ -2892,6 +3255,8 @@ public java.lang.String getRowFilter() { } } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2900,15 +3265,14 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ - public com.google.protobuf.ByteString - getRowFilterBytes() { + public com.google.protobuf.ByteString getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -2916,6 +3280,8 @@ public java.lang.String getRowFilter() { } } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2924,18 +3290,22 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rowFilter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2944,6 +3314,7 @@ public Builder setRowFilter(
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRowFilter() { @@ -2953,6 +3324,8 @@ public Builder clearRowFilter() { return this; } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2961,12 +3334,14 @@ public Builder clearRowFilter() {
      * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rowFilter_ = value; bitField0_ |= 0x00000002; @@ -2976,41 +3351,61 @@ public Builder setRowFilterBytes( private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions postScanActions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> postScanActionsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> + postScanActionsBuilder_; /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ public boolean hasPostScanActions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions() { if (postScanActionsBuilder_ == null) { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() + : postScanActions_; } else { return postScanActionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { + public Builder setPostScanActions( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3024,11 +3419,15 @@ public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec.P return this; } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPostScanActions( com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder builderForValue) { @@ -3042,17 +3441,24 @@ public Builder setPostScanActions( return this; } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { + public Builder mergePostScanActions( + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - postScanActions_ != null && - postScanActions_ != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && postScanActions_ != null + && postScanActions_ + != com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions + .getDefaultInstance()) { getPostScanActionsBuilder().mergeFrom(value); } else { postScanActions_ = value; @@ -3065,11 +3471,15 @@ public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataProfileSpec return this; } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPostScanActions() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3082,48 +3492,66 @@ public Builder clearPostScanActions() { return this; } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder getPostScanActionsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder + getPostScanActionsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPostScanActionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder() { if (postScanActionsBuilder_ != null) { return postScanActionsBuilder_.getMessageOrBuilder(); } else { - return postScanActions_ == null ? - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.getDefaultInstance() + : postScanActions_; } } /** + * + * *
      * Optional. Actions to take upon job completion..
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder> getPostScanActionsFieldBuilder() { if (postScanActionsBuilder_ == null) { - postScanActionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder>( - getPostScanActions(), - getParentForChildren(), - isClean()); + postScanActionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder>( + getPostScanActions(), getParentForChildren(), isClean()); postScanActions_ = null; } return postScanActionsBuilder_; @@ -3131,8 +3559,13 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder get private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields includeFields_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> includeFieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + includeFieldsBuilder_; /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3140,13 +3573,18 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder get
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the includeFields field is set. */ public boolean hasIncludeFields() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3154,17 +3592,24 @@ public boolean hasIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The includeFields. */ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields() { if (includeFieldsBuilder_ == null) { - return includeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; + return includeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : includeFields_; } else { return includeFieldsBuilder_.getMessage(); } } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3172,9 +3617,12 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFie
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder setIncludeFields( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (includeFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3188,6 +3636,8 @@ public Builder setIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.Sel return this; } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3195,7 +3645,9 @@ public Builder setIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.Sel
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIncludeFields( com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder builderForValue) { @@ -3209,6 +3661,8 @@ public Builder setIncludeFields( return this; } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3216,13 +3670,18 @@ public Builder setIncludeFields(
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder mergeIncludeFields( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (includeFieldsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - includeFields_ != null && - includeFields_ != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && includeFields_ != null + && includeFields_ + != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields + .getDefaultInstance()) { getIncludeFieldsBuilder().mergeFrom(value); } else { includeFields_ = value; @@ -3235,6 +3694,8 @@ public Builder mergeIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.S return this; } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3242,7 +3703,9 @@ public Builder mergeIncludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.S
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIncludeFields() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3255,6 +3718,8 @@ public Builder clearIncludeFields() { return this; } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3262,14 +3727,19 @@ public Builder clearIncludeFields() {
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getIncludeFieldsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder + getIncludeFieldsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getIncludeFieldsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3277,17 +3747,23 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getIn
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder + getIncludeFieldsOrBuilder() { if (includeFieldsBuilder_ != null) { return includeFieldsBuilder_.getMessageOrBuilder(); } else { - return includeFields_ == null ? - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : includeFields_; + return includeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : includeFields_; } } /** + * + * *
      * Optional. The fields to include in data profile.
      *
@@ -3295,17 +3771,22 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getI
      * included, except for ones listed in `exclude_fields`.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> getIncludeFieldsFieldBuilder() { if (includeFieldsBuilder_ == null) { - includeFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( - getIncludeFields(), - getParentForChildren(), - isClean()); + includeFieldsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( + getIncludeFields(), getParentForChildren(), isClean()); includeFields_ = null; } return includeFieldsBuilder_; @@ -3313,8 +3794,13 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getI private com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields excludeFields_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> excludeFieldsBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + excludeFieldsBuilder_; /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3322,13 +3808,18 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getI
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the excludeFields field is set. */ public boolean hasExcludeFields() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3336,17 +3827,24 @@ public boolean hasExcludeFields() {
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The excludeFields. */ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields() { if (excludeFieldsBuilder_ == null) { - return excludeFields_ == null ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; + return excludeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : excludeFields_; } else { return excludeFieldsBuilder_.getMessage(); } } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3354,9 +3852,12 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFie
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder setExcludeFields( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (excludeFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3370,6 +3871,8 @@ public Builder setExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.Sel return this; } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3377,7 +3880,9 @@ public Builder setExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.Sel
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExcludeFields( com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder builderForValue) { @@ -3391,6 +3896,8 @@ public Builder setExcludeFields( return this; } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3398,13 +3905,18 @@ public Builder setExcludeFields(
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { + public Builder mergeExcludeFields( + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields value) { if (excludeFieldsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - excludeFields_ != null && - excludeFields_ != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && excludeFields_ != null + && excludeFields_ + != com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields + .getDefaultInstance()) { getExcludeFieldsBuilder().mergeFrom(value); } else { excludeFields_ = value; @@ -3417,6 +3929,8 @@ public Builder mergeExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.S return this; } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3424,7 +3938,9 @@ public Builder mergeExcludeFields(com.google.cloud.dataplex.v1.DataProfileSpec.S
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExcludeFields() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3437,6 +3953,8 @@ public Builder clearExcludeFields() { return this; } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3444,14 +3962,19 @@ public Builder clearExcludeFields() {
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getExcludeFieldsBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder + getExcludeFieldsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExcludeFieldsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3459,17 +3982,23 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder getEx
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder() { + public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder + getExcludeFieldsOrBuilder() { if (excludeFieldsBuilder_ != null) { return excludeFieldsBuilder_.getMessageOrBuilder(); } else { - return excludeFields_ == null ? - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() : excludeFields_; + return excludeFields_ == null + ? com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance() + : excludeFields_; } } /** + * + * *
      * Optional. The fields to exclude from data profile.
      *
@@ -3477,24 +4006,29 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getE
      * `include_fields` value.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder> getExcludeFieldsFieldBuilder() { if (excludeFieldsBuilder_ == null) { - excludeFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( - getExcludeFields(), - getParentForChildren(), - isClean()); + excludeFieldsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder, + com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder>( + getExcludeFields(), getParentForChildren(), isClean()); excludeFields_ = null; } return excludeFieldsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3504,12 +4038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataProfileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec) private static final com.google.cloud.dataplex.v1.DataProfileSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec(); } @@ -3518,27 +4052,27 @@ public static com.google.cloud.dataplex.v1.DataProfileSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3553,6 +4087,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataProfileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java index f758244acca7..7224d785b885 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileSpecOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_profile.proto package com.google.cloud.dataplex.v1; -public interface DataProfileSpecOrBuilder extends +public interface DataProfileSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -19,11 +37,14 @@ public interface DataProfileSpecOrBuilder extends
    * 
* * float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ float getSamplingPercent(); /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -32,10 +53,13 @@ public interface DataProfileSpecOrBuilder extends
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ java.lang.String getRowFilter(); /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -44,39 +68,56 @@ public interface DataProfileSpecOrBuilder extends
    * 
* * string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ - com.google.protobuf.ByteString - getRowFilterBytes(); + com.google.protobuf.ByteString getRowFilterBytes(); /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ boolean hasPostScanActions(); /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions getPostScanActions(); /** + * + * *
    * Optional. Actions to take upon job completion..
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder(); + com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder(); /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -84,11 +125,16 @@ public interface DataProfileSpecOrBuilder extends
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the includeFields field is set. */ boolean hasIncludeFields(); /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -96,11 +142,16 @@ public interface DataProfileSpecOrBuilder extends
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The includeFields. */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getIncludeFields(); /** + * + * *
    * Optional. The fields to include in data profile.
    *
@@ -108,11 +159,15 @@ public interface DataProfileSpecOrBuilder extends
    * included, except for ones listed in `exclude_fields`.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getIncludeFieldsOrBuilder(); /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -120,11 +175,16 @@ public interface DataProfileSpecOrBuilder extends
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the excludeFields field is set. */ boolean hasExcludeFields(); /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -132,11 +192,16 @@ public interface DataProfileSpecOrBuilder extends
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The excludeFields. */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getExcludeFields(); /** + * + * *
    * Optional. The fields to exclude from data profile.
    *
@@ -144,7 +209,9 @@ public interface DataProfileSpecOrBuilder extends
    * `include_fields` value.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder getExcludeFieldsOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java index 71390211ad9b..e98ae847ae80 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataQualityColumnResult provides a more detailed, per-column view of
  * the results.
@@ -11,49 +28,55 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityColumnResult}
  */
-public final class DataQualityColumnResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataQualityColumnResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityColumnResult)
     DataQualityColumnResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataQualityColumnResult.newBuilder() to construct.
   private DataQualityColumnResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataQualityColumnResult() {
     column_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataQualityColumnResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityColumnResult.class, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityColumnResult.class,
+            com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class);
   }
 
   private int bitField0_;
   public static final int COLUMN_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object column_ = "";
   /**
+   *
+   *
    * 
    * Output only. The column specified in the DataQualityRule.
    * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The column. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** + * + * *
    * Output only. The column specified in the DataQualityRule.
    * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -95,6 +118,8 @@ public java.lang.String getColumn() { public static final int SCORE_FIELD_NUMBER = 2; private float score_ = 0F; /** + * + * *
    * Output only. The column-level data quality score for this data scan job if
    * and only if the 'column' field is set.
@@ -104,6 +129,7 @@ public java.lang.String getColumn() {
    * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -111,6 +137,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The column-level data quality score for this data scan job if
    * and only if the 'column' field is set.
@@ -120,6 +148,7 @@ public boolean hasScore() {
    * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -128,6 +157,7 @@ public float getScore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,8 +169,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); } @@ -160,8 +189,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, column_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, score_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,20 +199,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityColumnResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityColumnResult other = (com.google.cloud.dataplex.v1.DataQualityColumnResult) obj; + com.google.cloud.dataplex.v1.DataQualityColumnResult other = + (com.google.cloud.dataplex.v1.DataQualityColumnResult) obj; - if (!getColumn() - .equals(other.getColumn())) return false; + if (!getColumn().equals(other.getColumn())) return false; if (hasScore() != other.hasScore()) return false; if (hasScore()) { if (java.lang.Float.floatToIntBits(getScore()) - != java.lang.Float.floatToIntBits( - other.getScore())) return false; + != java.lang.Float.floatToIntBits(other.getScore())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -201,8 +228,7 @@ public int hashCode() { hash = (53 * hash) + getColumn().hashCode(); if (hasScore()) { hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -210,98 +236,103 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityColumnResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityColumnResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataQualityColumnResult provides a more detailed, per-column view of
    * the results.
@@ -309,33 +340,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityColumnResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityColumnResult)
       com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityColumnResult.class, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityColumnResult.class,
+              com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityColumnResult.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +376,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor;
     }
 
     @java.lang.Override
@@ -367,8 +397,11 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityColumnResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityColumnResult result = new com.google.cloud.dataplex.v1.DataQualityColumnResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataQualityColumnResult result =
+          new com.google.cloud.dataplex.v1.DataQualityColumnResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -390,38 +423,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityColumnResult
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityColumnResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityColumnResult)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityColumnResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,7 +463,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityColumnResult other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance())
+        return this;
       if (!other.getColumn().isEmpty()) {
         column_ = other.column_;
         bitField0_ |= 0x00000001;
@@ -464,22 +499,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              column_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 21: {
-              score_ = input.readFloat();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 21
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                column_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 21:
+              {
+                score_ = input.readFloat();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 21
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -489,22 +527,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object column_ = "";
     /**
+     *
+     *
      * 
      * Output only. The column specified in the DataQualityRule.
      * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -513,20 +554,21 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Output only. The column specified in the DataQualityRule.
      * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for column. */ - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -534,28 +576,35 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Output only. The column specified in the DataQualityRule.
      * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } column_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The column specified in the DataQualityRule.
      * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -565,17 +614,21 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Output only. The column specified in the DataQualityRule.
      * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000001; @@ -583,8 +636,10 @@ public Builder setColumnBytes( return this; } - private float score_ ; + private float score_; /** + * + * *
      * Output only. The column-level data quality score for this data scan job if
      * and only if the 'column' field is set.
@@ -594,6 +649,7 @@ public Builder setColumnBytes(
      * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -601,6 +657,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The column-level data quality score for this data scan job if
      * and only if the 'column' field is set.
@@ -610,6 +668,7 @@ public boolean hasScore() {
      * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -617,6 +676,8 @@ public float getScore() { return score_; } /** + * + * *
      * Output only. The column-level data quality score for this data scan job if
      * and only if the 'column' field is set.
@@ -626,6 +687,7 @@ public float getScore() {
      * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The score to set. * @return This builder for chaining. */ @@ -637,6 +699,8 @@ public Builder setScore(float value) { return this; } /** + * + * *
      * Output only. The column-level data quality score for this data scan job if
      * and only if the 'column' field is set.
@@ -646,6 +710,7 @@ public Builder setScore(float value) {
      * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -654,9 +719,9 @@ public Builder clearScore() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,12 +731,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityColumnResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityColumnResult) private static final com.google.cloud.dataplex.v1.DataQualityColumnResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityColumnResult(); } @@ -680,27 +745,27 @@ public static com.google.cloud.dataplex.v1.DataQualityColumnResult getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityColumnResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityColumnResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -715,6 +780,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityColumnResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java index 8b66cb04d394..6ecd268d0236 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityColumnResultOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityColumnResultOrBuilder extends +public interface DataQualityColumnResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityColumnResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The column specified in the DataQualityRule.
    * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Output only. The column specified in the DataQualityRule.
    * 
* * string column = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Output only. The column-level data quality score for this data scan job if
    * and only if the 'column' field is set.
@@ -37,10 +60,13 @@ public interface DataQualityColumnResultOrBuilder extends
    * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ boolean hasScore(); /** + * + * *
    * Output only. The column-level data quality score for this data scan job if
    * and only if the 'column' field is set.
@@ -50,6 +76,7 @@ public interface DataQualityColumnResultOrBuilder extends
    * 
* * optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ float getScore(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java index d2a7b630dbde..9a17a8e8f296 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimension.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A dimension captures data quality intent about a defined subset of the rules
  * specified.
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimension}
  */
-public final class DataQualityDimension extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataQualityDimension extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityDimension)
     DataQualityDimensionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataQualityDimension.newBuilder() to construct.
   private DataQualityDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataQualityDimension() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataQualityDimension();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityDimension.class, com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityDimension.class,
+            com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -78,16 +102,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 { @@ -96,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityDimension)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityDimension other = (com.google.cloud.dataplex.v1.DataQualityDimension) obj; + com.google.cloud.dataplex.v1.DataQualityDimension other = + (com.google.cloud.dataplex.v1.DataQualityDimension) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityDimension parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimension captures data quality intent about a defined subset of the rules
    * specified.
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimension}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityDimension)
       com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityDimension.class, com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityDimension.class,
+              com.google.cloud.dataplex.v1.DataQualityDimension.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityDimension.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.dataplex.v1.DataQualityDimension build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityDimension buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityDimension result = new com.google.cloud.dataplex.v1.DataQualityDimension(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataQualityDimension result =
+          new com.google.cloud.dataplex.v1.DataQualityDimension(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityDimension res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityDimension) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimension)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimension) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityDimension other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,10 +458,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -435,13 +472,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; @@ -450,6 +487,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -457,15 +496,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 { @@ -473,6 +511,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -480,18 +520,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -499,6 +543,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,6 +553,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The dimension name a rule belongs to. Supported dimensions are
      * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -515,21 +562,23 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityDimension) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityDimension) private static final com.google.cloud.dataplex.v1.DataQualityDimension DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityDimension(); } @@ -553,27 +602,27 @@ public static com.google.cloud.dataplex.v1.DataQualityDimension getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityDimension parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityDimension parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java similarity index 53% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java index 49eed1b07b93..9105b848a7c3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityDimensionOrBuilder extends +public interface DataQualityDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityDimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -15,10 +33,13 @@ public interface DataQualityDimensionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The dimension name a rule belongs to. Supported dimensions are
    * ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS",
@@ -26,8 +47,8 @@ public interface DataQualityDimensionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java index 150e46417918..cb2d08c53b1d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataQualityDimensionResult provides a more detailed, per-dimension view of
  * the results.
@@ -11,47 +28,53 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimensionResult}
  */
-public final class DataQualityDimensionResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataQualityDimensionResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityDimensionResult)
     DataQualityDimensionResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataQualityDimensionResult.newBuilder() to construct.
   private DataQualityDimensionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DataQualityDimensionResult() {
-  }
+
+  private DataQualityDimensionResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataQualityDimensionResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataQualityProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult.class, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult.class,
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
   }
 
   private int bitField0_;
   public static final int DIMENSION_FIELD_NUMBER = 1;
   private com.google.cloud.dataplex.v1.DataQualityDimension dimension_;
   /**
+   *
+   *
    * 
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -59,37 +82,53 @@ public boolean hasDimension() { return dimension_ != null; } /** + * + * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dimension. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimension getDimension() { - return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; + return dimension_ == null + ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() + : dimension_; } /** + * + * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder() { - return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; + return dimension_ == null + ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() + : dimension_; } public static final int PASSED_FIELD_NUMBER = 3; private boolean passed_ = false; /** + * + * *
    * Whether the dimension passed or failed.
    * 
* * bool passed = 3; + * * @return The passed. */ @java.lang.Override @@ -100,6 +139,8 @@ public boolean getPassed() { public static final int SCORE_FIELD_NUMBER = 4; private float score_ = 0F; /** + * + * *
    * Output only. The dimension-level data quality score for this data scan job
    * if and only if the 'dimension' field is set.
@@ -109,6 +150,7 @@ public boolean getPassed() {
    * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -116,6 +158,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The dimension-level data quality score for this data scan job
    * if and only if the 'dimension' field is set.
@@ -125,6 +169,7 @@ public boolean hasScore() {
    * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -133,6 +178,7 @@ public float getScore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dimension_ != null) { output.writeMessage(1, getDimension()); } @@ -165,16 +210,13 @@ public int getSerializedSize() { size = 0; if (dimension_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDimension()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDimension()); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, passed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, passed_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, score_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -184,25 +226,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityDimensionResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityDimensionResult other = (com.google.cloud.dataplex.v1.DataQualityDimensionResult) obj; + com.google.cloud.dataplex.v1.DataQualityDimensionResult other = + (com.google.cloud.dataplex.v1.DataQualityDimensionResult) obj; if (hasDimension() != other.hasDimension()) return false; if (hasDimension()) { - if (!getDimension() - .equals(other.getDimension())) return false; + if (!getDimension().equals(other.getDimension())) return false; } - if (getPassed() - != other.getPassed()) return false; + if (getPassed() != other.getPassed()) return false; if (hasScore() != other.hasScore()) return false; if (hasScore()) { if (java.lang.Float.floatToIntBits(getScore()) - != java.lang.Float.floatToIntBits( - other.getScore())) return false; + != java.lang.Float.floatToIntBits(other.getScore())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -220,12 +260,10 @@ public int hashCode() { hash = (53 * hash) + getDimension().hashCode(); } hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); if (hasScore()) { hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -233,98 +271,104 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityDimensionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityDimensionResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityDimensionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataQualityDimensionResult provides a more detailed, per-dimension view of
    * the results.
@@ -332,33 +376,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityDimensionResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityDimensionResult)
       com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityDimensionResult.class, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityDimensionResult.class,
+              com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityDimensionResult.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor;
     }
 
     @java.lang.Override
@@ -395,8 +438,11 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityDimensionResult result = new com.google.cloud.dataplex.v1.DataQualityDimensionResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataQualityDimensionResult result =
+          new com.google.cloud.dataplex.v1.DataQualityDimensionResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -404,9 +450,7 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult buildPartial() {
     private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityDimensionResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.dimension_ = dimensionBuilder_ == null
-            ? dimension_
-            : dimensionBuilder_.build();
+        result.dimension_ = dimensionBuilder_ == null ? dimension_ : dimensionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.passed_ = passed_;
@@ -423,38 +467,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityDimensionResu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityDimensionResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimensionResult)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityDimensionResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -462,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityDimensionResult other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance())
+        return this;
       if (other.hasDimension()) {
         mergeDimension(other.getDimension());
       }
@@ -498,29 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDimensionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 24: {
-              passed_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            case 37: {
-              score_ = input.readFloat();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 37
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getDimensionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 24:
+              {
+                passed_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            case 37:
+              {
+                score_ = input.readFloat();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 37
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -530,43 +578,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.dataplex.v1.DataQualityDimension dimension_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> dimensionBuilder_;
+            com.google.cloud.dataplex.v1.DataQualityDimension,
+            com.google.cloud.dataplex.v1.DataQualityDimension.Builder,
+            com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>
+        dimensionBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dimension field is set. */ public boolean hasDimension() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dimension. */ public com.google.cloud.dataplex.v1.DataQualityDimension getDimension() { if (dimensionBuilder_ == null) { - return dimension_ == null ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; + return dimension_ == null + ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() + : dimension_; } else { return dimensionBuilder_.getMessage(); } } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDimension(com.google.cloud.dataplex.v1.DataQualityDimension value) { if (dimensionBuilder_ == null) { @@ -582,11 +650,15 @@ public Builder setDimension(com.google.cloud.dataplex.v1.DataQualityDimension va return this; } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDimension( com.google.cloud.dataplex.v1.DataQualityDimension.Builder builderForValue) { @@ -600,17 +672,22 @@ public Builder setDimension( return this; } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDimension(com.google.cloud.dataplex.v1.DataQualityDimension value) { if (dimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dimension_ != null && - dimension_ != com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dimension_ != null + && dimension_ + != com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance()) { getDimensionBuilder().mergeFrom(value); } else { dimension_ = value; @@ -623,11 +700,15 @@ public Builder mergeDimension(com.google.cloud.dataplex.v1.DataQualityDimension return this; } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDimension() { bitField0_ = (bitField0_ & ~0x00000001); @@ -640,11 +721,15 @@ public Builder clearDimension() { return this; } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityDimension.Builder getDimensionBuilder() { bitField0_ |= 0x00000001; @@ -652,48 +737,63 @@ public com.google.cloud.dataplex.v1.DataQualityDimension.Builder getDimensionBui return getDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder() { if (dimensionBuilder_ != null) { return dimensionBuilder_.getMessageOrBuilder(); } else { - return dimension_ == null ? - com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() : dimension_; + return dimension_ == null + ? com.google.cloud.dataplex.v1.DataQualityDimension.getDefaultInstance() + : dimension_; } } /** + * + * *
      * Output only. The dimension config specified in the DataQualitySpec, as is.
      * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> + com.google.cloud.dataplex.v1.DataQualityDimension, + com.google.cloud.dataplex.v1.DataQualityDimension.Builder, + com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { - dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimension, com.google.cloud.dataplex.v1.DataQualityDimension.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>( - getDimension(), - getParentForChildren(), - isClean()); + dimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityDimension, + com.google.cloud.dataplex.v1.DataQualityDimension.Builder, + com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder>( + getDimension(), getParentForChildren(), isClean()); dimension_ = null; } return dimensionBuilder_; } - private boolean passed_ ; + private boolean passed_; /** + * + * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; + * * @return The passed. */ @java.lang.Override @@ -701,11 +801,14 @@ public boolean getPassed() { return passed_; } /** + * + * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; + * * @param value The passed to set. * @return This builder for chaining. */ @@ -717,11 +820,14 @@ public Builder setPassed(boolean value) { return this; } /** + * + * *
      * Whether the dimension passed or failed.
      * 
* * bool passed = 3; + * * @return This builder for chaining. */ public Builder clearPassed() { @@ -731,8 +837,10 @@ public Builder clearPassed() { return this; } - private float score_ ; + private float score_; /** + * + * *
      * Output only. The dimension-level data quality score for this data scan job
      * if and only if the 'dimension' field is set.
@@ -742,6 +850,7 @@ public Builder clearPassed() {
      * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -749,6 +858,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The dimension-level data quality score for this data scan job
      * if and only if the 'dimension' field is set.
@@ -758,6 +869,7 @@ public boolean hasScore() {
      * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -765,6 +877,8 @@ public float getScore() { return score_; } /** + * + * *
      * Output only. The dimension-level data quality score for this data scan job
      * if and only if the 'dimension' field is set.
@@ -774,6 +888,7 @@ public float getScore() {
      * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The score to set. * @return This builder for chaining. */ @@ -785,6 +900,8 @@ public Builder setScore(float value) { return this; } /** + * + * *
      * Output only. The dimension-level data quality score for this data scan job
      * if and only if the 'dimension' field is set.
@@ -794,6 +911,7 @@ public Builder setScore(float value) {
      * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -802,9 +920,9 @@ public Builder clearScore() { onChanged(); return this; } + @java.lang.Override - 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 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityDimensionResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityDimensionResult) private static final com.google.cloud.dataplex.v1.DataQualityDimensionResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityDimensionResult(); } @@ -828,27 +946,27 @@ public static com.google.cloud.dataplex.v1.DataQualityDimensionResult getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityDimensionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityDimensionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java similarity index 61% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java index ea4c354a1643..31b6f53c03e0 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityDimensionResultOrBuilder.java @@ -1,50 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityDimensionResultOrBuilder extends +public interface DataQualityDimensionResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityDimensionResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dimension field is set. */ boolean hasDimension(); /** + * + * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dimension. */ com.google.cloud.dataplex.v1.DataQualityDimension getDimension(); /** + * + * *
    * Output only. The dimension config specified in the DataQualitySpec, as is.
    * 
* - * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataQualityDimensionOrBuilder getDimensionOrBuilder(); /** + * + * *
    * Whether the dimension passed or failed.
    * 
* * bool passed = 3; + * * @return The passed. */ boolean getPassed(); /** + * + * *
    * Output only. The dimension-level data quality score for this data scan job
    * if and only if the 'dimension' field is set.
@@ -54,10 +89,13 @@ public interface DataQualityDimensionResultOrBuilder extends
    * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ boolean hasScore(); /** + * + * *
    * Output only. The dimension-level data quality score for this data scan job
    * if and only if the 'dimension' field is set.
@@ -67,6 +105,7 @@ public interface DataQualityDimensionResultOrBuilder extends
    * 
* * optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ float getScore(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java new file mode 100644 index 000000000000..8db569a93d54 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java @@ -0,0 +1,414 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_quality.proto + +package com.google.cloud.dataplex.v1; + +public final class DataQualityProto { + private DataQualityProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/dataplex/v1/data_quality." + + "proto\022\030google.cloud.dataplex.v1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032)google/cloud/dataplex/v1/pr" + + "ocessing.proto\"\223\003\n\017DataQualitySpec\022>\n\005ru" + + "les\030\001 \003(\0132).google.cloud.dataplex.v1.Dat" + + "aQualityRuleB\004\342A\001\002\022\036\n\020sampling_percent\030\004" + + " \001(\002B\004\342A\001\001\022\030\n\nrow_filter\030\005 \001(\tB\004\342A\001\001\022Z\n\021" + + "post_scan_actions\030\006 \001(\01329.google.cloud.d" + + "ataplex.v1.DataQualitySpec.PostScanActio" + + "nsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017bigquery" + + "_export\030\001 \001(\0132H.google.cloud.dataplex.v1" + + ".DataQualitySpec.PostScanActions.BigQuer" + + "yExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\rresul" + + "ts_table\030\001 \001(\tB\004\342A\001\001\"\331\006\n\021DataQualityResu" + + "lt\022\016\n\006passed\030\005 \001(\010\022\030\n\005score\030\t \001(\002B\004\342A\001\003H" + + "\000\210\001\001\022H\n\ndimensions\030\002 \003(\01324.google.cloud." + + "dataplex.v1.DataQualityDimensionResult\022H" + + "\n\007columns\030\n \003(\01321.google.cloud.dataplex." + + "v1.DataQualityColumnResultB\004\342A\001\003\022>\n\005rule" + + "s\030\003 \003(\0132/.google.cloud.dataplex.v1.DataQ" + + "ualityRuleResult\022\021\n\trow_count\030\004 \001(\003\022;\n\014s" + + "canned_data\030\007 \001(\0132%.google.cloud.dataple" + + "x.v1.ScannedData\022i\n\030post_scan_actions_re" + + "sult\030\010 \001(\0132A.google.cloud.dataplex.v1.Da" + + "taQualityResult.PostScanActionsResultB\004\342" + + "A\001\003\032\200\003\n\025PostScanActionsResult\022|\n\026bigquer" + + "y_export_result\030\001 \001(\0132V.google.cloud.dat" + + "aplex.v1.DataQualityResult.PostScanActio" + + "nsResult.BigQueryExportResultB\004\342A\001\003\032\350\001\n\024" + + "BigQueryExportResult\022q\n\005state\030\001 \001(\0162\\.go" + + "ogle.cloud.dataplex.v1.DataQualityResult" + + ".PostScanActionsResult.BigQueryExportRes" + + "ult.StateB\004\342A\001\003\022\025\n\007message\030\002 \001(\tB\004\342A\001\003\"F" + + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEE" + + "DED\020\001\022\n\n\006FAILED\020\002\022\013\n\007SKIPPED\020\003B\010\n\006_score" + + "\"\323\001\n\025DataQualityRuleResult\0227\n\004rule\030\001 \001(\013" + + "2).google.cloud.dataplex.v1.DataQualityR" + + "ule\022\016\n\006passed\030\007 \001(\010\022\027\n\017evaluated_count\030\t" + + " \001(\003\022\024\n\014passed_count\030\010 \001(\003\022\022\n\nnull_count" + + "\030\005 \001(\003\022\022\n\npass_ratio\030\006 \001(\001\022\032\n\022failing_ro" + + "ws_query\030\n \001(\t\"\231\001\n\032DataQualityDimensionR" + + "esult\022G\n\tdimension\030\001 \001(\0132..google.cloud." + + "dataplex.v1.DataQualityDimensionB\004\342A\001\003\022\016" + + "\n\006passed\030\003 \001(\010\022\030\n\005score\030\004 \001(\002B\004\342A\001\003H\000\210\001\001" + + "B\010\n\006_score\"$\n\024DataQualityDimension\022\014\n\004na" + + "me\030\001 \001(\t\"\211\r\n\017DataQualityRule\022W\n\021range_ex" + + "pectation\030\001 \001(\0132:.google.cloud.dataplex." + + "v1.DataQualityRule.RangeExpectationH\000\022\\\n" + + "\024non_null_expectation\030\002 \001(\0132<.google.clo" + + "ud.dataplex.v1.DataQualityRule.NonNullEx" + + "pectationH\000\022S\n\017set_expectation\030\003 \001(\01328.g" + + "oogle.cloud.dataplex.v1.DataQualityRule." + + "SetExpectationH\000\022W\n\021regex_expectation\030\004 " + + "\001(\0132:.google.cloud.dataplex.v1.DataQuali" + + "tyRule.RegexExpectationH\000\022a\n\026uniqueness_" + + "expectation\030d \001(\0132?.google.cloud.dataple" + + "x.v1.DataQualityRule.UniquenessExpectati" + + "onH\000\022j\n\033statistic_range_expectation\030e \001(" + + "\0132C.google.cloud.dataplex.v1.DataQuality" + + "Rule.StatisticRangeExpectationH\000\022g\n\031row_" + + "condition_expectation\030\310\001 \001(\0132A.google.cl" + + "oud.dataplex.v1.DataQualityRule.RowCondi" + + "tionExpectationH\000\022k\n\033table_condition_exp" + + "ectation\030\311\001 \001(\0132C.google.cloud.dataplex." + + "v1.DataQualityRule.TableConditionExpecta" + + "tionH\000\022\025\n\006column\030\364\003 \001(\tB\004\342A\001\001\022\032\n\013ignore_" + + "null\030\365\003 \001(\010B\004\342A\001\001\022\030\n\tdimension\030\366\003 \001(\tB\004\342" + + "A\001\002\022\030\n\tthreshold\030\367\003 \001(\001B\004\342A\001\001\022\023\n\004name\030\370\003" + + " \001(\tB\004\342A\001\001\022\032\n\013description\030\371\003 \001(\tB\004\342A\001\001\032\210" + + "\001\n\020RangeExpectation\022\027\n\tmin_value\030\001 \001(\tB\004" + + "\342A\001\001\022\027\n\tmax_value\030\002 \001(\tB\004\342A\001\001\022 \n\022strict_" + + "min_enabled\030\003 \001(\010B\004\342A\001\001\022 \n\022strict_max_en" + + "abled\030\004 \001(\010B\004\342A\001\001\032\024\n\022NonNullExpectation\032" + + "&\n\016SetExpectation\022\024\n\006values\030\001 \003(\tB\004\342A\001\001\032" + + "\'\n\020RegexExpectation\022\023\n\005regex\030\001 \001(\tB\004\342A\001\001" + + "\032\027\n\025UniquenessExpectation\032\307\002\n\031StatisticR" + + "angeExpectation\022l\n\tstatistic\030\001 \001(\0162S.goo" + + "gle.cloud.dataplex.v1.DataQualityRule.St" + + "atisticRangeExpectation.ColumnStatisticB" + + "\004\342A\001\001\022\027\n\tmin_value\030\002 \001(\tB\004\342A\001\001\022\027\n\tmax_va" + + "lue\030\003 \001(\tB\004\342A\001\001\022 \n\022strict_min_enabled\030\004 " + + "\001(\010B\004\342A\001\001\022 \n\022strict_max_enabled\030\005 \001(\010B\004\342" + + "A\001\001\"F\n\017ColumnStatistic\022\027\n\023STATISTIC_UNDE" + + "FINED\020\000\022\010\n\004MEAN\020\001\022\007\n\003MIN\020\002\022\007\n\003MAX\020\003\0327\n\027R" + + "owConditionExpectation\022\034\n\016sql_expression" + + "\030\001 \001(\tB\004\342A\001\001\0329\n\031TableConditionExpectatio" + + "n\022\034\n\016sql_expression\030\001 \001(\tB\004\342A\001\001B\013\n\trule_" + + "type\"S\n\027DataQualityColumnResult\022\024\n\006colum" + + "n\030\001 \001(\tB\004\342A\001\003\022\030\n\005score\030\002 \001(\002B\004\342A\001\003H\000\210\001\001B" + + "\010\n\006_scoreB\304\001\n\034com.google.cloud.dataplex." + + "v1B\020DataQualityProtoP\001Z8cloud.google.com" + + "/go/dataplex/apiv1/dataplexpb;dataplexpb" + + "\352AU\n\035bigquery.googleapis.com/Table\0224proj" + + "ects/{project}/datasets/{dataset}/tables" + + "/{table}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor, + new java.lang.String[] { + "Rules", "SamplingPercent", "RowFilter", "PostScanActions", + }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor, + new java.lang.String[] { + "BigqueryExport", + }); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor, + new java.lang.String[] { + "ResultsTable", + }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor, + new java.lang.String[] { + "Passed", + "Score", + "Dimensions", + "Columns", + "Rules", + "RowCount", + "ScannedData", + "PostScanActionsResult", + "Score", + }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor, + new java.lang.String[] { + "BigqueryExportResult", + }); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { + "State", "Message", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor, + new java.lang.String[] { + "Rule", + "Passed", + "EvaluatedCount", + "PassedCount", + "NullCount", + "PassRatio", + "FailingRowsQuery", + }); + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor, + new java.lang.String[] { + "Dimension", "Passed", "Score", "Score", + }); + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor, + new java.lang.String[] { + "RangeExpectation", + "NonNullExpectation", + "SetExpectation", + "RegexExpectation", + "UniquenessExpectation", + "StatisticRangeExpectation", + "RowConditionExpectation", + "TableConditionExpectation", + "Column", + "IgnoreNull", + "Dimension", + "Threshold", + "Name", + "Description", + "RuleType", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor, + new java.lang.String[] { + "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor, + new java.lang.String[] { + "Values", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor, + new java.lang.String[] { + "Regex", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor, + new java.lang.String[] { + "Statistic", "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor, + new java.lang.String[] { + "SqlExpression", + }); + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor = + internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor, + new java.lang.String[] { + "SqlExpression", + }); + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor, + new java.lang.String[] { + "Column", "Score", "Score", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceDefinition); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java index d4c44e5395de..05d8c293a302 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The output of a DataQualityScan.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ -public final class DataQualityResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult) DataQualityResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityResult.newBuilder() to construct. private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataQualityResult() { dimensions_ = java.util.Collections.emptyList(); columns_ = java.util.Collections.emptyList(); @@ -27,153 +45,197 @@ private DataQualityResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } - public interface PostScanActionsResultOrBuilder extends + public interface PostScanActionsResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult(); /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder(); } /** + * + * *
    * The result of post scan actions of DataQualityScan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ - public static final class PostScanActionsResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostScanActionsResult() { - } + + private PostScanActionsResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder extends + public interface BigQueryExportResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + .State + getState(); /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); } /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -181,34 +243,41 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder.class); } /** + * + * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code + * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The exporting state is unspecified.
          * 
@@ -217,6 +286,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
          * The exporting completed successfully.
          * 
@@ -225,6 +296,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -233,6 +306,8 @@ public enum State */ FAILED(2), /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -245,6 +320,8 @@ public enum State
         ;
 
         /**
+         *
+         *
          * 
          * The exporting state is unspecified.
          * 
@@ -253,6 +330,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * The exporting completed successfully.
          * 
@@ -261,6 +340,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -269,6 +350,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -278,7 +361,6 @@ public enum State
          */
         public static final int SKIPPED_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -303,50 +385,55 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0: return STATE_UNSPECIFIED;
-            case 1: return SUCCEEDED;
-            case 2: return FAILED;
-            case 3: return SKIPPED;
-            default: return null;
+            case 0:
+              return STATE_UNSPECIFIED;
+            case 1:
+              return SUCCEEDED;
+            case 2:
+              return FAILED;
+            case 3:
+              return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
+              .BigQueryExportResult.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.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -366,38 +453,63 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
+       *
+       *
        * 
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State + getState() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + .State + result = + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -406,29 +518,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
        * Output only. Additional information about the BigQuery exporting.
        * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -437,6 +549,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,9 +561,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -465,9 +580,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -480,16 +597,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) obj; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + other = + (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult) + obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -510,90 +633,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -603,39 +752,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -646,19 +802,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult build() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = buildPartial(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + build() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -666,14 +828,24 @@ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQ } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + buildPartial() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + result = + new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -687,46 +859,60 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostSc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult other) { - if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -761,22 +947,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -786,26 +975,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -816,28 +1017,50 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State + getState() { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + .State + result = + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State.UNRECOGNIZED + : result; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State value) { + public Builder setState( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.State + value) { if (value == null) { throw new NullPointerException(); } @@ -847,11 +1070,16 @@ public Builder setState(com.google.cloud.dataplex.v1.DataQualityResult.PostScanA return this; } /** + * + * *
          * Output only. Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -863,18 +1091,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -883,20 +1113,21 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -904,28 +1135,35 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -935,23 +1173,28 @@ public Builder clearMessage() { return this; } /** + * + * *
          * Output only. Additional information about the BigQuery exporting.
          * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -964,41 +1207,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1010,20 +1260,28 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + bigqueryExportResult_; /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -1031,30 +1289,49 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } /** + * + * *
      * Output only. The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1066,8 +1343,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -1081,8 +1357,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryExportResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1092,17 +1368,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other = + (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult() - .equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1125,89 +1401,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1217,39 +1499,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The result of post scan actions of DataQualityScan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1263,19 +1548,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult build() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = buildPartial(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1284,18 +1572,23 @@ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult buil @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = + new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = + bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -1303,46 +1596,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult.PostSc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other) { - if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -1372,19 +1672,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1394,45 +1695,75 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder> + bigqueryExportResultBuilder_; /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult + getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { + public Builder setBigqueryExportResult( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1446,14 +1777,20 @@ public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualityR return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + .Builder + builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -1464,17 +1801,25 @@ public Builder setBigqueryExportResult( return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { + public Builder mergeBigqueryExportResult( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryExportResult_ != null && - bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryExportResult_ != null + && bigqueryExportResult_ + != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -1487,11 +1832,15 @@ public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataQualit return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1504,52 +1853,80 @@ public Builder clearBigqueryExportResult() { return this; } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder + getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null ? - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } } /** + * + * *
        * Output only. The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), - getParentForChildren(), - isClean()); + bigqueryExportResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), getParentForChildren(), isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1562,41 +1939,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1608,21 +1988,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int PASSED_FIELD_NUMBER = 5; private boolean passed_ = false; /** + * + * *
    * Overall data quality result -- `true` if all rules passed.
    * 
* * bool passed = 5; + * * @return The passed. */ @java.lang.Override @@ -1633,6 +2016,8 @@ public boolean getPassed() { public static final int SCORE_FIELD_NUMBER = 9; private float score_ = 0F; /** + * + * *
    * Output only. The overall data quality score.
    *
@@ -1640,6 +2025,7 @@ public boolean getPassed() {
    * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -1647,6 +2033,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The overall data quality score.
    *
@@ -1654,6 +2042,7 @@ public boolean hasScore() {
    * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -1662,9 +2051,12 @@ public float getScore() { } public static final int DIMENSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List dimensions_; /** + * + * *
    * A list of results at the dimension level.
    *
@@ -1675,10 +2067,13 @@ public float getScore() {
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List getDimensionsList() {
+  public java.util.List
+      getDimensionsList() {
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -1689,11 +2084,13 @@ public java.util.List g
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -1708,6 +2105,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -1722,6 +2121,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int
     return dimensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -1738,9 +2139,12 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
   }
 
   public static final int COLUMNS_FIELD_NUMBER = 10;
+
   @SuppressWarnings("serial")
   private java.util.List columns_;
   /**
+   *
+   *
    * 
    * Output only. A list of results at the column level.
    *
@@ -1748,13 +2152,17 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -1762,14 +2170,18 @@ public java.util.List getC
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -1777,13 +2189,17 @@ public java.util.List getC
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -1791,13 +2207,17 @@ public int getColumnsCount() {
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { return columns_.get(index); } /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -1805,7 +2225,9 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( @@ -1814,9 +2236,12 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsO } public static final int RULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -1828,6 +2253,8 @@ public java.util.List getRul return rules_; } /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -1835,11 +2262,13 @@ public java.util.List getRul * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -1851,6 +2280,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -1862,6 +2293,8 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { return rules_.get(index); } /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -1869,19 +2302,21 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 4; private long rowCount_ = 0L; /** + * + * *
    * The count of rows processed.
    * 
* * int64 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -1892,11 +2327,14 @@ public long getRowCount() { public static final int SCANNED_DATA_FIELD_NUMBER = 7; private com.google.cloud.dataplex.v1.ScannedData scannedData_; /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return Whether the scannedData field is set. */ @java.lang.Override @@ -1904,18 +2342,25 @@ public boolean hasScannedData() { return scannedData_ != null; } /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return The scannedData. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData getScannedData() { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } /** + * + * *
    * The data scanned for this result.
    * 
@@ -1924,17 +2369,25 @@ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 8; - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + postScanActionsResult_; /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -1942,30 +2395,46 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + getPostScanActionsResult() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1977,8 +2446,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dimensions_.size(); i++) { output.writeMessage(2, dimensions_.get(i)); } @@ -2013,36 +2481,29 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowCount_); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, passed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, passed_); } if (scannedData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getScannedData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getScannedData()); } if (postScanActionsResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPostScanActionsResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPostScanActionsResult()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(9, score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(9, score_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2052,38 +2513,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityResult other = (com.google.cloud.dataplex.v1.DataQualityResult) obj; + com.google.cloud.dataplex.v1.DataQualityResult other = + (com.google.cloud.dataplex.v1.DataQualityResult) obj; - if (getPassed() - != other.getPassed()) return false; + if (getPassed() != other.getPassed()) return false; if (hasScore() != other.hasScore()) return false; if (hasScore()) { if (java.lang.Float.floatToIntBits(getScore()) - != java.lang.Float.floatToIntBits( - other.getScore())) return false; - } - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; - if (!getRulesList() - .equals(other.getRulesList())) return false; - if (getRowCount() - != other.getRowCount()) return false; + != java.lang.Float.floatToIntBits(other.getScore())) return false; + } + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasScannedData() != other.hasScannedData()) return false; if (hasScannedData()) { - if (!getScannedData() - .equals(other.getScannedData())) return false; + if (!getScannedData().equals(other.getScannedData())) return false; } if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult() - .equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2097,12 +2551,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); if (hasScore()) { hash = (37 * hash) + SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); } if (getDimensionsCount() > 0) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; @@ -2117,8 +2569,7 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } 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()); if (hasScannedData()) { hash = (37 * hash) + SCANNED_DATA_FIELD_NUMBER; hash = (53 * hash) + getScannedData().hashCode(); @@ -2132,132 +2583,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 output of a DataQualityScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult) com.google.cloud.dataplex.v1.DataQualityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityResult.class, + com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2300,9 +2755,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override @@ -2321,9 +2776,12 @@ public com.google.cloud.dataplex.v1.DataQualityResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityResult result = new com.google.cloud.dataplex.v1.DataQualityResult(this); + com.google.cloud.dataplex.v1.DataQualityResult result = + new com.google.cloud.dataplex.v1.DataQualityResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2372,14 +2830,14 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult result result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.scannedData_ = scannedDataBuilder_ == null - ? scannedData_ - : scannedDataBuilder_.build(); + result.scannedData_ = + scannedDataBuilder_ == null ? scannedData_ : scannedDataBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.postScanActionsResult_ = postScanActionsResultBuilder_ == null - ? postScanActionsResult_ - : postScanActionsResultBuilder_.build(); + result.postScanActionsResult_ = + postScanActionsResultBuilder_ == null + ? postScanActionsResult_ + : postScanActionsResultBuilder_.build(); } result.bitField0_ |= to_bitField0_; } @@ -2388,38 +2846,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult) other); } else { super.mergeFrom(other); return this; @@ -2452,9 +2911,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000004); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -2478,9 +2938,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000008); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getColumnsFieldBuilder() + : null; } else { columnsBuilder_.addAllMessages(other.columns_); } @@ -2504,9 +2965,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000010); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRulesFieldBuilder() : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -2541,86 +3003,92 @@ public Builder mergeFrom( } try { boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.google.cloud.dataplex.v1.DataQualityDimensionResult m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityDimensionResult.parser(), - extensionRegistry); - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(m); - } else { - dimensionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.cloud.dataplex.v1.DataQualityRuleResult m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityRuleResult.parser(), - extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 32 - case 40: { - passed_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 40 - case 58: { - input.readMessage( - getScannedDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - input.readMessage( - getPostScanActionsResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 77: { - score_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 77 - case 82: { - com.google.cloud.dataplex.v1.DataQualityColumnResult m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityColumnResult.parser(), - extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.addMessage(m); - } - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } // default: + case 18: + { + com.google.cloud.dataplex.v1.DataQualityDimensionResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityDimensionResult.parser(), + extensionRegistry); + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(m); + } else { + dimensionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.cloud.dataplex.v1.DataQualityRuleResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityRuleResult.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 32 + case 40: + { + passed_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 40 + case 58: + { + input.readMessage(getScannedDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage( + getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 77: + { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 77 + case 82: + { + com.google.cloud.dataplex.v1.DataQualityColumnResult m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityColumnResult.parser(), + extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.addMessage(m); + } + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2630,15 +3098,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean passed_ ; + private boolean passed_; /** + * + * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; + * * @return The passed. */ @java.lang.Override @@ -2646,11 +3118,14 @@ public boolean getPassed() { return passed_; } /** + * + * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; + * * @param value The passed to set. * @return This builder for chaining. */ @@ -2662,11 +3137,14 @@ public Builder setPassed(boolean value) { return this; } /** + * + * *
      * Overall data quality result -- `true` if all rules passed.
      * 
* * bool passed = 5; + * * @return This builder for chaining. */ public Builder clearPassed() { @@ -2676,8 +3154,10 @@ public Builder clearPassed() { return this; } - private float score_ ; + private float score_; /** + * + * *
      * Output only. The overall data quality score.
      *
@@ -2685,6 +3165,7 @@ public Builder clearPassed() {
      * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ @java.lang.Override @@ -2692,6 +3173,8 @@ public boolean hasScore() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The overall data quality score.
      *
@@ -2699,6 +3182,7 @@ public boolean hasScore() {
      * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ @java.lang.Override @@ -2706,6 +3190,8 @@ public float getScore() { return score_; } /** + * + * *
      * Output only. The overall data quality score.
      *
@@ -2713,6 +3199,7 @@ public float getScore() {
      * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The score to set. * @return This builder for chaining. */ @@ -2724,6 +3211,8 @@ public Builder setScore(float value) { return this; } /** + * + * *
      * Output only. The overall data quality score.
      *
@@ -2731,6 +3220,7 @@ public Builder setScore(float value) {
      * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -2741,18 +3231,26 @@ public Builder clearScore() { } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList( + dimensions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> dimensionsBuilder_; + com.google.cloud.dataplex.v1.DataQualityDimensionResult, + com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, + com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> + dimensionsBuilder_; /** + * + * *
      * A list of results at the dimension level.
      *
@@ -2762,7 +3260,8 @@ private void ensureDimensionsIsMutable() {
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List getDimensionsList() {
+    public java.util.List
+        getDimensionsList() {
       if (dimensionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensions_);
       } else {
@@ -2770,6 +3269,8 @@ public java.util.List g
       }
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2787,6 +3288,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2804,6 +3307,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int
       }
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2828,6 +3333,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2838,7 +3345,8 @@ public Builder setDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder setDimensions(
-        int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
+        int index,
+        com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
         dimensions_.set(index, builderForValue.build());
@@ -2849,6 +3357,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2872,6 +3382,8 @@ public Builder addDimensions(com.google.cloud.dataplex.v1.DataQualityDimensionRe
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2896,6 +3408,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2917,6 +3431,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2927,7 +3443,8 @@ public Builder addDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder addDimensions(
-        int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
+        int index,
+        com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
         dimensions_.add(index, builderForValue.build());
@@ -2938,6 +3455,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2948,11 +3467,11 @@ public Builder addDimensions(
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public Builder addAllDimensions(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -2960,6 +3479,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -2980,6 +3501,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3000,6 +3523,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3014,6 +3539,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder getDimens
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3026,11 +3553,14 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder getDimens
     public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOrBuilder(
         int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);  } else {
+        return dimensions_.get(index);
+      } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3040,8 +3570,9 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>
+        getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3049,6 +3580,8 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
       }
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3059,10 +3592,12 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimen
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder().addBuilder(
-          com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3074,10 +3609,13 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimens
      */
     public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder(
         int index) {
-      return getDimensionsFieldBuilder().addBuilder(
-          index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of results at the dimension level.
      *
@@ -3087,38 +3625,48 @@ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimens
      *
      * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsBuilderList() {
+    public java.util.List
+        getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> 
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult,
+            com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder,
+            com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>(
-                dimensions_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        dimensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.dataplex.v1.DataQualityDimensionResult,
+                com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder,
+                com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>(
+                dimensions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List columns_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureColumnsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        columns_ = new java.util.ArrayList(columns_);
+        columns_ =
+            new java.util.ArrayList(columns_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> columnsBuilder_;
+            com.google.cloud.dataplex.v1.DataQualityColumnResult,
+            com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder,
+            com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder>
+        columnsBuilder_;
 
     /**
+     *
+     *
      * 
      * Output only. A list of results at the column level.
      *
@@ -3126,7 +3674,9 @@ private void ensureColumnsIsMutable() {
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { @@ -3136,6 +3686,8 @@ public java.util.List getC } } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3143,7 +3695,9 @@ public java.util.List getC
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -3153,6 +3707,8 @@ public int getColumnsCount() { } } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3160,7 +3716,9 @@ public int getColumnsCount() {
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { if (columnsBuilder_ == null) { @@ -3170,6 +3728,8 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index } } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3177,7 +3737,9 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { @@ -3194,6 +3756,8 @@ public Builder setColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3201,7 +3765,9 @@ public Builder setColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { @@ -3215,6 +3781,8 @@ public Builder setColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3222,7 +3790,9 @@ public Builder setColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addColumns(com.google.cloud.dataplex.v1.DataQualityColumnResult value) { if (columnsBuilder_ == null) { @@ -3238,6 +3808,8 @@ public Builder addColumns(com.google.cloud.dataplex.v1.DataQualityColumnResult v return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3245,7 +3817,9 @@ public Builder addColumns(com.google.cloud.dataplex.v1.DataQualityColumnResult v
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { @@ -3262,6 +3836,8 @@ public Builder addColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3269,7 +3845,9 @@ public Builder addColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addColumns( com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { @@ -3283,6 +3861,8 @@ public Builder addColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3290,7 +3870,9 @@ public Builder addColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { @@ -3304,6 +3886,8 @@ public Builder addColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3311,14 +3895,15 @@ public Builder addColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -3326,6 +3911,8 @@ public Builder addAllColumns( return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3333,7 +3920,9 @@ public Builder addAllColumns(
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -3346,6 +3935,8 @@ public Builder clearColumns() { return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3353,7 +3944,9 @@ public Builder clearColumns() {
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -3366,6 +3959,8 @@ public Builder removeColumns(int index) { return this; } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3373,13 +3968,17 @@ public Builder removeColumns(int index) {
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3387,16 +3986,21 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder getColumnsBu
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { - return columns_.get(index); } else { + return columns_.get(index); + } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3404,10 +4008,12 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsO
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -3415,6 +4021,8 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsO } } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3422,13 +4030,17 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsO
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); + return getColumnsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3436,14 +4048,19 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBu
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder( int index) { - return getColumnsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); + return getColumnsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); } /** + * + * *
      * Output only. A list of results at the column level.
      *
@@ -3451,40 +4068,52 @@ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBu
      * there is at least one rule with the 'column' field set to it.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityColumnResult, + com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, + com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder>( - columns_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + columnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityColumnResult, + com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, + com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder>( + columns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - rules_ = new java.util.ArrayList(rules_); + rules_ = + new java.util.ArrayList(rules_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> rulesBuilder_; + com.google.cloud.dataplex.v1.DataQualityRuleResult, + com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> + rulesBuilder_; /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3499,6 +4128,8 @@ public java.util.List getRul } } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3513,6 +4144,8 @@ public int getRulesCount() { } } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3527,14 +4160,15 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { } } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public Builder setRules( - int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { + public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3548,6 +4182,8 @@ public Builder setRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3566,6 +4202,8 @@ public Builder setRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3586,14 +4224,15 @@ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRuleResult value return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public Builder addRules( - int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { + public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3607,6 +4246,8 @@ public Builder addRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3625,6 +4266,8 @@ public Builder addRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3643,6 +4286,8 @@ public Builder addRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3653,8 +4298,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); @@ -3662,6 +4306,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3679,6 +4325,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3696,17 +4344,20 @@ public Builder removeRules(int index) { return this; } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3716,19 +4367,22 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilde public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { - return rules_.get(index); } else { + return rules_.get(index); + } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -3736,6 +4390,8 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBui } } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
@@ -3743,54 +4399,64 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBui * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); + return getRulesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder( - int index) { - return getRulesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** + * + * *
      * A list of all the rules in a job, and their results.
      * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRuleResult, + com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>( - rules_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRuleResult, + com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>( + rules_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -3798,11 +4464,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -3814,11 +4483,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * The count of rows processed.
      * 
* * int64 row_count = 4; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -3830,34 +4502,47 @@ public Builder clearRowCount() { private com.google.cloud.dataplex.v1.ScannedData scannedData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> scannedDataBuilder_; + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + scannedDataBuilder_; /** + * + * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return Whether the scannedData field is set. */ public boolean hasScannedData() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The data scanned for this result.
      * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return The scannedData. */ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { if (scannedDataBuilder_ == null) { - return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } else { return scannedDataBuilder_.getMessage(); } } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3878,6 +4563,8 @@ public Builder setScannedData(com.google.cloud.dataplex.v1.ScannedData value) { return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3896,6 +4583,8 @@ public Builder setScannedData( return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3904,9 +4593,9 @@ public Builder setScannedData( */ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - scannedData_ != null && - scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && scannedData_ != null + && scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { getScannedDataBuilder().mergeFrom(value); } else { scannedData_ = value; @@ -3919,6 +4608,8 @@ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3936,6 +4627,8 @@ public Builder clearScannedData() { return this; } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3948,6 +4641,8 @@ public com.google.cloud.dataplex.v1.ScannedData.Builder getScannedDataBuilder() return getScannedDataFieldBuilder().getBuilder(); } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3958,11 +4653,14 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder if (scannedDataBuilder_ != null) { return scannedDataBuilder_.getMessageOrBuilder(); } else { - return scannedData_ == null ? - com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; + return scannedData_ == null + ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() + : scannedData_; } } /** + * + * *
      * The data scanned for this result.
      * 
@@ -3970,56 +4668,82 @@ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder> getScannedDataFieldBuilder() { if (scannedDataBuilder_ == null) { - scannedDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( - getScannedData(), - getParentForChildren(), - isClean()); + scannedDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData, + com.google.cloud.dataplex.v1.ScannedData.Builder, + com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( + getScannedData(), getParentForChildren(), isClean()); scannedData_ = null; } return scannedDataBuilder_; } - private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; + private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> + postScanActionsResultBuilder_; /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .getDefaultInstance() + : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { + public Builder setPostScanActionsResult( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4033,14 +4757,19 @@ public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataQuality return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostScanActionsResult( - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder + builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { @@ -4051,17 +4780,24 @@ public Builder setPostScanActionsResult( return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { + public Builder mergePostScanActionsResult( + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - postScanActionsResult_ != null && - postScanActionsResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && postScanActionsResult_ != null + && postScanActionsResult_ + != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -4074,11 +4810,15 @@ public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataQuali return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4091,55 +4831,74 @@ public Builder clearPostScanActionsResult() { return this; } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder + getPostScanActionsResultBuilder() { bitField0_ |= 0x00000080; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null ? - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult + .getDefaultInstance() + : postScanActionsResult_; } } /** + * + * *
      * Output only. The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), - getParentForChildren(), - isClean()); + postScanActionsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), getParentForChildren(), isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4149,12 +4908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult) private static final com.google.cloud.dataplex.v1.DataQualityResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult(); } @@ -4163,27 +4922,27 @@ public static com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4198,6 +4957,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java similarity index 75% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java index 722d0839bff9..ff2c93919f32 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityResultOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityResultOrBuilder extends +public interface DataQualityResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Overall data quality result -- `true` if all rules passed.
    * 
* * bool passed = 5; + * * @return The passed. */ boolean getPassed(); /** + * + * *
    * Output only. The overall data quality score.
    *
@@ -25,10 +46,13 @@ public interface DataQualityResultOrBuilder extends
    * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the score field is set. */ boolean hasScore(); /** + * + * *
    * Output only. The overall data quality score.
    *
@@ -36,11 +60,14 @@ public interface DataQualityResultOrBuilder extends
    * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The score. */ float getScore(); /** + * + * *
    * A list of results at the dimension level.
    *
@@ -50,9 +77,10 @@ public interface DataQualityResultOrBuilder extends
    *
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
-  java.util.List 
-      getDimensionsList();
+  java.util.List getDimensionsList();
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -64,6 +92,8 @@ public interface DataQualityResultOrBuilder extends
    */
   com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int index);
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -75,6 +105,8 @@ public interface DataQualityResultOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -84,9 +116,11 @@ public interface DataQualityResultOrBuilder extends
    *
    * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
    */
-  java.util.List 
+  java.util.List
       getDimensionsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of results at the dimension level.
    *
@@ -100,6 +134,8 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
       int index);
 
   /**
+   *
+   *
    * 
    * Output only. A list of results at the column level.
    *
@@ -107,11 +143,14 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getColumnsList(); + java.util.List getColumnsList(); /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -119,10 +158,14 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index); /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -130,10 +173,14 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getColumnsCount(); /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -141,11 +188,15 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getColumnsOrBuilderList(); /** + * + * *
    * Output only. A list of results at the column level.
    *
@@ -153,21 +204,25 @@ com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOr
    * there is at least one rule with the 'column' field set to it.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder(int index); /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -176,6 +231,8 @@ com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilde */ com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index); /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
@@ -184,53 +241,67 @@ com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilde */ int getRulesCount(); /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * A list of all the rules in a job, and their results.
    * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ - com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder(int index); /** + * + * *
    * The count of rows processed.
    * 
* * int64 row_count = 4; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return Whether the scannedData field is set. */ boolean hasScannedData(); /** + * + * *
    * The data scanned for this result.
    * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; + * * @return The scannedData. */ com.google.cloud.dataplex.v1.ScannedData getScannedData(); /** + * + * *
    * The data scanned for this result.
    * 
@@ -240,29 +311,44 @@ com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult(); /** + * + * *
    * Output only. The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java index 9a604de8279f..eb002478d12f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRule.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A rule captures data quality intent about a data source.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule} */ -public final class DataQualityRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataQualityRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule) DataQualityRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityRule.newBuilder() to construct. private DataQualityRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataQualityRule() { column_ = ""; dimension_ = ""; @@ -28,29 +46,33 @@ private DataQualityRule() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.class, com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.class, + com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); } - public interface RangeExpectationOrBuilder extends + public interface RangeExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -58,10 +80,13 @@ public interface RangeExpectationOrBuilder extends
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ java.lang.String getMinValue(); /** + * + * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -69,12 +94,14 @@ public interface RangeExpectationOrBuilder extends
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ - com.google.protobuf.ByteString - getMinValueBytes(); + com.google.protobuf.ByteString getMinValueBytes(); /** + * + * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -82,10 +109,13 @@ public interface RangeExpectationOrBuilder extends
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ java.lang.String getMaxValue(); /** + * + * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -93,12 +123,14 @@ public interface RangeExpectationOrBuilder extends
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ - com.google.protobuf.ByteString - getMaxValueBytes(); + com.google.protobuf.ByteString getMaxValueBytes(); /** + * + * *
      * Optional. Whether each value needs to be strictly greater than ('>') the
      * minimum, or if equality is allowed.
@@ -107,11 +139,14 @@ public interface RangeExpectationOrBuilder extends
      * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ boolean getStrictMinEnabled(); /** + * + * *
      * Optional. Whether each value needs to be strictly lesser than ('<') the
      * maximum, or if equality is allowed.
@@ -120,26 +155,30 @@ public interface RangeExpectationOrBuilder extends
      * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ boolean getStrictMaxEnabled(); } /** + * + * *
    * Evaluates whether each column value lies between a specified range.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RangeExpectation} */ - public static final class RangeExpectation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RangeExpectation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) RangeExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RangeExpectation.newBuilder() to construct. private RangeExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RangeExpectation() { minValue_ = ""; maxValue_ = ""; @@ -147,28 +186,32 @@ private RangeExpectation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RangeExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object minValue_ = ""; /** + * + * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -176,6 +219,7 @@ protected java.lang.Object newInstance(
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ @java.lang.Override @@ -184,14 +228,15 @@ public java.lang.String getMinValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; } } /** + * + * *
      * Optional. The minimum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -199,16 +244,15 @@ public java.lang.String getMinValue() {
      * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getMinValueBytes() { + public com.google.protobuf.ByteString getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minValue_ = b; return b; } else { @@ -217,9 +261,12 @@ public java.lang.String getMinValue() { } public static final int MAX_VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object maxValue_ = ""; /** + * + * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -227,6 +274,7 @@ public java.lang.String getMinValue() {
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ @java.lang.Override @@ -235,14 +283,15 @@ public java.lang.String getMaxValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; } } /** + * + * *
      * Optional. The maximum column value allowed for a row to pass this
      * validation. At least one of `min_value` and `max_value` need to be
@@ -250,16 +299,15 @@ public java.lang.String getMaxValue() {
      * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getMaxValueBytes() { + public com.google.protobuf.ByteString getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maxValue_ = b; return b; } else { @@ -270,6 +318,8 @@ public java.lang.String getMaxValue() { public static final int STRICT_MIN_ENABLED_FIELD_NUMBER = 3; private boolean strictMinEnabled_ = false; /** + * + * *
      * Optional. Whether each value needs to be strictly greater than ('>') the
      * minimum, or if equality is allowed.
@@ -278,6 +328,7 @@ public java.lang.String getMaxValue() {
      * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ @java.lang.Override @@ -288,6 +339,8 @@ public boolean getStrictMinEnabled() { public static final int STRICT_MAX_ENABLED_FIELD_NUMBER = 4; private boolean strictMaxEnabled_ = false; /** + * + * *
      * Optional. Whether each value needs to be strictly lesser than ('<') the
      * maximum, or if equality is allowed.
@@ -296,6 +349,7 @@ public boolean getStrictMinEnabled() {
      * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ @java.lang.Override @@ -304,6 +358,7 @@ public boolean getStrictMaxEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,8 +370,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, minValue_); } @@ -345,12 +399,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, maxValue_); } if (strictMinEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, strictMinEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, strictMinEnabled_); } if (strictMaxEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, strictMaxEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, strictMaxEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,21 +412,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) obj; - if (!getMinValue() - .equals(other.getMinValue())) return false; - if (!getMaxValue() - .equals(other.getMaxValue())) return false; - if (getStrictMinEnabled() - != other.getStrictMinEnabled()) return false; - if (getStrictMaxEnabled() - != other.getStrictMaxEnabled()) return false; + if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; + if (getStrictMinEnabled() != other.getStrictMinEnabled()) return false; + if (getStrictMaxEnabled() != other.getStrictMaxEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -391,100 +440,103 @@ public int hashCode() { hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER; hash = (53 * hash) + getMaxValue().hashCode(); hash = (37 * hash) + STRICT_MIN_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrictMinEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMinEnabled()); hash = (37 * hash) + STRICT_MAX_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrictMaxEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMaxEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -494,39 +546,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether each column value lies between a specified range.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RangeExpectation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,13 +593,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); } @@ -560,13 +615,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result = + new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.minValue_ = minValue_; @@ -586,46 +645,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RangeExp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) + return this; if (!other.getMinValue().isEmpty()) { minValue_ = other.minValue_; bitField0_ |= 0x00000001; @@ -668,32 +733,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - minValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - maxValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - strictMinEnabled_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - strictMaxEnabled_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + minValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + maxValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + strictMinEnabled_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + strictMaxEnabled_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,10 +773,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object minValue_ = ""; /** + * + * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -714,13 +787,13 @@ public Builder mergeFrom(
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ public java.lang.String getMinValue() { java.lang.Object ref = minValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; @@ -729,6 +802,8 @@ public java.lang.String getMinValue() { } } /** + * + * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -736,15 +811,14 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ - public com.google.protobuf.ByteString - getMinValueBytes() { + public com.google.protobuf.ByteString getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minValue_ = b; return b; } else { @@ -752,6 +826,8 @@ public java.lang.String getMinValue() { } } /** + * + * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -759,18 +835,22 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The minValue to set. * @return This builder for chaining. */ - public Builder setMinValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMinValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } minValue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -778,6 +858,7 @@ public Builder setMinValue(
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMinValue() { @@ -787,6 +868,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * Optional. The minimum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -794,12 +877,14 @@ public Builder clearMinValue() {
        * 
* * string min_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for minValue to set. * @return This builder for chaining. */ - public Builder setMinValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMinValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); minValue_ = value; bitField0_ |= 0x00000001; @@ -809,6 +894,8 @@ public Builder setMinValueBytes( private java.lang.Object maxValue_ = ""; /** + * + * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -816,13 +903,13 @@ public Builder setMinValueBytes(
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ public java.lang.String getMaxValue() { java.lang.Object ref = maxValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; @@ -831,6 +918,8 @@ public java.lang.String getMaxValue() { } } /** + * + * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -838,15 +927,14 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ - public com.google.protobuf.ByteString - getMaxValueBytes() { + public com.google.protobuf.ByteString getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maxValue_ = b; return b; } else { @@ -854,6 +942,8 @@ public java.lang.String getMaxValue() { } } /** + * + * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -861,18 +951,22 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMaxValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } maxValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -880,6 +974,7 @@ public Builder setMaxValue(
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxValue() { @@ -889,6 +984,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * Optional. The maximum column value allowed for a row to pass this
        * validation. At least one of `min_value` and `max_value` need to be
@@ -896,12 +993,14 @@ public Builder clearMaxValue() {
        * 
* * string max_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); maxValue_ = value; bitField0_ |= 0x00000002; @@ -909,8 +1008,10 @@ public Builder setMaxValueBytes( return this; } - private boolean strictMinEnabled_ ; + private boolean strictMinEnabled_; /** + * + * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -919,6 +1020,7 @@ public Builder setMaxValueBytes(
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ @java.lang.Override @@ -926,6 +1028,8 @@ public boolean getStrictMinEnabled() { return strictMinEnabled_; } /** + * + * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -934,6 +1038,7 @@ public boolean getStrictMinEnabled() {
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The strictMinEnabled to set. * @return This builder for chaining. */ @@ -945,6 +1050,8 @@ public Builder setStrictMinEnabled(boolean value) { return this; } /** + * + * *
        * Optional. Whether each value needs to be strictly greater than ('>') the
        * minimum, or if equality is allowed.
@@ -953,6 +1060,7 @@ public Builder setStrictMinEnabled(boolean value) {
        * 
* * bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStrictMinEnabled() { @@ -962,8 +1070,10 @@ public Builder clearStrictMinEnabled() { return this; } - private boolean strictMaxEnabled_ ; + private boolean strictMaxEnabled_; /** + * + * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -972,6 +1082,7 @@ public Builder clearStrictMinEnabled() {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ @java.lang.Override @@ -979,6 +1090,8 @@ public boolean getStrictMaxEnabled() { return strictMaxEnabled_; } /** + * + * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -987,6 +1100,7 @@ public boolean getStrictMaxEnabled() {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The strictMaxEnabled to set. * @return This builder for chaining. */ @@ -998,6 +1112,8 @@ public Builder setStrictMaxEnabled(boolean value) { return this; } /** + * + * *
        * Optional. Whether each value needs to be strictly lesser than ('<') the
        * maximum, or if equality is allowed.
@@ -1006,6 +1122,7 @@ public Builder setStrictMaxEnabled(boolean value) {
        * 
* * bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStrictMaxEnabled() { @@ -1014,6 +1131,7 @@ public Builder clearStrictMaxEnabled() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1026,41 +1144,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RangeExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RangeExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1072,56 +1193,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NonNullExpectationOrBuilder extends + public interface NonNullExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Evaluates whether each column value is null.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation} */ - public static final class NonNullExpectation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NonNullExpectation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) NonNullExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NonNullExpectation.newBuilder() to construct. private NonNullExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NonNullExpectation() { - } + + private NonNullExpectation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NonNullExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1133,8 +1258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -1152,12 +1276,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1176,89 +1301,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1268,39 +1399,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether each column value is null.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1308,13 +1442,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } @@ -1329,7 +1464,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(this); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation result = + new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(this); onBuilt(); return result; } @@ -1338,46 +1474,52 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1404,12 +1546,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1419,6 +1562,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1431,41 +1575,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NonNullExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NonNullExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1477,131 +1624,154 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SetExpectationOrBuilder extends + public interface SetExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); } /** + * + * *
    * Evaluates whether each column value is contained by a specified set.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.SetExpectation} */ - public static final class SetExpectation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SetExpectation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) SetExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetExpectation.newBuilder() to construct. private SetExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetExpectation() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1609,20 +1779,23 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * Optional. Expected values for the column value.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1634,8 +1807,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1664,15 +1836,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1694,89 +1866,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1786,56 +1963,58 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether each column value is contained by a specified set.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.SetExpectation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance(); } @@ -1850,13 +2029,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result = + new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { values_.makeImmutable(); @@ -1868,38 +2051,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.SetExpec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) other); } else { super.mergeFrom(other); return this; @@ -1907,7 +2093,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) + return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -1944,18 +2132,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValuesIsMutable(); - values_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValuesIsMutable(); + values_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1965,10 +2155,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -1976,35 +2168,43 @@ private void ensureValuesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { values_.makeImmutable(); return values_; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -2012,31 +2212,37 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.set(index, value); bitField0_ |= 0x00000001; @@ -2044,17 +2250,21 @@ public Builder setValues( return this; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.add(value); bitField0_ |= 0x00000001; @@ -2062,50 +2272,58 @@ public Builder addValues( return this; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Optional. Expected values for the column value.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -2113,6 +2331,7 @@ public Builder addValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2125,12 +2344,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.SetExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation(); } @@ -2139,27 +2359,28 @@ public static com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2174,82 +2395,95 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RegexExpectationOrBuilder extends + public interface RegexExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The regex. */ java.lang.String getRegex(); /** + * + * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for regex. */ - com.google.protobuf.ByteString - getRegexBytes(); + com.google.protobuf.ByteString getRegexBytes(); } /** + * + * *
    * Evaluates whether each column value matches a specified regex.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RegexExpectation} */ - public static final class RegexExpectation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RegexExpectation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) RegexExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegexExpectation.newBuilder() to construct. private RegexExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegexExpectation() { regex_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegexExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); } public static final int REGEX_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object regex_ = ""; /** + * + * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The regex. */ @java.lang.Override @@ -2258,29 +2492,29 @@ public java.lang.String getRegex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } } /** + * + * *
      * Optional. A regular expression the column value is expected to match.
      * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for regex. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegexBytes() { + public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regex_ = b; return b; } else { @@ -2289,6 +2523,7 @@ public java.lang.String getRegex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2300,8 +2535,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regex_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regex_); } @@ -2325,15 +2559,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) obj; - if (!getRegex() - .equals(other.getRegex())) return false; + if (!getRegex().equals(other.getRegex())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2353,89 +2587,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2445,39 +2684,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether each column value matches a specified regex.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RegexExpectation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2487,13 +2728,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); } @@ -2508,13 +2750,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result = + new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.regex_ = regex_; @@ -2525,46 +2771,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RegexExp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) + return this; if (!other.getRegex().isEmpty()) { regex_ = other.regex_; bitField0_ |= 0x00000001; @@ -2596,17 +2848,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - regex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + regex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2616,22 +2870,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object regex_ = ""; /** + * + * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The regex. */ public java.lang.String getRegex() { java.lang.Object ref = regex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; @@ -2640,20 +2897,21 @@ public java.lang.String getRegex() { } } /** + * + * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for regex. */ - public com.google.protobuf.ByteString - getRegexBytes() { + public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regex_ = b; return b; } else { @@ -2661,28 +2919,35 @@ public java.lang.String getRegex() { } } /** + * + * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The regex to set. * @return This builder for chaining. */ - public Builder setRegex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } regex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRegex() { @@ -2692,23 +2957,28 @@ public Builder clearRegex() { return this; } /** + * + * *
        * Optional. A regular expression the column value is expected to match.
        * 
* * string regex = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for regex to set. * @return This builder for chaining. */ - public Builder setRegexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); regex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2721,41 +2991,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegexExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegexExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2767,56 +3040,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UniquenessExpectationOrBuilder extends + public interface UniquenessExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Evaluates whether the column has duplicates.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation} */ - public static final class UniquenessExpectation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UniquenessExpectation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) UniquenessExpectationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UniquenessExpectation.newBuilder() to construct. private UniquenessExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UniquenessExpectation() { - } + + private UniquenessExpectation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UniquenessExpectation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2828,8 +3105,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -2847,12 +3123,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2871,89 +3148,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2963,39 +3246,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether the column has duplicates.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.class, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3003,14 +3289,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance(); } @java.lang.Override @@ -3024,7 +3312,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation build( @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(this); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation result = + new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(this); onBuilt(); return result; } @@ -3033,46 +3322,53 @@ public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation other) { + if (other + == com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3099,12 +3395,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3114,6 +3411,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3126,41 +3424,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniquenessExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniquenessExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3172,36 +3473,50 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StatisticRangeExpectationOrBuilder extends + public interface StatisticRangeExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for statistic. */ int getStatisticValue(); /** + * + * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The statistic. */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + getStatistic(); /** + * + * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3210,10 +3525,13 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ java.lang.String getMinValue(); /** + * + * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3222,12 +3540,14 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ - com.google.protobuf.ByteString - getMinValueBytes(); + com.google.protobuf.ByteString getMinValueBytes(); /** + * + * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3236,10 +3556,13 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ java.lang.String getMaxValue(); /** + * + * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3248,12 +3571,14 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ - com.google.protobuf.ByteString - getMaxValueBytes(); + com.google.protobuf.ByteString getMaxValueBytes(); /** + * + * *
      * Optional. Whether column statistic needs to be strictly greater than
      * ('>') the minimum, or if equality is allowed.
@@ -3262,11 +3587,14 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ boolean getStrictMinEnabled(); /** + * + * *
      * Optional. Whether column statistic needs to be strictly lesser than ('<')
      * the maximum, or if equality is allowed.
@@ -3275,11 +3603,14 @@ public interface StatisticRangeExpectationOrBuilder extends
      * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ boolean getStrictMaxEnabled(); } /** + * + * *
    * Evaluates whether the column aggregate statistic lies between a specified
    * range.
@@ -3287,15 +3618,16 @@ public interface StatisticRangeExpectationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation}
    */
-  public static final class StatisticRangeExpectation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class StatisticRangeExpectation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)
       StatisticRangeExpectationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use StatisticRangeExpectation.newBuilder() to construct.
     private StatisticRangeExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private StatisticRangeExpectation() {
       statistic_ = 0;
       minValue_ = "";
@@ -3304,34 +3636,39 @@ private StatisticRangeExpectation() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new StatisticRangeExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class,
+              com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The list of aggregate metrics a rule can be evaluated against.
      * 
* - * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic} + * Protobuf enum {@code + * google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic} */ - public enum ColumnStatistic - implements com.google.protobuf.ProtocolMessageEnum { + public enum ColumnStatistic implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified statistic type
        * 
@@ -3340,6 +3677,8 @@ public enum ColumnStatistic */ STATISTIC_UNDEFINED(0), /** + * + * *
        * Evaluate the column mean
        * 
@@ -3348,6 +3687,8 @@ public enum ColumnStatistic */ MEAN(1), /** + * + * *
        * Evaluate the column min
        * 
@@ -3356,6 +3697,8 @@ public enum ColumnStatistic */ MIN(2), /** + * + * *
        * Evaluate the column max
        * 
@@ -3367,6 +3710,8 @@ public enum ColumnStatistic ; /** + * + * *
        * Unspecified statistic type
        * 
@@ -3375,6 +3720,8 @@ public enum ColumnStatistic */ public static final int STATISTIC_UNDEFINED_VALUE = 0; /** + * + * *
        * Evaluate the column mean
        * 
@@ -3383,6 +3730,8 @@ public enum ColumnStatistic */ public static final int MEAN_VALUE = 1; /** + * + * *
        * Evaluate the column min
        * 
@@ -3391,6 +3740,8 @@ public enum ColumnStatistic */ public static final int MIN_VALUE = 2; /** + * + * *
        * Evaluate the column max
        * 
@@ -3399,7 +3750,6 @@ public enum ColumnStatistic */ public static final int MAX_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3424,11 +3774,16 @@ public static ColumnStatistic valueOf(int value) { */ public static ColumnStatistic forNumber(int value) { switch (value) { - case 0: return STATISTIC_UNDEFINED; - case 1: return MEAN; - case 2: return MIN; - case 3: return MAX; - default: return null; + case 0: + return STATISTIC_UNDEFINED; + case 1: + return MEAN; + case 2: + return MIN; + case 3: + return MAX; + default: + return null; } } @@ -3436,29 +3791,32 @@ public static ColumnStatistic forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ColumnStatistic> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ColumnStatistic findValueByNumber(int number) { - return ColumnStatistic.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 ColumnStatistic findValueByNumber(int number) { + return ColumnStatistic.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDescriptor() + .getEnumTypes() + .get(0); } private static final ColumnStatistic[] VALUES = values(); @@ -3466,8 +3824,7 @@ public ColumnStatistic findValueByNumber(int number) { public static ColumnStatistic 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; @@ -3487,33 +3844,55 @@ private ColumnStatistic(int value) { public static final int STATISTIC_FIELD_NUMBER = 1; private int statistic_ = 0; /** + * + * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for statistic. */ - @java.lang.Override public int getStatisticValue() { + @java.lang.Override + public int getStatisticValue() { return statistic_; } /** + * + * *
      * Optional. The aggregate metric to evaluate.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The statistic. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic() { - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic result = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.forNumber(statistic_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + getStatistic() { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + result = + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + .forNumber(statistic_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + .UNRECOGNIZED + : result; } public static final int MIN_VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object minValue_ = ""; /** + * + * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3522,6 +3901,7 @@ private ColumnStatistic(int value) {
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ @java.lang.Override @@ -3530,14 +3910,15 @@ public java.lang.String getMinValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; } } /** + * + * *
      * Optional. The minimum column statistic value allowed for a row to pass
      * this validation.
@@ -3546,16 +3927,15 @@ public java.lang.String getMinValue() {
      * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getMinValueBytes() { + public com.google.protobuf.ByteString getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minValue_ = b; return b; } else { @@ -3564,9 +3944,12 @@ public java.lang.String getMinValue() { } public static final int MAX_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object maxValue_ = ""; /** + * + * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3575,6 +3958,7 @@ public java.lang.String getMinValue() {
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ @java.lang.Override @@ -3583,14 +3967,15 @@ public java.lang.String getMaxValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; } } /** + * + * *
      * Optional. The maximum column statistic value allowed for a row to pass
      * this validation.
@@ -3599,16 +3984,15 @@ public java.lang.String getMaxValue() {
      * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getMaxValueBytes() { + public com.google.protobuf.ByteString getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maxValue_ = b; return b; } else { @@ -3619,6 +4003,8 @@ public java.lang.String getMaxValue() { public static final int STRICT_MIN_ENABLED_FIELD_NUMBER = 4; private boolean strictMinEnabled_ = false; /** + * + * *
      * Optional. Whether column statistic needs to be strictly greater than
      * ('>') the minimum, or if equality is allowed.
@@ -3627,6 +4013,7 @@ public java.lang.String getMaxValue() {
      * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ @java.lang.Override @@ -3637,6 +4024,8 @@ public boolean getStrictMinEnabled() { public static final int STRICT_MAX_ENABLED_FIELD_NUMBER = 5; private boolean strictMaxEnabled_ = false; /** + * + * *
      * Optional. Whether column statistic needs to be strictly lesser than ('<')
      * the maximum, or if equality is allowed.
@@ -3645,6 +4034,7 @@ public boolean getStrictMinEnabled() {
      * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ @java.lang.Override @@ -3653,6 +4043,7 @@ public boolean getStrictMaxEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3664,9 +4055,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (statistic_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.STATISTIC_UNDEFINED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (statistic_ + != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + .STATISTIC_UNDEFINED + .getNumber()) { output.writeEnum(1, statistic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { @@ -3690,9 +4083,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (statistic_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.STATISTIC_UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, statistic_); + if (statistic_ + != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + .STATISTIC_UNDEFINED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, statistic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minValue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, minValue_); @@ -3701,12 +4096,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, maxValue_); } if (strictMinEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, strictMinEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, strictMinEnabled_); } if (strictMaxEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, strictMaxEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, strictMaxEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3716,22 +4109,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)) { + if (!(obj + instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) obj; if (statistic_ != other.statistic_) return false; - if (!getMinValue() - .equals(other.getMinValue())) return false; - if (!getMaxValue() - .equals(other.getMaxValue())) return false; - if (getStrictMinEnabled() - != other.getStrictMinEnabled()) return false; - if (getStrictMaxEnabled() - != other.getStrictMaxEnabled()) return false; + if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; + if (getStrictMinEnabled() != other.getStrictMinEnabled()) return false; + if (getStrictMaxEnabled() != other.getStrictMaxEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3750,100 +4141,104 @@ public int hashCode() { hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER; hash = (53 * hash) + getMaxValue().hashCode(); hash = (37 * hash) + STRICT_MIN_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrictMinEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMinEnabled()); hash = (37 * hash) + STRICT_MAX_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrictMaxEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictMaxEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3853,6 +4248,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether the column aggregate statistic lies between a specified
      * range.
@@ -3860,33 +4257,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder.class);
+                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.class,
+                com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3900,19 +4299,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result = buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -3921,13 +4323,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation bu
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result =
+            new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result) {
+      private void buildPartial0(
+          com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.statistic_ = statistic_;
@@ -3950,46 +4356,54 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.Statisti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) {
-          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation)other);
+        if (other
+            instanceof com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) {
+          return mergeFrom(
+              (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other) {
-        if (other == com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation other) {
+        if (other
+            == com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
+                .getDefaultInstance()) return this;
         if (other.statistic_ != 0) {
           setStatisticValue(other.getStatisticValue());
         }
@@ -4035,37 +4449,43 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                statistic_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 18: {
-                minValue_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                maxValue_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 32: {
-                strictMinEnabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-              case 40: {
-                strictMaxEnabled_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  statistic_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 18:
+                {
+                  minValue_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  maxValue_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 32:
+                {
+                  strictMinEnabled_ = input.readBool();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 32
+              case 40:
+                {
+                  strictMaxEnabled_ = input.readBool();
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 40
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4075,26 +4495,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int statistic_ = 0;
       /**
+       *
+       *
        * 
        * Optional. The aggregate metric to evaluate.
        * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for statistic. */ - @java.lang.Override public int getStatisticValue() { + @java.lang.Override + public int getStatisticValue() { return statistic_; } /** + * + * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for statistic to set. * @return This builder for chaining. */ @@ -4105,28 +4537,47 @@ public Builder setStatisticValue(int value) { return this; } /** + * + * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The statistic. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic() { - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic result = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.forNumber(statistic_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + getStatistic() { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + result = + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .ColumnStatistic.forNumber(statistic_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + .UNRECOGNIZED + : result; } /** + * + * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The statistic to set. * @return This builder for chaining. */ - public Builder setStatistic(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic value) { + public Builder setStatistic( + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic + value) { if (value == null) { throw new NullPointerException(); } @@ -4136,11 +4587,16 @@ public Builder setStatistic(com.google.cloud.dataplex.v1.DataQualityRule.Statist return this; } /** + * + * *
        * Optional. The aggregate metric to evaluate.
        * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearStatistic() { @@ -4152,6 +4608,8 @@ public Builder clearStatistic() { private java.lang.Object minValue_ = ""; /** + * + * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4160,13 +4618,13 @@ public Builder clearStatistic() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minValue. */ public java.lang.String getMinValue() { java.lang.Object ref = minValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minValue_ = s; return s; @@ -4175,6 +4633,8 @@ public java.lang.String getMinValue() { } } /** + * + * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4183,15 +4643,14 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for minValue. */ - public com.google.protobuf.ByteString - getMinValueBytes() { + public com.google.protobuf.ByteString getMinValueBytes() { java.lang.Object ref = minValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minValue_ = b; return b; } else { @@ -4199,6 +4658,8 @@ public java.lang.String getMinValue() { } } /** + * + * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4207,18 +4668,22 @@ public java.lang.String getMinValue() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The minValue to set. * @return This builder for chaining. */ - public Builder setMinValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMinValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } minValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4227,6 +4692,7 @@ public Builder setMinValue(
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMinValue() { @@ -4236,6 +4702,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * Optional. The minimum column statistic value allowed for a row to pass
        * this validation.
@@ -4244,12 +4712,14 @@ public Builder clearMinValue() {
        * 
* * string min_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for minValue to set. * @return This builder for chaining. */ - public Builder setMinValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMinValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); minValue_ = value; bitField0_ |= 0x00000002; @@ -4259,6 +4729,8 @@ public Builder setMinValueBytes( private java.lang.Object maxValue_ = ""; /** + * + * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4267,13 +4739,13 @@ public Builder setMinValueBytes(
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxValue. */ public java.lang.String getMaxValue() { java.lang.Object ref = maxValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maxValue_ = s; return s; @@ -4282,6 +4754,8 @@ public java.lang.String getMaxValue() { } } /** + * + * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4290,15 +4764,14 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for maxValue. */ - public com.google.protobuf.ByteString - getMaxValueBytes() { + public com.google.protobuf.ByteString getMaxValueBytes() { java.lang.Object ref = maxValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maxValue_ = b; return b; } else { @@ -4306,6 +4779,8 @@ public java.lang.String getMaxValue() { } } /** + * + * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4314,18 +4789,22 @@ public java.lang.String getMaxValue() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMaxValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } maxValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4334,6 +4813,7 @@ public Builder setMaxValue(
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxValue() { @@ -4343,6 +4823,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * Optional. The maximum column statistic value allowed for a row to pass
        * this validation.
@@ -4351,12 +4833,14 @@ public Builder clearMaxValue() {
        * 
* * string max_value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for maxValue to set. * @return This builder for chaining. */ - public Builder setMaxValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMaxValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); maxValue_ = value; bitField0_ |= 0x00000004; @@ -4364,8 +4848,10 @@ public Builder setMaxValueBytes( return this; } - private boolean strictMinEnabled_ ; + private boolean strictMinEnabled_; /** + * + * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4374,6 +4860,7 @@ public Builder setMaxValueBytes(
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMinEnabled. */ @java.lang.Override @@ -4381,6 +4868,8 @@ public boolean getStrictMinEnabled() { return strictMinEnabled_; } /** + * + * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4389,6 +4878,7 @@ public boolean getStrictMinEnabled() {
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The strictMinEnabled to set. * @return This builder for chaining. */ @@ -4400,6 +4890,8 @@ public Builder setStrictMinEnabled(boolean value) { return this; } /** + * + * *
        * Optional. Whether column statistic needs to be strictly greater than
        * ('>') the minimum, or if equality is allowed.
@@ -4408,6 +4900,7 @@ public Builder setStrictMinEnabled(boolean value) {
        * 
* * bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStrictMinEnabled() { @@ -4417,8 +4910,10 @@ public Builder clearStrictMinEnabled() { return this; } - private boolean strictMaxEnabled_ ; + private boolean strictMaxEnabled_; /** + * + * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4427,6 +4922,7 @@ public Builder clearStrictMinEnabled() {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The strictMaxEnabled. */ @java.lang.Override @@ -4434,6 +4930,8 @@ public boolean getStrictMaxEnabled() { return strictMaxEnabled_; } /** + * + * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4442,6 +4940,7 @@ public boolean getStrictMaxEnabled() {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The strictMaxEnabled to set. * @return This builder for chaining. */ @@ -4453,6 +4952,8 @@ public Builder setStrictMaxEnabled(boolean value) { return this; } /** + * + * *
        * Optional. Whether column statistic needs to be strictly lesser than ('<')
        * the maximum, or if equality is allowed.
@@ -4461,6 +4962,7 @@ public Builder setStrictMaxEnabled(boolean value) {
        * 
* * bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStrictMaxEnabled() { @@ -4469,6 +4971,7 @@ public Builder clearStrictMaxEnabled() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4481,41 +4984,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatisticRangeExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticRangeExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4527,37 +5034,45 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RowConditionExpectationOrBuilder extends + public interface RowConditionExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ java.lang.String getSqlExpression(); /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ - com.google.protobuf.ByteString - getSqlExpressionBytes(); + com.google.protobuf.ByteString getSqlExpressionBytes(); } /** + * + * *
    * Evaluates whether each row passes the specified condition.
    *
@@ -4569,48 +5084,54 @@ public interface RowConditionExpectationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation}
    */
-  public static final class RowConditionExpectation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class RowConditionExpectation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)
       RowConditionExpectationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use RowConditionExpectation.newBuilder() to construct.
     private RowConditionExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private RowConditionExpectation() {
       sqlExpression_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new RowConditionExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class,
+              com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
     }
 
     public static final int SQL_EXPRESSION_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object sqlExpression_ = "";
     /**
+     *
+     *
      * 
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ @java.lang.Override @@ -4619,29 +5140,29 @@ public java.lang.String getSqlExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; } } /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlExpressionBytes() { + public com.google.protobuf.ByteString getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -4650,6 +5171,7 @@ public java.lang.String getSqlExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4661,8 +5183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlExpression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlExpression_); } @@ -4686,15 +5207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) obj; - if (!getSqlExpression() - .equals(other.getSqlExpression())) return false; + if (!getSqlExpression().equals(other.getSqlExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4714,89 +5235,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4806,6 +5333,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether each row passes the specified condition.
      *
@@ -4817,33 +5346,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
+                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.class,
+                com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder.class);
       }
 
-      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4853,19 +5383,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result = buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4874,13 +5407,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation buil
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result =
+            new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result) {
+      private void buildPartial0(
+          com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.sqlExpression_ = sqlExpression_;
@@ -4891,46 +5428,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.RowCondi
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) {
-          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation)other);
+          return mergeFrom(
+              (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other) {
-        if (other == com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation other) {
+        if (other
+            == com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
+                .getDefaultInstance()) return this;
         if (!other.getSqlExpression().isEmpty()) {
           sqlExpression_ = other.sqlExpression_;
           bitField0_ |= 0x00000001;
@@ -4962,17 +5506,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                sqlExpression_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  sqlExpression_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4982,22 +5528,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object sqlExpression_ = "";
       /**
+       *
+       *
        * 
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ public java.lang.String getSqlExpression() { java.lang.Object ref = sqlExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; @@ -5006,20 +5555,21 @@ public java.lang.String getSqlExpression() { } } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ - public com.google.protobuf.ByteString - getSqlExpressionBytes() { + public com.google.protobuf.ByteString getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5027,28 +5577,35 @@ public java.lang.String getSqlExpression() { } } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpression( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlExpression(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSqlExpression() { @@ -5058,23 +5615,28 @@ public Builder clearSqlExpression() { return this; } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpressionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlExpressionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5087,41 +5649,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowConditionExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowConditionExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5133,37 +5698,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TableConditionExpectationOrBuilder extends + public interface TableConditionExpectationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ java.lang.String getSqlExpression(); /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ - com.google.protobuf.ByteString - getSqlExpressionBytes(); + com.google.protobuf.ByteString getSqlExpressionBytes(); } /** + * + * *
    * Evaluates whether the provided expression is true.
    *
@@ -5175,48 +5748,54 @@ public interface TableConditionExpectationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation}
    */
-  public static final class TableConditionExpectation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TableConditionExpectation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)
       TableConditionExpectationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TableConditionExpectation.newBuilder() to construct.
     private TableConditionExpectation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private TableConditionExpectation() {
       sqlExpression_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TableConditionExpectation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataQualityProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class,
+              com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
     }
 
     public static final int SQL_EXPRESSION_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object sqlExpression_ = "";
     /**
+     *
+     *
      * 
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ @java.lang.Override @@ -5225,29 +5804,29 @@ public java.lang.String getSqlExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; } } /** + * + * *
      * Optional. The SQL expression.
      * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlExpressionBytes() { + public com.google.protobuf.ByteString getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5256,6 +5835,7 @@ public java.lang.String getSqlExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5267,8 +5847,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlExpression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlExpression_); } @@ -5292,15 +5871,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)) { + if (!(obj + instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other = (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) obj; + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other = + (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) obj; - if (!getSqlExpression() - .equals(other.getSqlExpression())) return false; + if (!getSqlExpression().equals(other.getSqlExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5320,89 +5900,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5412,6 +5998,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Evaluates whether the provided expression is true.
      *
@@ -5423,33 +6011,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)
         com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder.class);
+                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.class,
+                com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5459,19 +6049,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.DataQualityProto
+            .internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstanceForType() {
-        return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance();
+      public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation build() {
-        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result = buildPartial();
+        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5480,13 +6073,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation bu
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation buildPartial() {
-        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result = new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result =
+            new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result) {
+      private void buildPartial0(
+          com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.sqlExpression_ = sqlExpression_;
@@ -5497,46 +6094,54 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule.TableCon
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) {
-          return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation)other);
+        if (other
+            instanceof com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) {
+          return mergeFrom(
+              (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other) {
-        if (other == com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation other) {
+        if (other
+            == com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation
+                .getDefaultInstance()) return this;
         if (!other.getSqlExpression().isEmpty()) {
           sqlExpression_ = other.sqlExpression_;
           bitField0_ |= 0x00000001;
@@ -5565,20 +6170,22 @@ public Builder mergeFrom(
           while (!done) {
             int tag = input.readTag();
             switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 10: {
-                sqlExpression_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
+              case 0:
+                done = true;
                 break;
-              } // default:
+              case 10:
+                {
+                  sqlExpression_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5588,22 +6195,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object sqlExpression_ = "";
       /**
+       *
+       *
        * 
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sqlExpression. */ public java.lang.String getSqlExpression() { java.lang.Object ref = sqlExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlExpression_ = s; return s; @@ -5612,20 +6222,21 @@ public java.lang.String getSqlExpression() { } } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for sqlExpression. */ - public com.google.protobuf.ByteString - getSqlExpressionBytes() { + public com.google.protobuf.ByteString getSqlExpressionBytes() { java.lang.Object ref = sqlExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlExpression_ = b; return b; } else { @@ -5633,28 +6244,35 @@ public java.lang.String getSqlExpression() { } } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpression( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlExpression(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSqlExpression() { @@ -5664,23 +6282,28 @@ public Builder clearSqlExpression() { return this; } /** + * + * *
        * Optional. The SQL expression.
        * 
* * string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for sqlExpression to set. * @return This builder for chaining. */ - public Builder setSqlExpressionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlExpressionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sqlExpression_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5693,41 +6316,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) - private static final com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation(); } - public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableConditionExpectation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableConditionExpectation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5739,17 +6366,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int ruleTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object ruleType_; + public enum RuleTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RANGE_EXPECTATION(1), NON_NULL_EXPECTATION(2), @@ -5761,6 +6391,7 @@ public enum RuleTypeCase TABLE_CONDITION_EXPECTATION(201), RULETYPE_NOT_SET(0); private final int value; + private RuleTypeCase(int value) { this.value = value; } @@ -5776,37 +6407,49 @@ public static RuleTypeCase valueOf(int value) { public static RuleTypeCase forNumber(int value) { switch (value) { - case 1: return RANGE_EXPECTATION; - case 2: return NON_NULL_EXPECTATION; - case 3: return SET_EXPECTATION; - case 4: return REGEX_EXPECTATION; - case 100: return UNIQUENESS_EXPECTATION; - case 101: return STATISTIC_RANGE_EXPECTATION; - case 200: return ROW_CONDITION_EXPECTATION; - case 201: return TABLE_CONDITION_EXPECTATION; - case 0: return RULETYPE_NOT_SET; - default: return null; + case 1: + return RANGE_EXPECTATION; + case 2: + return NON_NULL_EXPECTATION; + case 3: + return SET_EXPECTATION; + case 4: + return REGEX_EXPECTATION; + case 100: + return UNIQUENESS_EXPECTATION; + case 101: + return STATISTIC_RANGE_EXPECTATION; + case 200: + return ROW_CONDITION_EXPECTATION; + case 201: + return TABLE_CONDITION_EXPECTATION; + case 0: + return RULETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RuleTypeCase - getRuleTypeCase() { - return RuleTypeCase.forNumber( - ruleTypeCase_); + public RuleTypeCase getRuleTypeCase() { + return RuleTypeCase.forNumber(ruleTypeCase_); } public static final int RANGE_EXPECTATION_FIELD_NUMBER = 1; /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * * @return Whether the rangeExpectation field is set. */ @java.lang.Override @@ -5814,22 +6457,27 @@ public boolean hasRangeExpectation() { return ruleTypeCase_ == 1; } /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * * @return The rangeExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExpectation() { if (ruleTypeCase_ == 1) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
@@ -5838,20 +6486,25 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExp
    * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder
+      getRangeExpectationOrBuilder() {
     if (ruleTypeCase_ == 1) {
-       return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_;
+      return (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance();
   }
 
   public static final int NON_NULL_EXPECTATION_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return Whether the nonNullExpectation field is set. */ @java.lang.Override @@ -5859,43 +6512,54 @@ public boolean hasNonNullExpectation() { return ruleTypeCase_ == 2; } /** + * + * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return The nonNullExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNullExpectation() { if (ruleTypeCase_ == 2) { - return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder + getNonNullExpectationOrBuilder() { if (ruleTypeCase_ == 2) { - return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); } public static final int SET_EXPECTATION_FIELD_NUMBER = 3; /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return Whether the setExpectation field is set. */ @java.lang.Override @@ -5903,22 +6567,27 @@ public boolean hasSetExpectation() { return ruleTypeCase_ == 3; } /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return The setExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpectation() { if (ruleTypeCase_ == 3) { - return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
@@ -5927,21 +6596,25 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta
    * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder
+      getSetExpectationOrBuilder() {
     if (ruleTypeCase_ == 3) {
-       return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_;
+      return (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
   }
 
   public static final int REGEX_EXPECTATION_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * * @return Whether the regexExpectation field is set. */ @java.lang.Override @@ -5949,22 +6622,27 @@ public boolean hasRegexExpectation() { return ruleTypeCase_ == 4; } /** + * + * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * * @return The regexExpectation. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExpectation() { if (ruleTypeCase_ == 4) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
@@ -5973,20 +6651,26 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExp
    * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    */
   @java.lang.Override
-  public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder() {
+  public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder
+      getRegexExpectationOrBuilder() {
     if (ruleTypeCase_ == 4) {
-       return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_;
+      return (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_;
     }
     return com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance();
   }
 
   public static final int UNIQUENESS_EXPECTATION_FIELD_NUMBER = 100;
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return Whether the uniquenessExpectation field is set. */ @java.lang.Override @@ -5994,43 +6678,59 @@ public boolean hasUniquenessExpectation() { return ruleTypeCase_ == 100; } /** + * + * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return The uniquenessExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + getUniquenessExpectation() { if (ruleTypeCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder + getUniquenessExpectationOrBuilder() { if (ruleTypeCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); } public static final int STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER = 101; /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return Whether the statisticRangeExpectation field is set. */ @java.lang.Override @@ -6038,45 +6738,63 @@ public boolean hasStatisticRangeExpectation() { return ruleTypeCase_ == 101; } /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return The statisticRangeExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + getStatisticRangeExpectation() { if (ruleTypeCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); } /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder + getStatisticRangeExpectationOrBuilder() { if (ruleTypeCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); } public static final int ROW_CONDITION_EXPECTATION_FIELD_NUMBER = 200; /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return Whether the rowConditionExpectation field is set. */ @java.lang.Override @@ -6084,45 +6802,63 @@ public boolean hasRowConditionExpectation() { return ruleTypeCase_ == 200; } /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return The rowConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + getRowConditionExpectation() { if (ruleTypeCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); } /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder + getRowConditionExpectationOrBuilder() { if (ruleTypeCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); } public static final int TABLE_CONDITION_EXPECTATION_FIELD_NUMBER = 201; /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return Whether the tableConditionExpectation field is set. */ @java.lang.Override @@ -6130,46 +6866,63 @@ public boolean hasTableConditionExpectation() { return ruleTypeCase_ == 201; } /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return The tableConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + getTableConditionExpectation() { if (ruleTypeCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); } /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder + getTableConditionExpectationOrBuilder() { if (ruleTypeCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; + return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); } public static final int COLUMN_FIELD_NUMBER = 500; + @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** + * + * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ @java.lang.Override @@ -6178,29 +6931,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** + * + * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -6211,6 +6964,8 @@ public java.lang.String getColumn() { public static final int IGNORE_NULL_FIELD_NUMBER = 501; private boolean ignoreNull_ = false; /** + * + * *
    * Optional. Rows with `null` values will automatically fail a rule, unless
    * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -6220,6 +6975,7 @@ public java.lang.String getColumn() {
    * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreNull. */ @java.lang.Override @@ -6228,9 +6984,12 @@ public boolean getIgnoreNull() { } public static final int DIMENSION_FIELD_NUMBER = 502; + @SuppressWarnings("serial") private volatile java.lang.Object dimension_ = ""; /** + * + * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -6238,6 +6997,7 @@ public boolean getIgnoreNull() {
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dimension. */ @java.lang.Override @@ -6246,14 +7006,15 @@ public java.lang.String getDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; } } /** + * + * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -6261,16 +7022,15 @@ public java.lang.String getDimension() {
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dimension. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionBytes() { + public com.google.protobuf.ByteString getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimension_ = b; return b; } else { @@ -6281,6 +7041,8 @@ public java.lang.String getDimension() { public static final int THRESHOLD_FIELD_NUMBER = 503; private double threshold_ = 0D; /** + * + * *
    * Optional. The minimum ratio of **passing_rows / total_rows** required to
    * pass this rule, with a range of [0.0, 1.0].
@@ -6291,6 +7053,7 @@ public java.lang.String getDimension() {
    * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The threshold. */ @java.lang.Override @@ -6299,9 +7062,12 @@ public double getThreshold() { } public static final int NAME_FIELD_NUMBER = 504; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Optional. A mutable name for the rule.
    *
@@ -6313,6 +7079,7 @@ public double getThreshold() {
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -6321,14 +7088,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; } } /** + * + * *
    * Optional. A mutable name for the rule.
    *
@@ -6340,16 +7108,15 @@ public java.lang.String getName() {
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6358,9 +7125,12 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 505; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the rule.
    *
@@ -6368,6 +7138,7 @@ public java.lang.String getName() {
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -6376,14 +7147,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; } } /** + * + * *
    * Optional. Description of the rule.
    *
@@ -6391,16 +7163,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6409,6 +7180,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6420,31 +7192,38 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (ruleTypeCase_ == 1) { - output.writeMessage(1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); + output.writeMessage( + 1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); } if (ruleTypeCase_ == 2) { - output.writeMessage(2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); + output.writeMessage( + 2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); } if (ruleTypeCase_ == 3) { - output.writeMessage(3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); + output.writeMessage( + 3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); } if (ruleTypeCase_ == 4) { - output.writeMessage(4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); + output.writeMessage( + 4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); } if (ruleTypeCase_ == 100) { - output.writeMessage(100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); + output.writeMessage( + 100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); } if (ruleTypeCase_ == 101) { - output.writeMessage(101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); + output.writeMessage( + 101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); } if (ruleTypeCase_ == 200) { - output.writeMessage(200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); + output.writeMessage( + 200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); } if (ruleTypeCase_ == 201) { - output.writeMessage(201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); + output.writeMessage( + 201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 500, column_); @@ -6474,50 +7253,59 @@ public int getSerializedSize() { size = 0; if (ruleTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_); } if (ruleTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_); } if (ruleTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_); } if (ruleTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_); } if (ruleTypeCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_); } if (ruleTypeCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, + (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_); } if (ruleTypeCase_ == 200) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 200, + (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_); } if (ruleTypeCase_ == 201) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 201, + (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(500, column_); } if (ignoreNull_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(501, ignoreNull_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(501, ignoreNull_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimension_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(502, dimension_); } if (java.lang.Double.doubleToRawLongBits(threshold_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(503, threshold_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(503, threshold_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(504, name_); @@ -6533,59 +7321,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRule)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRule other = (com.google.cloud.dataplex.v1.DataQualityRule) obj; + com.google.cloud.dataplex.v1.DataQualityRule other = + (com.google.cloud.dataplex.v1.DataQualityRule) obj; - if (!getColumn() - .equals(other.getColumn())) return false; - if (getIgnoreNull() - != other.getIgnoreNull()) return false; - if (!getDimension() - .equals(other.getDimension())) return false; + if (!getColumn().equals(other.getColumn())) return false; + if (getIgnoreNull() != other.getIgnoreNull()) return false; + if (!getDimension().equals(other.getDimension())) return false; if (java.lang.Double.doubleToLongBits(getThreshold()) - != java.lang.Double.doubleToLongBits( - other.getThreshold())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + != java.lang.Double.doubleToLongBits(other.getThreshold())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getRuleTypeCase().equals(other.getRuleTypeCase())) return false; switch (ruleTypeCase_) { case 1: - if (!getRangeExpectation() - .equals(other.getRangeExpectation())) return false; + if (!getRangeExpectation().equals(other.getRangeExpectation())) return false; break; case 2: - if (!getNonNullExpectation() - .equals(other.getNonNullExpectation())) return false; + if (!getNonNullExpectation().equals(other.getNonNullExpectation())) return false; break; case 3: - if (!getSetExpectation() - .equals(other.getSetExpectation())) return false; + if (!getSetExpectation().equals(other.getSetExpectation())) return false; break; case 4: - if (!getRegexExpectation() - .equals(other.getRegexExpectation())) return false; + if (!getRegexExpectation().equals(other.getRegexExpectation())) return false; break; case 100: - if (!getUniquenessExpectation() - .equals(other.getUniquenessExpectation())) return false; + if (!getUniquenessExpectation().equals(other.getUniquenessExpectation())) return false; break; case 101: - if (!getStatisticRangeExpectation() - .equals(other.getStatisticRangeExpectation())) return false; + if (!getStatisticRangeExpectation().equals(other.getStatisticRangeExpectation())) + return false; break; case 200: - if (!getRowConditionExpectation() - .equals(other.getRowConditionExpectation())) return false; + if (!getRowConditionExpectation().equals(other.getRowConditionExpectation())) return false; break; case 201: - if (!getTableConditionExpectation() - .equals(other.getTableConditionExpectation())) return false; + if (!getTableConditionExpectation().equals(other.getTableConditionExpectation())) + return false; break; case 0: default: @@ -6604,13 +7381,14 @@ public int hashCode() { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn().hashCode(); hash = (37 * hash) + IGNORE_NULL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIgnoreNull()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreNull()); hash = (37 * hash) + DIMENSION_FIELD_NUMBER; hash = (53 * hash) + getDimension().hashCode(); hash = (37 * hash) + THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThreshold())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThreshold())); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -6656,132 +7434,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 captures data quality intent about a data source.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRule) com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRule.class, com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRule.class, + com.google.cloud.dataplex.v1.DataQualityRule.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRule.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6822,9 +7604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor; } @java.lang.Override @@ -6843,8 +7625,11 @@ public com.google.cloud.dataplex.v1.DataQualityRule build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRule result = new com.google.cloud.dataplex.v1.DataQualityRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityRule result = + new com.google.cloud.dataplex.v1.DataQualityRule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -6875,36 +7660,28 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRule result) private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataQualityRule result) { result.ruleTypeCase_ = ruleTypeCase_; result.ruleType_ = this.ruleType_; - if (ruleTypeCase_ == 1 && - rangeExpectationBuilder_ != null) { + if (ruleTypeCase_ == 1 && rangeExpectationBuilder_ != null) { result.ruleType_ = rangeExpectationBuilder_.build(); } - if (ruleTypeCase_ == 2 && - nonNullExpectationBuilder_ != null) { + if (ruleTypeCase_ == 2 && nonNullExpectationBuilder_ != null) { result.ruleType_ = nonNullExpectationBuilder_.build(); } - if (ruleTypeCase_ == 3 && - setExpectationBuilder_ != null) { + if (ruleTypeCase_ == 3 && setExpectationBuilder_ != null) { result.ruleType_ = setExpectationBuilder_.build(); } - if (ruleTypeCase_ == 4 && - regexExpectationBuilder_ != null) { + if (ruleTypeCase_ == 4 && regexExpectationBuilder_ != null) { result.ruleType_ = regexExpectationBuilder_.build(); } - if (ruleTypeCase_ == 100 && - uniquenessExpectationBuilder_ != null) { + if (ruleTypeCase_ == 100 && uniquenessExpectationBuilder_ != null) { result.ruleType_ = uniquenessExpectationBuilder_.build(); } - if (ruleTypeCase_ == 101 && - statisticRangeExpectationBuilder_ != null) { + if (ruleTypeCase_ == 101 && statisticRangeExpectationBuilder_ != null) { result.ruleType_ = statisticRangeExpectationBuilder_.build(); } - if (ruleTypeCase_ == 200 && - rowConditionExpectationBuilder_ != null) { + if (ruleTypeCase_ == 200 && rowConditionExpectationBuilder_ != null) { result.ruleType_ = rowConditionExpectationBuilder_.build(); } - if (ruleTypeCase_ == 201 && - tableConditionExpectationBuilder_ != null) { + if (ruleTypeCase_ == 201 && tableConditionExpectationBuilder_ != null) { result.ruleType_ = tableConditionExpectationBuilder_.build(); } } @@ -6913,38 +7690,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataQualityRule res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRule) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRule) other); } else { super.mergeFrom(other); return this; @@ -6980,41 +7758,50 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRule other) { onChanged(); } switch (other.getRuleTypeCase()) { - case RANGE_EXPECTATION: { - mergeRangeExpectation(other.getRangeExpectation()); - break; - } - case NON_NULL_EXPECTATION: { - mergeNonNullExpectation(other.getNonNullExpectation()); - break; - } - case SET_EXPECTATION: { - mergeSetExpectation(other.getSetExpectation()); - break; - } - case REGEX_EXPECTATION: { - mergeRegexExpectation(other.getRegexExpectation()); - break; - } - case UNIQUENESS_EXPECTATION: { - mergeUniquenessExpectation(other.getUniquenessExpectation()); - break; - } - case STATISTIC_RANGE_EXPECTATION: { - mergeStatisticRangeExpectation(other.getStatisticRangeExpectation()); - break; - } - case ROW_CONDITION_EXPECTATION: { - mergeRowConditionExpectation(other.getRowConditionExpectation()); - break; - } - case TABLE_CONDITION_EXPECTATION: { - mergeTableConditionExpectation(other.getTableConditionExpectation()); - break; - } - case RULETYPE_NOT_SET: { - break; - } + case RANGE_EXPECTATION: + { + mergeRangeExpectation(other.getRangeExpectation()); + break; + } + case NON_NULL_EXPECTATION: + { + mergeNonNullExpectation(other.getNonNullExpectation()); + break; + } + case SET_EXPECTATION: + { + mergeSetExpectation(other.getSetExpectation()); + break; + } + case REGEX_EXPECTATION: + { + mergeRegexExpectation(other.getRegexExpectation()); + break; + } + case UNIQUENESS_EXPECTATION: + { + mergeUniquenessExpectation(other.getUniquenessExpectation()); + break; + } + case STATISTIC_RANGE_EXPECTATION: + { + mergeStatisticRangeExpectation(other.getStatisticRangeExpectation()); + break; + } + case ROW_CONDITION_EXPECTATION: + { + mergeRowConditionExpectation(other.getRowConditionExpectation()); + break; + } + case TABLE_CONDITION_EXPECTATION: + { + mergeTableConditionExpectation(other.getTableConditionExpectation()); + break; + } + case RULETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -7042,98 +7829,104 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRangeExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getNonNullExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getSetExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getRegexExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 4; - break; - } // case 34 - case 802: { - input.readMessage( - getUniquenessExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 100; - break; - } // case 802 - case 810: { - input.readMessage( - getStatisticRangeExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 101; - break; - } // case 810 - case 1602: { - input.readMessage( - getRowConditionExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 200; - break; - } // case 1602 - case 1610: { - input.readMessage( - getTableConditionExpectationFieldBuilder().getBuilder(), - extensionRegistry); - ruleTypeCase_ = 201; - break; - } // case 1610 - case 4002: { - column_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 4002 - case 4008: { - ignoreNull_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 4008 - case 4018: { - dimension_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 4018 - case 4025: { - threshold_ = input.readDouble(); - bitField0_ |= 0x00000800; - break; - } // case 4025 - case 4034: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 4034 - case 4042: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 4042 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getRangeExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getNonNullExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getSetExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getRegexExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 4; + break; + } // case 34 + case 802: + { + input.readMessage( + getUniquenessExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 100; + break; + } // case 802 + case 810: + { + input.readMessage( + getStatisticRangeExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 101; + break; + } // case 810 + case 1602: + { + input.readMessage( + getRowConditionExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 200; + break; + } // case 1602 + case 1610: + { + input.readMessage( + getTableConditionExpectationFieldBuilder().getBuilder(), extensionRegistry); + ruleTypeCase_ = 201; + break; + } // case 1610 + case 4002: + { + column_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 4002 + case 4008: + { + ignoreNull_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 4008 + case 4018: + { + dimension_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 4018 + case 4025: + { + threshold_ = input.readDouble(); + bitField0_ |= 0x00000800; + break; + } // case 4025 + case 4034: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 4034 + case 4042: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 4042 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7143,12 +7936,12 @@ public Builder mergeFrom( } // finally return this; } + private int ruleTypeCase_ = 0; private java.lang.Object ruleType_; - public RuleTypeCase - getRuleTypeCase() { - return RuleTypeCase.forNumber( - ruleTypeCase_); + + public RuleTypeCase getRuleTypeCase() { + return RuleTypeCase.forNumber(ruleTypeCase_); } public Builder clearRuleType() { @@ -7161,14 +7954,21 @@ public Builder clearRuleType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> rangeExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> + rangeExpectationBuilder_; /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * + * * @return Whether the rangeExpectation field is set. */ @java.lang.Override @@ -7176,12 +7976,16 @@ public boolean hasRangeExpectation() { return ruleTypeCase_ == 1; } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * + * * @return The rangeExpectation. */ @java.lang.Override @@ -7199,14 +8003,18 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExp } } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ - public Builder setRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { + public Builder setRangeExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { if (rangeExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7220,12 +8028,15 @@ public Builder setRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule. return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ public Builder setRangeExpectation( com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder builderForValue) { @@ -7239,19 +8050,28 @@ public Builder setRangeExpectation( return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ - public Builder mergeRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { + public Builder mergeRangeExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation value) { if (rangeExpectationBuilder_ == null) { - if (ruleTypeCase_ == 1 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 1 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -7267,12 +8087,15 @@ public Builder mergeRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRul return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ public Builder clearRangeExpectation() { if (rangeExpectationBuilder_ == null) { @@ -7291,26 +8114,34 @@ public Builder clearRangeExpectation() { return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder getRangeExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder + getRangeExpectationBuilder() { return getRangeExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder + getRangeExpectationOrBuilder() { if ((ruleTypeCase_ == 1) && (rangeExpectationBuilder_ != null)) { return rangeExpectationBuilder_.getMessageOrBuilder(); } else { @@ -7321,22 +8152,31 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder ge } } /** + * + * *
      * Row-level rule which evaluates whether each column value lies between a
      * specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder> getRangeExpectationFieldBuilder() { if (rangeExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 1)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); - } - rangeExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.getDefaultInstance(); + } + rangeExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation) ruleType_, getParentForChildren(), isClean()); @@ -7348,13 +8188,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> nonNullExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> + nonNullExpectationBuilder_; /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return Whether the nonNullExpectation field is set. */ @java.lang.Override @@ -7362,11 +8209,15 @@ public boolean hasNonNullExpectation() { return ruleTypeCase_ == 2; } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return The nonNullExpectation. */ @java.lang.Override @@ -7384,13 +8235,17 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNul } } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ - public Builder setNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { + public Builder setNonNullExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { if (nonNullExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7404,11 +8259,14 @@ public Builder setNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityRul return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ public Builder setNonNullExpectation( com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder builderForValue) { @@ -7422,18 +8280,27 @@ public Builder setNonNullExpectation( return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ - public Builder mergeNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { + public Builder mergeNonNullExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation value) { if (nonNullExpectationBuilder_ == null) { - if (ruleTypeCase_ == 2 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 2 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -7449,11 +8316,14 @@ public Builder mergeNonNullExpectation(com.google.cloud.dataplex.v1.DataQualityR return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ public Builder clearNonNullExpectation() { if (nonNullExpectationBuilder_ == null) { @@ -7472,24 +8342,32 @@ public Builder clearNonNullExpectation() { return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder getNonNullExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder + getNonNullExpectationBuilder() { return getNonNullExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder + getNonNullExpectationOrBuilder() { if ((ruleTypeCase_ == 2) && (nonNullExpectationBuilder_ != null)) { return nonNullExpectationBuilder_.getMessageOrBuilder(); } else { @@ -7500,21 +8378,30 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder } } /** + * + * *
      * Row-level rule which evaluates whether each column value is null.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder> getNonNullExpectationFieldBuilder() { if (nonNullExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 2)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); - } - nonNullExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.getDefaultInstance(); + } + nonNullExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation) ruleType_, getParentForChildren(), isClean()); @@ -7526,14 +8413,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> setExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> + setExpectationBuilder_; /** + * + * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return Whether the setExpectation field is set. */ @java.lang.Override @@ -7541,12 +8434,15 @@ public boolean hasSetExpectation() { return ruleTypeCase_ == 3; } /** + * + * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return The setExpectation. */ @java.lang.Override @@ -7564,6 +8460,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta } } /** + * + * *
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7571,7 +8469,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpecta
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public Builder setSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
+    public Builder setSetExpectation(
+        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
       if (setExpectationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7585,6 +8484,8 @@ public Builder setSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.Se
       return this;
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7604,6 +8505,8 @@ public Builder setSetExpectation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7611,12 +8514,18 @@ public Builder setSetExpectation(
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public Builder mergeSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
+    public Builder mergeSetExpectation(
+        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation value) {
       if (setExpectationBuilder_ == null) {
-        if (ruleTypeCase_ == 3 &&
-            ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance()) {
-          ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_)
-              .mergeFrom(value).buildPartial();
+        if (ruleTypeCase_ == 3
+            && ruleType_
+                != com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation
+                    .getDefaultInstance()) {
+          ruleType_ =
+              com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.newBuilder(
+                      (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           ruleType_ = value;
         }
@@ -7632,6 +8541,8 @@ public Builder mergeSetExpectation(com.google.cloud.dataplex.v1.DataQualityRule.
       return this;
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7656,6 +8567,8 @@ public Builder clearSetExpectation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7663,10 +8576,13 @@ public Builder clearSetExpectation() {
      *
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
-    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder getSetExpectationBuilder() {
+    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder
+        getSetExpectationBuilder() {
       return getSetExpectationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7675,7 +8591,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder getSe
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
     @java.lang.Override
-    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder() {
+    public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder
+        getSetExpectationOrBuilder() {
       if ((ruleTypeCase_ == 3) && (setExpectationBuilder_ != null)) {
         return setExpectationBuilder_.getMessageOrBuilder();
       } else {
@@ -7686,6 +8603,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getS
       }
     }
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value is contained by
      * a specified set.
@@ -7694,14 +8613,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getS
      * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder> 
+            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation,
+            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder,
+            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>
         getSetExpectationFieldBuilder() {
       if (setExpectationBuilder_ == null) {
         if (!(ruleTypeCase_ == 3)) {
-          ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
-        }
-        setExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>(
+          ruleType_ =
+              com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.getDefaultInstance();
+        }
+        setExpectationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation,
+                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation.Builder,
+                com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder>(
                 (com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation) ruleType_,
                 getParentForChildren(),
                 isClean());
@@ -7713,14 +8638,21 @@ public com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getS
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> regexExpectationBuilder_;
+            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation,
+            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder,
+            com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>
+        regexExpectationBuilder_;
     /**
+     *
+     *
      * 
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * + * * @return Whether the regexExpectation field is set. */ @java.lang.Override @@ -7728,12 +8660,16 @@ public boolean hasRegexExpectation() { return ruleTypeCase_ == 4; } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * + * * @return The regexExpectation. */ @java.lang.Override @@ -7751,14 +8687,18 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExp } } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ - public Builder setRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { + public Builder setRegexExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { if (regexExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7772,12 +8712,15 @@ public Builder setRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRule. return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ public Builder setRegexExpectation( com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder builderForValue) { @@ -7791,19 +8734,28 @@ public Builder setRegexExpectation( return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ - public Builder mergeRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { + public Builder mergeRegexExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation value) { if (regexExpectationBuilder_ == null) { - if (ruleTypeCase_ == 4 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 4 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -7819,12 +8771,15 @@ public Builder mergeRegexExpectation(com.google.cloud.dataplex.v1.DataQualityRul return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ public Builder clearRegexExpectation() { if (regexExpectationBuilder_ == null) { @@ -7843,26 +8798,34 @@ public Builder clearRegexExpectation() { return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder getRegexExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder + getRegexExpectationBuilder() { return getRegexExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder + getRegexExpectationOrBuilder() { if ((ruleTypeCase_ == 4) && (regexExpectationBuilder_ != null)) { return regexExpectationBuilder_.getMessageOrBuilder(); } else { @@ -7873,22 +8836,31 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder ge } } /** + * + * *
      * Row-level rule which evaluates whether each column value matches a
      * specified regex.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder> getRegexExpectationFieldBuilder() { if (regexExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 4)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); - } - regexExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.getDefaultInstance(); + } + regexExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation) ruleType_, getParentForChildren(), isClean()); @@ -7900,13 +8872,21 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> uniquenessExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> + uniquenessExpectationBuilder_; /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return Whether the uniquenessExpectation field is set. */ @java.lang.Override @@ -7914,35 +8894,48 @@ public boolean hasUniquenessExpectation() { return ruleTypeCase_ == 100; } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return The uniquenessExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + getUniquenessExpectation() { if (uniquenessExpectationBuilder_ == null) { if (ruleTypeCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance(); } else { if (ruleTypeCase_ == 100) { return uniquenessExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance(); } } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ - public Builder setUniquenessExpectation(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { + public Builder setUniquenessExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { if (uniquenessExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7956,14 +8949,19 @@ public Builder setUniquenessExpectation(com.google.cloud.dataplex.v1.DataQuality return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ public Builder setUniquenessExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder + builderForValue) { if (uniquenessExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -7974,18 +8972,29 @@ public Builder setUniquenessExpectation( return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ - public Builder mergeUniquenessExpectation(com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { + public Builder mergeUniquenessExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation value) { if (uniquenessExpectationBuilder_ == null) { - if (ruleTypeCase_ == 100 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 100 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) + ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -8001,11 +9010,15 @@ public Builder mergeUniquenessExpectation(com.google.cloud.dataplex.v1.DataQuali return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ public Builder clearUniquenessExpectation() { if (uniquenessExpectationBuilder_ == null) { @@ -8024,49 +9037,71 @@ public Builder clearUniquenessExpectation() { return this; } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder getUniquenessExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder + getUniquenessExpectationBuilder() { return getUniquenessExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder + getUniquenessExpectationOrBuilder() { if ((ruleTypeCase_ == 100) && (uniquenessExpectationBuilder_ != null)) { return uniquenessExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance(); } } /** + * + * *
      * Row-level rule which evaluates whether each column value is unique.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder> getUniquenessExpectationFieldBuilder() { if (uniquenessExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 100)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.getDefaultInstance(); - } - uniquenessExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation + .getDefaultInstance(); + } + uniquenessExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8078,14 +9113,22 @@ public com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> statisticRangeExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> + statisticRangeExpectationBuilder_; /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return Whether the statisticRangeExpectation field is set. */ @java.lang.Override @@ -8093,37 +9136,50 @@ public boolean hasStatisticRangeExpectation() { return ruleTypeCase_ == 101; } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return The statisticRangeExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + getStatisticRangeExpectation() { if (statisticRangeExpectationBuilder_ == null) { if (ruleTypeCase_ == 101) { return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); } else { if (ruleTypeCase_ == 101) { return statisticRangeExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); } } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ - public Builder setStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { + public Builder setStatisticRangeExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { if (statisticRangeExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8137,15 +9193,20 @@ public Builder setStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQua return this; } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ public Builder setStatisticRangeExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder + builderForValue) { if (statisticRangeExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -8156,19 +9217,30 @@ public Builder setStatisticRangeExpectation( return this; } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ - public Builder mergeStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { + public Builder mergeStatisticRangeExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation value) { if (statisticRangeExpectationBuilder_ == null) { - if (ruleTypeCase_ == 101 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 101 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) + ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -8184,12 +9256,16 @@ public Builder mergeStatisticRangeExpectation(com.google.cloud.dataplex.v1.DataQ return this; } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ public Builder clearStatisticRangeExpectation() { if (statisticRangeExpectationBuilder_ == null) { @@ -8208,52 +9284,74 @@ public Builder clearStatisticRangeExpectation() { return this; } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder getStatisticRangeExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder + getStatisticRangeExpectationBuilder() { return getStatisticRangeExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder + getStatisticRangeExpectationOrBuilder() { if ((ruleTypeCase_ == 101) && (statisticRangeExpectationBuilder_ != null)) { return statisticRangeExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 101) { return (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); } } /** + * + * *
      * Aggregate rule which evaluates whether the column aggregate
      * statistic lies between a specified range.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder> getStatisticRangeExpectationFieldBuilder() { if (statisticRangeExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 101)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.getDefaultInstance(); - } - statisticRangeExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + .getDefaultInstance(); + } + statisticRangeExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8265,14 +9363,22 @@ public com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> rowConditionExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> + rowConditionExpectationBuilder_; /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return Whether the rowConditionExpectation field is set. */ @java.lang.Override @@ -8280,37 +9386,50 @@ public boolean hasRowConditionExpectation() { return ruleTypeCase_ == 200; } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return The rowConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + getRowConditionExpectation() { if (rowConditionExpectationBuilder_ == null) { if (ruleTypeCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); } else { if (ruleTypeCase_ == 200) { return rowConditionExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); } } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ - public Builder setRowConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { + public Builder setRowConditionExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { if (rowConditionExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8324,15 +9443,20 @@ public Builder setRowConditionExpectation(com.google.cloud.dataplex.v1.DataQuali return this; } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ public Builder setRowConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder + builderForValue) { if (rowConditionExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -8343,19 +9467,30 @@ public Builder setRowConditionExpectation( return this; } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ - public Builder mergeRowConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { + public Builder mergeRowConditionExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation value) { if (rowConditionExpectationBuilder_ == null) { - if (ruleTypeCase_ == 200 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 200 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) + ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -8371,12 +9506,16 @@ public Builder mergeRowConditionExpectation(com.google.cloud.dataplex.v1.DataQua return this; } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ public Builder clearRowConditionExpectation() { if (rowConditionExpectationBuilder_ == null) { @@ -8395,52 +9534,74 @@ public Builder clearRowConditionExpectation() { return this; } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder getRowConditionExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder + getRowConditionExpectationBuilder() { return getRowConditionExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder + getRowConditionExpectationOrBuilder() { if ((ruleTypeCase_ == 200) && (rowConditionExpectationBuilder_ != null)) { return rowConditionExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); } } /** + * + * *
      * Row-level rule which evaluates whether each row in a table passes the
      * specified condition.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder> getRowConditionExpectationFieldBuilder() { if (rowConditionExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 200)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.getDefaultInstance(); - } - rowConditionExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation + .getDefaultInstance(); + } + rowConditionExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8452,14 +9613,22 @@ public com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> tableConditionExpectationBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> + tableConditionExpectationBuilder_; /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return Whether the tableConditionExpectation field is set. */ @java.lang.Override @@ -8467,37 +9636,50 @@ public boolean hasTableConditionExpectation() { return ruleTypeCase_ == 201; } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return The tableConditionExpectation. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + getTableConditionExpectation() { if (tableConditionExpectationBuilder_ == null) { if (ruleTypeCase_ == 201) { return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); } else { if (ruleTypeCase_ == 201) { return tableConditionExpectationBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); } } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ - public Builder setTableConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { + public Builder setTableConditionExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { if (tableConditionExpectationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8511,15 +9693,20 @@ public Builder setTableConditionExpectation(com.google.cloud.dataplex.v1.DataQua return this; } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ public Builder setTableConditionExpectation( - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder + builderForValue) { if (tableConditionExpectationBuilder_ == null) { ruleType_ = builderForValue.build(); onChanged(); @@ -8530,19 +9717,30 @@ public Builder setTableConditionExpectation( return this; } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ - public Builder mergeTableConditionExpectation(com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { + public Builder mergeTableConditionExpectation( + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation value) { if (tableConditionExpectationBuilder_ == null) { - if (ruleTypeCase_ == 201 && - ruleType_ != com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance()) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder((com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_) - .mergeFrom(value).buildPartial(); + if (ruleTypeCase_ == 201 + && ruleType_ + != com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance()) { + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) + ruleType_) + .mergeFrom(value) + .buildPartial(); } else { ruleType_ = value; } @@ -8558,12 +9756,16 @@ public Builder mergeTableConditionExpectation(com.google.cloud.dataplex.v1.DataQ return this; } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ public Builder clearTableConditionExpectation() { if (tableConditionExpectationBuilder_ == null) { @@ -8582,52 +9784,74 @@ public Builder clearTableConditionExpectation() { return this; } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder getTableConditionExpectationBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder + getTableConditionExpectationBuilder() { return getTableConditionExpectationFieldBuilder().getBuilder(); } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder + getTableConditionExpectationOrBuilder() { if ((ruleTypeCase_ == 201) && (tableConditionExpectationBuilder_ != null)) { return tableConditionExpectationBuilder_.getMessageOrBuilder(); } else { if (ruleTypeCase_ == 201) { return (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_; } - return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); } } /** + * + * *
      * Aggregate rule which evaluates whether the provided expression is true
      * for a table.
      * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder> getTableConditionExpectationFieldBuilder() { if (tableConditionExpectationBuilder_ == null) { if (!(ruleTypeCase_ == 201)) { - ruleType_ = com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.getDefaultInstance(); - } - tableConditionExpectationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder>( + ruleType_ = + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + .getDefaultInstance(); + } + tableConditionExpectationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation.Builder, + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation) ruleType_, getParentForChildren(), isClean()); @@ -8640,18 +9864,20 @@ public com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrB private java.lang.Object column_ = ""; /** + * + * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -8660,20 +9886,21 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for column. */ - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -8681,28 +9908,35 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } column_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -8712,17 +9946,21 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Optional. The unnested column which this rule is evaluated against.
      * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000100; @@ -8730,8 +9968,10 @@ public Builder setColumnBytes( return this; } - private boolean ignoreNull_ ; + private boolean ignoreNull_; /** + * + * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -8741,6 +9981,7 @@ public Builder setColumnBytes(
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreNull. */ @java.lang.Override @@ -8748,6 +9989,8 @@ public boolean getIgnoreNull() { return ignoreNull_; } /** + * + * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -8757,6 +10000,7 @@ public boolean getIgnoreNull() {
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ignoreNull to set. * @return This builder for chaining. */ @@ -8768,6 +10012,8 @@ public Builder setIgnoreNull(boolean value) { return this; } /** + * + * *
      * Optional. Rows with `null` values will automatically fail a rule, unless
      * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -8777,6 +10023,7 @@ public Builder setIgnoreNull(boolean value) {
      * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearIgnoreNull() { @@ -8788,6 +10035,8 @@ public Builder clearIgnoreNull() { private java.lang.Object dimension_ = ""; /** + * + * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -8795,13 +10044,13 @@ public Builder clearIgnoreNull() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dimension. */ public java.lang.String getDimension() { java.lang.Object ref = dimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; @@ -8810,6 +10059,8 @@ public java.lang.String getDimension() { } } /** + * + * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -8817,15 +10068,14 @@ public java.lang.String getDimension() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dimension. */ - public com.google.protobuf.ByteString - getDimensionBytes() { + public com.google.protobuf.ByteString getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimension_ = b; return b; } else { @@ -8833,6 +10083,8 @@ public java.lang.String getDimension() { } } /** + * + * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -8840,18 +10092,22 @@ public java.lang.String getDimension() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dimension to set. * @return This builder for chaining. */ - public Builder setDimension( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimension(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dimension_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -8859,6 +10115,7 @@ public Builder setDimension(
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDimension() { @@ -8868,6 +10125,8 @@ public Builder clearDimension() { return this; } /** + * + * *
      * Required. The dimension a rule belongs to. Results are also aggregated at
      * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -8875,12 +10134,14 @@ public Builder clearDimension() {
      * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dimension to set. * @return This builder for chaining. */ - public Builder setDimensionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dimension_ = value; bitField0_ |= 0x00000400; @@ -8888,8 +10149,10 @@ public Builder setDimensionBytes( return this; } - private double threshold_ ; + private double threshold_; /** + * + * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -8900,6 +10163,7 @@ public Builder setDimensionBytes(
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The threshold. */ @java.lang.Override @@ -8907,6 +10171,8 @@ public double getThreshold() { return threshold_; } /** + * + * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -8917,6 +10183,7 @@ public double getThreshold() {
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The threshold to set. * @return This builder for chaining. */ @@ -8928,6 +10195,8 @@ public Builder setThreshold(double value) { return this; } /** + * + * *
      * Optional. The minimum ratio of **passing_rows / total_rows** required to
      * pass this rule, with a range of [0.0, 1.0].
@@ -8938,6 +10207,7 @@ public Builder setThreshold(double value) {
      * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearThreshold() { @@ -8949,6 +10219,8 @@ public Builder clearThreshold() { private java.lang.Object name_ = ""; /** + * + * *
      * Optional. A mutable name for the rule.
      *
@@ -8960,13 +10232,13 @@ public Builder clearThreshold() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -8975,6 +10247,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. A mutable name for the rule.
      *
@@ -8986,15 +10260,14 @@ public java.lang.String getName() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -9002,6 +10275,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. A mutable name for the rule.
      *
@@ -9013,18 +10288,22 @@ public java.lang.String getName() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Optional. A mutable name for the rule.
      *
@@ -9036,6 +10315,7 @@ public Builder setName(
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -9045,6 +10325,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. A mutable name for the rule.
      *
@@ -9056,12 +10338,14 @@ public Builder clearName() {
      * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00001000; @@ -9071,6 +10355,8 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the rule.
      *
@@ -9078,13 +10364,13 @@ public Builder setNameBytes(
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -9093,6 +10379,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the rule.
      *
@@ -9100,15 +10388,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -9116,6 +10403,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the rule.
      *
@@ -9123,18 +10412,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Optional. Description of the rule.
      *
@@ -9142,6 +10435,7 @@ public Builder setDescription(
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -9151,6 +10445,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the rule.
      *
@@ -9158,21 +10454,23 @@ public Builder clearDescription() {
      * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9182,12 +10480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRule) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRule) private static final com.google.cloud.dataplex.v1.DataQualityRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRule(); } @@ -9196,27 +10494,27 @@ public static com.google.cloud.dataplex.v1.DataQualityRule getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9231,6 +10529,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java similarity index 74% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java index dab367797082..8a9a9e5926c3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityRuleOrBuilder extends +public interface DataQualityRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * * @return Whether the rangeExpectation field is set. */ boolean hasRangeExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; + * * @return The rangeExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation getRangeExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value lies between a
    * specified range.
@@ -35,56 +59,77 @@ public interface DataQualityRuleOrBuilder extends
    *
    * .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    */
-  com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder();
+  com.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationOrBuilder
+      getRangeExpectationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return Whether the nonNullExpectation field is set. */ boolean hasNonNullExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * + * * @return The nonNullExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation getNonNullExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is null.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; + * */ - com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationOrBuilder + getNonNullExpectationOrBuilder(); /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return Whether the setExpectation field is set. */ boolean hasSetExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; + * * @return The setExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.SetExpectation getSetExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is contained by
    * a specified set.
@@ -95,26 +140,34 @@ public interface DataQualityRuleOrBuilder extends
   com.google.cloud.dataplex.v1.DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * * @return Whether the regexExpectation field is set. */ boolean hasRegexExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; + * * @return The regexExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation getRegexExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value matches a
    * specified regex.
@@ -122,146 +175,216 @@ public interface DataQualityRuleOrBuilder extends
    *
    * .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    */
-  com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder();
+  com.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationOrBuilder
+      getRegexExpectationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return Whether the uniquenessExpectation field is set. */ boolean hasUniquenessExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * * @return The uniquenessExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation getUniquenessExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each column value is unique.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * + * .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; + * */ - com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationOrBuilder + getUniquenessExpectationOrBuilder(); /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return Whether the statisticRangeExpectation field is set. */ boolean hasStatisticRangeExpectation(); /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * * @return The statisticRangeExpectation. */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation + getStatisticRangeExpectation(); /** + * + * *
    * Aggregate rule which evaluates whether the column aggregate
    * statistic lies between a specified range.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * + * .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; + * */ - com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder + getStatisticRangeExpectationOrBuilder(); /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return Whether the rowConditionExpectation field is set. */ boolean hasRowConditionExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * * @return The rowConditionExpectation. */ com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation getRowConditionExpectation(); /** + * + * *
    * Row-level rule which evaluates whether each row in a table passes the
    * specified condition.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * + * .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; + * */ - com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationOrBuilder + getRowConditionExpectationOrBuilder(); /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return Whether the tableConditionExpectation field is set. */ boolean hasTableConditionExpectation(); /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * * @return The tableConditionExpectation. */ - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation getTableConditionExpectation(); + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation + getTableConditionExpectation(); /** + * + * *
    * Aggregate rule which evaluates whether the provided expression is true
    * for a table.
    * 
* - * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * + * .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; + * */ - com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder(); + com.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationOrBuilder + getTableConditionExpectationOrBuilder(); /** + * + * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Optional. The unnested column which this rule is evaluated against.
    * 
* * string column = 500 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Optional. Rows with `null` values will automatically fail a rule, unless
    * `ignore_null` is `true`. In that case, such `null` rows are trivially
@@ -271,11 +394,14 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreNull. */ boolean getIgnoreNull(); /** + * + * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -283,10 +409,13 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dimension. */ java.lang.String getDimension(); /** + * + * *
    * Required. The dimension a rule belongs to. Results are also aggregated at
    * the dimension level. Supported dimensions are **["COMPLETENESS",
@@ -294,12 +423,14 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string dimension = 502 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dimension. */ - com.google.protobuf.ByteString - getDimensionBytes(); + com.google.protobuf.ByteString getDimensionBytes(); /** + * + * *
    * Optional. The minimum ratio of **passing_rows / total_rows** required to
    * pass this rule, with a range of [0.0, 1.0].
@@ -310,11 +441,14 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * double threshold = 503 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The threshold. */ double getThreshold(); /** + * + * *
    * Optional. A mutable name for the rule.
    *
@@ -326,10 +460,13 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. A mutable name for the rule.
    *
@@ -341,12 +478,14 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string name = 504 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the rule.
    *
@@ -354,10 +493,13 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the rule.
    *
@@ -365,10 +507,10 @@ public interface DataQualityRuleOrBuilder extends
    * 
* * string description = 505 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); com.google.cloud.dataplex.v1.DataQualityRule.RuleTypeCase getRuleTypeCase(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java index fb1af308692b..7c2adc3f7a7a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResult.java @@ -1,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataQualityRuleResult provides a more detailed, per-rule view of the results.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRuleResult} */ -public final class DataQualityRuleResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataQualityRuleResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityRuleResult) DataQualityRuleResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityRuleResult.newBuilder() to construct. private DataQualityRuleResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataQualityRuleResult() { failingRowsQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityRuleResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRuleResult.class, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRuleResult.class, + com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); } public static final int RULE_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataQualityRule rule_; /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return Whether the rule field is set. */ @java.lang.Override @@ -58,18 +80,25 @@ public boolean hasRule() { return rule_ != null; } /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return The rule. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule getRule() { - return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; + return rule_ == null + ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() + : rule_; } /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
@@ -78,17 +107,22 @@ public com.google.cloud.dataplex.v1.DataQualityRule getRule() { */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() { - return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; + return rule_ == null + ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() + : rule_; } public static final int PASSED_FIELD_NUMBER = 7; private boolean passed_ = false; /** + * + * *
    * Whether the rule passed or failed.
    * 
* * bool passed = 7; + * * @return The passed. */ @java.lang.Override @@ -99,6 +133,8 @@ public boolean getPassed() { public static final int EVALUATED_COUNT_FIELD_NUMBER = 9; private long evaluatedCount_ = 0L; /** + * + * *
    * The number of rows a rule was evaluated against.
    *
@@ -113,6 +149,7 @@ public boolean getPassed() {
    * 
* * int64 evaluated_count = 9; + * * @return The evaluatedCount. */ @java.lang.Override @@ -123,6 +160,8 @@ public long getEvaluatedCount() { public static final int PASSED_COUNT_FIELD_NUMBER = 8; private long passedCount_ = 0L; /** + * + * *
    * The number of rows which passed a rule evaluation.
    *
@@ -130,6 +169,7 @@ public long getEvaluatedCount() {
    * 
* * int64 passed_count = 8; + * * @return The passedCount. */ @java.lang.Override @@ -140,11 +180,14 @@ public long getPassedCount() { public static final int NULL_COUNT_FIELD_NUMBER = 5; private long nullCount_ = 0L; /** + * + * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_count = 5; + * * @return The nullCount. */ @java.lang.Override @@ -155,6 +198,8 @@ public long getNullCount() { public static final int PASS_RATIO_FIELD_NUMBER = 6; private double passRatio_ = 0D; /** + * + * *
    * The ratio of **passed_count / evaluated_count**.
    *
@@ -162,6 +207,7 @@ public long getNullCount() {
    * 
* * double pass_ratio = 6; + * * @return The passRatio. */ @java.lang.Override @@ -170,9 +216,12 @@ public double getPassRatio() { } public static final int FAILING_ROWS_QUERY_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object failingRowsQuery_ = ""; /** + * + * *
    * The query to find rows that did not pass this rule.
    *
@@ -180,6 +229,7 @@ public double getPassRatio() {
    * 
* * string failing_rows_query = 10; + * * @return The failingRowsQuery. */ @java.lang.Override @@ -188,14 +238,15 @@ public java.lang.String getFailingRowsQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failingRowsQuery_ = s; return s; } } /** + * + * *
    * The query to find rows that did not pass this rule.
    *
@@ -203,16 +254,15 @@ public java.lang.String getFailingRowsQuery() {
    * 
* * string failing_rows_query = 10; + * * @return The bytes for failingRowsQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailingRowsQueryBytes() { + public com.google.protobuf.ByteString getFailingRowsQueryBytes() { java.lang.Object ref = failingRowsQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failingRowsQuery_ = b; return b; } else { @@ -221,6 +271,7 @@ public java.lang.String getFailingRowsQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rule_ != null) { output.writeMessage(1, getRule()); } @@ -265,28 +315,22 @@ public int getSerializedSize() { size = 0; if (rule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRule()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRule()); } if (nullCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, nullCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, nullCount_); } if (java.lang.Double.doubleToRawLongBits(passRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(6, passRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, passRatio_); } if (passed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, passed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, passed_); } if (passedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, passedCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, passedCount_); } if (evaluatedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, evaluatedCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, evaluatedCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failingRowsQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, failingRowsQuery_); @@ -299,31 +343,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityRuleResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityRuleResult other = (com.google.cloud.dataplex.v1.DataQualityRuleResult) obj; + com.google.cloud.dataplex.v1.DataQualityRuleResult other = + (com.google.cloud.dataplex.v1.DataQualityRuleResult) obj; if (hasRule() != other.hasRule()) return false; if (hasRule()) { - if (!getRule() - .equals(other.getRule())) return false; - } - if (getPassed() - != other.getPassed()) return false; - if (getEvaluatedCount() - != other.getEvaluatedCount()) return false; - if (getPassedCount() - != other.getPassedCount()) return false; - if (getNullCount() - != other.getNullCount()) return false; + if (!getRule().equals(other.getRule())) return false; + } + if (getPassed() != other.getPassed()) return false; + if (getEvaluatedCount() != other.getEvaluatedCount()) return false; + if (getPassedCount() != other.getPassedCount()) return false; + if (getNullCount() != other.getNullCount()) return false; if (java.lang.Double.doubleToLongBits(getPassRatio()) - != java.lang.Double.doubleToLongBits( - other.getPassRatio())) return false; - if (!getFailingRowsQuery() - .equals(other.getFailingRowsQuery())) return false; + != java.lang.Double.doubleToLongBits(other.getPassRatio())) return false; + if (!getFailingRowsQuery().equals(other.getFailingRowsQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,20 +378,18 @@ public int hashCode() { hash = (53 * hash) + getRule().hashCode(); } hash = (37 * hash) + PASSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPassed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); hash = (37 * hash) + EVALUATED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEvaluatedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEvaluatedCount()); hash = (37 * hash) + PASSED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPassedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPassedCount()); hash = (37 * hash) + NULL_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNullCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNullCount()); hash = (37 * hash) + PASS_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPassRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPassRatio())); hash = (37 * hash) + FAILING_ROWS_QUERY_FIELD_NUMBER; hash = (53 * hash) + getFailingRowsQuery().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -362,131 +398,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityRuleResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityRuleResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataQualityRuleResult provides a more detailed, per-rule view of the results.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityRuleResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityRuleResult) com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualityRuleResult.class, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); + com.google.cloud.dataplex.v1.DataQualityRuleResult.class, + com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityRuleResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor; } @java.lang.Override @@ -527,8 +567,11 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleResult buildPartial() { - com.google.cloud.dataplex.v1.DataQualityRuleResult result = new com.google.cloud.dataplex.v1.DataQualityRuleResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualityRuleResult result = + new com.google.cloud.dataplex.v1.DataQualityRuleResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -536,9 +579,7 @@ public com.google.cloud.dataplex.v1.DataQualityRuleResult buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRuleResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rule_ = ruleBuilder_ == null - ? rule_ - : ruleBuilder_.build(); + result.rule_ = ruleBuilder_ == null ? rule_ : ruleBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.passed_ = passed_; @@ -564,38 +605,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityRuleResult re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityRuleResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRuleResult)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualityRuleResult) other); } else { super.mergeFrom(other); return this; @@ -603,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityRuleResult other) { - if (other == com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()) + return this; if (other.hasRule()) { mergeRule(other.getRule()); } @@ -653,49 +696,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRuleFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 40: { - nullCount_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 49: { - passRatio_ = input.readDouble(); - bitField0_ |= 0x00000020; - break; - } // case 49 - case 56: { - passed_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 56 - case 64: { - passedCount_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 64 - case 72: { - evaluatedCount_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 72 - case 82: { - failingRowsQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRuleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 40: + { + nullCount_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 49: + { + passRatio_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + case 56: + { + passed_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 56 + case 64: + { + passedCount_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 64 + case 72: + { + evaluatedCount_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 72 + case 82: + { + failingRowsQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,38 +754,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.dataplex.v1.DataQualityRule rule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> ruleBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + ruleBuilder_; /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return Whether the rule field is set. */ public boolean hasRule() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return The rule. */ public com.google.cloud.dataplex.v1.DataQualityRule getRule() { if (ruleBuilder_ == null) { - return rule_ == null ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; + return rule_ == null + ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() + : rule_; } else { return ruleBuilder_.getMessage(); } } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -757,14 +820,15 @@ public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; */ - public Builder setRule( - com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { + public Builder setRule(com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); } else { @@ -775,6 +839,8 @@ public Builder setRule( return this; } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -783,9 +849,9 @@ public Builder setRule( */ public Builder mergeRule(com.google.cloud.dataplex.v1.DataQualityRule value) { if (ruleBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - rule_ != null && - rule_ != com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && rule_ != null + && rule_ != com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()) { getRuleBuilder().mergeFrom(value); } else { rule_ = value; @@ -798,6 +864,8 @@ public Builder mergeRule(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -815,6 +883,8 @@ public Builder clearRule() { return this; } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -827,6 +897,8 @@ public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRuleBuilder() { return getRuleFieldBuilder().getBuilder(); } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -837,11 +909,14 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { - return rule_ == null ? - com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() : rule_; + return rule_ == null + ? com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance() + : rule_; } } /** + * + * *
      * The rule specified in the DataQualitySpec, as is.
      * 
@@ -849,26 +924,32 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder() * .google.cloud.dataplex.v1.DataQualityRule rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { - ruleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( - getRule(), - getParentForChildren(), - isClean()); + ruleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( + getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } - private boolean passed_ ; + private boolean passed_; /** + * + * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; + * * @return The passed. */ @java.lang.Override @@ -876,11 +957,14 @@ public boolean getPassed() { return passed_; } /** + * + * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; + * * @param value The passed to set. * @return This builder for chaining. */ @@ -892,11 +976,14 @@ public Builder setPassed(boolean value) { return this; } /** + * + * *
      * Whether the rule passed or failed.
      * 
* * bool passed = 7; + * * @return This builder for chaining. */ public Builder clearPassed() { @@ -906,8 +993,10 @@ public Builder clearPassed() { return this; } - private long evaluatedCount_ ; + private long evaluatedCount_; /** + * + * *
      * The number of rows a rule was evaluated against.
      *
@@ -922,6 +1011,7 @@ public Builder clearPassed() {
      * 
* * int64 evaluated_count = 9; + * * @return The evaluatedCount. */ @java.lang.Override @@ -929,6 +1019,8 @@ public long getEvaluatedCount() { return evaluatedCount_; } /** + * + * *
      * The number of rows a rule was evaluated against.
      *
@@ -943,6 +1035,7 @@ public long getEvaluatedCount() {
      * 
* * int64 evaluated_count = 9; + * * @param value The evaluatedCount to set. * @return This builder for chaining. */ @@ -954,6 +1047,8 @@ public Builder setEvaluatedCount(long value) { return this; } /** + * + * *
      * The number of rows a rule was evaluated against.
      *
@@ -968,6 +1063,7 @@ public Builder setEvaluatedCount(long value) {
      * 
* * int64 evaluated_count = 9; + * * @return This builder for chaining. */ public Builder clearEvaluatedCount() { @@ -977,8 +1073,10 @@ public Builder clearEvaluatedCount() { return this; } - private long passedCount_ ; + private long passedCount_; /** + * + * *
      * The number of rows which passed a rule evaluation.
      *
@@ -986,6 +1084,7 @@ public Builder clearEvaluatedCount() {
      * 
* * int64 passed_count = 8; + * * @return The passedCount. */ @java.lang.Override @@ -993,6 +1092,8 @@ public long getPassedCount() { return passedCount_; } /** + * + * *
      * The number of rows which passed a rule evaluation.
      *
@@ -1000,6 +1101,7 @@ public long getPassedCount() {
      * 
* * int64 passed_count = 8; + * * @param value The passedCount to set. * @return This builder for chaining. */ @@ -1011,6 +1113,8 @@ public Builder setPassedCount(long value) { return this; } /** + * + * *
      * The number of rows which passed a rule evaluation.
      *
@@ -1018,6 +1122,7 @@ public Builder setPassedCount(long value) {
      * 
* * int64 passed_count = 8; + * * @return This builder for chaining. */ public Builder clearPassedCount() { @@ -1027,13 +1132,16 @@ public Builder clearPassedCount() { return this; } - private long nullCount_ ; + private long nullCount_; /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; + * * @return The nullCount. */ @java.lang.Override @@ -1041,11 +1149,14 @@ public long getNullCount() { return nullCount_; } /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; + * * @param value The nullCount to set. * @return This builder for chaining. */ @@ -1057,11 +1168,14 @@ public Builder setNullCount(long value) { return this; } /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_count = 5; + * * @return This builder for chaining. */ public Builder clearNullCount() { @@ -1071,8 +1185,10 @@ public Builder clearNullCount() { return this; } - private double passRatio_ ; + private double passRatio_; /** + * + * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1080,6 +1196,7 @@ public Builder clearNullCount() {
      * 
* * double pass_ratio = 6; + * * @return The passRatio. */ @java.lang.Override @@ -1087,6 +1204,8 @@ public double getPassRatio() { return passRatio_; } /** + * + * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1094,6 +1213,7 @@ public double getPassRatio() {
      * 
* * double pass_ratio = 6; + * * @param value The passRatio to set. * @return This builder for chaining. */ @@ -1105,6 +1225,8 @@ public Builder setPassRatio(double value) { return this; } /** + * + * *
      * The ratio of **passed_count / evaluated_count**.
      *
@@ -1112,6 +1234,7 @@ public Builder setPassRatio(double value) {
      * 
* * double pass_ratio = 6; + * * @return This builder for chaining. */ public Builder clearPassRatio() { @@ -1123,6 +1246,8 @@ public Builder clearPassRatio() { private java.lang.Object failingRowsQuery_ = ""; /** + * + * *
      * The query to find rows that did not pass this rule.
      *
@@ -1130,13 +1255,13 @@ public Builder clearPassRatio() {
      * 
* * string failing_rows_query = 10; + * * @return The failingRowsQuery. */ public java.lang.String getFailingRowsQuery() { java.lang.Object ref = failingRowsQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failingRowsQuery_ = s; return s; @@ -1145,6 +1270,8 @@ public java.lang.String getFailingRowsQuery() { } } /** + * + * *
      * The query to find rows that did not pass this rule.
      *
@@ -1152,15 +1279,14 @@ public java.lang.String getFailingRowsQuery() {
      * 
* * string failing_rows_query = 10; + * * @return The bytes for failingRowsQuery. */ - public com.google.protobuf.ByteString - getFailingRowsQueryBytes() { + public com.google.protobuf.ByteString getFailingRowsQueryBytes() { java.lang.Object ref = failingRowsQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failingRowsQuery_ = b; return b; } else { @@ -1168,6 +1294,8 @@ public java.lang.String getFailingRowsQuery() { } } /** + * + * *
      * The query to find rows that did not pass this rule.
      *
@@ -1175,18 +1303,22 @@ public java.lang.String getFailingRowsQuery() {
      * 
* * string failing_rows_query = 10; + * * @param value The failingRowsQuery to set. * @return This builder for chaining. */ - public Builder setFailingRowsQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailingRowsQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failingRowsQuery_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The query to find rows that did not pass this rule.
      *
@@ -1194,6 +1326,7 @@ public Builder setFailingRowsQuery(
      * 
* * string failing_rows_query = 10; + * * @return This builder for chaining. */ public Builder clearFailingRowsQuery() { @@ -1203,6 +1336,8 @@ public Builder clearFailingRowsQuery() { return this; } /** + * + * *
      * The query to find rows that did not pass this rule.
      *
@@ -1210,21 +1345,23 @@ public Builder clearFailingRowsQuery() {
      * 
* * string failing_rows_query = 10; + * * @param value The bytes for failingRowsQuery to set. * @return This builder for chaining. */ - public Builder setFailingRowsQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailingRowsQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failingRowsQuery_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1234,12 +1371,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityRuleResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityRuleResult) private static final com.google.cloud.dataplex.v1.DataQualityRuleResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityRuleResult(); } @@ -1248,27 +1385,27 @@ public static com.google.cloud.dataplex.v1.DataQualityRuleResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityRuleResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityRuleResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,6 +1420,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualityRuleResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java similarity index 77% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java index 96b84ba7e07f..4270b227b988 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityRuleResultOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualityRuleResultOrBuilder extends +public interface DataQualityRuleResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityRuleResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return Whether the rule field is set. */ boolean hasRule(); /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
* * .google.cloud.dataplex.v1.DataQualityRule rule = 1; + * * @return The rule. */ com.google.cloud.dataplex.v1.DataQualityRule getRule(); /** + * + * *
    * The rule specified in the DataQualitySpec, as is.
    * 
@@ -35,16 +59,21 @@ public interface DataQualityRuleResultOrBuilder extends com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRuleOrBuilder(); /** + * + * *
    * Whether the rule passed or failed.
    * 
* * bool passed = 7; + * * @return The passed. */ boolean getPassed(); /** + * + * *
    * The number of rows a rule was evaluated against.
    *
@@ -59,11 +88,14 @@ public interface DataQualityRuleResultOrBuilder extends
    * 
* * int64 evaluated_count = 9; + * * @return The evaluatedCount. */ long getEvaluatedCount(); /** + * + * *
    * The number of rows which passed a rule evaluation.
    *
@@ -71,21 +103,27 @@ public interface DataQualityRuleResultOrBuilder extends
    * 
* * int64 passed_count = 8; + * * @return The passedCount. */ long getPassedCount(); /** + * + * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_count = 5; + * * @return The nullCount. */ long getNullCount(); /** + * + * *
    * The ratio of **passed_count / evaluated_count**.
    *
@@ -93,11 +131,14 @@ public interface DataQualityRuleResultOrBuilder extends
    * 
* * double pass_ratio = 6; + * * @return The passRatio. */ double getPassRatio(); /** + * + * *
    * The query to find rows that did not pass this rule.
    *
@@ -105,10 +146,13 @@ public interface DataQualityRuleResultOrBuilder extends
    * 
* * string failing_rows_query = 10; + * * @return The failingRowsQuery. */ java.lang.String getFailingRowsQuery(); /** + * + * *
    * The query to find rows that did not pass this rule.
    *
@@ -116,8 +160,8 @@ public interface DataQualityRuleResultOrBuilder extends
    * 
* * string failing_rows_query = 10; + * * @return The bytes for failingRowsQuery. */ - com.google.protobuf.ByteString - getFailingRowsQueryBytes(); + com.google.protobuf.ByteString getFailingRowsQueryBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java index 6cc1b76dc0bb..9e8a294dbd95 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Information about the result of a data quality rule for data quality scan.
  * The monitored resource is 'DataScan'.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataQualityScanRuleResult}
  */
-public final class DataQualityScanRuleResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataQualityScanRuleResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityScanRuleResult)
     DataQualityScanRuleResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataQualityScanRuleResult.newBuilder() to construct.
   private DataQualityScanRuleResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataQualityScanRuleResult() {
     jobId_ = "";
     dataSource_ = "";
@@ -33,34 +51,38 @@ private DataQualityScanRuleResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataQualityScanRuleResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class, com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
+            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class,
+            com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the data quality rule.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType} */ - public enum RuleType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RuleType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified rule type.
      * 
@@ -69,6 +91,8 @@ public enum RuleType */ RULE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation.
@@ -78,6 +102,8 @@ public enum RuleType
      */
     NON_NULL_EXPECTATION(1),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation.
@@ -87,6 +113,8 @@ public enum RuleType
      */
     RANGE_EXPECTATION(2),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation.
@@ -96,6 +124,8 @@ public enum RuleType
      */
     REGEX_EXPECTATION(3),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation.
@@ -105,6 +135,8 @@ public enum RuleType
      */
     ROW_CONDITION_EXPECTATION(4),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation.
@@ -114,6 +146,8 @@ public enum RuleType
      */
     SET_EXPECTATION(5),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation.
@@ -123,6 +157,8 @@ public enum RuleType
      */
     STATISTIC_RANGE_EXPECTATION(6),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation.
@@ -132,6 +168,8 @@ public enum RuleType
      */
     TABLE_CONDITION_EXPECTATION(7),
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.
@@ -144,6 +182,8 @@ public enum RuleType
     ;
 
     /**
+     *
+     *
      * 
      * An unspecified rule type.
      * 
@@ -152,6 +192,8 @@ public enum RuleType */ public static final int RULE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation.
@@ -161,6 +203,8 @@ public enum RuleType
      */
     public static final int NON_NULL_EXPECTATION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation.
@@ -170,6 +214,8 @@ public enum RuleType
      */
     public static final int RANGE_EXPECTATION_VALUE = 2;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation.
@@ -179,6 +225,8 @@ public enum RuleType
      */
     public static final int REGEX_EXPECTATION_VALUE = 3;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation.
@@ -188,6 +236,8 @@ public enum RuleType
      */
     public static final int ROW_CONDITION_EXPECTATION_VALUE = 4;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation.
@@ -197,6 +247,8 @@ public enum RuleType
      */
     public static final int SET_EXPECTATION_VALUE = 5;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation.
@@ -206,6 +258,8 @@ public enum RuleType
      */
     public static final int STATISTIC_RANGE_EXPECTATION_VALUE = 6;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation.
@@ -215,6 +269,8 @@ public enum RuleType
      */
     public static final int TABLE_CONDITION_EXPECTATION_VALUE = 7;
     /**
+     *
+     *
      * 
      * Please see
      * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.
@@ -224,7 +280,6 @@ public enum RuleType
      */
     public static final int UNIQUENESS_EXPECTATION_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -249,55 +304,63 @@ public static RuleType valueOf(int value) {
      */
     public static RuleType forNumber(int value) {
       switch (value) {
-        case 0: return RULE_TYPE_UNSPECIFIED;
-        case 1: return NON_NULL_EXPECTATION;
-        case 2: return RANGE_EXPECTATION;
-        case 3: return REGEX_EXPECTATION;
-        case 4: return ROW_CONDITION_EXPECTATION;
-        case 5: return SET_EXPECTATION;
-        case 6: return STATISTIC_RANGE_EXPECTATION;
-        case 7: return TABLE_CONDITION_EXPECTATION;
-        case 8: return UNIQUENESS_EXPECTATION;
-        default: return null;
+        case 0:
+          return RULE_TYPE_UNSPECIFIED;
+        case 1:
+          return NON_NULL_EXPECTATION;
+        case 2:
+          return RANGE_EXPECTATION;
+        case 3:
+          return REGEX_EXPECTATION;
+        case 4:
+          return ROW_CONDITION_EXPECTATION;
+        case 5:
+          return SET_EXPECTATION;
+        case 6:
+          return STATISTIC_RANGE_EXPECTATION;
+        case 7:
+          return TABLE_CONDITION_EXPECTATION;
+        case 8:
+          return UNIQUENESS_EXPECTATION;
+        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<
-        RuleType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RuleType findValueByNumber(int number) {
-              return RuleType.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 RuleType findValueByNumber(int number) {
+            return RuleType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final RuleType[] VALUES = values();
 
-    public static RuleType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RuleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -315,15 +378,18 @@ private RuleType(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The evaluation type of the data quality rule.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType} */ - public enum EvaluationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified evaluation type.
      * 
@@ -332,6 +398,8 @@ public enum EvaluationType */ EVALUATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * The rule evaluation is done at per row level.
      * 
@@ -340,6 +408,8 @@ public enum EvaluationType */ PER_ROW(1), /** + * + * *
      * The rule evaluation is done for an aggregate of rows.
      * 
@@ -351,6 +421,8 @@ public enum EvaluationType ; /** + * + * *
      * An unspecified evaluation type.
      * 
@@ -359,6 +431,8 @@ public enum EvaluationType */ public static final int EVALUATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The rule evaluation is done at per row level.
      * 
@@ -367,6 +441,8 @@ public enum EvaluationType */ public static final int PER_ROW_VALUE = 1; /** + * + * *
      * The rule evaluation is done for an aggregate of rows.
      * 
@@ -375,7 +451,6 @@ public enum EvaluationType */ public static final int AGGREGATE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -400,49 +475,51 @@ public static EvaluationType valueOf(int value) { */ public static EvaluationType forNumber(int value) { switch (value) { - case 0: return EVALUATION_TYPE_UNSPECIFIED; - case 1: return PER_ROW; - case 2: return AGGREGATE; - default: return null; + case 0: + return EVALUATION_TYPE_UNSPECIFIED; + case 1: + return PER_ROW; + case 2: + return AGGREGATE; + 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< - EvaluationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationType findValueByNumber(int number) { - return EvaluationType.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 EvaluationType findValueByNumber(int number) { + return EvaluationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor() + .getEnumTypes() + .get(1); } private static final EvaluationType[] VALUES = values(); - public static EvaluationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EvaluationType 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; @@ -460,15 +537,18 @@ private EvaluationType(int value) { } /** + * + * *
    * Whether the data quality rule passed or failed.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataQualityScanRuleResult.Result} */ - public enum Result - implements com.google.protobuf.ProtocolMessageEnum { + public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified result.
      * 
@@ -477,6 +557,8 @@ public enum Result */ RESULT_UNSPECIFIED(0), /** + * + * *
      * The data quality rule passed.
      * 
@@ -485,6 +567,8 @@ public enum Result */ PASSED(1), /** + * + * *
      * The data quality rule failed.
      * 
@@ -496,6 +580,8 @@ public enum Result ; /** + * + * *
      * An unspecified result.
      * 
@@ -504,6 +590,8 @@ public enum Result */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data quality rule passed.
      * 
@@ -512,6 +600,8 @@ public enum Result */ public static final int PASSED_VALUE = 1; /** + * + * *
      * The data quality rule failed.
      * 
@@ -520,7 +610,6 @@ public enum Result */ public static final int FAILED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -545,49 +634,51 @@ public static Result valueOf(int value) { */ public static Result forNumber(int value) { switch (value) { - case 0: return RESULT_UNSPECIFIED; - case 1: return PASSED; - case 2: return FAILED; - default: return null; + case 0: + return RESULT_UNSPECIFIED; + case 1: + return PASSED; + case 2: + return FAILED; + 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< - Result> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Result findValueByNumber(int number) { - return Result.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 Result findValueByNumber(int number) { + return Result.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDescriptor() + .getEnumTypes() + .get(2); } private static final Result[] VALUES = values(); - public static Result valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Result 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; @@ -605,14 +696,18 @@ private Result(int value) { } public static final int JOB_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; + * * @return The jobId. */ @java.lang.Override @@ -621,29 +716,29 @@ 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; } } /** + * + * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; + * * @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 { @@ -652,14 +747,18 @@ public java.lang.String getJobId() { } public static final int DATA_SOURCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object dataSource_ = ""; /** + * + * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; + * * @return The dataSource. */ @java.lang.Override @@ -668,29 +767,29 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** + * + * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; + * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -699,14 +798,18 @@ public java.lang.String getDataSource() { } public static final int COLUMN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** + * + * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; + * * @return The column. */ @java.lang.Override @@ -715,29 +818,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** + * + * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; + * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -746,14 +849,18 @@ public java.lang.String getColumn() { } public static final int RULE_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object ruleName_ = ""; /** + * + * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; + * * @return The ruleName. */ @java.lang.Override @@ -762,29 +869,29 @@ public java.lang.String getRuleName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleName_ = s; return s; } } /** + * + * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; + * * @return The bytes for ruleName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRuleNameBytes() { + public com.google.protobuf.ByteString getRuleNameBytes() { java.lang.Object ref = ruleName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ruleName_ = b; return b; } else { @@ -795,64 +902,93 @@ public java.lang.String getRuleName() { public static final int RULE_TYPE_FIELD_NUMBER = 5; private int ruleType_ = 0; /** + * + * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The enum numeric value on the wire for ruleType. */ - @java.lang.Override public int getRuleTypeValue() { + @java.lang.Override + public int getRuleTypeValue() { return ruleType_; } /** + * + * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The ruleType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED + : result; } public static final int EVALUTION_TYPE_FIELD_NUMBER = 6; private int evalutionType_ = 0; /** + * + * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The enum numeric value on the wire for evalutionType. */ - @java.lang.Override public int getEvalutionTypeValue() { + @java.lang.Override + public int getEvalutionTypeValue() { return evalutionType_; } /** + * + * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The evalutionType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber(evalutionType_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber( + evalutionType_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED + : result; } public static final int RULE_DIMENSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object ruleDimension_ = ""; /** + * + * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; + * * @return The ruleDimension. */ @java.lang.Override @@ -861,29 +997,29 @@ public java.lang.String getRuleDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleDimension_ = s; return s; } } /** + * + * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; + * * @return The bytes for ruleDimension. */ @java.lang.Override - public com.google.protobuf.ByteString - getRuleDimensionBytes() { + public com.google.protobuf.ByteString getRuleDimensionBytes() { java.lang.Object ref = ruleDimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ruleDimension_ = b; return b; } else { @@ -894,11 +1030,14 @@ public java.lang.String getRuleDimension() { public static final int THRESHOLD_PERCENT_FIELD_NUMBER = 8; private double thresholdPercent_ = 0D; /** + * + * *
    * The passing threshold ([0.0, 100.0]) of the data quality rule.
    * 
* * double threshold_percent = 8; + * * @return The thresholdPercent. */ @java.lang.Override @@ -909,38 +1048,52 @@ public double getThresholdPercent() { public static final int RESULT_FIELD_NUMBER = 9; private int result_ = 0; /** + * + * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The result. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED + : result; } public static final int EVALUATED_ROW_COUNT_FIELD_NUMBER = 10; private long evaluatedRowCount_ = 0L; /** + * + * *
    * The number of rows evaluated against the data quality rule.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 evaluated_row_count = 10; + * * @return The evaluatedRowCount. */ @java.lang.Override @@ -951,12 +1104,15 @@ public long getEvaluatedRowCount() { public static final int PASSED_ROW_COUNT_FIELD_NUMBER = 11; private long passedRowCount_ = 0L; /** + * + * *
    * The number of rows which passed a rule evaluation.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 passed_row_count = 11; + * * @return The passedRowCount. */ @java.lang.Override @@ -967,11 +1123,14 @@ public long getPassedRowCount() { public static final int NULL_ROW_COUNT_FIELD_NUMBER = 12; private long nullRowCount_ = 0L; /** + * + * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_row_count = 12; + * * @return The nullRowCount. */ @java.lang.Override @@ -980,6 +1139,7 @@ public long getNullRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -991,8 +1151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_); } @@ -1005,10 +1164,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ruleName_); } - if (ruleType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED.getNumber()) { + if (ruleType_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, ruleType_); } - if (evalutionType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.EVALUATION_TYPE_UNSPECIFIED.getNumber()) { + if (evalutionType_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType + .EVALUATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, evalutionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleDimension_)) { @@ -1017,7 +1181,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(thresholdPercent_) != 0) { output.writeDouble(8, thresholdPercent_); } - if (result_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED.getNumber()) { + if (result_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED + .getNumber()) { output.writeEnum(9, result_); } if (evaluatedRowCount_ != 0L) { @@ -1050,36 +1216,36 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ruleName_); } - if (ruleType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, ruleType_); + if (ruleType_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.RULE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, ruleType_); } - if (evalutionType_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.EVALUATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, evalutionType_); + if (evalutionType_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType + .EVALUATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, evalutionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleDimension_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ruleDimension_); } if (java.lang.Double.doubleToRawLongBits(thresholdPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, thresholdPercent_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, thresholdPercent_); } - if (result_ != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, result_); + if (result_ + != com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.RESULT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, result_); } if (evaluatedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(10, evaluatedRowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, evaluatedRowCount_); } if (passedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, passedRowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, passedRowCount_); } if (nullRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, nullRowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, nullRowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1089,35 +1255,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityScanRuleResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualityScanRuleResult other = (com.google.cloud.dataplex.v1.DataQualityScanRuleResult) obj; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult other = + (com.google.cloud.dataplex.v1.DataQualityScanRuleResult) obj; - if (!getJobId() - .equals(other.getJobId())) return false; - if (!getDataSource() - .equals(other.getDataSource())) return false; - if (!getColumn() - .equals(other.getColumn())) return false; - if (!getRuleName() - .equals(other.getRuleName())) return false; + if (!getJobId().equals(other.getJobId())) return false; + if (!getDataSource().equals(other.getDataSource())) return false; + if (!getColumn().equals(other.getColumn())) return false; + if (!getRuleName().equals(other.getRuleName())) return false; if (ruleType_ != other.ruleType_) return false; if (evalutionType_ != other.evalutionType_) return false; - if (!getRuleDimension() - .equals(other.getRuleDimension())) return false; + if (!getRuleDimension().equals(other.getRuleDimension())) return false; if (java.lang.Double.doubleToLongBits(getThresholdPercent()) - != java.lang.Double.doubleToLongBits( - other.getThresholdPercent())) return false; + != java.lang.Double.doubleToLongBits(other.getThresholdPercent())) return false; if (result_ != other.result_) return false; - if (getEvaluatedRowCount() - != other.getEvaluatedRowCount()) return false; - if (getPassedRowCount() - != other.getPassedRowCount()) return false; - if (getNullRowCount() - != other.getNullRowCount()) return false; + if (getEvaluatedRowCount() != other.getEvaluatedRowCount()) return false; + if (getPassedRowCount() != other.getPassedRowCount()) return false; + if (getNullRowCount() != other.getNullRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1144,117 +1302,122 @@ public int hashCode() { hash = (37 * hash) + RULE_DIMENSION_FIELD_NUMBER; hash = (53 * hash) + getRuleDimension().hashCode(); hash = (37 * hash) + THRESHOLD_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThresholdPercent())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThresholdPercent())); hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; hash = (37 * hash) + EVALUATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEvaluatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEvaluatedRowCount()); hash = (37 * hash) + PASSED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPassedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPassedRowCount()); hash = (37 * hash) + NULL_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNullRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNullRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityScanRuleResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualityScanRuleResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about the result of a data quality rule for data quality scan.
    * The monitored resource is 'DataScan'.
@@ -1262,33 +1425,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataQualityScanRuleResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityScanRuleResult)
       com.google.cloud.dataplex.v1.DataQualityScanRuleResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class, com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
+              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.class,
+              com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataQualityScanRuleResult.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1309,9 +1471,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor;
     }
 
     @java.lang.Override
@@ -1330,8 +1492,11 @@ public com.google.cloud.dataplex.v1.DataQualityScanRuleResult build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataQualityScanRuleResult buildPartial() {
-      com.google.cloud.dataplex.v1.DataQualityScanRuleResult result = new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataQualityScanRuleResult result =
+          new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1380,38 +1545,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityScanRuleResul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataQualityScanRuleResult) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityScanRuleResult)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataQualityScanRuleResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1419,7 +1585,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityScanRuleResult other) {
-      if (other == com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.DataQualityScanRuleResult.getDefaultInstance())
+        return this;
       if (!other.getJobId().isEmpty()) {
         jobId_ = other.jobId_;
         bitField0_ |= 0x00000001;
@@ -1492,72 +1659,85 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              dataSource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              column_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              ruleName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              ruleType_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 48: {
-              evalutionType_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 58: {
-              ruleDimension_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 65: {
-              thresholdPercent_ = input.readDouble();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 65
-            case 72: {
-              result_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 80: {
-              evaluatedRowCount_ = input.readInt64();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 80
-            case 88: {
-              passedRowCount_ = input.readInt64();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 88
-            case 96: {
-              nullRowCount_ = input.readInt64();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 96
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                jobId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                dataSource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                column_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                ruleName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                ruleType_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 48:
+              {
+                evalutionType_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 58:
+              {
+                ruleDimension_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 65:
+              {
+                thresholdPercent_ = input.readDouble();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 65
+            case 72:
+              {
+                result_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 80:
+              {
+                evaluatedRowCount_ = input.readInt64();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 80
+            case 88:
+              {
+                passedRowCount_ = input.readInt64();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 88
+            case 96:
+              {
+                nullRowCount_ = input.readInt64();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 96
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1567,22 +1747,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object jobId_ = "";
     /**
+     *
+     *
      * 
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; + * * @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; @@ -1591,20 +1774,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; + * * @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 { @@ -1612,28 +1796,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1643,17 +1834,21 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 1; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000001; @@ -1663,18 +1858,20 @@ public Builder setJobIdBytes( private java.lang.Object dataSource_ = ""; /** + * + * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; + * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -1683,20 +1880,21 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; + * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -1704,28 +1902,35 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; + * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; + * * @return This builder for chaining. */ public Builder clearDataSource() { @@ -1735,17 +1940,21 @@ public Builder clearDataSource() { return this; } /** + * + * *
      * The data source of the data scan (e.g. BigQuery table name).
      * 
* * string data_source = 2; + * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSource_ = value; bitField0_ |= 0x00000002; @@ -1755,18 +1964,20 @@ public Builder setDataSourceBytes( private java.lang.Object column_ = ""; /** + * + * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; + * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -1775,20 +1986,21 @@ public java.lang.String getColumn() { } } /** + * + * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; + * * @return The bytes for column. */ - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); column_ = b; return b; } else { @@ -1796,28 +2008,35 @@ public java.lang.String getColumn() { } } /** + * + * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; + * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } column_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1827,17 +2046,21 @@ public Builder clearColumn() { return this; } /** + * + * *
      * The column which this rule is evaluated against.
      * 
* * string column = 3; + * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000004; @@ -1847,18 +2070,20 @@ public Builder setColumnBytes( private java.lang.Object ruleName_ = ""; /** + * + * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; + * * @return The ruleName. */ public java.lang.String getRuleName() { java.lang.Object ref = ruleName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleName_ = s; return s; @@ -1867,20 +2092,21 @@ public java.lang.String getRuleName() { } } /** + * + * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; + * * @return The bytes for ruleName. */ - public com.google.protobuf.ByteString - getRuleNameBytes() { + public com.google.protobuf.ByteString getRuleNameBytes() { java.lang.Object ref = ruleName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ruleName_ = b; return b; } else { @@ -1888,28 +2114,35 @@ public java.lang.String getRuleName() { } } /** + * + * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; + * * @param value The ruleName to set. * @return This builder for chaining. */ - public Builder setRuleName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ruleName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; + * * @return This builder for chaining. */ public Builder clearRuleName() { @@ -1919,17 +2152,21 @@ public Builder clearRuleName() { return this; } /** + * + * *
      * The name of the data quality rule.
      * 
* * string rule_name = 4; + * * @param value The bytes for ruleName to set. * @return This builder for chaining. */ - public Builder setRuleNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ruleName_ = value; bitField0_ |= 0x00000008; @@ -1939,22 +2176,29 @@ public Builder setRuleNameBytes( private int ruleType_ = 0; /** + * + * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The enum numeric value on the wire for ruleType. */ - @java.lang.Override public int getRuleTypeValue() { + @java.lang.Override + public int getRuleTypeValue() { return ruleType_; } /** + * + * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @param value The enum numeric value on the wire for ruleType to set. * @return This builder for chaining. */ @@ -1965,28 +2209,38 @@ public Builder setRuleTypeValue(int value) { return this; } /** + * + * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The ruleType. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.forNumber(ruleType_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @param value The ruleType to set. * @return This builder for chaining. */ - public Builder setRuleType(com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType value) { + public Builder setRuleType( + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType value) { if (value == null) { throw new NullPointerException(); } @@ -1996,11 +2250,14 @@ public Builder setRuleType(com.google.cloud.dataplex.v1.DataQualityScanRuleResul return this; } /** + * + * *
      * The type of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return This builder for chaining. */ public Builder clearRuleType() { @@ -2012,22 +2269,31 @@ public Builder clearRuleType() { private int evalutionType_ = 0; /** + * + * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The enum numeric value on the wire for evalutionType. */ - @java.lang.Override public int getEvalutionTypeValue() { + @java.lang.Override + public int getEvalutionTypeValue() { return evalutionType_; } /** + * + * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @param value The enum numeric value on the wire for evalutionType to set. * @return This builder for chaining. */ @@ -2038,28 +2304,42 @@ public Builder setEvalutionTypeValue(int value) { return this; } /** + * + * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The evalutionType. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber(evalutionType_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType + getEvalutionType() { + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.forNumber( + evalutionType_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType.UNRECOGNIZED + : result; } /** + * + * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @param value The evalutionType to set. * @return This builder for chaining. */ - public Builder setEvalutionType(com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType value) { + public Builder setEvalutionType( + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType value) { if (value == null) { throw new NullPointerException(); } @@ -2069,11 +2349,15 @@ public Builder setEvalutionType(com.google.cloud.dataplex.v1.DataQualityScanRule return this; } /** + * + * *
      * The evaluation type of the data quality rule.
      * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return This builder for chaining. */ public Builder clearEvalutionType() { @@ -2085,18 +2369,20 @@ public Builder clearEvalutionType() { private java.lang.Object ruleDimension_ = ""; /** + * + * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; + * * @return The ruleDimension. */ public java.lang.String getRuleDimension() { java.lang.Object ref = ruleDimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ruleDimension_ = s; return s; @@ -2105,20 +2391,21 @@ public java.lang.String getRuleDimension() { } } /** + * + * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; + * * @return The bytes for ruleDimension. */ - public com.google.protobuf.ByteString - getRuleDimensionBytes() { + public com.google.protobuf.ByteString getRuleDimensionBytes() { java.lang.Object ref = ruleDimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ruleDimension_ = b; return b; } else { @@ -2126,28 +2413,35 @@ public java.lang.String getRuleDimension() { } } /** + * + * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; + * * @param value The ruleDimension to set. * @return This builder for chaining. */ - public Builder setRuleDimension( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleDimension(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ruleDimension_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; + * * @return This builder for chaining. */ public Builder clearRuleDimension() { @@ -2157,17 +2451,21 @@ public Builder clearRuleDimension() { return this; } /** + * + * *
      * The dimension of the data quality rule.
      * 
* * string rule_dimension = 7; + * * @param value The bytes for ruleDimension to set. * @return This builder for chaining. */ - public Builder setRuleDimensionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleDimensionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ruleDimension_ = value; bitField0_ |= 0x00000040; @@ -2175,13 +2473,16 @@ public Builder setRuleDimensionBytes( return this; } - private double thresholdPercent_ ; + private double thresholdPercent_; /** + * + * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; + * * @return The thresholdPercent. */ @java.lang.Override @@ -2189,11 +2490,14 @@ public double getThresholdPercent() { return thresholdPercent_; } /** + * + * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; + * * @param value The thresholdPercent to set. * @return This builder for chaining. */ @@ -2205,11 +2509,14 @@ public Builder setThresholdPercent(double value) { return this; } /** + * + * *
      * The passing threshold ([0.0, 100.0]) of the data quality rule.
      * 
* * double threshold_percent = 8; + * * @return This builder for chaining. */ public Builder clearThresholdPercent() { @@ -2221,22 +2528,29 @@ public Builder clearThresholdPercent() { private int result_ = 0; /** + * + * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -2247,24 +2561,33 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The result. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult() { - com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); - return result == null ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = + com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.forNumber(result_); + return result == null + ? com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result.UNRECOGNIZED + : result; } /** + * + * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @param value The result to set. * @return This builder for chaining. */ @@ -2278,11 +2601,14 @@ public Builder setResult(com.google.cloud.dataplex.v1.DataQualityScanRuleResult. return this; } /** + * + * *
      * The result of the data quality rule.
      * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -2292,14 +2618,17 @@ public Builder clearResult() { return this; } - private long evaluatedRowCount_ ; + private long evaluatedRowCount_; /** + * + * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; + * * @return The evaluatedRowCount. */ @java.lang.Override @@ -2307,12 +2636,15 @@ public long getEvaluatedRowCount() { return evaluatedRowCount_; } /** + * + * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; + * * @param value The evaluatedRowCount to set. * @return This builder for chaining. */ @@ -2324,12 +2656,15 @@ public Builder setEvaluatedRowCount(long value) { return this; } /** + * + * *
      * The number of rows evaluated against the data quality rule.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 evaluated_row_count = 10; + * * @return This builder for chaining. */ public Builder clearEvaluatedRowCount() { @@ -2339,14 +2674,17 @@ public Builder clearEvaluatedRowCount() { return this; } - private long passedRowCount_ ; + private long passedRowCount_; /** + * + * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; + * * @return The passedRowCount. */ @java.lang.Override @@ -2354,12 +2692,15 @@ public long getPassedRowCount() { return passedRowCount_; } /** + * + * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; + * * @param value The passedRowCount to set. * @return This builder for chaining. */ @@ -2371,12 +2712,15 @@ public Builder setPassedRowCount(long value) { return this; } /** + * + * *
      * The number of rows which passed a rule evaluation.
      * This field is only valid for rules of PER_ROW evaluation type.
      * 
* * int64 passed_row_count = 11; + * * @return This builder for chaining. */ public Builder clearPassedRowCount() { @@ -2386,13 +2730,16 @@ public Builder clearPassedRowCount() { return this; } - private long nullRowCount_ ; + private long nullRowCount_; /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; + * * @return The nullRowCount. */ @java.lang.Override @@ -2400,11 +2747,14 @@ public long getNullRowCount() { return nullRowCount_; } /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; + * * @param value The nullRowCount to set. * @return This builder for chaining. */ @@ -2416,11 +2766,14 @@ public Builder setNullRowCount(long value) { return this; } /** + * + * *
      * The number of rows with null values in the specified column.
      * 
* * int64 null_row_count = 12; + * * @return This builder for chaining. */ public Builder clearNullRowCount() { @@ -2429,9 +2782,9 @@ public Builder clearNullRowCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2441,12 +2794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityScanRuleResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityScanRuleResult) private static final com.google.cloud.dataplex.v1.DataQualityScanRuleResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityScanRuleResult(); } @@ -2455,27 +2808,27 @@ public static com.google.cloud.dataplex.v1.DataQualityScanRuleResult getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityScanRuleResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityScanRuleResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2490,6 +2843,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DataQualityScanRuleResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java similarity index 78% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java index fe9a5f1c68d8..30bf67f7cb91 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityScanRuleResultOrBuilder.java @@ -1,207 +1,280 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DataQualityScanRuleResultOrBuilder extends +public interface DataQualityScanRuleResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityScanRuleResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 1; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; + * * @return The dataSource. */ java.lang.String getDataSource(); /** + * + * *
    * The data source of the data scan (e.g. BigQuery table name).
    * 
* * string data_source = 2; + * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString - getDataSourceBytes(); + com.google.protobuf.ByteString getDataSourceBytes(); /** + * + * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * The column which this rule is evaluated against.
    * 
* * string column = 3; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; + * * @return The ruleName. */ java.lang.String getRuleName(); /** + * + * *
    * The name of the data quality rule.
    * 
* * string rule_name = 4; + * * @return The bytes for ruleName. */ - com.google.protobuf.ByteString - getRuleNameBytes(); + com.google.protobuf.ByteString getRuleNameBytes(); /** + * + * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The enum numeric value on the wire for ruleType. */ int getRuleTypeValue(); /** + * + * *
    * The type of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5; + * * @return The ruleType. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType(); /** + * + * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The enum numeric value on the wire for evalutionType. */ int getEvalutionTypeValue(); /** + * + * *
    * The evaluation type of the data quality rule.
    * 
* - * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6; + * + * * @return The evalutionType. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType(); /** + * + * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; + * * @return The ruleDimension. */ java.lang.String getRuleDimension(); /** + * + * *
    * The dimension of the data quality rule.
    * 
* * string rule_dimension = 7; + * * @return The bytes for ruleDimension. */ - com.google.protobuf.ByteString - getRuleDimensionBytes(); + com.google.protobuf.ByteString getRuleDimensionBytes(); /** + * + * *
    * The passing threshold ([0.0, 100.0]) of the data quality rule.
    * 
* * double threshold_percent = 8; + * * @return The thresholdPercent. */ double getThresholdPercent(); /** + * + * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
    * The result of the data quality rule.
    * 
* * .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9; + * * @return The result. */ com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult(); /** + * + * *
    * The number of rows evaluated against the data quality rule.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 evaluated_row_count = 10; + * * @return The evaluatedRowCount. */ long getEvaluatedRowCount(); /** + * + * *
    * The number of rows which passed a rule evaluation.
    * This field is only valid for rules of PER_ROW evaluation type.
    * 
* * int64 passed_row_count = 11; + * * @return The passedRowCount. */ long getPassedRowCount(); /** + * + * *
    * The number of rows with null values in the specified column.
    * 
* * int64 null_row_count = 12; + * * @return The nullRowCount. */ long getNullRowCount(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java index a182a8cb04dd..3f29b78fa0e3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpec.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataQualityScan related setting.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec} */ -public final class DataQualitySpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataQualitySpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec) DataQualitySpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualitySpec.newBuilder() to construct. private DataQualitySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataQualitySpec() { rules_ = java.util.Collections.emptyList(); rowFilter_ = ""; @@ -26,102 +44,125 @@ private DataQualitySpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualitySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.class, com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.class, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); } - public interface PostScanActionsOrBuilder extends + public interface PostScanActionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ boolean hasBigqueryExport(); /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport(); /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder(); } /** + * + * *
    * The configuration of post scan actions of DataQualityScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions} */ - public static final class PostScanActions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PostScanActions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) PostScanActionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActions.newBuilder() to construct. private PostScanActions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostScanActions() { - } + + private PostScanActions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); } - public interface BigQueryExportOrBuilder extends + public interface BigQueryExportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -129,10 +170,13 @@ public interface BigQueryExportOrBuilder extends
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ java.lang.String getResultsTable(); /** + * + * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -140,55 +184,63 @@ public interface BigQueryExportOrBuilder extends
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ - com.google.protobuf.ByteString - getResultsTableBytes(); + com.google.protobuf.ByteString getResultsTableBytes(); } /** + * + * *
      * The configuration of BigQuery export post scan action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} */ - public static final class BigQueryExport extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) BigQueryExportOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExport.newBuilder() to construct. private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryExport() { resultsTable_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExport(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder + .class); } public static final int RESULTS_TABLE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resultsTable_ = ""; /** + * + * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -196,6 +248,7 @@ protected java.lang.Object newInstance(
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ @java.lang.Override @@ -204,14 +257,15 @@ public java.lang.String getResultsTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; } } /** + * + * *
        * Optional. The BigQuery table to export DataQualityScan results to.
        * Format:
@@ -219,16 +273,15 @@ public java.lang.String getResultsTable() {
        * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ @java.lang.Override - public com.google.protobuf.ByteString - getResultsTableBytes() { + public com.google.protobuf.ByteString getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -237,6 +290,7 @@ public java.lang.String getResultsTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,8 +302,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultsTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resultsTable_); } @@ -273,15 +326,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other = (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) obj; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other = + (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) obj; - if (!getResultsTable() - .equals(other.getResultsTable())) return false; + if (!getResultsTable().equals(other.getResultsTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -300,90 +355,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -393,39 +461,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The configuration of BigQuery export post scan action.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.class, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +508,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport build() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = buildPartial(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,14 +531,19 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExpo } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + buildPartial() { + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result = + new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultsTable_ = resultsTable_; @@ -473,46 +554,56 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScan public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other) { - if (other == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport other) { + if (other + == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance()) return this; if (!other.getResultsTable().isEmpty()) { resultsTable_ = other.resultsTable_; bitField0_ |= 0x00000001; @@ -544,17 +635,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resultsTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resultsTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,10 +657,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resultsTable_ = ""; /** + * + * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -575,13 +671,13 @@ public Builder mergeFrom(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The resultsTable. */ public java.lang.String getResultsTable() { java.lang.Object ref = resultsTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resultsTable_ = s; return s; @@ -590,6 +686,8 @@ public java.lang.String getResultsTable() { } } /** + * + * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -597,15 +695,14 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for resultsTable. */ - public com.google.protobuf.ByteString - getResultsTableBytes() { + public com.google.protobuf.ByteString getResultsTableBytes() { java.lang.Object ref = resultsTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resultsTable_ = b; return b; } else { @@ -613,6 +710,8 @@ public java.lang.String getResultsTable() { } } /** + * + * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -620,18 +719,22 @@ public java.lang.String getResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultsTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -639,6 +742,7 @@ public Builder setResultsTable(
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearResultsTable() { @@ -648,6 +752,8 @@ public Builder clearResultsTable() { return this; } /** + * + * *
          * Optional. The BigQuery table to export DataQualityScan results to.
          * Format:
@@ -655,18 +761,21 @@ public Builder clearResultsTable() {
          * 
* * string results_table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for resultsTable to set. * @return This builder for chaining. */ - public Builder setResultsTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultsTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resultsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -679,41 +788,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport) - private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + .BigQueryExport + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport(); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -725,21 +839,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_EXPORT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigqueryExport_; + private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + bigqueryExport_; /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ @java.lang.Override @@ -747,32 +867,50 @@ public boolean hasBigqueryExport() { return bigqueryExport_ != null; } /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport() { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + getBigqueryExport() { + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } /** + * + * *
      * Optional. If set, results will be exported to the provided BigQuery
      * table.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder() { + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -784,8 +922,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryExport_ != null) { output.writeMessage(1, getBigqueryExport()); } @@ -799,8 +936,7 @@ public int getSerializedSize() { size = 0; if (bigqueryExport_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryExport()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExport()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -810,17 +946,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other = (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) obj; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other = + (com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) obj; if (hasBigqueryExport() != other.hasBigqueryExport()) return false; if (hasBigqueryExport()) { - if (!getBigqueryExport() - .equals(other.getBigqueryExport())) return false; + if (!getBigqueryExport().equals(other.getBigqueryExport())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -843,89 +979,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -935,39 +1076,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The configuration of post scan actions of DataQualityScan.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec.PostScanActions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.class, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -981,13 +1124,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance(); } @@ -1002,18 +1146,21 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result = + new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExport_ = bigqueryExportBuilder_ == null - ? bigqueryExport_ - : bigqueryExportBuilder_.build(); + result.bigqueryExport_ = + bigqueryExportBuilder_ == null ? bigqueryExport_ : bigqueryExportBuilder_.build(); } } @@ -1021,38 +1168,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec.PostScan public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) other); } else { super.mergeFrom(other); return this; @@ -1060,7 +1210,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions other) { - if (other == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) + return this; if (other.hasBigqueryExport()) { mergeBigqueryExport(other.getBigqueryExport()); } @@ -1090,19 +1242,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryExportFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getBigqueryExportFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1112,48 +1265,72 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigqueryExport_; + private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + bigqueryExport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> bigqueryExportBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> + bigqueryExportBuilder_; /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the bigqueryExport field is set. */ public boolean hasBigqueryExport() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bigqueryExport. */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport getBigqueryExport() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + getBigqueryExport() { if (bigqueryExportBuilder_ == null) { - return bigqueryExport_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } else { return bigqueryExportBuilder_.getMessage(); } } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { + public Builder setBigqueryExport( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1167,15 +1344,20 @@ public Builder setBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec.Po return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBigqueryExport( - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder + builderForValue) { if (bigqueryExportBuilder_ == null) { bigqueryExport_ = builderForValue.build(); } else { @@ -1186,18 +1368,25 @@ public Builder setBigqueryExport( return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { + public Builder mergeBigqueryExport( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport value) { if (bigqueryExportBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryExport_ != null && - bigqueryExport_ != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryExport_ != null + && bigqueryExport_ + != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance()) { getBigqueryExportBuilder().mergeFrom(value); } else { bigqueryExport_ = value; @@ -1210,12 +1399,16 @@ public Builder mergeBigqueryExport(com.google.cloud.dataplex.v1.DataQualitySpec. return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearBigqueryExport() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1228,55 +1421,77 @@ public Builder clearBigqueryExport() { return this; } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder getBigqueryExportBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder + getBigqueryExportBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder getBigqueryExportOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder + getBigqueryExportOrBuilder() { if (bigqueryExportBuilder_ != null) { return bigqueryExportBuilder_.getMessageOrBuilder(); } else { - return bigqueryExport_ == null ? - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.getDefaultInstance() : bigqueryExport_; + return bigqueryExport_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .getDefaultInstance() + : bigqueryExport_; } } /** + * + * *
        * Optional. If set, results will be exported to the provided BigQuery
        * table.
        * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder> getBigqueryExportFieldBuilder() { if (bigqueryExportBuilder_ == null) { - bigqueryExportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportOrBuilder>( - getBigqueryExport(), - getParentForChildren(), - isClean()); + bigqueryExportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport + .Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + .BigQueryExportOrBuilder>( + getBigqueryExport(), getParentForChildren(), isClean()); bigqueryExport_ = null; } return bigqueryExportBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1289,41 +1504,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec.PostScanActions) - private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions(); } - public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1335,81 +1553,103 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { return rules_.get(index); } /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 4; private float samplingPercent_ = 0F; /** + * + * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -1421,6 +1661,7 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(
    * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ @java.lang.Override @@ -1429,9 +1670,12 @@ public float getSamplingPercent() { } public static final int ROW_FILTER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object rowFilter_ = ""; /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -1440,6 +1684,7 @@ public float getSamplingPercent() {
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ @java.lang.Override @@ -1448,14 +1693,15 @@ public java.lang.String getRowFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; } } /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -1464,16 +1710,15 @@ public java.lang.String getRowFilter() {
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getRowFilterBytes() { + public com.google.protobuf.ByteString getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -1484,11 +1729,16 @@ public java.lang.String getRowFilter() { public static final int POST_SCAN_ACTIONS_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions postScanActions_; /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ @java.lang.Override @@ -1496,30 +1746,45 @@ public boolean hasPostScanActions() { return postScanActions_ != null; } /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions() { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() + : postScanActions_; } /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder() { + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() + : postScanActions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1531,8 +1796,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -1555,19 +1819,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); } if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, samplingPercent_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, samplingPercent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, rowFilter_); } if (postScanActions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getPostScanActions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPostScanActions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1577,24 +1838,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualitySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataQualitySpec other = (com.google.cloud.dataplex.v1.DataQualitySpec) obj; + com.google.cloud.dataplex.v1.DataQualitySpec other = + (com.google.cloud.dataplex.v1.DataQualitySpec) obj; - if (!getRulesList() - .equals(other.getRulesList())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits( - other.getSamplingPercent())) return false; - if (!getRowFilter() - .equals(other.getRowFilter())) return false; + != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; + if (!getRowFilter().equals(other.getRowFilter())) return false; if (hasPostScanActions() != other.hasPostScanActions()) return false; if (hasPostScanActions()) { - if (!getPostScanActions() - .equals(other.getPostScanActions())) return false; + if (!getPostScanActions().equals(other.getPostScanActions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1612,8 +1870,7 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_FIELD_NUMBER; hash = (53 * hash) + getRowFilter().hashCode(); if (hasPostScanActions()) { @@ -1625,132 +1882,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualitySpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataQualitySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualitySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataQualityScan related setting.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualitySpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualitySpec) com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataQualitySpec.class, com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); + com.google.cloud.dataplex.v1.DataQualitySpec.class, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1773,9 +2034,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataQualityProto.internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataQualityProto + .internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor; } @java.lang.Override @@ -1794,9 +2055,12 @@ public com.google.cloud.dataplex.v1.DataQualitySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec buildPartial() { - com.google.cloud.dataplex.v1.DataQualitySpec result = new com.google.cloud.dataplex.v1.DataQualitySpec(this); + com.google.cloud.dataplex.v1.DataQualitySpec result = + new com.google.cloud.dataplex.v1.DataQualitySpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1822,9 +2086,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec result) result.rowFilter_ = rowFilter_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.postScanActions_ = postScanActionsBuilder_ == null - ? postScanActions_ - : postScanActionsBuilder_.build(); + result.postScanActions_ = + postScanActionsBuilder_ == null ? postScanActions_ : postScanActionsBuilder_.build(); } } @@ -1832,38 +2095,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataQualitySpec result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualitySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataQualitySpec) other); } else { super.mergeFrom(other); return this; @@ -1890,9 +2154,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualitySpec other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRulesFieldBuilder() : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -1935,42 +2200,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataQualityRule m = - input.readMessage( - com.google.cloud.dataplex.v1.DataQualityRule.parser(), - extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - case 37: { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 37 - case 42: { - rowFilter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: { - input.readMessage( - getPostScanActionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataQualityRule m = + input.readMessage( + com.google.cloud.dataplex.v1.DataQualityRule.parser(), extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + case 37: + { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 37 + case 42: + { + rowFilter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: + { + input.readMessage(getPostScanActionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1980,27 +2247,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> rulesBuilder_; + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -2010,12 +2286,16 @@ public java.util.List getRulesList } } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -2025,12 +2305,16 @@ public int getRulesCount() { } } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { if (rulesBuilder_ == null) { @@ -2040,15 +2324,18 @@ public com.google.cloud.dataplex.v1.DataQualityRule getRules(int index) { } } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRules( - int index, com.google.cloud.dataplex.v1.DataQualityRule value) { + public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2062,12 +2349,16 @@ public Builder setRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRules( int index, com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { @@ -2081,12 +2372,16 @@ public Builder setRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { @@ -2102,15 +2397,18 @@ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule value) { return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRules( - int index, com.google.cloud.dataplex.v1.DataQualityRule value) { + public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2124,15 +2422,18 @@ public Builder addRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRules( - com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { + public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -2143,12 +2444,16 @@ public Builder addRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRules( int index, com.google.cloud.dataplex.v1.DataQualityRule.Builder builderForValue) { @@ -2162,19 +2467,22 @@ public Builder addRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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); @@ -2182,12 +2490,16 @@ public Builder addAllRules( return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -2200,12 +2512,16 @@ public Builder clearRules() { return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -2218,42 +2534,53 @@ public Builder removeRules(int index) { return this; } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRulesBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataQualityRule.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index) { if (rulesBuilder_ == null) { - return rules_.get(index); } else { + return rules_.get(index); + } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -2261,59 +2588,75 @@ public com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); + return getRulesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder( - int index) { - return getRulesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.DataQualityRule.getDefaultInstance()); } /** + * + * *
      * Required. The list of rules to evaluate against a data source. At least one
      * rule is required.
      * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityRule, com.google.cloud.dataplex.v1.DataQualityRule.Builder, com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( - rules_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityRule, + com.google.cloud.dataplex.v1.DataQualityRule.Builder, + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } - private float samplingPercent_ ; + private float samplingPercent_; /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2325,6 +2668,7 @@ public com.google.cloud.dataplex.v1.DataQualityRule.Builder addRulesBuilder(
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ @java.lang.Override @@ -2332,6 +2676,8 @@ public float getSamplingPercent() { return samplingPercent_; } /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2343,6 +2689,7 @@ public float getSamplingPercent() {
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -2354,6 +2701,8 @@ public Builder setSamplingPercent(float value) { return this; } /** + * + * *
      * Optional. The percentage of the records to be selected from the dataset for
      * DataScan.
@@ -2365,6 +2714,7 @@ public Builder setSamplingPercent(float value) {
      * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -2376,6 +2726,8 @@ public Builder clearSamplingPercent() { private java.lang.Object rowFilter_ = ""; /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2384,13 +2736,13 @@ public Builder clearSamplingPercent() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ public java.lang.String getRowFilter() { java.lang.Object ref = rowFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowFilter_ = s; return s; @@ -2399,6 +2751,8 @@ public java.lang.String getRowFilter() { } } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2407,15 +2761,14 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ - public com.google.protobuf.ByteString - getRowFilterBytes() { + public com.google.protobuf.ByteString getRowFilterBytes() { java.lang.Object ref = rowFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowFilter_ = b; return b; } else { @@ -2423,6 +2776,8 @@ public java.lang.String getRowFilter() { } } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2431,18 +2786,22 @@ public java.lang.String getRowFilter() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rowFilter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2451,6 +2810,7 @@ public Builder setRowFilter(
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRowFilter() { @@ -2460,6 +2820,8 @@ public Builder clearRowFilter() { return this; } /** + * + * *
      * Optional. A filter applied to all rows in a single DataScan job.
      * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -2468,12 +2830,14 @@ public Builder clearRowFilter() {
      * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for rowFilter to set. * @return This builder for chaining. */ - public Builder setRowFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rowFilter_ = value; bitField0_ |= 0x00000004; @@ -2483,41 +2847,61 @@ public Builder setRowFilterBytes( private com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions postScanActions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> postScanActionsBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> + postScanActionsBuilder_; /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ public boolean hasPostScanActions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions() { if (postScanActionsBuilder_ == null) { - return postScanActions_ == null ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() + : postScanActions_; } else { return postScanActionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { + public Builder setPostScanActions( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2531,11 +2915,15 @@ public Builder setPostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec.P return this; } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPostScanActions( com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder builderForValue) { @@ -2549,17 +2937,24 @@ public Builder setPostScanActions( return this; } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { + public Builder mergePostScanActions( + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions value) { if (postScanActionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - postScanActions_ != null && - postScanActions_ != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && postScanActions_ != null + && postScanActions_ + != com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions + .getDefaultInstance()) { getPostScanActionsBuilder().mergeFrom(value); } else { postScanActions_ = value; @@ -2572,11 +2967,15 @@ public Builder mergePostScanActions(com.google.cloud.dataplex.v1.DataQualitySpec return this; } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPostScanActions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2589,55 +2988,73 @@ public Builder clearPostScanActions() { return this; } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder getPostScanActionsBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder + getPostScanActionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPostScanActionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder() { + public com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder() { if (postScanActionsBuilder_ != null) { return postScanActionsBuilder_.getMessageOrBuilder(); } else { - return postScanActions_ == null ? - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() : postScanActions_; + return postScanActions_ == null + ? com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.getDefaultInstance() + : postScanActions_; } } /** + * + * *
      * Optional. Actions to take upon job completion.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder> getPostScanActionsFieldBuilder() { if (postScanActionsBuilder_ == null) { - postScanActionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder>( - getPostScanActions(), - getParentForChildren(), - isClean()); + postScanActionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Builder, + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder>( + getPostScanActions(), getParentForChildren(), isClean()); postScanActions_ = null; } return postScanActionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2647,12 +3064,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualitySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualitySpec) private static final com.google.cloud.dataplex.v1.DataQualitySpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualitySpec(); } @@ -2661,27 +3078,27 @@ public static com.google.cloud.dataplex.v1.DataQualitySpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualitySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualitySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2696,6 +3113,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataQualitySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java similarity index 59% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java index 644059800d7e..5ccb8c3737b2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualitySpecOrBuilder.java @@ -1,62 +1,98 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_quality.proto package com.google.cloud.dataplex.v1; -public interface DataQualitySpecOrBuilder extends +public interface DataQualitySpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataQualityRule getRules(int index); /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRulesCount(); /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * Required. The list of rules to evaluate against a data source. At least one
    * rule is required.
    * 
* - * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index); /** + * + * *
    * Optional. The percentage of the records to be selected from the dataset for
    * DataScan.
@@ -68,11 +104,14 @@ com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(
    * 
* * float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplingPercent. */ float getSamplingPercent(); /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -81,10 +120,13 @@ com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rowFilter. */ java.lang.String getRowFilter(); /** + * + * *
    * Optional. A filter applied to all rows in a single DataScan job.
    * The filter needs to be a valid SQL expression for a WHERE clause in
@@ -93,35 +135,50 @@ com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(
    * 
* * string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rowFilter. */ - com.google.protobuf.ByteString - getRowFilterBytes(); + com.google.protobuf.ByteString getRowFilterBytes(); /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postScanActions field is set. */ boolean hasPostScanActions(); /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postScanActions. */ com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions getPostScanActions(); /** + * + * *
    * Optional. Actions to take upon job completion.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder(); + com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder + getPostScanActionsOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java index a68a3208e0ad..ad6bf00463a9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Represents a user-visible job which provides the insights for the related
  * data source.
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataScan}
  */
-public final class DataScan extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataScan extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan)
     DataScanOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataScan.newBuilder() to construct.
   private DataScan(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataScan() {
     name_ = "";
     uid_ = "";
@@ -39,41 +57,44 @@ private DataScan() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataScan();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataScansProto
+        .internal_static_google_cloud_dataplex_v1_DataScan_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.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataScansProto
+        .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class);
+            com.google.cloud.dataplex.v1.DataScan.class,
+            com.google.cloud.dataplex.v1.DataScan.Builder.class);
   }
 
-  public interface ExecutionSpecOrBuilder extends
+  public interface ExecutionSpecOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -81,11 +102,16 @@ public interface ExecutionSpecOrBuilder extends
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** + * + * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -93,11 +119,16 @@ public interface ExecutionSpecOrBuilder extends
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The trigger. */ com.google.cloud.dataplex.v1.Trigger getTrigger(); /** + * + * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -105,11 +136,15 @@ public interface ExecutionSpecOrBuilder extends
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder(); /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -118,10 +153,13 @@ public interface ExecutionSpecOrBuilder extends
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -130,10 +168,13 @@ public interface ExecutionSpecOrBuilder extends
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The field. */ java.lang.String getField(); /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -142,61 +183,68 @@ public interface ExecutionSpecOrBuilder extends
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for field. */ - com.google.protobuf.ByteString - getFieldBytes(); + com.google.protobuf.ByteString getFieldBytes(); com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.IncrementalCase getIncrementalCase(); } /** + * + * *
    * DataScan execution settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ - public static final class ExecutionSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) ExecutionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionSpec.newBuilder() to construct. private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutionSpec() { - } + + private ExecutionSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } private int incrementalCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object incremental_; + public enum IncrementalCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FIELD(100), INCREMENTAL_NOT_SET(0); private final int value; + private IncrementalCase(int value) { this.value = value; } @@ -212,25 +260,29 @@ public static IncrementalCase valueOf(int value) { public static IncrementalCase forNumber(int value) { switch (value) { - case 100: return FIELD; - case 0: return INCREMENTAL_NOT_SET; - default: return null; + case 100: + return FIELD; + case 0: + return INCREMENTAL_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public IncrementalCase - getIncrementalCase() { - return IncrementalCase.forNumber( - incrementalCase_); + public IncrementalCase getIncrementalCase() { + return IncrementalCase.forNumber(incrementalCase_); } public static final int TRIGGER_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.Trigger trigger_; /** + * + * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -238,7 +290,10 @@ public int getNumber() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the trigger field is set. */ @java.lang.Override @@ -246,6 +301,8 @@ public boolean hasTrigger() { return trigger_ != null; } /** + * + * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -253,14 +310,21 @@ public boolean hasTrigger() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger getTrigger() { - return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() + : trigger_; } /** + * + * *
      * Optional. Spec related to how often and when a scan should be triggered.
      *
@@ -268,15 +332,21 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() {
      * not run until the user calls `RunDataScan` API.
      * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { - return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() + : trigger_; } public static final int FIELD_FIELD_NUMBER = 100; /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -285,12 +355,15 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the field field is set. */ public boolean hasField() { return incrementalCase_ == 100; } /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -299,6 +372,7 @@ public boolean hasField() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The field. */ public java.lang.String getField() { @@ -309,8 +383,7 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (incrementalCase_ == 100) { incremental_ = s; @@ -319,6 +392,8 @@ public java.lang.String getField() { } } /** + * + * *
      * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      * contains values which monotonically increase over time.
@@ -327,18 +402,17 @@ public java.lang.String getField() {
      * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for field. */ - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (incrementalCase_ == 100) { incremental_ = b; } @@ -349,6 +423,7 @@ public java.lang.String getField() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,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 (trigger_ != null) { output.writeMessage(1, getTrigger()); } @@ -378,8 +452,7 @@ public int getSerializedSize() { size = 0; if (trigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTrigger()); } if (incrementalCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, incremental_); @@ -392,23 +465,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other = (com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) obj; + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other = + (com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) obj; if (hasTrigger() != other.hasTrigger()) return false; if (hasTrigger()) { - if (!getTrigger() - .equals(other.getTrigger())) return false; + if (!getTrigger().equals(other.getTrigger())) return false; } if (!getIncrementalCase().equals(other.getIncrementalCase())) return false; switch (incrementalCase_) { case 100: - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; break; case 0: default: @@ -442,89 +514,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -534,39 +611,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * DataScan execution settings.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -582,9 +661,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override @@ -603,8 +682,11 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec buildPartial() { - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = + new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -613,9 +695,7 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.trigger_ = triggerBuilder_ == null - ? trigger_ - : triggerBuilder_.build(); + result.trigger_ = triggerBuilder_ == null ? trigger_ : triggerBuilder_.build(); } } @@ -628,38 +708,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan.ExecutionS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) other); } else { super.mergeFrom(other); return this; @@ -667,20 +750,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other) { - if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) + return this; if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } switch (other.getIncrementalCase()) { - case FIELD: { - incrementalCase_ = 100; - incremental_ = other.incremental_; - onChanged(); - break; - } - case INCREMENTAL_NOT_SET: { - break; - } + case FIELD: + { + incrementalCase_ = 100; + incremental_ = other.incremental_; + onChanged(); + break; + } + case INCREMENTAL_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -708,25 +794,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTriggerFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 802: { - java.lang.String s = input.readStringRequireUtf8(); - incrementalCase_ = 100; - incremental_ = s; - break; - } // case 802 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getTriggerFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 802: + { + java.lang.String s = input.readStringRequireUtf8(); + incrementalCase_ = 100; + incremental_ = s; + break; + } // case 802 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -736,12 +823,12 @@ public Builder mergeFrom( } // finally return this; } + private int incrementalCase_ = 0; private java.lang.Object incremental_; - public IncrementalCase - getIncrementalCase() { - return IncrementalCase.forNumber( - incrementalCase_); + + public IncrementalCase getIncrementalCase() { + return IncrementalCase.forNumber(incrementalCase_); } public Builder clearIncremental() { @@ -755,8 +842,13 @@ public Builder clearIncremental() { private com.google.cloud.dataplex.v1.Trigger trigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> triggerBuilder_; + com.google.cloud.dataplex.v1.Trigger, + com.google.cloud.dataplex.v1.Trigger.Builder, + com.google.cloud.dataplex.v1.TriggerOrBuilder> + triggerBuilder_; /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -764,13 +856,18 @@ public Builder clearIncremental() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -778,17 +875,24 @@ public boolean hasTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The trigger. */ public com.google.cloud.dataplex.v1.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() + : trigger_; } else { return triggerBuilder_.getMessage(); } } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -796,7 +900,9 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { @@ -812,6 +918,8 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { return this; } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -819,10 +927,11 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTrigger( - com.google.cloud.dataplex.v1.Trigger.Builder builderForValue) { + public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderForValue) { if (triggerBuilder_ == null) { trigger_ = builderForValue.build(); } else { @@ -833,6 +942,8 @@ public Builder setTrigger( return this; } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -840,13 +951,15 @@ public Builder setTrigger(
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - trigger_ != null && - trigger_ != com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && trigger_ != null + && trigger_ != com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) { getTriggerBuilder().mergeFrom(value); } else { trigger_ = value; @@ -859,6 +972,8 @@ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { return this; } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -866,7 +981,9 @@ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTrigger() { bitField0_ = (bitField0_ & ~0x00000001); @@ -879,6 +996,8 @@ public Builder clearTrigger() { return this; } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -886,7 +1005,9 @@ public Builder clearTrigger() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { bitField0_ |= 0x00000001; @@ -894,6 +1015,8 @@ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { return getTriggerFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -901,17 +1024,22 @@ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { if (triggerBuilder_ != null) { return triggerBuilder_.getMessageOrBuilder(); } else { - return trigger_ == null ? - com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() + : trigger_; } } /** + * + * *
        * Optional. Spec related to how often and when a scan should be triggered.
        *
@@ -919,23 +1047,30 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
        * not run until the user calls `RunDataScan` API.
        * 
* - * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> + com.google.cloud.dataplex.v1.Trigger, + com.google.cloud.dataplex.v1.Trigger.Builder, + com.google.cloud.dataplex.v1.TriggerOrBuilder> getTriggerFieldBuilder() { if (triggerBuilder_ == null) { - triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder>( - getTrigger(), - getParentForChildren(), - isClean()); + triggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger, + com.google.cloud.dataplex.v1.Trigger.Builder, + com.google.cloud.dataplex.v1.TriggerOrBuilder>( + getTrigger(), getParentForChildren(), isClean()); trigger_ = null; } return triggerBuilder_; } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -944,6 +1079,7 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the field field is set. */ @java.lang.Override @@ -951,6 +1087,8 @@ public boolean hasField() { return incrementalCase_ == 100; } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -959,6 +1097,7 @@ public boolean hasField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The field. */ @java.lang.Override @@ -968,8 +1107,7 @@ public java.lang.String getField() { ref = incremental_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (incrementalCase_ == 100) { incremental_ = s; @@ -980,6 +1118,8 @@ public java.lang.String getField() { } } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -988,19 +1128,18 @@ public java.lang.String getField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (incrementalCase_ == 100) { incremental_ = b; } @@ -1010,6 +1149,8 @@ public java.lang.String getField() { } } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1018,18 +1159,22 @@ public java.lang.String getField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } incrementalCase_ = 100; incremental_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1038,6 +1183,7 @@ public Builder setField(
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearField() { @@ -1049,6 +1195,8 @@ public Builder clearField() { return this; } /** + * + * *
        * Immutable. The unnested field (of type *Date* or *Timestamp*) that
        * contains values which monotonically increase over time.
@@ -1057,18 +1205,21 @@ public Builder clearField() {
        * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); incrementalCase_ = 100; incremental_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1081,12 +1232,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan.ExecutionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionSpec) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(); } @@ -1095,27 +1246,28 @@ public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,32 +1282,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecutionStatusOrBuilder extends + public interface ExecutionStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return Whether the latestJobStartTime field is set. */ boolean hasLatestJobStartTime(); /** + * + * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return The latestJobStartTime. */ com.google.protobuf.Timestamp getLatestJobStartTime(); /** + * + * *
      * The time when the latest DataScanJob started.
      * 
@@ -1165,24 +1325,32 @@ public interface ExecutionStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder(); /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return Whether the latestJobEndTime field is set. */ boolean hasLatestJobEndTime(); /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return The latestJobEndTime. */ com.google.protobuf.Timestamp getLatestJobEndTime(); /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
@@ -1192,52 +1360,58 @@ public interface ExecutionStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder(); } /** + * + * *
    * Status of the data scan execution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ - public static final class ExecutionStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecutionStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) ExecutionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionStatus.newBuilder() to construct. private ExecutionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutionStatus() { - } + + private ExecutionStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } public static final int LATEST_JOB_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp latestJobStartTime_; /** + * + * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return Whether the latestJobStartTime field is set. */ @java.lang.Override @@ -1245,18 +1419,25 @@ public boolean hasLatestJobStartTime() { return latestJobStartTime_ != null; } /** + * + * *
      * The time when the latest DataScanJob started.
      * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return The latestJobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobStartTime() { - return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; + return latestJobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobStartTime_; } /** + * + * *
      * The time when the latest DataScanJob started.
      * 
@@ -1265,17 +1446,22 @@ public com.google.protobuf.Timestamp getLatestJobStartTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { - return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; + return latestJobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobStartTime_; } public static final int LATEST_JOB_END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp latestJobEndTime_; /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return Whether the latestJobEndTime field is set. */ @java.lang.Override @@ -1283,18 +1469,25 @@ public boolean hasLatestJobEndTime() { return latestJobEndTime_ != null; } /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return The latestJobEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobEndTime() { - return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; + return latestJobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobEndTime_; } /** + * + * *
      * The time when the latest DataScanJob ended.
      * 
@@ -1303,10 +1496,13 @@ public com.google.protobuf.Timestamp getLatestJobEndTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { - return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; + return latestJobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobEndTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1318,8 +1514,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (latestJobStartTime_ != null) { output.writeMessage(4, getLatestJobStartTime()); } @@ -1336,12 +1531,11 @@ public int getSerializedSize() { size = 0; if (latestJobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLatestJobStartTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLatestJobStartTime()); } if (latestJobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLatestJobEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLatestJobEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1351,22 +1545,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other = (com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) obj; + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other = + (com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) obj; if (hasLatestJobStartTime() != other.hasLatestJobStartTime()) return false; if (hasLatestJobStartTime()) { - if (!getLatestJobStartTime() - .equals(other.getLatestJobStartTime())) return false; + if (!getLatestJobStartTime().equals(other.getLatestJobStartTime())) return false; } if (hasLatestJobEndTime() != other.hasLatestJobEndTime()) return false; if (hasLatestJobEndTime()) { - if (!getLatestJobEndTime() - .equals(other.getLatestJobEndTime())) return false; + if (!getLatestJobEndTime().equals(other.getLatestJobEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1393,89 +1586,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1485,39 +1683,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of the data scan execution.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1536,9 +1736,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override @@ -1557,8 +1757,11 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus buildPartial() { - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = + new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1566,14 +1769,16 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.latestJobStartTime_ = latestJobStartTimeBuilder_ == null - ? latestJobStartTime_ - : latestJobStartTimeBuilder_.build(); + result.latestJobStartTime_ = + latestJobStartTimeBuilder_ == null + ? latestJobStartTime_ + : latestJobStartTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.latestJobEndTime_ = latestJobEndTimeBuilder_ == null - ? latestJobEndTime_ - : latestJobEndTimeBuilder_.build(); + result.latestJobEndTime_ = + latestJobEndTimeBuilder_ == null + ? latestJobEndTime_ + : latestJobEndTimeBuilder_.build(); } } @@ -1581,38 +1786,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) other); } else { super.mergeFrom(other); return this; @@ -1620,7 +1828,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other) { - if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) + return this; if (other.hasLatestJobStartTime()) { mergeLatestJobStartTime(other.getLatestJobStartTime()); } @@ -1653,26 +1862,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: { - input.readMessage( - getLatestJobStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: { - input.readMessage( - getLatestJobEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: + { + input.readMessage( + getLatestJobStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: + { + input.readMessage( + getLatestJobEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1682,38 +1892,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp latestJobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + latestJobStartTimeBuilder_; /** + * + * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return Whether the latestJobStartTime field is set. */ public boolean hasLatestJobStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; + * * @return The latestJobStartTime. */ public com.google.protobuf.Timestamp getLatestJobStartTime() { if (latestJobStartTimeBuilder_ == null) { - return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; + return latestJobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobStartTime_; } else { return latestJobStartTimeBuilder_.getMessage(); } } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1734,14 +1958,15 @@ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ - public Builder setLatestJobStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobStartTimeBuilder_ == null) { latestJobStartTime_ = builderForValue.build(); } else { @@ -1752,6 +1977,8 @@ public Builder setLatestJobStartTime( return this; } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1760,9 +1987,9 @@ public Builder setLatestJobStartTime( */ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - latestJobStartTime_ != null && - latestJobStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && latestJobStartTime_ != null + && latestJobStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobStartTimeBuilder().mergeFrom(value); } else { latestJobStartTime_ = value; @@ -1775,6 +2002,8 @@ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1792,6 +2021,8 @@ public Builder clearLatestJobStartTime() { return this; } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1804,6 +2035,8 @@ public com.google.protobuf.Timestamp.Builder getLatestJobStartTimeBuilder() { return getLatestJobStartTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1814,11 +2047,14 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { if (latestJobStartTimeBuilder_ != null) { return latestJobStartTimeBuilder_.getMessageOrBuilder(); } else { - return latestJobStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; + return latestJobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobStartTime_; } } /** + * + * *
        * The time when the latest DataScanJob started.
        * 
@@ -1826,14 +2062,17 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { * .google.protobuf.Timestamp latest_job_start_time = 4; */ 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> getLatestJobStartTimeFieldBuilder() { if (latestJobStartTimeBuilder_ == null) { - latestJobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLatestJobStartTime(), - getParentForChildren(), - isClean()); + latestJobStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLatestJobStartTime(), getParentForChildren(), isClean()); latestJobStartTime_ = null; } return latestJobStartTimeBuilder_; @@ -1841,34 +2080,47 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { private com.google.protobuf.Timestamp latestJobEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobEndTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + latestJobEndTimeBuilder_; /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return Whether the latestJobEndTime field is set. */ public boolean hasLatestJobEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; + * * @return The latestJobEndTime. */ public com.google.protobuf.Timestamp getLatestJobEndTime() { if (latestJobEndTimeBuilder_ == null) { - return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; + return latestJobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobEndTime_; } else { return latestJobEndTimeBuilder_.getMessage(); } } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1889,14 +2141,15 @@ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ - public Builder setLatestJobEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobEndTimeBuilder_ == null) { latestJobEndTime_ = builderForValue.build(); } else { @@ -1907,6 +2160,8 @@ public Builder setLatestJobEndTime( return this; } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1915,9 +2170,9 @@ public Builder setLatestJobEndTime( */ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - latestJobEndTime_ != null && - latestJobEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && latestJobEndTime_ != null + && latestJobEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobEndTimeBuilder().mergeFrom(value); } else { latestJobEndTime_ = value; @@ -1930,6 +2185,8 @@ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1947,6 +2204,8 @@ public Builder clearLatestJobEndTime() { return this; } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1959,6 +2218,8 @@ public com.google.protobuf.Timestamp.Builder getLatestJobEndTimeBuilder() { return getLatestJobEndTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1969,11 +2230,14 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { if (latestJobEndTimeBuilder_ != null) { return latestJobEndTimeBuilder_.getMessageOrBuilder(); } else { - return latestJobEndTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; + return latestJobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestJobEndTime_; } } /** + * + * *
        * The time when the latest DataScanJob ended.
        * 
@@ -1981,18 +2245,22 @@ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { * .google.protobuf.Timestamp latest_job_end_time = 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> getLatestJobEndTimeFieldBuilder() { if (latestJobEndTimeBuilder_ == null) { - latestJobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLatestJobEndTime(), - getParentForChildren(), - isClean()); + latestJobEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLatestJobEndTime(), getParentForChildren(), isClean()); latestJobEndTime_ = null; } return latestJobEndTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2005,12 +2273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan.ExecutionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionStatus) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(); } @@ -2019,27 +2287,28 @@ public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2054,19 +2323,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int specCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object spec_; + public enum SpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_SPEC(100), DATA_PROFILE_SPEC(101), SPEC_NOT_SET(0); private final int value; + private SpecCase(int value) { this.value = value; } @@ -2082,33 +2354,40 @@ public static SpecCase valueOf(int value) { public static SpecCase forNumber(int value) { switch (value) { - case 100: return DATA_QUALITY_SPEC; - case 101: return DATA_PROFILE_SPEC; - case 0: return SPEC_NOT_SET; - default: return null; + case 100: + return DATA_QUALITY_SPEC; + case 101: + return DATA_PROFILE_SPEC; + case 0: + return SPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SpecCase - getSpecCase() { - return SpecCase.forNumber( - specCase_); + public SpecCase getSpecCase() { + return SpecCase.forNumber(specCase_); } private int resultCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_RESULT(200), DATA_PROFILE_RESULT(201), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -2124,27 +2403,33 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 200: return DATA_QUALITY_RESULT; - case 201: return DATA_PROFILE_RESULT; - case 0: return RESULT_NOT_SET; - default: return null; + case 200: + return DATA_QUALITY_RESULT; + case 201: + return DATA_PROFILE_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 NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -2153,6 +2438,7 @@ public int getNumber() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -2161,14 +2447,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 relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -2177,16 +2464,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 { @@ -2195,15 +2481,19 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2212,30 +2502,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2244,9 +2534,12 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the scan.
    *
@@ -2254,6 +2547,7 @@ public java.lang.String getUid() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -2262,14 +2556,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; } } /** + * + * *
    * Optional. Description of the scan.
    *
@@ -2277,16 +2572,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2295,9 +2589,12 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    *
@@ -2305,6 +2602,7 @@ public java.lang.String getDescription() {
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -2313,14 +2611,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Optional. User friendly display name.
    *
@@ -2328,16 +2627,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2346,32 +2644,34 @@ public java.lang.String getDisplayName() { } 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.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2379,20 +2679,21 @@ public int getLabelsCount() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2404,6 +2705,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2411,17 +2714,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -2429,11 +2734,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -2443,37 +2748,52 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the scan was created.
    * 
* - * .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 @@ -2481,11 +2801,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the scan was created.
    * 
* - * .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 @@ -2493,11 +2817,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the scan was created.
    * 
* - * .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() { @@ -2507,11 +2834,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 time when the scan was last updated.
    * 
* - * .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 @@ -2519,11 +2850,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the scan was last updated.
    * 
* - * .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 @@ -2531,11 +2866,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the scan was last updated.
    * 
* - * .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() { @@ -2545,11 +2883,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DATA_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.DataSource data_; /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the data field is set. */ @java.lang.Override @@ -2557,11 +2899,15 @@ public boolean hasData() { return data_ != null; } /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The data. */ @java.lang.Override @@ -2569,11 +2915,14 @@ public com.google.cloud.dataplex.v1.DataSource getData() { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { @@ -2583,13 +2932,18 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { public static final int EXECUTION_SPEC_FIELD_NUMBER = 10; private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -2597,41 +2951,59 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() + : executionSpec_; } /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() + : executionSpec_; } public static final int EXECUTION_STATUS_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ @java.lang.Override @@ -2639,62 +3011,92 @@ public boolean hasExecutionStatus() { return executionStatus_ != null; } /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() + : executionStatus_; } /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder + getExecutionStatusOrBuilder() { + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() + : executionStatus_; } public static final int TYPE_FIELD_NUMBER = 12; private int type_ = 0; /** + * + * *
    * Output only. The type of DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Output only. The type of DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanType getType() { + com.google.cloud.dataplex.v1.DataScanType result = + com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } public static final int DATA_QUALITY_SPEC_FIELD_NUMBER = 100; /** + * + * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -2702,21 +3104,26 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** + * + * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } /** + * + * *
    * DataQualityScan related setting.
    * 
@@ -2726,18 +3133,21 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } public static final int DATA_PROFILE_SPEC_FIELD_NUMBER = 101; /** + * + * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -2745,21 +3155,26 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** + * + * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } /** + * + * *
    * DataProfileScan related setting.
    * 
@@ -2769,18 +3184,23 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } public static final int DATA_QUALITY_RESULT_FIELD_NUMBER = 200; /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -2788,42 +3208,56 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_RESULT_FIELD_NUMBER = 201; /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -2831,36 +3265,46 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2872,8 +3316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2886,12 +3329,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } @@ -2946,59 +3385,56 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); } - 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__); + 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__); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } 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 (data_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getData()); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExecutionSpec()); } if (executionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getExecutionStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExecutionStatus()); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, type_); } if (specCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3008,59 +3444,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScan)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScan other = (com.google.cloud.dataplex.v1.DataScan) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData() - .equals(other.getData())) return false; + if (!getData().equals(other.getData())) return false; } if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec() - .equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; } if (hasExecutionStatus() != other.hasExecutionStatus()) return false; if (hasExecutionStatus()) { - if (!getExecutionStatus() - .equals(other.getExecutionStatus())) return false; + if (!getExecutionStatus().equals(other.getExecutionStatus())) return false; } if (type_ != other.type_) return false; if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 100: - if (!getDataQualitySpec() - .equals(other.getDataQualitySpec())) return false; + if (!getDataQualitySpec().equals(other.getDataQualitySpec())) return false; break; case 101: - if (!getDataProfileSpec() - .equals(other.getDataProfileSpec())) return false; + if (!getDataProfileSpec().equals(other.getDataProfileSpec())) return false; break; case 0: default: @@ -3068,12 +3492,10 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 200: - if (!getDataQualityResult() - .equals(other.getDataQualityResult())) return false; + if (!getDataQualityResult().equals(other.getDataQualityResult())) return false; break; case 201: - if (!getDataProfileResult() - .equals(other.getDataProfileResult())) return false; + if (!getDataProfileResult().equals(other.getDataProfileResult())) return false; break; case 0: default: @@ -3154,99 +3576,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScan parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScan parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.DataScan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataScan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScan parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScan prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 user-visible job which provides the insights for the related
    * data source.
@@ -3262,55 +3688,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataScan}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan)
       com.google.cloud.dataplex.v1.DataScanOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataScansProto
+          .internal_static_google_cloud_dataplex_v1_DataScan_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.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataScansProto
+          .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class);
+              com.google.cloud.dataplex.v1.DataScan.class,
+              com.google.cloud.dataplex.v1.DataScan.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataScan.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3367,9 +3790,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataScansProto
+          .internal_static_google_cloud_dataplex_v1_DataScan_descriptor;
     }
 
     @java.lang.Override
@@ -3388,8 +3811,11 @@ public com.google.cloud.dataplex.v1.DataScan build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataScan buildPartial() {
-      com.google.cloud.dataplex.v1.DataScan result = new com.google.cloud.dataplex.v1.DataScan(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataScan result =
+          new com.google.cloud.dataplex.v1.DataScan(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3417,29 +3843,21 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.data_ = dataBuilder_ == null
-            ? data_
-            : dataBuilder_.build();
+        result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.executionSpec_ = executionSpecBuilder_ == null
-            ? executionSpec_
-            : executionSpecBuilder_.build();
+        result.executionSpec_ =
+            executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.executionStatus_ = executionStatusBuilder_ == null
-            ? executionStatus_
-            : executionStatusBuilder_.build();
+        result.executionStatus_ =
+            executionStatusBuilder_ == null ? executionStatus_ : executionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
         result.type_ = type_;
@@ -3449,22 +3867,18 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScan result) {
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan result) {
       result.specCase_ = specCase_;
       result.spec_ = this.spec_;
-      if (specCase_ == 100 &&
-          dataQualitySpecBuilder_ != null) {
+      if (specCase_ == 100 && dataQualitySpecBuilder_ != null) {
         result.spec_ = dataQualitySpecBuilder_.build();
       }
-      if (specCase_ == 101 &&
-          dataProfileSpecBuilder_ != null) {
+      if (specCase_ == 101 && dataProfileSpecBuilder_ != null) {
         result.spec_ = dataProfileSpecBuilder_.build();
       }
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 200 &&
-          dataQualityResultBuilder_ != null) {
+      if (resultCase_ == 200 && dataQualityResultBuilder_ != null) {
         result.result_ = dataQualityResultBuilder_.build();
       }
-      if (resultCase_ == 201 &&
-          dataProfileResultBuilder_ != null) {
+      if (resultCase_ == 201 && dataProfileResultBuilder_ != null) {
         result.result_ = dataProfileResultBuilder_.build();
       }
     }
@@ -3473,38 +3887,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataScan) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataScan)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataScan) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3533,8 +3948,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan other) {
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -3558,30 +3972,36 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan other) {
         setTypeValue(other.getTypeValue());
       }
       switch (other.getSpecCase()) {
-        case DATA_QUALITY_SPEC: {
-          mergeDataQualitySpec(other.getDataQualitySpec());
-          break;
-        }
-        case DATA_PROFILE_SPEC: {
-          mergeDataProfileSpec(other.getDataProfileSpec());
-          break;
-        }
-        case SPEC_NOT_SET: {
-          break;
-        }
+        case DATA_QUALITY_SPEC:
+          {
+            mergeDataQualitySpec(other.getDataQualitySpec());
+            break;
+          }
+        case DATA_PROFILE_SPEC:
+          {
+            mergeDataProfileSpec(other.getDataProfileSpec());
+            break;
+          }
+        case SPEC_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getResultCase()) {
-        case DATA_QUALITY_RESULT: {
-          mergeDataQualityResult(other.getDataQualityResult());
-          break;
-        }
-        case DATA_PROFILE_RESULT: {
-          mergeDataProfileResult(other.getDataProfileResult());
-          break;
-        }
-        case RESULT_NOT_SET: {
-          break;
-        }
+        case DATA_QUALITY_RESULT:
+          {
+            mergeDataQualityResult(other.getDataQualityResult());
+            break;
+          }
+        case DATA_PROFILE_RESULT:
+          {
+            mergeDataProfileResult(other.getDataProfileResult());
+            break;
+          }
+        case RESULT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3609,114 +4029,117 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getDataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getExecutionSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getExecutionStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 96: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 96
-            case 802: {
-              input.readMessage(
-                  getDataQualitySpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 100;
-              break;
-            } // case 802
-            case 810: {
-              input.readMessage(
-                  getDataProfileSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 101;
-              break;
-            } // case 810
-            case 1602: {
-              input.readMessage(
-                  getDataQualityResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              resultCase_ = 200;
-              break;
-            } // case 1602
-            case 1610: {
-              input.readMessage(
-                  getDataProfileResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              resultCase_ = 201;
-              break;
-            } // case 1610
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getExecutionStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 96:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 96
+            case 802:
+              {
+                input.readMessage(getDataQualitySpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 100;
+                break;
+              } // case 802
+            case 810:
+              {
+                input.readMessage(getDataProfileSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 101;
+                break;
+              } // case 810
+            case 1602:
+              {
+                input.readMessage(
+                    getDataQualityResultFieldBuilder().getBuilder(), extensionRegistry);
+                resultCase_ = 200;
+                break;
+              } // case 1602
+            case 1610:
+              {
+                input.readMessage(
+                    getDataProfileResultFieldBuilder().getBuilder(), extensionRegistry);
+                resultCase_ = 201;
+                break;
+              } // case 1610
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3726,12 +4149,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int specCase_ = 0;
     private java.lang.Object spec_;
-    public SpecCase
-        getSpecCase() {
-      return SpecCase.forNumber(
-          specCase_);
+
+    public SpecCase getSpecCase() {
+      return SpecCase.forNumber(specCase_);
     }
 
     public Builder clearSpec() {
@@ -3743,10 +4166,9 @@ public Builder clearSpec() {
 
     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() {
@@ -3760,6 +4182,8 @@ public Builder clearResult() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -3768,13 +4192,13 @@ public Builder clearResult() {
      * 
* * 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; @@ -3783,6 +4207,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -3791,15 +4217,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 { @@ -3807,6 +4232,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -3815,18 +4242,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -3835,6 +4266,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3844,6 +4276,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the scan, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -3852,12 +4286,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3867,19 +4303,21 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3888,21 +4326,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3910,30 +4349,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3943,18 +4389,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the scan. This ID will
      * be different if the scan is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -3964,6 +4414,8 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the scan.
      *
@@ -3971,13 +4423,13 @@ public Builder setUidBytes(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3986,6 +4438,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the scan.
      *
@@ -3993,15 +4447,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -4009,6 +4462,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the scan.
      *
@@ -4016,18 +4471,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Description of the scan.
      *
@@ -4035,6 +4494,7 @@ public Builder setDescription(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4044,6 +4504,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the scan.
      *
@@ -4051,12 +4513,14 @@ public Builder clearDescription() {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -4066,6 +4530,8 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      *
@@ -4073,13 +4539,13 @@ public Builder setDescriptionBytes(
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -4088,6 +4554,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      *
@@ -4095,15 +4563,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -4111,6 +4578,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      *
@@ -4118,18 +4587,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      *
@@ -4137,6 +4610,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4146,6 +4620,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      *
@@ -4153,12 +4629,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -4166,21 +4644,19 @@ public Builder setDisplayNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4189,10 +4665,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4200,20 +4679,21 @@ public int getLabelsCount() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4225,6 +4705,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4232,17 +4714,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
@@ -4250,95 +4734,106 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Optional. User-defined labels for the scan.
      * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private int state_ = 0; /** + * + * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4349,24 +4844,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -4380,11 +4884,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the DataScan.
      * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -4396,39 +4904,58 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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 ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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 time when the scan was created.
      * 
* - * .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) { @@ -4444,14 +4971,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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(); } else { @@ -4462,17 +4992,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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 (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4485,11 +5019,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4502,11 +5040,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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() { bitField0_ |= 0x00000040; @@ -4514,36 +5056,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the scan was created.
      * 
* - * .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 time when the scan was created.
      * 
* - * .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_; @@ -4551,39 +5105,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 time when the scan was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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 time when the scan was last updated.
      * 
* - * .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) { @@ -4599,14 +5172,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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(); } else { @@ -4617,17 +5193,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000080) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4640,11 +5220,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4657,11 +5241,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000080; @@ -4669,36 +5257,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the scan was last updated.
      * 
* - * .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 time when the scan was last updated.
      * 
* - * .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_; @@ -4706,24 +5306,37 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.dataplex.v1.DataSource data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> dataBuilder_; + com.google.cloud.dataplex.v1.DataSource, + com.google.cloud.dataplex.v1.DataSource.Builder, + com.google.cloud.dataplex.v1.DataSourceOrBuilder> + dataBuilder_; /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The data. */ public com.google.cloud.dataplex.v1.DataSource getData() { @@ -4734,11 +5347,15 @@ public com.google.cloud.dataplex.v1.DataSource getData() { } } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { @@ -4754,14 +5371,17 @@ public Builder setData(com.google.cloud.dataplex.v1.DataSource value) { return this; } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setData( - com.google.cloud.dataplex.v1.DataSource.Builder builderForValue) { + public Builder setData(com.google.cloud.dataplex.v1.DataSource.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { @@ -4772,17 +5392,21 @@ public Builder setData( return this; } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - data_ != null && - data_ != com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && data_ != null + && data_ != com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; @@ -4795,11 +5419,15 @@ public Builder mergeData(com.google.cloud.dataplex.v1.DataSource value) { return this; } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000100); @@ -4812,11 +5440,15 @@ public Builder clearData() { return this; } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataSource.Builder getDataBuilder() { bitField0_ |= 0x00000100; @@ -4824,36 +5456,46 @@ public com.google.cloud.dataplex.v1.DataSource.Builder getDataBuilder() { return getDataFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { - return data_ == null ? - com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; + return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } } /** + * + * *
      * Required. The data source for DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> + com.google.cloud.dataplex.v1.DataSource, + com.google.cloud.dataplex.v1.DataSource.Builder, + com.google.cloud.dataplex.v1.DataSourceOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { - dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder>( - getData(), - getParentForChildren(), - isClean()); + dataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataSource, + com.google.cloud.dataplex.v1.DataSource.Builder, + com.google.cloud.dataplex.v1.DataSourceOrBuilder>( + getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; @@ -4861,45 +5503,64 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> executionSpecBuilder_; + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> + executionSpecBuilder_; /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionSpec. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() + : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -4915,13 +5576,17 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionS return this; } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder builderForValue) { @@ -4935,19 +5600,24 @@ public Builder setExecutionSpec( return this; } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - executionSpec_ != null && - executionSpec_ != com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && executionSpec_ != null + && executionSpec_ + != com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -4960,13 +5630,17 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.Executio return this; } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4979,13 +5653,17 @@ public Builder clearExecutionSpec() { return this; } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000200; @@ -4993,40 +5671,53 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionS return getExecutionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder + getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null ? - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() + : executionSpec_; } } /** + * + * *
      * Optional. DataScan execution settings.
      *
      * If not specified, the fields in it will use their default values.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder>( - getExecutionSpec(), - getParentForChildren(), - isClean()); + executionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder>( + getExecutionSpec(), getParentForChildren(), isClean()); executionSpec_ = null; } return executionSpecBuilder_; @@ -5034,39 +5725,58 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecution private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> executionStatusBuilder_; + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> + executionStatusBuilder_; /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { if (executionStatusBuilder_ == null) { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() + : executionStatus_; } else { return executionStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { @@ -5082,11 +5792,15 @@ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.DataScan.Executio return this; } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionStatus( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder builderForValue) { @@ -5100,17 +5814,23 @@ public Builder setExecutionStatus( return this; } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { + public Builder mergeExecutionStatus( + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - executionStatus_ != null && - executionStatus_ != com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && executionStatus_ != null + && executionStatus_ + != com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) { getExecutionStatusBuilder().mergeFrom(value); } else { executionStatus_ = value; @@ -5123,11 +5843,15 @@ public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.DataScan.Execut return this; } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -5140,48 +5864,66 @@ public Builder clearExecutionStatus() { return this; } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder getExecutionStatusBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder + getExecutionStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getExecutionStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder + getExecutionStatusOrBuilder() { if (executionStatusBuilder_ != null) { return executionStatusBuilder_.getMessageOrBuilder(); } else { - return executionStatus_ == null ? - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() + : executionStatus_; } } /** + * + * *
      * Output only. Status of the data scan execution.
      * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> getExecutionStatusFieldBuilder() { if (executionStatusBuilder_ == null) { - executionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder>( - getExecutionStatus(), - getParentForChildren(), - isClean()); + executionStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder>( + getExecutionStatus(), getParentForChildren(), isClean()); executionStatus_ = null; } return executionStatusBuilder_; @@ -5189,22 +5931,33 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecuti private int type_ = 0; /** + * + * *
      * Output only. The type of DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Output only. The type of DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5215,24 +5968,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + com.google.cloud.dataplex.v1.DataScanType result = + com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The type of DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -5246,11 +6010,16 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanType value) { return this; } /** + * + * *
      * Output only. The type of DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -5261,13 +6030,19 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> dataQualitySpecBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + dataQualitySpecBuilder_; /** + * + * *
      * DataQualityScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -5275,11 +6050,14 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** + * + * *
      * DataQualityScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return The dataQualitySpec. */ @java.lang.Override @@ -5297,6 +6075,8 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { } } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5317,6 +6097,8 @@ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec v return this; } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5335,6 +6117,8 @@ public Builder setDataQualitySpec( return this; } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5343,10 +6127,13 @@ public Builder setDataQualitySpec( */ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { - if (specCase_ == 100 && - spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { - spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder((com.google.cloud.dataplex.v1.DataQualitySpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 100 + && spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { + spec_ = + com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder( + (com.google.cloud.dataplex.v1.DataQualitySpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -5362,6 +6149,8 @@ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec return this; } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5385,6 +6174,8 @@ public Builder clearDataQualitySpec() { return this; } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5395,6 +6186,8 @@ public com.google.cloud.dataplex.v1.DataQualitySpec.Builder getDataQualitySpecBu return getDataQualitySpecFieldBuilder().getBuilder(); } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5413,6 +6206,8 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } } /** + * + * *
      * DataQualityScan related setting.
      * 
@@ -5420,14 +6215,19 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> getDataQualitySpecFieldBuilder() { if (dataQualitySpecBuilder_ == null) { if (!(specCase_ == 100)) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } - dataQualitySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( + dataQualitySpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_, getParentForChildren(), isClean()); @@ -5439,13 +6239,19 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> dataProfileSpecBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + dataProfileSpecBuilder_; /** + * + * *
      * DataProfileScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -5453,11 +6259,14 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** + * + * *
      * DataProfileScan related setting.
      * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return The dataProfileSpec. */ @java.lang.Override @@ -5475,6 +6284,8 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { } } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5495,6 +6306,8 @@ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec v return this; } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5513,6 +6326,8 @@ public Builder setDataProfileSpec( return this; } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5521,10 +6336,13 @@ public Builder setDataProfileSpec( */ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { - if (specCase_ == 101 && - spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { - spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder((com.google.cloud.dataplex.v1.DataProfileSpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 101 + && spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileSpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -5540,6 +6358,8 @@ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec return this; } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5563,6 +6383,8 @@ public Builder clearDataProfileSpec() { return this; } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5573,6 +6395,8 @@ public com.google.cloud.dataplex.v1.DataProfileSpec.Builder getDataProfileSpecBu return getDataProfileSpecFieldBuilder().getBuilder(); } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5591,6 +6415,8 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } } /** + * + * *
      * DataProfileScan related setting.
      * 
@@ -5598,14 +6424,19 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> getDataProfileSpecFieldBuilder() { if (dataProfileSpecBuilder_ == null) { if (!(specCase_ == 101)) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } - dataProfileSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( + dataProfileSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_, getParentForChildren(), isClean()); @@ -5617,13 +6448,21 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> dataQualityResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + dataQualityResultBuilder_; /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -5631,11 +6470,16 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ @java.lang.Override @@ -5653,11 +6497,15 @@ public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { } } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { @@ -5673,11 +6521,15 @@ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResu return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualityResult( com.google.cloud.dataplex.v1.DataQualityResult.Builder builderForValue) { @@ -5691,18 +6543,25 @@ public Builder setDataQualityResult( return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { - if (resultCase_ == 200 && - result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataQualityResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 200 + && result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataQualityResult.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -5718,11 +6577,15 @@ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityRe return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataQualityResult() { if (dataQualityResultBuilder_ == null) { @@ -5741,21 +6604,29 @@ public Builder clearDataQualityResult() { return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityResult.Builder getDataQualityResultBuilder() { return getDataQualityResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { @@ -5769,21 +6640,30 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> getDataQualityResultFieldBuilder() { if (dataQualityResultBuilder_ == null) { if (!(resultCase_ == 200)) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } - dataQualityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( + dataQualityResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -5795,13 +6675,21 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> dataProfileResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + dataProfileResultBuilder_; /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -5809,11 +6697,16 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ @java.lang.Override @@ -5831,11 +6724,15 @@ public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { } } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { @@ -5851,11 +6748,15 @@ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResu return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileResult( com.google.cloud.dataplex.v1.DataProfileResult.Builder builderForValue) { @@ -5869,18 +6770,25 @@ public Builder setDataProfileResult( return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { - if (resultCase_ == 201 && - result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 201 + && result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataProfileResult.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -5896,11 +6804,15 @@ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileRe return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataProfileResult() { if (dataProfileResultBuilder_ == null) { @@ -5919,21 +6831,29 @@ public Builder clearDataProfileResult() { return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataProfileResult.Builder getDataProfileResultBuilder() { return getDataProfileResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { @@ -5947,21 +6867,30 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes } } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> getDataProfileResultFieldBuilder() { if (dataProfileResultBuilder_ == null) { if (!(resultCase_ == 201)) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } - dataProfileResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( + dataProfileResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -5971,9 +6900,9 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes onChanged(); return dataProfileResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5983,12 +6912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScan) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan) private static final com.google.cloud.dataplex.v1.DataScan DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan(); } @@ -5997,27 +6926,27 @@ public static com.google.cloud.dataplex.v1.DataScan getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScan parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScan parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6032,6 +6961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java index b4d5d27dc2ac..265bac33a87e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * These messages contain information about the execution of a datascan.
  * The monitored resource is 'DataScan'
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent}
  */
-public final class DataScanEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataScanEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent)
     DataScanEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataScanEvent.newBuilder() to construct.
   private DataScanEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataScanEvent() {
     dataSource_ = "";
     jobId_ = "";
@@ -34,34 +52,38 @@ private DataScanEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataScanEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
+            com.google.cloud.dataplex.v1.DataScanEvent.class,
+            com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.ScanType} */ - public enum ScanType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified data scan type.
      * 
@@ -70,6 +92,8 @@ public enum ScanType */ SCAN_TYPE_UNSPECIFIED(0), /** + * + * *
      * Data scan for data profile.
      * 
@@ -78,6 +102,8 @@ public enum ScanType */ DATA_PROFILE(1), /** + * + * *
      * Data scan for data quality.
      * 
@@ -89,6 +115,8 @@ public enum ScanType ; /** + * + * *
      * An unspecified data scan type.
      * 
@@ -97,6 +125,8 @@ public enum ScanType */ public static final int SCAN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data scan for data profile.
      * 
@@ -105,6 +135,8 @@ public enum ScanType */ public static final int DATA_PROFILE_VALUE = 1; /** + * + * *
      * Data scan for data quality.
      * 
@@ -113,7 +145,6 @@ public enum ScanType */ public static final int DATA_QUALITY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,49 @@ public static ScanType valueOf(int value) { */ public static ScanType forNumber(int value) { switch (value) { - case 0: return SCAN_TYPE_UNSPECIFIED; - case 1: return DATA_PROFILE; - case 2: return DATA_QUALITY; - default: return null; + case 0: + return SCAN_TYPE_UNSPECIFIED; + case 1: + return DATA_PROFILE; + case 2: + return DATA_QUALITY; + 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< - ScanType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ScanType findValueByNumber(int number) { - return ScanType.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 ScanType findValueByNumber(int number) { + return ScanType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(0); } private static final ScanType[] VALUES = values(); - public static ScanType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ScanType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,15 +229,18 @@ private ScanType(int value) { } /** + * + * *
    * The job state of the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified job state.
      * 
@@ -215,6 +249,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Data scan job started.
      * 
@@ -223,6 +259,8 @@ public enum State */ STARTED(1), /** + * + * *
      * Data scan job successfully completed.
      * 
@@ -231,6 +269,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * Data scan job was unsuccessful.
      * 
@@ -239,6 +279,8 @@ public enum State */ FAILED(3), /** + * + * *
      * Data scan job was cancelled.
      * 
@@ -247,6 +289,8 @@ public enum State */ CANCELLED(4), /** + * + * *
      * Data scan job was createed.
      * 
@@ -258,6 +302,8 @@ public enum State ; /** + * + * *
      * Unspecified job state.
      * 
@@ -266,6 +312,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data scan job started.
      * 
@@ -274,6 +322,8 @@ public enum State */ public static final int STARTED_VALUE = 1; /** + * + * *
      * Data scan job successfully completed.
      * 
@@ -282,6 +332,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * Data scan job was unsuccessful.
      * 
@@ -290,6 +342,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * Data scan job was cancelled.
      * 
@@ -298,6 +352,8 @@ public enum State */ public static final int CANCELLED_VALUE = 4; /** + * + * *
      * Data scan job was createed.
      * 
@@ -306,7 +362,6 @@ public enum State */ public static final int CREATED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -331,52 +386,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return STARTED; - case 2: return SUCCEEDED; - case 3: return FAILED; - case 4: return CANCELLED; - case 5: return CREATED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return STARTED; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + case 4: + return CANCELLED; + case 5: + return CREATED; + 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.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(1); } 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; @@ -394,15 +452,18 @@ private State(int value) { } /** + * + * *
    * The trigger type for the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Trigger} */ - public enum Trigger - implements com.google.protobuf.ProtocolMessageEnum { + public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified trigger type.
      * 
@@ -411,6 +472,8 @@ public enum Trigger */ TRIGGER_UNSPECIFIED(0), /** + * + * *
      * Data scan triggers on demand.
      * 
@@ -419,6 +482,8 @@ public enum Trigger */ ON_DEMAND(1), /** + * + * *
      * Data scan triggers as per schedule.
      * 
@@ -430,6 +495,8 @@ public enum Trigger ; /** + * + * *
      * An unspecified trigger type.
      * 
@@ -438,6 +505,8 @@ public enum Trigger */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data scan triggers on demand.
      * 
@@ -446,6 +515,8 @@ public enum Trigger */ public static final int ON_DEMAND_VALUE = 1; /** + * + * *
      * Data scan triggers as per schedule.
      * 
@@ -454,7 +525,6 @@ public enum Trigger */ public static final int SCHEDULE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,49 +549,49 @@ public static Trigger valueOf(int value) { */ public static Trigger forNumber(int value) { switch (value) { - case 0: return TRIGGER_UNSPECIFIED; - case 1: return ON_DEMAND; - case 2: return SCHEDULE; - default: return null; + case 0: + return TRIGGER_UNSPECIFIED; + case 1: + return ON_DEMAND; + case 2: + return SCHEDULE; + 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< - Trigger> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Trigger findValueByNumber(int number) { - return Trigger.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 Trigger findValueByNumber(int number) { + return Trigger.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(2); } private static final Trigger[] VALUES = values(); - public static Trigger valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Trigger 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; @@ -539,15 +609,18 @@ private Trigger(int value) { } /** + * + * *
    * The scope of job for the data scan.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Scope} */ - public enum Scope - implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified scope type.
      * 
@@ -556,6 +629,8 @@ public enum Scope */ SCOPE_UNSPECIFIED(0), /** + * + * *
      * Data scan runs on all of the data.
      * 
@@ -564,6 +639,8 @@ public enum Scope */ FULL(1), /** + * + * *
      * Data scan runs on incremental data.
      * 
@@ -575,6 +652,8 @@ public enum Scope ; /** + * + * *
      * An unspecified scope type.
      * 
@@ -583,6 +662,8 @@ public enum Scope */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data scan runs on all of the data.
      * 
@@ -591,6 +672,8 @@ public enum Scope */ public static final int FULL_VALUE = 1; /** + * + * *
      * Data scan runs on incremental data.
      * 
@@ -599,7 +682,6 @@ public enum Scope */ public static final int INCREMENTAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -624,49 +706,49 @@ public static Scope valueOf(int value) { */ public static Scope forNumber(int value) { switch (value) { - case 0: return SCOPE_UNSPECIFIED; - case 1: return FULL; - case 2: return INCREMENTAL; - default: return null; + case 0: + return SCOPE_UNSPECIFIED; + case 1: + return FULL; + case 2: + return INCREMENTAL; + 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< - Scope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Scope findValueByNumber(int number) { - return Scope.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 Scope findValueByNumber(int number) { + return Scope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScanEvent.getDescriptor().getEnumTypes().get(3); } private static final Scope[] VALUES = values(); - public static Scope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Scope 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; @@ -683,67 +765,77 @@ private Scope(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanEvent.Scope) } - public interface DataProfileResultOrBuilder extends + public interface DataProfileResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ long getRowCount(); } /** + * + * *
    * Data profile result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ - public static final class DataProfileResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DataProfileResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) DataProfileResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileResult.newBuilder() to construct. private DataProfileResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileResult() { - } + + private DataProfileResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** + * + * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -752,6 +844,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -763,8 +856,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } @@ -778,8 +870,7 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -789,15 +880,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other = + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -810,97 +901,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -910,39 +1005,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data profile result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -952,13 +1049,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } @@ -973,13 +1071,17 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = + new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -990,38 +1092,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) other); } else { super.mergeFrom(other); return this; @@ -1029,7 +1134,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) + return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } @@ -1059,17 +1166,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1079,15 +1188,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long rowCount_ ; + private long rowCount_; /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -1095,11 +1208,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1111,11 +1227,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1124,6 +1243,7 @@ public Builder clearRowCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1136,41 +1256,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,37 +1305,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DataQualityResultOrBuilder extends + public interface DataQualityResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
      * Whether the data quality result was `pass` or not.
      * 
* * bool passed = 2; + * * @return The passed. */ boolean getPassed(); /** + * + * *
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1224,6 +1356,8 @@ public interface DataQualityResultOrBuilder extends
      */
     int getDimensionPassedCount();
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1233,15 +1367,13 @@ public interface DataQualityResultOrBuilder extends
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean containsDimensionPassed(
-        java.lang.String key);
-    /**
-     * Use {@link #getDimensionPassedMap()} instead.
-     */
+    boolean containsDimensionPassed(java.lang.String key);
+    /** Use {@link #getDimensionPassedMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getDimensionPassed();
+    java.util.Map getDimensionPassed();
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1251,9 +1383,10 @@ boolean containsDimensionPassed(
      *
      * map<string, bool> dimension_passed = 3;
      */
-    java.util.Map
-    getDimensionPassedMap();
+    java.util.Map getDimensionPassedMap();
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1263,10 +1396,10 @@ boolean containsDimensionPassed(
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean getDimensionPassedOrDefault(
-        java.lang.String key,
-        boolean defaultValue);
+    boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue);
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1276,10 +1409,11 @@ boolean getDimensionPassedOrDefault(
      *
      * map<string, bool> dimension_passed = 3;
      */
-    boolean getDimensionPassedOrThrow(
-        java.lang.String key);
+    boolean getDimensionPassedOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * The table-level data quality score for the data scan job.
      *
@@ -1288,11 +1422,14 @@ boolean getDimensionPassedOrThrow(
      * 
* * float score = 4; + * * @return The score. */ float getScore(); /** + * + * *
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1306,6 +1443,8 @@ boolean getDimensionPassedOrThrow(
      */
     int getDimensionScoreCount();
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1317,15 +1456,13 @@ boolean getDimensionPassedOrThrow(
      *
      * map<string, float> dimension_score = 5;
      */
-    boolean containsDimensionScore(
-        java.lang.String key);
-    /**
-     * Use {@link #getDimensionScoreMap()} instead.
-     */
+    boolean containsDimensionScore(java.lang.String key);
+    /** Use {@link #getDimensionScoreMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getDimensionScore();
+    java.util.Map getDimensionScore();
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1337,9 +1474,10 @@ boolean containsDimensionScore(
      *
      * map<string, float> dimension_score = 5;
      */
-    java.util.Map
-    getDimensionScoreMap();
+    java.util.Map getDimensionScoreMap();
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1351,10 +1489,10 @@ boolean containsDimensionScore(
      *
      * map<string, float> dimension_score = 5;
      */
-    float getDimensionScoreOrDefault(
-        java.lang.String key,
-        float defaultValue);
+    float getDimensionScoreOrDefault(java.lang.String key, float defaultValue);
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1366,10 +1504,11 @@ float getDimensionScoreOrDefault(
      *
      * map<string, float> dimension_score = 5;
      */
-    float getDimensionScoreOrThrow(
-        java.lang.String key);
+    float getDimensionScoreOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1383,6 +1522,8 @@ float getDimensionScoreOrThrow(
      */
     int getColumnScoreCount();
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1394,15 +1535,13 @@ float getDimensionScoreOrThrow(
      *
      * map<string, float> column_score = 6;
      */
-    boolean containsColumnScore(
-        java.lang.String key);
-    /**
-     * Use {@link #getColumnScoreMap()} instead.
-     */
+    boolean containsColumnScore(java.lang.String key);
+    /** Use {@link #getColumnScoreMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getColumnScore();
+    java.util.Map getColumnScore();
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1414,9 +1553,10 @@ boolean containsColumnScore(
      *
      * map<string, float> column_score = 6;
      */
-    java.util.Map
-    getColumnScoreMap();
+    java.util.Map getColumnScoreMap();
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1428,10 +1568,10 @@ boolean containsColumnScore(
      *
      * map<string, float> column_score = 6;
      */
-    float getColumnScoreOrDefault(
-        java.lang.String key,
-        float defaultValue);
+    float getColumnScoreOrDefault(java.lang.String key, float defaultValue);
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1443,44 +1583,43 @@ float getColumnScoreOrDefault(
      *
      * map<string, float> column_score = 6;
      */
-    float getColumnScoreOrThrow(
-        java.lang.String key);
+    float getColumnScoreOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Data quality result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ - public static final class DataQualityResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) DataQualityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityResult.newBuilder() to construct. private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualityResult() { - } + + private DataQualityResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_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 internalGetDimensionPassed(); @@ -1489,26 +1628,31 @@ protected com.google.protobuf.MapField internalGetMapField( case 6: return internalGetColumnScore(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** + * + * *
      * The count of rows processed in the data scan job.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -1519,11 +1663,14 @@ public long getRowCount() { public static final int PASSED_FIELD_NUMBER = 2; private boolean passed_ = false; /** + * + * *
      * Whether the data quality result was `pass` or not.
      * 
* * bool passed = 2; + * * @return The passed. */ @java.lang.Override @@ -1532,32 +1679,36 @@ public boolean getPassed() { } public static final int DIMENSION_PASSED_FIELD_NUMBER = 3; + private static final class DimensionPassedDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Boolean> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.BOOL, - false); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.BOOL, + false); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Boolean> dimensionPassed_; + private com.google.protobuf.MapField dimensionPassed_; + private com.google.protobuf.MapField - internalGetDimensionPassed() { + internalGetDimensionPassed() { if (dimensionPassed_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionPassedDefaultEntryHolder.defaultEntry); } return dimensionPassed_; } + public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** + * + * *
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1568,20 +1719,21 @@ public int getDimensionPassedCount() {
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean containsDimensionPassed(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsDimensionPassed(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetDimensionPassed().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getDimensionPassedMap()} instead.
-     */
+    /** Use {@link #getDimensionPassedMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDimensionPassed() {
       return getDimensionPassedMap();
     }
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1596,6 +1748,8 @@ public java.util.Map getDimensionPassedMap(
       return internalGetDimensionPassed().getMap();
     }
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1606,15 +1760,17 @@ public java.util.Map getDimensionPassedMap(
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean getDimensionPassedOrDefault(
-        java.lang.String key,
-        boolean defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetDimensionPassed().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The result of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1625,9 +1781,10 @@ public boolean getDimensionPassedOrDefault(
      * map<string, bool> dimension_passed = 3;
      */
     @java.lang.Override
-    public boolean getDimensionPassedOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean getDimensionPassedOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetDimensionPassed().getMap();
       if (!map.containsKey(key)) {
@@ -1639,6 +1796,8 @@ public boolean getDimensionPassedOrThrow(
     public static final int SCORE_FIELD_NUMBER = 4;
     private float score_ = 0F;
     /**
+     *
+     *
      * 
      * The table-level data quality score for the data scan job.
      *
@@ -1647,6 +1806,7 @@ public boolean getDimensionPassedOrThrow(
      * 
* * float score = 4; + * * @return The score. */ @java.lang.Override @@ -1655,32 +1815,36 @@ public float getScore() { } public static final int DIMENSION_SCORE_FIELD_NUMBER = 5; + private static final class DimensionScoreDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Float> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.FLOAT, - 0F); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.FLOAT, + 0F); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Float> dimensionScore_; + private com.google.protobuf.MapField dimensionScore_; + private com.google.protobuf.MapField - internalGetDimensionScore() { + internalGetDimensionScore() { if (dimensionScore_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionScoreDefaultEntryHolder.defaultEntry); } return dimensionScore_; } + public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** + * + * *
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1693,20 +1857,21 @@ public int getDimensionScoreCount() {
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public boolean containsDimensionScore(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsDimensionScore(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetDimensionScore().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getDimensionScoreMap()} instead.
-     */
+    /** Use {@link #getDimensionScoreMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDimensionScore() {
       return getDimensionScoreMap();
     }
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1723,6 +1888,8 @@ public java.util.Map getDimensionScoreMap() {
       return internalGetDimensionScore().getMap();
     }
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1735,15 +1902,16 @@ public java.util.Map getDimensionScoreMap() {
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public float getDimensionScoreOrDefault(
-        java.lang.String key,
-        float defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDimensionScore().getMap();
+    public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDimensionScore().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The score of each dimension for data quality result.
      * The key of the map is the name of the dimension.
@@ -1756,11 +1924,11 @@ public float getDimensionScoreOrDefault(
      * map<string, float> dimension_score = 5;
      */
     @java.lang.Override
-    public float getDimensionScoreOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDimensionScore().getMap();
+    public float getDimensionScoreOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDimensionScore().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1768,32 +1936,36 @@ public float getDimensionScoreOrThrow(
     }
 
     public static final int COLUMN_SCORE_FIELD_NUMBER = 6;
+
     private static final class ColumnScoreDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry<
-          java.lang.String, java.lang.Float> defaultEntry =
-              com.google.protobuf.MapEntry
-              .newDefaultInstance(
-                  com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, 
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "",
-                  com.google.protobuf.WireFormat.FieldType.FLOAT,
-                  0F);
+      static final com.google.protobuf.MapEntry defaultEntry =
+          com.google.protobuf.MapEntry.newDefaultInstance(
+              com.google.cloud.dataplex.v1.LogsProto
+                  .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor,
+              com.google.protobuf.WireFormat.FieldType.STRING,
+              "",
+              com.google.protobuf.WireFormat.FieldType.FLOAT,
+              0F);
     }
+
     @SuppressWarnings("serial")
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.Float> columnScore_;
+    private com.google.protobuf.MapField columnScore_;
+
     private com.google.protobuf.MapField
-    internalGetColumnScore() {
+        internalGetColumnScore() {
       if (columnScore_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ColumnScoreDefaultEntryHolder.defaultEntry);
       }
       return columnScore_;
     }
+
     public int getColumnScoreCount() {
       return internalGetColumnScore().getMap().size();
     }
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1806,20 +1978,21 @@ public int getColumnScoreCount() {
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public boolean containsColumnScore(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsColumnScore(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetColumnScore().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getColumnScoreMap()} instead.
-     */
+    /** Use {@link #getColumnScoreMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getColumnScore() {
       return getColumnScoreMap();
     }
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1836,6 +2009,8 @@ public java.util.Map getColumnScoreMap() {
       return internalGetColumnScore().getMap();
     }
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1848,15 +2023,16 @@ public java.util.Map getColumnScoreMap() {
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public float getColumnScoreOrDefault(
-        java.lang.String key,
-        float defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetColumnScore().getMap();
+    public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetColumnScore().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The score of each column scanned in the data scan job.
      * The key of the map is the name of the column.
@@ -1869,11 +2045,11 @@ public float getColumnScoreOrDefault(
      * map<string, float> column_score = 6;
      */
     @java.lang.Override
-    public float getColumnScoreOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetColumnScore().getMap();
+    public float getColumnScoreOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetColumnScore().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1881,6 +2057,7 @@ public float getColumnScoreOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1892,35 +2069,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 (rowCount_ != 0L) {
         output.writeInt64(1, rowCount_);
       }
       if (passed_ != false) {
         output.writeBool(2, passed_);
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetDimensionPassed(),
-          DimensionPassedDefaultEntryHolder.defaultEntry,
-          3);
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetDimensionPassed(), DimensionPassedDefaultEntryHolder.defaultEntry, 3);
       if (java.lang.Float.floatToRawIntBits(score_) != 0) {
         output.writeFloat(4, score_);
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetDimensionScore(),
-          DimensionScoreDefaultEntryHolder.defaultEntry,
-          5);
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetColumnScore(),
-          ColumnScoreDefaultEntryHolder.defaultEntry,
-          6);
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetDimensionScore(), DimensionScoreDefaultEntryHolder.defaultEntry, 5);
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetColumnScore(), ColumnScoreDefaultEntryHolder.defaultEntry, 6);
       getUnknownFields().writeTo(output);
     }
 
@@ -1931,46 +2095,43 @@ public int getSerializedSize() {
 
       size = 0;
       if (rowCount_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(1, rowCount_);
+        size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_);
       }
       if (passed_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, passed_);
-      }
-      for (java.util.Map.Entry entry
-           : internalGetDimensionPassed().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        dimensionPassed__ = DimensionPassedDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(3, dimensionPassed__);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, passed_);
+      }
+      for (java.util.Map.Entry entry :
+          internalGetDimensionPassed().getMap().entrySet()) {
+        com.google.protobuf.MapEntry dimensionPassed__ =
+            DimensionPassedDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dimensionPassed__);
       }
       if (java.lang.Float.floatToRawIntBits(score_) != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeFloatSize(4, score_);
-      }
-      for (java.util.Map.Entry entry
-           : internalGetDimensionScore().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        dimensionScore__ = DimensionScoreDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(5, dimensionScore__);
-      }
-      for (java.util.Map.Entry entry
-           : internalGetColumnScore().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        columnScore__ = ColumnScoreDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(6, columnScore__);
+        size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, score_);
+      }
+      for (java.util.Map.Entry entry :
+          internalGetDimensionScore().getMap().entrySet()) {
+        com.google.protobuf.MapEntry dimensionScore__ =
+            DimensionScoreDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, dimensionScore__);
+      }
+      for (java.util.Map.Entry entry :
+          internalGetColumnScore().getMap().entrySet()) {
+        com.google.protobuf.MapEntry columnScore__ =
+            ColumnScoreDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, columnScore__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1980,26 +2141,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) obj;
+      com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other =
+          (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) obj;
 
-      if (getRowCount()
-          != other.getRowCount()) return false;
-      if (getPassed()
-          != other.getPassed()) return false;
-      if (!internalGetDimensionPassed().equals(
-          other.internalGetDimensionPassed())) return false;
+      if (getRowCount() != other.getRowCount()) return false;
+      if (getPassed() != other.getPassed()) return false;
+      if (!internalGetDimensionPassed().equals(other.internalGetDimensionPassed())) return false;
       if (java.lang.Float.floatToIntBits(getScore())
-          != java.lang.Float.floatToIntBits(
-              other.getScore())) return false;
-      if (!internalGetDimensionScore().equals(
-          other.internalGetDimensionScore())) return false;
-      if (!internalGetColumnScore().equals(
-          other.internalGetColumnScore())) return false;
+          != java.lang.Float.floatToIntBits(other.getScore())) return false;
+      if (!internalGetDimensionScore().equals(other.internalGetDimensionScore())) return false;
+      if (!internalGetColumnScore().equals(other.internalGetColumnScore())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -2012,18 +2168,15 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       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) + PASSED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getPassed());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed());
       if (!internalGetDimensionPassed().getMap().isEmpty()) {
         hash = (37 * hash) + DIMENSION_PASSED_FIELD_NUMBER;
         hash = (53 * hash) + internalGetDimensionPassed().hashCode();
       }
       hash = (37 * hash) + SCORE_FIELD_NUMBER;
-      hash = (53 * hash) + java.lang.Float.floatToIntBits(
-          getScore());
+      hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
       if (!internalGetDimensionScore().getMap().isEmpty()) {
         hash = (37 * hash) + DIMENSION_SCORE_FIELD_NUMBER;
         hash = (53 * hash) + internalGetDimensionScore().hashCode();
@@ -2038,89 +2191,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2130,24 +2288,26 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Data quality result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetDimensionPassed(); @@ -2156,13 +2316,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 6: return internalGetColumnScore(); 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 internalGetMutableDimensionPassed(); @@ -2171,28 +2330,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 6: return internalGetMutableColumnScore(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2207,13 +2365,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } @@ -2228,13 +2387,17 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = + new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -2263,38 +2426,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) other); } else { super.mergeFrom(other); return this; @@ -2302,24 +2468,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) + return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } if (other.getPassed() != false) { setPassed(other.getPassed()); } - internalGetMutableDimensionPassed().mergeFrom( - other.internalGetDimensionPassed()); + internalGetMutableDimensionPassed().mergeFrom(other.internalGetDimensionPassed()); bitField0_ |= 0x00000004; if (other.getScore() != 0F) { setScore(other.getScore()); } - internalGetMutableDimensionScore().mergeFrom( - other.internalGetDimensionScore()); + internalGetMutableDimensionScore().mergeFrom(other.internalGetDimensionScore()); bitField0_ |= 0x00000010; - internalGetMutableColumnScore().mergeFrom( - other.internalGetColumnScore()); + internalGetMutableColumnScore().mergeFrom(other.internalGetColumnScore()); bitField0_ |= 0x00000020; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2347,54 +2512,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - passed_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - com.google.protobuf.MapEntry - dimensionPassed__ = input.readMessage( - DimensionPassedDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableDimensionPassed().getMutableMap().put( - dimensionPassed__.getKey(), dimensionPassed__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 37: { - score_ = input.readFloat(); - bitField0_ |= 0x00000008; - break; - } // case 37 - case 42: { - com.google.protobuf.MapEntry - dimensionScore__ = input.readMessage( - DimensionScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableDimensionScore().getMutableMap().put( - dimensionScore__.getKey(), dimensionScore__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - columnScore__ = input.readMessage( - ColumnScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableColumnScore().getMutableMap().put( - columnScore__.getKey(), columnScore__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + passed_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + com.google.protobuf.MapEntry + dimensionPassed__ = + input.readMessage( + DimensionPassedDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableDimensionPassed() + .getMutableMap() + .put(dimensionPassed__.getKey(), dimensionPassed__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 37: + { + score_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + case 42: + { + com.google.protobuf.MapEntry dimensionScore__ = + input.readMessage( + DimensionScoreDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableDimensionScore() + .getMutableMap() + .put(dimensionScore__.getKey(), dimensionScore__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry columnScore__ = + input.readMessage( + ColumnScoreDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableColumnScore() + .getMutableMap() + .put(columnScore__.getKey(), columnScore__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2404,15 +2583,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long rowCount_ ; + private long rowCount_; /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -2420,11 +2603,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -2436,11 +2622,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
        * The count of rows processed in the data scan job.
        * 
* * int64 row_count = 1; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -2450,13 +2639,16 @@ public Builder clearRowCount() { return this; } - private boolean passed_ ; + private boolean passed_; /** + * + * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; + * * @return The passed. */ @java.lang.Override @@ -2464,11 +2656,14 @@ public boolean getPassed() { return passed_; } /** + * + * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; + * * @param value The passed to set. * @return This builder for chaining. */ @@ -2480,11 +2675,14 @@ public Builder setPassed(boolean value) { return this; } /** + * + * *
        * Whether the data quality result was `pass` or not.
        * 
* * bool passed = 2; + * * @return This builder for chaining. */ public Builder clearPassed() { @@ -2494,8 +2692,8 @@ public Builder clearPassed() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Boolean> dimensionPassed_; + private com.google.protobuf.MapField dimensionPassed_; + private com.google.protobuf.MapField internalGetDimensionPassed() { if (dimensionPassed_ == null) { @@ -2504,11 +2702,13 @@ public Builder clearPassed() { } return dimensionPassed_; } + private com.google.protobuf.MapField internalGetMutableDimensionPassed() { if (dimensionPassed_ == null) { - dimensionPassed_ = com.google.protobuf.MapField.newMapField( - DimensionPassedDefaultEntryHolder.defaultEntry); + dimensionPassed_ = + com.google.protobuf.MapField.newMapField( + DimensionPassedDefaultEntryHolder.defaultEntry); } if (!dimensionPassed_.isMutable()) { dimensionPassed_ = dimensionPassed_.copy(); @@ -2517,10 +2717,13 @@ public Builder clearPassed() { onChanged(); return dimensionPassed_; } + public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** + * + * *
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2531,20 +2734,21 @@ public int getDimensionPassedCount() {
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean containsDimensionPassed(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsDimensionPassed(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetDimensionPassed().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getDimensionPassedMap()} instead.
-       */
+      /** Use {@link #getDimensionPassedMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getDimensionPassed() {
         return getDimensionPassedMap();
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2559,6 +2763,8 @@ public java.util.Map getDimensionPassedMap(
         return internalGetDimensionPassed().getMap();
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2569,15 +2775,17 @@ public java.util.Map getDimensionPassedMap(
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean getDimensionPassedOrDefault(
-          java.lang.String key,
-          boolean defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetDimensionPassed().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2588,9 +2796,10 @@ public boolean getDimensionPassedOrDefault(
        * map<string, bool> dimension_passed = 3;
        */
       @java.lang.Override
-      public boolean getDimensionPassedOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean getDimensionPassedOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetDimensionPassed().getMap();
         if (!map.containsKey(key)) {
@@ -2598,13 +2807,15 @@ public boolean getDimensionPassedOrThrow(
         }
         return map.get(key);
       }
+
       public Builder clearDimensionPassed() {
         bitField0_ = (bitField0_ & ~0x00000004);
-        internalGetMutableDimensionPassed().getMutableMap()
-            .clear();
+        internalGetMutableDimensionPassed().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2614,23 +2825,22 @@ public Builder clearDimensionPassed() {
        *
        * map<string, bool> dimension_passed = 3;
        */
-      public Builder removeDimensionPassed(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableDimensionPassed().getMutableMap()
-            .remove(key);
+      public Builder removeDimensionPassed(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableDimensionPassed().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableDimensionPassed() {
+      public java.util.Map getMutableDimensionPassed() {
         bitField0_ |= 0x00000004;
         return internalGetMutableDimensionPassed().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2640,17 +2850,18 @@ public Builder removeDimensionPassed(
        *
        * map<string, bool> dimension_passed = 3;
        */
-      public Builder putDimensionPassed(
-          java.lang.String key,
-          boolean value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putDimensionPassed(java.lang.String key, boolean value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
 
-        internalGetMutableDimensionPassed().getMutableMap()
-            .put(key, value);
+        internalGetMutableDimensionPassed().getMutableMap().put(key, value);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
+       *
+       *
        * 
        * The result of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2662,14 +2873,15 @@ public Builder putDimensionPassed(
        */
       public Builder putAllDimensionPassed(
           java.util.Map values) {
-        internalGetMutableDimensionPassed().getMutableMap()
-            .putAll(values);
+        internalGetMutableDimensionPassed().getMutableMap().putAll(values);
         bitField0_ |= 0x00000004;
         return this;
       }
 
-      private float score_ ;
+      private float score_;
       /**
+       *
+       *
        * 
        * The table-level data quality score for the data scan job.
        *
@@ -2678,6 +2890,7 @@ public Builder putAllDimensionPassed(
        * 
* * float score = 4; + * * @return The score. */ @java.lang.Override @@ -2685,6 +2898,8 @@ public float getScore() { return score_; } /** + * + * *
        * The table-level data quality score for the data scan job.
        *
@@ -2693,6 +2908,7 @@ public float getScore() {
        * 
* * float score = 4; + * * @param value The score to set. * @return This builder for chaining. */ @@ -2704,6 +2920,8 @@ public Builder setScore(float value) { return this; } /** + * + * *
        * The table-level data quality score for the data scan job.
        *
@@ -2712,6 +2930,7 @@ public Builder setScore(float value) {
        * 
* * float score = 4; + * * @return This builder for chaining. */ public Builder clearScore() { @@ -2721,8 +2940,8 @@ public Builder clearScore() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Float> dimensionScore_; + private com.google.protobuf.MapField dimensionScore_; + private com.google.protobuf.MapField internalGetDimensionScore() { if (dimensionScore_ == null) { @@ -2731,11 +2950,13 @@ public Builder clearScore() { } return dimensionScore_; } + private com.google.protobuf.MapField internalGetMutableDimensionScore() { if (dimensionScore_ == null) { - dimensionScore_ = com.google.protobuf.MapField.newMapField( - DimensionScoreDefaultEntryHolder.defaultEntry); + dimensionScore_ = + com.google.protobuf.MapField.newMapField( + DimensionScoreDefaultEntryHolder.defaultEntry); } if (!dimensionScore_.isMutable()) { dimensionScore_ = dimensionScore_.copy(); @@ -2744,10 +2965,13 @@ public Builder clearScore() { onChanged(); return dimensionScore_; } + public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** + * + * *
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2760,20 +2984,21 @@ public int getDimensionScoreCount() {
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public boolean containsDimensionScore(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsDimensionScore(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetDimensionScore().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getDimensionScoreMap()} instead.
-       */
+      /** Use {@link #getDimensionScoreMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getDimensionScore() {
         return getDimensionScoreMap();
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2790,6 +3015,8 @@ public java.util.Map getDimensionScoreMap() {
         return internalGetDimensionScore().getMap();
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2802,15 +3029,16 @@ public java.util.Map getDimensionScoreMap() {
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public float getDimensionScoreOrDefault(
-          java.lang.String key,
-          float defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetDimensionScore().getMap();
+      public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetDimensionScore().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2823,23 +3051,25 @@ public float getDimensionScoreOrDefault(
        * map<string, float> dimension_score = 5;
        */
       @java.lang.Override
-      public float getDimensionScoreOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetDimensionScore().getMap();
+      public float getDimensionScoreOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetDimensionScore().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
+
       public Builder clearDimensionScore() {
         bitField0_ = (bitField0_ & ~0x00000010);
-        internalGetMutableDimensionScore().getMutableMap()
-            .clear();
+        internalGetMutableDimensionScore().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2851,23 +3081,22 @@ public Builder clearDimensionScore() {
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder removeDimensionScore(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableDimensionScore().getMutableMap()
-            .remove(key);
+      public Builder removeDimensionScore(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableDimensionScore().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableDimensionScore() {
+      public java.util.Map getMutableDimensionScore() {
         bitField0_ |= 0x00000010;
         return internalGetMutableDimensionScore().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2879,17 +3108,18 @@ public Builder removeDimensionScore(
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder putDimensionScore(
-          java.lang.String key,
-          float value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putDimensionScore(java.lang.String key, float value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
 
-        internalGetMutableDimensionScore().getMutableMap()
-            .put(key, value);
+        internalGetMutableDimensionScore().getMutableMap().put(key, value);
         bitField0_ |= 0x00000010;
         return this;
       }
       /**
+       *
+       *
        * 
        * The score of each dimension for data quality result.
        * The key of the map is the name of the dimension.
@@ -2901,16 +3131,14 @@ public Builder putDimensionScore(
        *
        * map<string, float> dimension_score = 5;
        */
-      public Builder putAllDimensionScore(
-          java.util.Map values) {
-        internalGetMutableDimensionScore().getMutableMap()
-            .putAll(values);
+      public Builder putAllDimensionScore(java.util.Map values) {
+        internalGetMutableDimensionScore().getMutableMap().putAll(values);
         bitField0_ |= 0x00000010;
         return this;
       }
 
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.Float> columnScore_;
+      private com.google.protobuf.MapField columnScore_;
+
       private com.google.protobuf.MapField
           internalGetColumnScore() {
         if (columnScore_ == null) {
@@ -2919,11 +3147,12 @@ public Builder putAllDimensionScore(
         }
         return columnScore_;
       }
+
       private com.google.protobuf.MapField
           internalGetMutableColumnScore() {
         if (columnScore_ == null) {
-          columnScore_ = com.google.protobuf.MapField.newMapField(
-              ColumnScoreDefaultEntryHolder.defaultEntry);
+          columnScore_ =
+              com.google.protobuf.MapField.newMapField(ColumnScoreDefaultEntryHolder.defaultEntry);
         }
         if (!columnScore_.isMutable()) {
           columnScore_ = columnScore_.copy();
@@ -2932,10 +3161,13 @@ public Builder putAllDimensionScore(
         onChanged();
         return columnScore_;
       }
+
       public int getColumnScoreCount() {
         return internalGetColumnScore().getMap().size();
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -2948,20 +3180,21 @@ public int getColumnScoreCount() {
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public boolean containsColumnScore(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsColumnScore(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetColumnScore().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getColumnScoreMap()} instead.
-       */
+      /** Use {@link #getColumnScoreMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getColumnScore() {
         return getColumnScoreMap();
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -2978,6 +3211,8 @@ public java.util.Map getColumnScoreMap() {
         return internalGetColumnScore().getMap();
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -2990,15 +3225,16 @@ public java.util.Map getColumnScoreMap() {
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public float getColumnScoreOrDefault(
-          java.lang.String key,
-          float defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetColumnScore().getMap();
+      public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetColumnScore().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3011,23 +3247,25 @@ public float getColumnScoreOrDefault(
        * map<string, float> column_score = 6;
        */
       @java.lang.Override
-      public float getColumnScoreOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetColumnScore().getMap();
+      public float getColumnScoreOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetColumnScore().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
+
       public Builder clearColumnScore() {
         bitField0_ = (bitField0_ & ~0x00000020);
-        internalGetMutableColumnScore().getMutableMap()
-            .clear();
+        internalGetMutableColumnScore().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3039,24 +3277,23 @@ public Builder clearColumnScore() {
        *
        * map<string, float> column_score = 6;
        */
-      public Builder removeColumnScore(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableColumnScore().getMutableMap()
-            .remove(key);
+      public Builder removeColumnScore(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableColumnScore().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableColumnScore() {
+      public java.util.Map getMutableColumnScore() {
         bitField0_ |= 0x00000020;
         return internalGetMutableColumnScore().getMutableMap();
       }
       /**
-       * 
+       *
+       *
+       * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
        * The value is the data quality score for the column.
@@ -3067,17 +3304,18 @@ public Builder removeColumnScore(
        *
        * map<string, float> column_score = 6;
        */
-      public Builder putColumnScore(
-          java.lang.String key,
-          float value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putColumnScore(java.lang.String key, float value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
 
-        internalGetMutableColumnScore().getMutableMap()
-            .put(key, value);
+        internalGetMutableColumnScore().getMutableMap().put(key, value);
         bitField0_ |= 0x00000020;
         return this;
       }
       /**
+       *
+       *
        * 
        * The score of each column scanned in the data scan job.
        * The key of the map is the name of the column.
@@ -3089,13 +3327,12 @@ public Builder putColumnScore(
        *
        * map<string, float> column_score = 6;
        */
-      public Builder putAllColumnScore(
-          java.util.Map values) {
-        internalGetMutableColumnScore().getMutableMap()
-            .putAll(values);
+      public Builder putAllColumnScore(java.util.Map values) {
+        internalGetMutableColumnScore().getMutableMap().putAll(values);
         bitField0_ |= 0x00000020;
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3108,41 +3345,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult)
-    private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult();
     }
 
-    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstance() {
+    public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DataQualityResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DataQualityResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3154,17 +3394,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstanceForType() {
+    public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DataProfileAppliedConfigsOrBuilder extends
+  public interface DataProfileAppliedConfigsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3173,73 +3416,85 @@ public interface DataProfileAppliedConfigsOrBuilder extends
      * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ float getSamplingPercent(); /** + * + * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); /** + * + * *
      * Boolean indicating whether a column filter was applied in the DataScan
      * job.
      * 
* * bool column_filter_applied = 3; + * * @return The columnFilterApplied. */ boolean getColumnFilterApplied(); } /** + * + * *
    * Applied configs for data profile type data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ - public static final class DataProfileAppliedConfigs extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DataProfileAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) DataProfileAppliedConfigsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileAppliedConfigs.newBuilder() to construct. private DataProfileAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileAppliedConfigs() { - } + + private DataProfileAppliedConfigs() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileAppliedConfigs(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** + * + * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3248,6 +3503,7 @@ protected java.lang.Object newInstance(
      * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ @java.lang.Override @@ -3258,11 +3514,14 @@ public float getSamplingPercent() { public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** + * + * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ @java.lang.Override @@ -3273,12 +3532,15 @@ public boolean getRowFilterApplied() { public static final int COLUMN_FILTER_APPLIED_FIELD_NUMBER = 3; private boolean columnFilterApplied_ = false; /** + * + * *
      * Boolean indicating whether a column filter was applied in the DataScan
      * job.
      * 
* * bool column_filter_applied = 3; + * * @return The columnFilterApplied. */ @java.lang.Override @@ -3287,6 +3549,7 @@ public boolean getColumnFilterApplied() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3298,8 +3561,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } @@ -3319,16 +3581,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, samplingPercent_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, rowFilterApplied_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); } if (columnFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, columnFilterApplied_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, columnFilterApplied_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3338,20 +3597,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other = + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits( - other.getSamplingPercent())) return false; - if (getRowFilterApplied() - != other.getRowFilterApplied()) return false; - if (getColumnFilterApplied() - != other.getColumnFilterApplied()) return false; + != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; + if (getRowFilterApplied() != other.getRowFilterApplied()) return false; + if (getColumnFilterApplied() != other.getColumnFilterApplied()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3364,103 +3621,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRowFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); hash = (37 * hash) + COLUMN_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getColumnFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getColumnFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3470,39 +3730,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Applied configs for data profile type data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3514,19 +3777,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs build() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = buildPartial(); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3535,13 +3801,17 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs buil @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = + new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; @@ -3558,46 +3828,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataProfil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other) { + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } @@ -3633,27 +3910,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 16: { - rowFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - columnFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 16: + { + rowFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + columnFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3663,10 +3944,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private float samplingPercent_ ; + private float samplingPercent_; /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3675,6 +3959,7 @@ public Builder mergeFrom(
        * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ @java.lang.Override @@ -3682,6 +3967,8 @@ public float getSamplingPercent() { return samplingPercent_; } /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3690,6 +3977,7 @@ public float getSamplingPercent() {
        * 
* * float sampling_percent = 1; + * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -3701,6 +3989,8 @@ public Builder setSamplingPercent(float value) { return this; } /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -3709,6 +3999,7 @@ public Builder setSamplingPercent(float value) {
        * 
* * float sampling_percent = 1; + * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -3718,13 +4009,16 @@ public Builder clearSamplingPercent() { return this; } - private boolean rowFilterApplied_ ; + private boolean rowFilterApplied_; /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ @java.lang.Override @@ -3732,11 +4026,14 @@ public boolean getRowFilterApplied() { return rowFilterApplied_; } /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ @@ -3748,11 +4045,14 @@ public Builder setRowFilterApplied(boolean value) { return this; } /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { @@ -3762,14 +4062,17 @@ public Builder clearRowFilterApplied() { return this; } - private boolean columnFilterApplied_ ; + private boolean columnFilterApplied_; /** + * + * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; + * * @return The columnFilterApplied. */ @java.lang.Override @@ -3777,12 +4080,15 @@ public boolean getColumnFilterApplied() { return columnFilterApplied_; } /** + * + * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; + * * @param value The columnFilterApplied to set. * @return This builder for chaining. */ @@ -3794,12 +4100,15 @@ public Builder setColumnFilterApplied(boolean value) { return this; } /** + * + * *
        * Boolean indicating whether a column filter was applied in the DataScan
        * job.
        * 
* * bool column_filter_applied = 3; + * * @return This builder for chaining. */ public Builder clearColumnFilterApplied() { @@ -3808,6 +4117,7 @@ public Builder clearColumnFilterApplied() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3820,41 +4130,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileAppliedConfigs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileAppliedConfigs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3866,17 +4179,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DataQualityAppliedConfigsOrBuilder extends + public interface DataQualityAppliedConfigsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3885,62 +4201,71 @@ public interface DataQualityAppliedConfigsOrBuilder extends
      * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ float getSamplingPercent(); /** + * + * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); } /** + * + * *
    * Applied configs for data quality type data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ - public static final class DataQualityAppliedConfigs extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DataQualityAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) DataQualityAppliedConfigsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataQualityAppliedConfigs.newBuilder() to construct. private DataQualityAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataQualityAppliedConfigs() { - } + + private DataQualityAppliedConfigs() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityAppliedConfigs(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** + * + * *
      * The percentage of the records selected from the dataset for DataScan.
      *
@@ -3949,6 +4274,7 @@ protected java.lang.Object newInstance(
      * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ @java.lang.Override @@ -3959,11 +4285,14 @@ public float getSamplingPercent() { public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** + * + * *
      * Boolean indicating whether a row filter was applied in the DataScan job.
      * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ @java.lang.Override @@ -3972,6 +4301,7 @@ public boolean getRowFilterApplied() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3983,8 +4313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } @@ -4001,12 +4330,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, samplingPercent_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, rowFilterApplied_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4016,18 +4343,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) obj; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other = + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) - != java.lang.Float.floatToIntBits( - other.getSamplingPercent())) return false; - if (getRowFilterApplied() - != other.getRowFilterApplied()) return false; + != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; + if (getRowFilterApplied() != other.getRowFilterApplied()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4040,100 +4366,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getSamplingPercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRowFilterApplied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4143,39 +4473,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Applied configs for data quality type data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4186,19 +4519,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs build() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = buildPartial(); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4207,13 +4543,17 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs buil @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = + new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; @@ -4227,46 +4567,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.DataQualit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other) { + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } @@ -4299,22 +4646,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - samplingPercent_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 16: { - rowFilterApplied_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + samplingPercent_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 16: + { + rowFilterApplied_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4324,10 +4674,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private float samplingPercent_ ; + private float samplingPercent_; /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4336,6 +4689,7 @@ public Builder mergeFrom(
        * 
* * float sampling_percent = 1; + * * @return The samplingPercent. */ @java.lang.Override @@ -4343,6 +4697,8 @@ public float getSamplingPercent() { return samplingPercent_; } /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4351,6 +4707,7 @@ public float getSamplingPercent() {
        * 
* * float sampling_percent = 1; + * * @param value The samplingPercent to set. * @return This builder for chaining. */ @@ -4362,6 +4719,8 @@ public Builder setSamplingPercent(float value) { return this; } /** + * + * *
        * The percentage of the records selected from the dataset for DataScan.
        *
@@ -4370,6 +4729,7 @@ public Builder setSamplingPercent(float value) {
        * 
* * float sampling_percent = 1; + * * @return This builder for chaining. */ public Builder clearSamplingPercent() { @@ -4379,13 +4739,16 @@ public Builder clearSamplingPercent() { return this; } - private boolean rowFilterApplied_ ; + private boolean rowFilterApplied_; /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @return The rowFilterApplied. */ @java.lang.Override @@ -4393,11 +4756,14 @@ public boolean getRowFilterApplied() { return rowFilterApplied_; } /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ @@ -4409,11 +4775,14 @@ public Builder setRowFilterApplied(boolean value) { return this; } /** + * + * *
        * Boolean indicating whether a row filter was applied in the DataScan job.
        * 
* * bool row_filter_applied = 2; + * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { @@ -4422,6 +4791,7 @@ public Builder clearRowFilterApplied() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4434,41 +4804,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) - private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataQualityAppliedConfigs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataQualityAppliedConfigs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4480,141 +4853,182 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PostScanActionsResultOrBuilder extends + public interface PostScanActionsResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return The bigqueryExportResult. */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult(); /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder(); } /** + * + * *
    * Post scan actions result for data scan job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ - public static final class PostScanActionsResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) PostScanActionsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PostScanActionsResult() { - } + + private PostScanActionsResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActionsResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } - public interface BigQueryExportResultOrBuilder extends + public interface BigQueryExportResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The state. */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State + getState(); /** + * + * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); } /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ - public static final class BigQueryExportResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryExportResult() { state_ = 0; message_ = ""; @@ -4622,34 +5036,41 @@ private BigQueryExportResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExportResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.Builder.class); } /** + * + * *
        * Execution state for the exporting.
        * 
* - * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State} + * Protobuf enum {@code + * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The exporting state is unspecified.
          * 
@@ -4658,6 +5079,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
          * The exporting completed successfully.
          * 
@@ -4666,6 +5089,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -4674,6 +5099,8 @@ public enum State */ FAILED(2), /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -4686,6 +5113,8 @@ public enum State
         ;
 
         /**
+         *
+         *
          * 
          * The exporting state is unspecified.
          * 
@@ -4694,6 +5123,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * The exporting completed successfully.
          * 
@@ -4702,6 +5133,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
          * The exporting is no longer running due to an error.
          * 
@@ -4710,6 +5143,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
          * The exporting is skipped due to no valid scan result to export
          * (usually caused by scan failed).
@@ -4719,7 +5154,6 @@ public enum State
          */
         public static final int SKIPPED_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -4744,50 +5178,55 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0: return STATE_UNSPECIFIED;
-            case 1: return SUCCEEDED;
-            case 2: return FAILED;
-            case 3: return SKIPPED;
-            default: return null;
+            case 0:
+              return STATE_UNSPECIFIED;
+            case 1:
+              return SUCCEEDED;
+            case 2:
+              return FAILED;
+            case 3:
+              return SKIPPED;
+            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() {
-          return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult
+              .BigQueryExportResult.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.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -4807,38 +5246,62 @@ private State(int value) {
       public static final int STATE_FIELD_NUMBER = 1;
       private int state_ = 0;
       /**
+       *
+       *
        * 
        * Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Execution state for the BigQuery exporting.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State + getState() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State + result = + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -4847,29 +5310,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
        * Additional information about the BigQuery exporting.
        * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -4878,6 +5341,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4889,9 +5353,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -4906,9 +5372,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -4921,16 +5389,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) obj; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + other = + (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult) + obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4951,90 +5425,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5044,39 +5544,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} + * Protobuf type {@code + * google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5087,19 +5594,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult build() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = buildPartial(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + build() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5107,14 +5618,22 @@ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQuery } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + buildPartial() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + result = + new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -5128,46 +5647,59 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanAc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult)other); + if (other + instanceof + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult) { + return mergeFrom( + (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + other) { + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -5202,22 +5734,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5227,26 +5762,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
          * Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -5257,28 +5804,50 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
          * Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State.UNRECOGNIZED : result; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State + getState() { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State + result = + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.State.UNRECOGNIZED + : result; } /** + * + * *
          * Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State value) { + public Builder setState( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .State + value) { if (value == null) { throw new NullPointerException(); } @@ -5288,11 +5857,16 @@ public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActio return this; } /** + * + * *
          * Execution state for the BigQuery exporting.
          * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -5304,18 +5878,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -5324,20 +5900,21 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -5345,28 +5922,35 @@ public java.lang.String getMessage() { } } /** + * + * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -5376,23 +5960,28 @@ public Builder clearMessage() { return this; } /** + * + * *
          * Additional information about the BigQuery exporting.
          * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5405,41 +5994,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExportResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryExportResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5451,20 +6047,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; - private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + bigqueryExportResult_; /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override @@ -5472,30 +6074,49 @@ public boolean hasBigqueryExportResult() { return bigqueryExportResult_ != null; } /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return The bigqueryExportResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .getDefaultInstance() + : bigqueryExportResult_; } /** + * + * *
      * The result of BigQuery export post scan action.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .getDefaultInstance() + : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5507,8 +6128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryExportResult_ != null) { output.writeMessage(1, getBigqueryExportResult()); } @@ -5522,8 +6142,8 @@ public int getSerializedSize() { size = 0; if (bigqueryExportResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryExportResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5533,17 +6153,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) obj; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other = + (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { - if (!getBigqueryExportResult() - .equals(other.getBigqueryExportResult())) return false; + if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5566,89 +6186,95 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5658,39 +6284,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Post scan actions result for data scan job.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5704,14 +6333,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance(); + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .getDefaultInstance(); } @java.lang.Override @@ -5725,18 +6356,23 @@ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult build() @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult buildPartial() { - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = + new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null - ? bigqueryExportResult_ - : bigqueryExportResultBuilder_.build(); + result.bigqueryExportResult_ = + bigqueryExportResultBuilder_ == null + ? bigqueryExportResult_ + : bigqueryExportResultBuilder_.build(); } } @@ -5744,46 +6380,53 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent.PostScanAc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other) { - if (other == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other) { + if (other + == com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } @@ -5813,19 +6456,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryExportResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5835,45 +6479,72 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; + private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder> + bigqueryExportResultBuilder_; /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * * @return The bigqueryExportResult. */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { - return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ - public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { + public Builder setBigqueryExportResult( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5887,14 +6558,20 @@ public Builder setBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEven return this; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ public Builder setBigqueryExportResult( - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .Builder + builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { @@ -5905,17 +6582,25 @@ public Builder setBigqueryExportResult( return this; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ - public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { + public Builder mergeBigqueryExportResult( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + value) { if (bigqueryExportResultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryExportResult_ != null && - bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryExportResult_ != null + && bigqueryExportResult_ + != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; @@ -5928,11 +6613,15 @@ public Builder mergeBigqueryExportResult(com.google.cloud.dataplex.v1.DataScanEv return this; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -5945,52 +6634,79 @@ public Builder clearBigqueryExportResult() { return this; } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder getBigqueryExportResultBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .Builder + getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder + getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { - return bigqueryExportResult_ == null ? - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; + return bigqueryExportResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.getDefaultInstance() + : bigqueryExportResult_; } } /** + * + * *
        * The result of BigQuery export post scan action.
        * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult + .Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { - bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder>( - getBigqueryExportResult(), - getParentForChildren(), - isClean()); + bigqueryExportResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .BigQueryExportResultOrBuilder>( + getBigqueryExportResult(), getParentForChildren(), isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6003,41 +6719,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) - private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(); } - public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostScanActionsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostScanActionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6049,22 +6768,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resultCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE(101), DATA_QUALITY(102), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -6080,33 +6803,40 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 101: return DATA_PROFILE; - case 102: return DATA_QUALITY; - case 0: return RESULT_NOT_SET; - default: return null; + case 101: + return DATA_PROFILE; + case 102: + return DATA_QUALITY; + 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_); } private int appliedConfigsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object appliedConfigs_; + public enum AppliedConfigsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE_CONFIGS(201), DATA_QUALITY_CONFIGS(202), APPLIEDCONFIGS_NOT_SET(0); private final int value; + private AppliedConfigsCase(int value) { this.value = value; } @@ -6122,32 +6852,39 @@ public static AppliedConfigsCase valueOf(int value) { public static AppliedConfigsCase forNumber(int value) { switch (value) { - case 201: return DATA_PROFILE_CONFIGS; - case 202: return DATA_QUALITY_CONFIGS; - case 0: return APPLIEDCONFIGS_NOT_SET; - default: return null; + case 201: + return DATA_PROFILE_CONFIGS; + case 202: + return DATA_QUALITY_CONFIGS; + case 0: + return APPLIEDCONFIGS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public AppliedConfigsCase - getAppliedConfigsCase() { - return AppliedConfigsCase.forNumber( - appliedConfigsCase_); + public AppliedConfigsCase getAppliedConfigsCase() { + return AppliedConfigsCase.forNumber(appliedConfigsCase_); } public static final int DATA_SOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dataSource_ = ""; /** + * + * *
    * The data source of the data scan
    * 
* * string data_source = 1; + * * @return The dataSource. */ @java.lang.Override @@ -6156,29 +6893,29 @@ public java.lang.String getDataSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } } /** + * + * *
    * The data source of the data scan
    * 
* * string data_source = 1; + * * @return The bytes for dataSource. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -6187,14 +6924,18 @@ public java.lang.String getDataSource() { } public static final int JOB_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; + * * @return The jobId. */ @java.lang.Override @@ -6203,29 +6944,29 @@ 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 identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; + * * @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 { @@ -6236,11 +6977,14 @@ public java.lang.String getJobId() { public static final int CREATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -6248,11 +6992,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; + * * @return The createTime. */ @java.lang.Override @@ -6260,6 +7007,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the data scan job was created.
    * 
@@ -6274,11 +7023,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -6286,11 +7038,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -6298,6 +7053,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time when the data scan job started to run.
    * 
@@ -6312,11 +7069,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -6324,11 +7084,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ @java.lang.Override @@ -6336,6 +7099,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the data scan job finished.
    * 
@@ -6350,64 +7115,88 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** + * + * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType 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 the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { - com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { + com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = + com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED + : result; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { + com.google.cloud.dataplex.v1.DataScanEvent.State result = + com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * The message describing the data scan job event.
    * 
* * string message = 7; + * * @return The message. */ @java.lang.Override @@ -6416,29 +7205,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * The message describing the data scan job event.
    * 
* * string message = 7; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -6447,14 +7236,18 @@ public java.lang.String getMessage() { } public static final int SPEC_VERSION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object specVersion_ = ""; /** + * + * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; + * * @return The specVersion. */ @java.lang.Override @@ -6463,29 +7256,29 @@ public java.lang.String getSpecVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; } } /** + * + * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; + * * @return The bytes for specVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSpecVersionBytes() { + public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); specVersion_ = b; return b; } else { @@ -6496,62 +7289,85 @@ public java.lang.String getSpecVersion() { public static final int TRIGGER_FIELD_NUMBER = 9; private int trigger_ = 0; /** + * + * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override public int getTriggerValue() { + @java.lang.Override + public int getTriggerValue() { return trigger_; } /** + * + * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The trigger. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { - com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { + com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = + com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 10; private int scope_ = 0; /** + * + * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { - com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { + com.google.cloud.dataplex.v1.DataScanEvent.Scope result = + com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; } public static final int DATA_PROFILE_FIELD_NUMBER = 101; /** + * + * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return Whether the dataProfile field is set. */ @java.lang.Override @@ -6559,21 +7375,26 @@ public boolean hasDataProfile() { return resultCase_ == 101; } /** + * + * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return The dataProfile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile() { if (resultCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } /** + * + * *
    * Data profile result for data profile type data scan.
    * 
@@ -6581,20 +7402,24 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfi * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder + getDataProfileOrBuilder() { if (resultCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } public static final int DATA_QUALITY_FIELD_NUMBER = 102; /** + * + * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return Whether the dataQuality field is set. */ @java.lang.Override @@ -6602,21 +7427,26 @@ public boolean hasDataQuality() { return resultCase_ == 102; } /** + * + * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return The dataQuality. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality() { if (resultCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } /** + * + * *
    * Data quality result for data quality type data scan.
    * 
@@ -6624,20 +7454,26 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuali * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder + getDataQualityOrBuilder() { if (resultCase_ == 102) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_CONFIGS_FIELD_NUMBER = 201; /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override @@ -6645,42 +7481,60 @@ public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return The dataProfileConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + getDataProfileConfigs() { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder + getDataProfileConfigsOrBuilder() { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } public static final int DATA_QUALITY_CONFIGS_FIELD_NUMBER = 202; /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override @@ -6688,43 +7542,61 @@ public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return The dataQualityConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + getDataQualityConfigs() { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder + getDataQualityConfigsOrBuilder() { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return Whether the postScanActionsResult field is set. */ @java.lang.Override @@ -6732,30 +7604,46 @@ public boolean hasPostScanActionsResult() { return postScanActionsResult_ != null; } /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return The postScanActionsResult. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + getPostScanActionsResult() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6767,8 +7655,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataSource_); } @@ -6781,7 +7668,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (endTime_ != null) { output.writeMessage(4, getEndTime()); } - if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { @@ -6793,7 +7681,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, specVersion_); } - if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + if (trigger_ + != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { @@ -6806,16 +7695,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(12, getCreateTime()); } if (resultCase_ == 101) { - output.writeMessage(101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); + output.writeMessage( + 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { - output.writeMessage(102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); + output.writeMessage( + 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { - output.writeMessage(201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); + output.writeMessage( + 201, + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); } if (appliedConfigsCase_ == 202) { - output.writeMessage(202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); + output.writeMessage( + 202, + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); } getUnknownFields().writeTo(output); } @@ -6833,20 +7728,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } - if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + if (type_ + != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, message_); @@ -6854,37 +7746,43 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, specVersion_); } - if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, trigger_); + if (trigger_ + != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, scope_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, scope_); } if (postScanActionsResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getPostScanActionsResult()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPostScanActionsResult()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); } if (resultCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 201, + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) + appliedConfigs_); } if (appliedConfigsCase_ == 202) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 202, + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) + appliedConfigs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6894,54 +7792,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.cloud.dataplex.v1.DataScanEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataScanEvent other = (com.google.cloud.dataplex.v1.DataScanEvent) obj; + com.google.cloud.dataplex.v1.DataScanEvent other = + (com.google.cloud.dataplex.v1.DataScanEvent) obj; - if (!getDataSource() - .equals(other.getDataSource())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getDataSource().equals(other.getDataSource())) return false; + if (!getJobId().equals(other.getJobId())) 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 (type_ != other.type_) return false; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getSpecVersion() - .equals(other.getSpecVersion())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getSpecVersion().equals(other.getSpecVersion())) return false; if (trigger_ != other.trigger_) return false; if (scope_ != other.scope_) return false; if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { - if (!getPostScanActionsResult() - .equals(other.getPostScanActionsResult())) return false; + if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 101: - if (!getDataProfile() - .equals(other.getDataProfile())) return false; + if (!getDataProfile().equals(other.getDataProfile())) return false; break; case 102: - if (!getDataQuality() - .equals(other.getDataQuality())) return false; + if (!getDataQuality().equals(other.getDataQuality())) return false; break; case 0: default: @@ -6949,12 +7838,10 @@ public boolean equals(final java.lang.Object obj) { if (!getAppliedConfigsCase().equals(other.getAppliedConfigsCase())) return false; switch (appliedConfigsCase_) { case 201: - if (!getDataProfileConfigs() - .equals(other.getDataProfileConfigs())) return false; + if (!getDataProfileConfigs().equals(other.getDataProfileConfigs())) return false; break; case 202: - if (!getDataQualityConfigs() - .equals(other.getDataQualityConfigs())) return false; + if (!getDataQualityConfigs().equals(other.getDataQualityConfigs())) return false; break; case 0: default: @@ -7031,99 +7918,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * These messages contain information about the execution of a datascan.
    * The monitored resource is 'DataScan'
@@ -7132,33 +8024,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent)
       com.google.cloud.dataplex.v1.DataScanEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
+              com.google.cloud.dataplex.v1.DataScanEvent.class,
+              com.google.cloud.dataplex.v1.DataScanEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataScanEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7211,9 +8102,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor;
     }
 
     @java.lang.Override
@@ -7232,8 +8123,11 @@ public com.google.cloud.dataplex.v1.DataScanEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataScanEvent buildPartial() {
-      com.google.cloud.dataplex.v1.DataScanEvent result = new com.google.cloud.dataplex.v1.DataScanEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataScanEvent result =
+          new com.google.cloud.dataplex.v1.DataScanEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -7248,19 +8142,13 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent result) {
         result.jobId_ = jobId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.type_ = type_;
@@ -7281,31 +8169,28 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent result) {
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.postScanActionsResult_ = postScanActionsResultBuilder_ == null
-            ? postScanActionsResult_
-            : postScanActionsResultBuilder_.build();
+        result.postScanActionsResult_ =
+            postScanActionsResultBuilder_ == null
+                ? postScanActionsResult_
+                : postScanActionsResultBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanEvent result) {
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 101 &&
-          dataProfileBuilder_ != null) {
+      if (resultCase_ == 101 && dataProfileBuilder_ != null) {
         result.result_ = dataProfileBuilder_.build();
       }
-      if (resultCase_ == 102 &&
-          dataQualityBuilder_ != null) {
+      if (resultCase_ == 102 && dataQualityBuilder_ != null) {
         result.result_ = dataQualityBuilder_.build();
       }
       result.appliedConfigsCase_ = appliedConfigsCase_;
       result.appliedConfigs_ = this.appliedConfigs_;
-      if (appliedConfigsCase_ == 201 &&
-          dataProfileConfigsBuilder_ != null) {
+      if (appliedConfigsCase_ == 201 && dataProfileConfigsBuilder_ != null) {
         result.appliedConfigs_ = dataProfileConfigsBuilder_.build();
       }
-      if (appliedConfigsCase_ == 202 &&
-          dataQualityConfigsBuilder_ != null) {
+      if (appliedConfigsCase_ == 202 && dataQualityConfigsBuilder_ != null) {
         result.appliedConfigs_ = dataQualityConfigsBuilder_.build();
       }
     }
@@ -7314,38 +8199,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanEvent resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataScanEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7399,30 +8285,36 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent other) {
         mergePostScanActionsResult(other.getPostScanActionsResult());
       }
       switch (other.getResultCase()) {
-        case DATA_PROFILE: {
-          mergeDataProfile(other.getDataProfile());
-          break;
-        }
-        case DATA_QUALITY: {
-          mergeDataQuality(other.getDataQuality());
-          break;
-        }
-        case RESULT_NOT_SET: {
-          break;
-        }
+        case DATA_PROFILE:
+          {
+            mergeDataProfile(other.getDataProfile());
+            break;
+          }
+        case DATA_QUALITY:
+          {
+            mergeDataQuality(other.getDataQuality());
+            break;
+          }
+        case RESULT_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getAppliedConfigsCase()) {
-        case DATA_PROFILE_CONFIGS: {
-          mergeDataProfileConfigs(other.getDataProfileConfigs());
-          break;
-        }
-        case DATA_QUALITY_CONFIGS: {
-          mergeDataQualityConfigs(other.getDataQualityConfigs());
-          break;
-        }
-        case APPLIEDCONFIGS_NOT_SET: {
-          break;
-        }
+        case DATA_PROFILE_CONFIGS:
+          {
+            mergeDataProfileConfigs(other.getDataProfileConfigs());
+            break;
+          }
+        case DATA_QUALITY_CONFIGS:
+          {
+            mergeDataQualityConfigs(other.getDataQualityConfigs());
+            break;
+          }
+        case APPLIEDCONFIGS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -7450,108 +8342,112 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dataSource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 34
-            case 40: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 40
-            case 48: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 48
-            case 58: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              specVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 66
-            case 72: {
-              trigger_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 72
-            case 80: {
-              scope_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 80
-            case 90: {
-              input.readMessage(
-                  getPostScanActionsResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 98
-            case 810: {
-              input.readMessage(
-                  getDataProfileFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              resultCase_ = 101;
-              break;
-            } // case 810
-            case 818: {
-              input.readMessage(
-                  getDataQualityFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              resultCase_ = 102;
-              break;
-            } // case 818
-            case 1610: {
-              input.readMessage(
-                  getDataProfileConfigsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              appliedConfigsCase_ = 201;
-              break;
-            } // case 1610
-            case 1618: {
-              input.readMessage(
-                  getDataQualityConfigsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              appliedConfigsCase_ = 202;
-              break;
-            } // case 1618
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dataSource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jobId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+            case 40:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 40
+            case 48:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 48
+            case 58:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                specVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 66
+            case 72:
+              {
+                trigger_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 72
+            case 80:
+              {
+                scope_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 80
+            case 90:
+              {
+                input.readMessage(
+                    getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 98
+            case 810:
+              {
+                input.readMessage(getDataProfileFieldBuilder().getBuilder(), extensionRegistry);
+                resultCase_ = 101;
+                break;
+              } // case 810
+            case 818:
+              {
+                input.readMessage(getDataQualityFieldBuilder().getBuilder(), extensionRegistry);
+                resultCase_ = 102;
+                break;
+              } // case 818
+            case 1610:
+              {
+                input.readMessage(
+                    getDataProfileConfigsFieldBuilder().getBuilder(), extensionRegistry);
+                appliedConfigsCase_ = 201;
+                break;
+              } // case 1610
+            case 1618:
+              {
+                input.readMessage(
+                    getDataQualityConfigsFieldBuilder().getBuilder(), extensionRegistry);
+                appliedConfigsCase_ = 202;
+                break;
+              } // case 1618
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7561,12 +8457,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int resultCase_ = 0;
     private java.lang.Object result_;
-    public ResultCase
-        getResultCase() {
-      return ResultCase.forNumber(
-          resultCase_);
+
+    public ResultCase getResultCase() {
+      return ResultCase.forNumber(resultCase_);
     }
 
     public Builder clearResult() {
@@ -7578,10 +8474,9 @@ public Builder clearResult() {
 
     private int appliedConfigsCase_ = 0;
     private java.lang.Object appliedConfigs_;
-    public AppliedConfigsCase
-        getAppliedConfigsCase() {
-      return AppliedConfigsCase.forNumber(
-          appliedConfigsCase_);
+
+    public AppliedConfigsCase getAppliedConfigsCase() {
+      return AppliedConfigsCase.forNumber(appliedConfigsCase_);
     }
 
     public Builder clearAppliedConfigs() {
@@ -7595,18 +8490,20 @@ public Builder clearAppliedConfigs() {
 
     private java.lang.Object dataSource_ = "";
     /**
+     *
+     *
      * 
      * The data source of the data scan
      * 
* * string data_source = 1; + * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; @@ -7615,20 +8512,21 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * The data source of the data scan
      * 
* * string data_source = 1; + * * @return The bytes for dataSource. */ - public com.google.protobuf.ByteString - getDataSourceBytes() { + public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { @@ -7636,28 +8534,35 @@ public java.lang.String getDataSource() { } } /** + * + * *
      * The data source of the data scan
      * 
* * string data_source = 1; + * * @param value The dataSource to set. * @return This builder for chaining. */ - public Builder setDataSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The data source of the data scan
      * 
* * string data_source = 1; + * * @return This builder for chaining. */ public Builder clearDataSource() { @@ -7667,17 +8572,21 @@ public Builder clearDataSource() { return this; } /** + * + * *
      * The data source of the data scan
      * 
* * string data_source = 1; + * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ - public Builder setDataSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataSource_ = value; bitField0_ |= 0x00000001; @@ -7687,18 +8596,20 @@ public Builder setDataSourceBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; + * * @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; @@ -7707,20 +8618,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; + * * @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 { @@ -7728,28 +8640,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -7759,17 +8678,21 @@ public Builder clearJobId() { return this; } /** + * + * *
      * The identifier of the specific data scan job this log entry is for.
      * 
* * string job_id = 2; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000002; @@ -7779,34 +8702,47 @@ public Builder setJobIdBytes( 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 when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; + * * @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 when the data scan job was created.
      * 
@@ -7827,14 +8763,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job was created.
      * 
* * .google.protobuf.Timestamp create_time = 12; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7845,6 +8782,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the data scan job was created.
      * 
@@ -7853,9 +8792,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7868,6 +8807,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job was created.
      * 
@@ -7885,6 +8826,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the data scan job was created.
      * 
@@ -7897,6 +8840,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the data scan job was created.
      * 
@@ -7907,11 +8852,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 when the data scan job was created.
      * 
@@ -7919,14 +8867,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -7934,24 +8885,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_; /** + * + * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -7962,6 +8922,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -7982,14 +8944,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job started to run.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -8000,6 +8963,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -8008,9 +8973,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -8023,6 +8988,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -8040,6 +9007,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -8052,6 +9021,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -8062,11 +9033,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_; } } /** + * + * *
      * The time when the data scan job started to run.
      * 
@@ -8074,14 +9046,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 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> 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_; @@ -8089,24 +9064,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_; /** + * + * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -8117,6 +9101,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8137,14 +9123,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job finished.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -8155,6 +9142,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8163,9 +9152,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -8178,6 +9167,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8195,6 +9186,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8207,6 +9200,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8217,11 +9212,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_; } } /** + * + * *
      * The time when the data scan job finished.
      * 
@@ -8229,14 +9225,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ 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_; @@ -8244,22 +9243,29 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int type_ = 0; /** + * + * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType 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 the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -8270,24 +9276,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { - com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = + com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -8301,11 +9316,14 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanEvent.ScanType value return this; } /** + * + * *
      * The type of the data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @return This builder for chaining. */ public Builder clearType() { @@ -8317,22 +9335,29 @@ public Builder clearType() { private int state_ = 0; /** + * + * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8343,24 +9368,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { - com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataScanEvent.State result = + com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED + : result; } /** + * + * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @param value The state to set. * @return This builder for chaining. */ @@ -8374,11 +9408,14 @@ public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.State value) return this; } /** + * + * *
      * The status of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { @@ -8390,18 +9427,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
      * The message describing the data scan job event.
      * 
* * string message = 7; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -8410,20 +9449,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The message describing the data scan job event.
      * 
* * string message = 7; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -8431,28 +9471,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The message describing the data scan job event.
      * 
* * string message = 7; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The message describing the data scan job event.
      * 
* * string message = 7; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -8462,17 +9509,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * The message describing the data scan job event.
      * 
* * string message = 7; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000080; @@ -8482,18 +9533,20 @@ public Builder setMessageBytes( private java.lang.Object specVersion_ = ""; /** + * + * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; + * * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; @@ -8502,20 +9555,21 @@ public java.lang.String getSpecVersion() { } } /** + * + * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; + * * @return The bytes for specVersion. */ - public com.google.protobuf.ByteString - getSpecVersionBytes() { + public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); specVersion_ = b; return b; } else { @@ -8523,28 +9577,35 @@ public java.lang.String getSpecVersion() { } } /** + * + * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; + * * @param value The specVersion to set. * @return This builder for chaining. */ - public Builder setSpecVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSpecVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } specVersion_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; + * * @return This builder for chaining. */ public Builder clearSpecVersion() { @@ -8554,17 +9615,21 @@ public Builder clearSpecVersion() { return this; } /** + * + * *
      * A version identifier of the spec which was used to execute this job.
      * 
* * string spec_version = 8; + * * @param value The bytes for specVersion to set. * @return This builder for chaining. */ - public Builder setSpecVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSpecVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); specVersion_ = value; bitField0_ |= 0x00000100; @@ -8574,22 +9639,29 @@ public Builder setSpecVersionBytes( private int trigger_ = 0; /** + * + * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override public int getTriggerValue() { + @java.lang.Override + public int getTriggerValue() { return trigger_; } /** + * + * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ @@ -8600,24 +9672,33 @@ public Builder setTriggerValue(int value) { return this; } /** + * + * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { - com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = + com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED + : result; } /** + * + * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @param value The trigger to set. * @return This builder for chaining. */ @@ -8631,11 +9712,14 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.DataScanEvent.Trigger val return this; } /** + * + * *
      * The trigger type of the data scan job.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return This builder for chaining. */ public Builder clearTrigger() { @@ -8647,22 +9731,29 @@ public Builder clearTrigger() { private int scope_ = 0; /** + * + * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -8673,24 +9764,33 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The scope. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { - com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); - return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DataScanEvent.Scope result = + com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); + return result == null + ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED + : result; } /** + * + * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -8704,11 +9804,14 @@ public Builder setScope(com.google.cloud.dataplex.v1.DataScanEvent.Scope value) return this; } /** + * + * *
      * The scope of the data scan (e.g. full, incremental).
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -8719,13 +9822,19 @@ public Builder clearScope() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> dataProfileBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> + dataProfileBuilder_; /** + * + * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return Whether the dataProfile field is set. */ @java.lang.Override @@ -8733,11 +9842,14 @@ public boolean hasDataProfile() { return resultCase_ == 101; } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return The dataProfile. */ @java.lang.Override @@ -8755,13 +9867,16 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfi } } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public Builder setDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { + public Builder setDataProfile( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8775,6 +9890,8 @@ public Builder setDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataPro return this; } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
@@ -8793,18 +9910,26 @@ public Builder setDataProfile( return this; } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public Builder mergeDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { + public Builder mergeDataProfile( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { - if (resultCase_ == 101 && - result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 101 + && result_ + != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult + .getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder( + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -8820,6 +9945,8 @@ public Builder mergeDataProfile(com.google.cloud.dataplex.v1.DataScanEvent.DataP return this; } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
@@ -8843,16 +9970,21 @@ public Builder clearDataProfile() { return this; } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder getDataProfileBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder + getDataProfileBuilder() { return getDataProfileFieldBuilder().getBuilder(); } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
@@ -8860,7 +9992,8 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder getD * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder + getDataProfileOrBuilder() { if ((resultCase_ == 101) && (dataProfileBuilder_ != null)) { return dataProfileBuilder_.getMessageOrBuilder(); } else { @@ -8871,6 +10004,8 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder get } } /** + * + * *
      * Data profile result for data profile type data scan.
      * 
@@ -8878,14 +10013,20 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder get * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> getDataProfileFieldBuilder() { if (dataProfileBuilder_ == null) { if (!(resultCase_ == 101)) { - result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); - } - dataProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder>( + result_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); + } + dataProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -8897,13 +10038,19 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> dataQualityBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> + dataQualityBuilder_; /** + * + * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return Whether the dataQuality field is set. */ @java.lang.Override @@ -8911,11 +10058,14 @@ public boolean hasDataQuality() { return resultCase_ == 102; } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return The dataQuality. */ @java.lang.Override @@ -8933,13 +10083,16 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuali } } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public Builder setDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { + public Builder setDataQuality( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8953,6 +10106,8 @@ public Builder setDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQua return this; } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
@@ -8971,18 +10126,26 @@ public Builder setDataQuality( return this; } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public Builder mergeDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { + public Builder mergeDataQuality( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { - if (resultCase_ == 102 && - result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 102 + && result_ + != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult + .getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder( + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -8998,6 +10161,8 @@ public Builder mergeDataQuality(com.google.cloud.dataplex.v1.DataScanEvent.DataQ return this; } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
@@ -9021,16 +10186,21 @@ public Builder clearDataQuality() { return this; } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder getDataQualityBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder + getDataQualityBuilder() { return getDataQualityFieldBuilder().getBuilder(); } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
@@ -9038,7 +10208,8 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder getD * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder + getDataQualityOrBuilder() { if ((resultCase_ == 102) && (dataQualityBuilder_ != null)) { return dataQualityBuilder_.getMessageOrBuilder(); } else { @@ -9049,6 +10220,8 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder get } } /** + * + * *
      * Data quality result for data quality type data scan.
      * 
@@ -9056,14 +10229,20 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder get * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> getDataQualityFieldBuilder() { if (dataQualityBuilder_ == null) { if (!(resultCase_ == 102)) { - result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); - } - dataQualityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder>( + result_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); + } + dataQualityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -9075,13 +10254,21 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> dataProfileConfigsBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> + dataProfileConfigsBuilder_; /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override @@ -9089,35 +10276,49 @@ public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return The dataProfileConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + getDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) + appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } else { if (appliedConfigsCase_ == 201) { return dataProfileConfigsBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ - public Builder setDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { + public Builder setDataProfileConfigs( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9131,14 +10332,19 @@ public Builder setDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEvent. return this; } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ public Builder setDataProfileConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder + builderForValue) { if (dataProfileConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); @@ -9149,18 +10355,29 @@ public Builder setDataProfileConfigs( return this; } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ - public Builder mergeDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { + public Builder mergeDataProfileConfigs( + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { - if (appliedConfigsCase_ == 201 && - appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance()) { - appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_) - .mergeFrom(value).buildPartial(); + if (appliedConfigsCase_ == 201 + && appliedConfigs_ + != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance()) { + appliedConfigs_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder( + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) + appliedConfigs_) + .mergeFrom(value) + .buildPartial(); } else { appliedConfigs_ = value; } @@ -9176,11 +10393,15 @@ public Builder mergeDataProfileConfigs(com.google.cloud.dataplex.v1.DataScanEven return this; } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ public Builder clearDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { @@ -9199,50 +10420,74 @@ public Builder clearDataProfileConfigs() { return this; } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder getDataProfileConfigsBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder + getDataProfileConfigsBuilder() { return getDataProfileConfigsFieldBuilder().getBuilder(); } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder + getDataProfileConfigsOrBuilder() { if ((appliedConfigsCase_ == 201) && (dataProfileConfigsBuilder_ != null)) { return dataProfileConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) + appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); } } /** + * + * *
      * Applied configs for data profile type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> getDataProfileConfigsFieldBuilder() { if (dataProfileConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 201)) { - appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.getDefaultInstance(); - } - dataProfileConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder>( - (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_, + appliedConfigs_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs + .getDefaultInstance(); + } + dataProfileConfigsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder>( + (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) + appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; @@ -9253,13 +10498,21 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> dataQualityConfigsBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> + dataQualityConfigsBuilder_; /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override @@ -9267,35 +10520,49 @@ public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return The dataQualityConfigs. */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + getDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) + appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } else { if (appliedConfigsCase_ == 202) { return dataQualityConfigsBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ - public Builder setDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { + public Builder setDataQualityConfigs( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9309,14 +10576,19 @@ public Builder setDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEvent. return this; } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ public Builder setDataQualityConfigs( - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder builderForValue) { + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder + builderForValue) { if (dataQualityConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); @@ -9327,18 +10599,29 @@ public Builder setDataQualityConfigs( return this; } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ - public Builder mergeDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { + public Builder mergeDataQualityConfigs( + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { - if (appliedConfigsCase_ == 202 && - appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance()) { - appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_) - .mergeFrom(value).buildPartial(); + if (appliedConfigsCase_ == 202 + && appliedConfigs_ + != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance()) { + appliedConfigs_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder( + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) + appliedConfigs_) + .mergeFrom(value) + .buildPartial(); } else { appliedConfigs_ = value; } @@ -9354,11 +10637,15 @@ public Builder mergeDataQualityConfigs(com.google.cloud.dataplex.v1.DataScanEven return this; } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ public Builder clearDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { @@ -9377,50 +10664,74 @@ public Builder clearDataQualityConfigs() { return this; } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder getDataQualityConfigsBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder + getDataQualityConfigsBuilder() { return getDataQualityConfigsFieldBuilder().getBuilder(); } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder + getDataQualityConfigsOrBuilder() { if ((appliedConfigsCase_ == 202) && (dataQualityConfigsBuilder_ != null)) { return dataQualityConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 202) { - return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; + return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) + appliedConfigs_; } - return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); + return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); } } /** + * + * *
      * Applied configs for data quality type data scan.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> getDataQualityConfigsFieldBuilder() { if (dataQualityConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 202)) { - appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.getDefaultInstance(); - } - dataQualityConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder>( - (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_, + appliedConfigs_ = + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs + .getDefaultInstance(); + } + dataQualityConfigsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder>( + (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) + appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; @@ -9432,41 +10743,62 @@ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBui private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> + postScanActionsResultBuilder_; /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return The postScanActionsResult. */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { - return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ - public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { + public Builder setPostScanActionsResult( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9480,11 +10812,15 @@ public Builder setPostScanActionsResult(com.google.cloud.dataplex.v1.DataScanEve return this; } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder builderForValue) { @@ -9498,17 +10834,24 @@ public Builder setPostScanActionsResult( return this; } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ - public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { + public Builder mergePostScanActionsResult( + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - postScanActionsResult_ != null && - postScanActionsResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && postScanActionsResult_ != null + && postScanActionsResult_ + != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult + .getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; @@ -9521,11 +10864,15 @@ public Builder mergePostScanActionsResult(com.google.cloud.dataplex.v1.DataScanE return this; } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00008000); @@ -9538,55 +10885,73 @@ public Builder clearPostScanActionsResult() { return this; } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder + getPostScanActionsResultBuilder() { bitField0_ |= 0x00008000; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ - public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { + public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { - return postScanActionsResult_ == null ? - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; + return postScanActionsResult_ == null + ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() + : postScanActionsResult_; } } /** + * + * *
      * The result of post scan actions.
      * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { - postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder>( - getPostScanActionsResult(), - getParentForChildren(), - isClean()); + postScanActionsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder>( + getPostScanActionsResult(), getParentForChildren(), isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9596,12 +10961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent) private static final com.google.cloud.dataplex.v1.DataScanEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent(); } @@ -9610,27 +10975,27 @@ public static com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScanEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScanEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9645,6 +11010,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java similarity index 77% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java index 38173490afd2..b1cf3b92a53e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanEventOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DataScanEventOrBuilder extends +public interface DataScanEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The data source of the data scan
    * 
* * string data_source = 1; + * * @return The dataSource. */ java.lang.String getDataSource(); /** + * + * *
    * The data source of the data scan
    * 
* * string data_source = 1; + * * @return The bytes for dataSource. */ - com.google.protobuf.ByteString - getDataSourceBytes(); + com.google.protobuf.ByteString getDataSourceBytes(); /** + * + * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * The identifier of the specific data scan job this log entry is for.
    * 
* * string job_id = 2; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the data scan job was created.
    * 
* * .google.protobuf.Timestamp create_time = 12; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the data scan job was created.
    * 
@@ -75,24 +109,32 @@ public interface DataScanEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time when the data scan job started to run.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time when the data scan job started to run.
    * 
@@ -102,24 +144,32 @@ public interface DataScanEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the data scan job finished.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the data scan job finished.
    * 
@@ -129,140 +179,182 @@ public interface DataScanEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; + * * @return The type. */ com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType(); /** + * + * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The status of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; + * * @return The state. */ com.google.cloud.dataplex.v1.DataScanEvent.State getState(); /** + * + * *
    * The message describing the data scan job event.
    * 
* * string message = 7; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The message describing the data scan job event.
    * 
* * string message = 7; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; + * * @return The specVersion. */ java.lang.String getSpecVersion(); /** + * + * *
    * A version identifier of the spec which was used to execute this job.
    * 
* * string spec_version = 8; + * * @return The bytes for specVersion. */ - com.google.protobuf.ByteString - getSpecVersionBytes(); + com.google.protobuf.ByteString getSpecVersionBytes(); /** + * + * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The enum numeric value on the wire for trigger. */ int getTriggerValue(); /** + * + * *
    * The trigger type of the data scan job.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; + * * @return The trigger. */ com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger(); /** + * + * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The scope of the data scan (e.g. full, incremental).
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; + * * @return The scope. */ com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope(); /** + * + * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return Whether the dataProfile field is set. */ boolean hasDataProfile(); /** + * + * *
    * Data profile result for data profile type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; + * * @return The dataProfile. */ com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile(); /** + * + * *
    * Data profile result for data profile type data scan.
    * 
@@ -272,24 +364,32 @@ public interface DataScanEventOrBuilder extends com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder(); /** + * + * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return Whether the dataQuality field is set. */ boolean hasDataQuality(); /** + * + * *
    * Data quality result for data quality type data scan.
    * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; + * * @return The dataQuality. */ com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality(); /** + * + * *
    * Data quality result for data quality type data scan.
    * 
@@ -299,85 +399,130 @@ public interface DataScanEventOrBuilder extends com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder(); /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return Whether the dataProfileConfigs field is set. */ boolean hasDataProfileConfigs(); /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * * @return The dataProfileConfigs. */ com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs(); /** + * + * *
    * Applied configs for data profile type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; + * */ - com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder + getDataProfileConfigsOrBuilder(); /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return Whether the dataQualityConfigs field is set. */ boolean hasDataQualityConfigs(); /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * * @return The dataQualityConfigs. */ com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs(); /** + * + * *
    * Applied configs for data quality type data scan.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * + * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; + * */ - com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder + getDataQualityConfigsOrBuilder(); /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return Whether the postScanActionsResult field is set. */ boolean hasPostScanActionsResult(); /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * * @return The postScanActionsResult. */ com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult(); /** + * + * *
    * The result of post scan actions.
    * 
* - * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * + * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; + * */ - com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder(); + com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder + getPostScanActionsResultOrBuilder(); com.google.cloud.dataplex.v1.DataScanEvent.ResultCase getResultCase(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java index dad13d766fb5..fb6cb606c80a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A DataScanJob represents an instance of DataScan execution.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} */ -public final class DataScanJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataScanJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanJob) DataScanJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataScanJob.newBuilder() to construct. private DataScanJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataScanJob() { name_ = ""; uid_ = ""; @@ -29,34 +47,38 @@ private DataScanJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataScanJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanJob.class, com.google.cloud.dataplex.v1.DataScanJob.Builder.class); + com.google.cloud.dataplex.v1.DataScanJob.class, + com.google.cloud.dataplex.v1.DataScanJob.Builder.class); } /** + * + * *
    * Execution state for the DataScanJob.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanJob.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The DataScanJob state is unspecified.
      * 
@@ -65,6 +87,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The DataScanJob is running.
      * 
@@ -73,6 +97,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * The DataScanJob is canceling.
      * 
@@ -81,6 +107,8 @@ public enum State */ CANCELING(2), /** + * + * *
      * The DataScanJob cancellation was successful.
      * 
@@ -89,6 +117,8 @@ public enum State */ CANCELLED(3), /** + * + * *
      * The DataScanJob completed successfully.
      * 
@@ -97,6 +127,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The DataScanJob is no longer running due to an error.
      * 
@@ -105,6 +137,8 @@ public enum State */ FAILED(5), /** + * + * *
      * The DataScanJob has been created but not started to run yet.
      * 
@@ -116,6 +150,8 @@ public enum State ; /** + * + * *
      * The DataScanJob state is unspecified.
      * 
@@ -124,6 +160,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The DataScanJob is running.
      * 
@@ -132,6 +170,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * The DataScanJob is canceling.
      * 
@@ -140,6 +180,8 @@ public enum State */ public static final int CANCELING_VALUE = 2; /** + * + * *
      * The DataScanJob cancellation was successful.
      * 
@@ -148,6 +190,8 @@ public enum State */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The DataScanJob completed successfully.
      * 
@@ -156,6 +200,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The DataScanJob is no longer running due to an error.
      * 
@@ -164,6 +210,8 @@ public enum State */ public static final int FAILED_VALUE = 5; /** + * + * *
      * The DataScanJob has been created but not started to run yet.
      * 
@@ -172,7 +220,6 @@ public enum State */ public static final int PENDING_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -197,53 +244,57 @@ 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 CANCELING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - case 5: return FAILED; - case 7: return PENDING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return RUNNING; + case 2: + return CANCELING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 7: + return PENDING; + default: + return null; + } + } + + 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.cloud.dataplex.v1.DataScanJob.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; @@ -261,15 +312,19 @@ private State(int value) { } private int specCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object spec_; + public enum SpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_SPEC(100), DATA_PROFILE_SPEC(101), SPEC_NOT_SET(0); private final int value; + private SpecCase(int value) { this.value = value; } @@ -285,33 +340,40 @@ public static SpecCase valueOf(int value) { public static SpecCase forNumber(int value) { switch (value) { - case 100: return DATA_QUALITY_SPEC; - case 101: return DATA_PROFILE_SPEC; - case 0: return SPEC_NOT_SET; - default: return null; + case 100: + return DATA_QUALITY_SPEC; + case 101: + return DATA_PROFILE_SPEC; + case 0: + return SPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SpecCase - getSpecCase() { - return SpecCase.forNumber( - specCase_); + public SpecCase getSpecCase() { + return SpecCase.forNumber(specCase_); } private int resultCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_RESULT(200), DATA_PROFILE_RESULT(201), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -327,27 +389,33 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 200: return DATA_QUALITY_RESULT; - case 201: return DATA_PROFILE_RESULT; - case 0: return RESULT_NOT_SET; - default: return null; + case 200: + return DATA_QUALITY_RESULT; + case 201: + return DATA_PROFILE_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 NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -356,6 +424,7 @@ public int getNumber() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -364,14 +433,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 relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -380,16 +450,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 { @@ -398,14 +467,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -414,29 +487,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -447,11 +520,15 @@ public java.lang.String getUid() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -459,11 +536,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -471,11 +552,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -485,11 +569,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -497,11 +585,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -509,11 +601,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -523,38 +618,55 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob.State getState() { - com.google.cloud.dataplex.v1.DataScanJob.State result = com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanJob.State getState() { + com.google.cloud.dataplex.v1.DataScanJob.State result = + com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanJob.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -563,29 +675,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -596,36 +708,54 @@ public java.lang.String getMessage() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** + * + * *
    * Output only. The type of the parent DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Output only. The type of the parent DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.DataScanType getType() { + com.google.cloud.dataplex.v1.DataScanType result = + com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } public static final int DATA_QUALITY_SPEC_FIELD_NUMBER = 100; /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -633,42 +763,56 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if (specCase_ == 100) { - return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; + return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } public static final int DATA_PROFILE_SPEC_FIELD_NUMBER = 101; /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -676,42 +820,56 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if (specCase_ == 101) { - return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; + return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } public static final int DATA_QUALITY_RESULT_FIELD_NUMBER = 200; /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -719,42 +877,56 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if (resultCase_ == 200) { - return (com.google.cloud.dataplex.v1.DataQualityResult) result_; + return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_RESULT_FIELD_NUMBER = 201; /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -762,36 +934,46 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if (resultCase_ == 201) { - return (com.google.cloud.dataplex.v1.DataProfileResult) result_; + return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -803,8 +985,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -854,39 +1035,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.DataScanJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } if (specCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -896,40 +1077,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.cloud.dataplex.v1.DataScanJob)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanJob other = (com.google.cloud.dataplex.v1.DataScanJob) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (type_ != other.type_) return false; if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 100: - if (!getDataQualitySpec() - .equals(other.getDataQualitySpec())) return false; + if (!getDataQualitySpec().equals(other.getDataQualitySpec())) return false; break; case 101: - if (!getDataProfileSpec() - .equals(other.getDataProfileSpec())) return false; + if (!getDataProfileSpec().equals(other.getDataProfileSpec())) return false; break; case 0: default: @@ -937,12 +1111,10 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 200: - if (!getDataQualityResult() - .equals(other.getDataQualityResult())) return false; + if (!getDataQualityResult().equals(other.getDataQualityResult())) return false; break; case 201: - if (!getDataProfileResult() - .equals(other.getDataProfileResult())) return false; + if (!getDataProfileResult().equals(other.getDataProfileResult())) return false; break; case 0: default: @@ -1005,132 +1177,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataScanJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataScanJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJob represents an instance of DataScan execution.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanJob) com.google.cloud.dataplex.v1.DataScanJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataScanJob.class, com.google.cloud.dataplex.v1.DataScanJob.Builder.class); + com.google.cloud.dataplex.v1.DataScanJob.class, + com.google.cloud.dataplex.v1.DataScanJob.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanJob.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1170,9 +1346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; } @java.lang.Override @@ -1191,8 +1367,11 @@ public com.google.cloud.dataplex.v1.DataScanJob build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob buildPartial() { - com.google.cloud.dataplex.v1.DataScanJob result = new com.google.cloud.dataplex.v1.DataScanJob(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataScanJob result = + new com.google.cloud.dataplex.v1.DataScanJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1207,14 +1386,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanJob result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.state_ = state_; @@ -1230,22 +1405,18 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataScanJob result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanJob result) { result.specCase_ = specCase_; result.spec_ = this.spec_; - if (specCase_ == 100 && - dataQualitySpecBuilder_ != null) { + if (specCase_ == 100 && dataQualitySpecBuilder_ != null) { result.spec_ = dataQualitySpecBuilder_.build(); } - if (specCase_ == 101 && - dataProfileSpecBuilder_ != null) { + if (specCase_ == 101 && dataProfileSpecBuilder_ != null) { result.spec_ = dataProfileSpecBuilder_.build(); } result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 200 && - dataQualityResultBuilder_ != null) { + if (resultCase_ == 200 && dataQualityResultBuilder_ != null) { result.result_ = dataQualityResultBuilder_.build(); } - if (resultCase_ == 201 && - dataProfileResultBuilder_ != null) { + if (resultCase_ == 201 && dataProfileResultBuilder_ != null) { result.result_ = dataProfileResultBuilder_.build(); } } @@ -1254,38 +1425,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanJob result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScanJob) { - return mergeFrom((com.google.cloud.dataplex.v1.DataScanJob)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataScanJob) other); } else { super.mergeFrom(other); return this; @@ -1322,30 +1494,36 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanJob other) { setTypeValue(other.getTypeValue()); } switch (other.getSpecCase()) { - case DATA_QUALITY_SPEC: { - mergeDataQualitySpec(other.getDataQualitySpec()); - break; - } - case DATA_PROFILE_SPEC: { - mergeDataProfileSpec(other.getDataProfileSpec()); - break; - } - case SPEC_NOT_SET: { - break; - } + case DATA_QUALITY_SPEC: + { + mergeDataQualitySpec(other.getDataQualitySpec()); + break; + } + case DATA_PROFILE_SPEC: + { + mergeDataProfileSpec(other.getDataProfileSpec()); + break; + } + case SPEC_NOT_SET: + { + break; + } } switch (other.getResultCase()) { - case DATA_QUALITY_RESULT: { - mergeDataQualityResult(other.getDataQualityResult()); - break; - } - case DATA_PROFILE_RESULT: { - mergeDataProfileResult(other.getDataProfileResult()); - break; - } - case RESULT_NOT_SET: { - break; - } + case DATA_QUALITY_RESULT: + { + mergeDataQualityResult(other.getDataQualityResult()); + break; + } + case DATA_PROFILE_RESULT: + { + mergeDataProfileResult(other.getDataProfileResult()); + break; + } + case RESULT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1373,79 +1551,81 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - type_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 802: { - input.readMessage( - getDataQualitySpecFieldBuilder().getBuilder(), - extensionRegistry); - specCase_ = 100; - break; - } // case 802 - case 810: { - input.readMessage( - getDataProfileSpecFieldBuilder().getBuilder(), - extensionRegistry); - specCase_ = 101; - break; - } // case 810 - case 1602: { - input.readMessage( - getDataQualityResultFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 200; - break; - } // case 1602 - case 1610: { - input.readMessage( - getDataProfileResultFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 201; - break; - } // case 1610 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 802: + { + input.readMessage(getDataQualitySpecFieldBuilder().getBuilder(), extensionRegistry); + specCase_ = 100; + break; + } // case 802 + case 810: + { + input.readMessage(getDataProfileSpecFieldBuilder().getBuilder(), extensionRegistry); + specCase_ = 101; + break; + } // case 810 + case 1602: + { + input.readMessage( + getDataQualityResultFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 200; + break; + } // case 1602 + case 1610: + { + input.readMessage( + getDataProfileResultFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 201; + break; + } // case 1610 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1455,12 +1635,12 @@ public Builder mergeFrom( } // finally return this; } + private int specCase_ = 0; private java.lang.Object spec_; - public SpecCase - getSpecCase() { - return SpecCase.forNumber( - specCase_); + + public SpecCase getSpecCase() { + return SpecCase.forNumber(specCase_); } public Builder clearSpec() { @@ -1472,10 +1652,9 @@ public Builder clearSpec() { 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() { @@ -1489,6 +1668,8 @@ public Builder clearResult() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1497,13 +1678,13 @@ public Builder clearResult() {
      * 
* * 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; @@ -1512,6 +1693,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1520,15 +1703,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 { @@ -1536,6 +1718,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1544,18 +1728,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1564,6 +1752,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1573,6 +1762,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the DataScanJob, of the form:
      * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -1581,12 +1772,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1596,18 +1789,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1616,20 +1811,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1637,28 +1833,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1668,17 +1871,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the DataScanJob.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1688,24 +1895,35 @@ public Builder setUidBytes( 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_; /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1716,11 +1934,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1736,14 +1957,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1754,17 +1977,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1777,11 +2003,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1794,11 +2023,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -1806,36 +2038,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time when the DataScanJob was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1843,24 +2083,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_; /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1871,11 +2122,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1891,14 +2145,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1909,17 +2165,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1932,11 +2191,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1949,11 +2211,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1961,36 +2226,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time when the DataScanJob ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_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> 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_; @@ -1998,22 +2271,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2024,24 +2308,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanJob.State getState() { - com.google.cloud.dataplex.v1.DataScanJob.State result = com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); + com.google.cloud.dataplex.v1.DataScanJob.State result = + com.google.cloud.dataplex.v1.DataScanJob.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanJob.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2055,11 +2350,16 @@ public Builder setState(com.google.cloud.dataplex.v1.DataScanJob.State value) { return this; } /** + * + * *
      * Output only. Execution state for the DataScanJob.
      * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2071,18 +2371,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2091,20 +2393,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -2112,28 +2415,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2143,17 +2453,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000020; @@ -2163,22 +2477,33 @@ public Builder setMessageBytes( private int type_ = 0; /** + * + * *
      * Output only. The type of the parent DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Output only. The type of the parent DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2189,24 +2514,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of the parent DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { - com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); + com.google.cloud.dataplex.v1.DataScanType result = + com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The type of the parent DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -2220,11 +2556,16 @@ public Builder setType(com.google.cloud.dataplex.v1.DataScanType value) { return this; } /** + * + * *
      * Output only. The type of the parent DataScan.
      * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -2235,13 +2576,21 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> dataQualitySpecBuilder_; + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + dataQualitySpecBuilder_; /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override @@ -2249,11 +2598,16 @@ public boolean hasDataQualitySpec() { return specCase_ == 100; } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualitySpec. */ @java.lang.Override @@ -2271,11 +2625,15 @@ public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { } } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { @@ -2291,11 +2649,15 @@ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec v return this; } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualitySpec( com.google.cloud.dataplex.v1.DataQualitySpec.Builder builderForValue) { @@ -2309,18 +2671,25 @@ public Builder setDataQualitySpec( return this; } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { - if (specCase_ == 100 && - spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { - spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder((com.google.cloud.dataplex.v1.DataQualitySpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 100 + && spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { + spec_ = + com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder( + (com.google.cloud.dataplex.v1.DataQualitySpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -2336,11 +2705,15 @@ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec return this; } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataQualitySpec() { if (dataQualitySpecBuilder_ == null) { @@ -2359,21 +2732,29 @@ public Builder clearDataQualitySpec() { return this; } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualitySpec.Builder getDataQualitySpecBuilder() { return getDataQualitySpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { @@ -2387,21 +2768,30 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } } /** + * + * *
      * Output only. DataQualityScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> getDataQualitySpecFieldBuilder() { if (dataQualitySpecBuilder_ == null) { if (!(specCase_ == 100)) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } - dataQualitySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( + dataQualitySpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualitySpec, + com.google.cloud.dataplex.v1.DataQualitySpec.Builder, + com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_, getParentForChildren(), isClean()); @@ -2413,13 +2803,21 @@ public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> dataProfileSpecBuilder_; + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + dataProfileSpecBuilder_; /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override @@ -2427,11 +2825,16 @@ public boolean hasDataProfileSpec() { return specCase_ == 101; } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileSpec. */ @java.lang.Override @@ -2449,11 +2852,15 @@ public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { } } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { @@ -2469,11 +2876,15 @@ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec v return this; } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileSpec( com.google.cloud.dataplex.v1.DataProfileSpec.Builder builderForValue) { @@ -2487,18 +2898,25 @@ public Builder setDataProfileSpec( return this; } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { - if (specCase_ == 101 && - spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { - spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder((com.google.cloud.dataplex.v1.DataProfileSpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 101 + && spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileSpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -2514,11 +2932,15 @@ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec return this; } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataProfileSpec() { if (dataProfileSpecBuilder_ == null) { @@ -2537,21 +2959,29 @@ public Builder clearDataProfileSpec() { return this; } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataProfileSpec.Builder getDataProfileSpecBuilder() { return getDataProfileSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { @@ -2565,21 +2995,30 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } } /** + * + * *
      * Output only. DataProfileScan related setting.
      * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> getDataProfileSpecFieldBuilder() { if (dataProfileSpecBuilder_ == null) { if (!(specCase_ == 101)) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } - dataProfileSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( + dataProfileSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileSpec, + com.google.cloud.dataplex.v1.DataProfileSpec.Builder, + com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_, getParentForChildren(), isClean()); @@ -2591,13 +3030,21 @@ public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> dataQualityResultBuilder_; + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + dataQualityResultBuilder_; /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ @java.lang.Override @@ -2605,11 +3052,16 @@ public boolean hasDataQualityResult() { return resultCase_ == 200; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ @java.lang.Override @@ -2627,11 +3079,15 @@ public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { } } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { @@ -2647,11 +3103,15 @@ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResu return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataQualityResult( com.google.cloud.dataplex.v1.DataQualityResult.Builder builderForValue) { @@ -2665,18 +3125,25 @@ public Builder setDataQualityResult( return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { - if (resultCase_ == 200 && - result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataQualityResult.newBuilder((com.google.cloud.dataplex.v1.DataQualityResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 200 + && result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataQualityResult.newBuilder( + (com.google.cloud.dataplex.v1.DataQualityResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -2692,11 +3159,15 @@ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityRe return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataQualityResult() { if (dataQualityResultBuilder_ == null) { @@ -2715,21 +3186,29 @@ public Builder clearDataQualityResult() { return this; } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataQualityResult.Builder getDataQualityResultBuilder() { return getDataQualityResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { @@ -2743,21 +3222,30 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } } /** + * + * *
      * Output only. The result of the data quality scan.
      * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> getDataQualityResultFieldBuilder() { if (dataQualityResultBuilder_ == null) { if (!(resultCase_ == 200)) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } - dataQualityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( + dataQualityResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataQualityResult, + com.google.cloud.dataplex.v1.DataQualityResult.Builder, + com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityResult) result_, getParentForChildren(), isClean()); @@ -2769,13 +3257,21 @@ public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityRes } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> dataProfileResultBuilder_; + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + dataProfileResultBuilder_; /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ @java.lang.Override @@ -2783,11 +3279,16 @@ public boolean hasDataProfileResult() { return resultCase_ == 201; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ @java.lang.Override @@ -2805,11 +3306,15 @@ public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { } } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { @@ -2825,11 +3330,15 @@ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResu return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataProfileResult( com.google.cloud.dataplex.v1.DataProfileResult.Builder builderForValue) { @@ -2843,18 +3352,25 @@ public Builder setDataProfileResult( return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { - if (resultCase_ == 201 && - result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { - result_ = com.google.cloud.dataplex.v1.DataProfileResult.newBuilder((com.google.cloud.dataplex.v1.DataProfileResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 201 + && result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { + result_ = + com.google.cloud.dataplex.v1.DataProfileResult.newBuilder( + (com.google.cloud.dataplex.v1.DataProfileResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -2870,11 +3386,15 @@ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileRe return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataProfileResult() { if (dataProfileResultBuilder_ == null) { @@ -2893,21 +3413,29 @@ public Builder clearDataProfileResult() { return this; } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.DataProfileResult.Builder getDataProfileResultBuilder() { return getDataProfileResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { @@ -2921,21 +3449,30 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes } } /** + * + * *
      * Output only. The result of the data profile scan.
      * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> getDataProfileResultFieldBuilder() { if (dataProfileResultBuilder_ == null) { if (!(resultCase_ == 201)) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } - dataProfileResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( + dataProfileResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataProfileResult, + com.google.cloud.dataplex.v1.DataProfileResult.Builder, + com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileResult) result_, getParentForChildren(), isClean()); @@ -2945,9 +3482,9 @@ public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileRes onChanged(); return dataProfileResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2957,12 +3494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataScanJob) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanJob) private static final com.google.cloud.dataplex.v1.DataScanJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanJob(); } @@ -2971,27 +3508,27 @@ public static com.google.cloud.dataplex.v1.DataScanJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataScanJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataScanJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3006,6 +3543,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataScanJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java index 8f1a12ad89f9..dd48631b36e5 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface DataScanJobOrBuilder extends +public interface DataScanJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -16,10 +34,13 @@ public interface DataScanJobOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the DataScanJob, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
@@ -28,248 +49,356 @@ public interface DataScanJobOrBuilder 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(); /** + * + * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the DataScanJob.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. The time when the DataScanJob was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time when the DataScanJob ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Execution state for the DataScanJob.
    * 
* - * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.DataScanJob.State getState(); /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Output only. The type of the parent DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Output only. The type of the parent DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.DataScanType getType(); /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualitySpec field is set. */ boolean hasDataQualitySpec(); /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualitySpec. */ com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec(); /** + * + * *
    * Output only. DataQualityScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder(); /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileSpec field is set. */ boolean hasDataProfileSpec(); /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileSpec. */ com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec(); /** + * + * *
    * Output only. DataProfileScan related setting.
    * 
* - * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ boolean hasDataQualityResult(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ boolean hasDataProfileResult(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java index 0b48c69a88f2..90c0accc094f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface DataScanOrBuilder extends +public interface DataScanOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -16,10 +34,13 @@ public interface DataScanOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the scan, of the form:
    * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
@@ -28,34 +49,41 @@ public interface DataScanOrBuilder 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(); /** + * + * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the scan. This ID will
    * be different if the scan is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Optional. Description of the scan.
    *
@@ -63,10 +91,13 @@ public interface DataScanOrBuilder extends
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the scan.
    *
@@ -74,12 +105,14 @@ public interface DataScanOrBuilder extends
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User friendly display name.
    *
@@ -87,10 +120,13 @@ public interface DataScanOrBuilder extends
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    *
@@ -98,12 +134,14 @@ public interface DataScanOrBuilder extends
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -112,30 +150,31 @@ public interface DataScanOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
@@ -143,218 +182,306 @@ boolean containsLabels( * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the scan.
    * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the DataScan.
    * 
* - * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Output only. The time when the scan was created.
    * 
* - * .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 time when the scan was created.
    * 
* - * .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 time when the scan was created.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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 time when the scan was last updated.
    * 
* - * .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(); /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the data field is set. */ boolean hasData(); /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The data. */ com.google.cloud.dataplex.v1.DataSource getData(); /** + * + * *
    * Required. The data source for DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder(); /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionSpec. */ com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec(); /** + * + * *
    * Optional. DataScan execution settings.
    *
    * If not specified, the fields in it will use their default values.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ boolean hasExecutionStatus(); /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus(); /** + * + * *
    * Output only. Status of the data scan execution.
    * 
* - * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder(); /** + * + * *
    * Output only. The type of DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Output only. The type of DataScan.
    * 
* - * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.DataScanType getType(); /** + * + * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return Whether the dataQualitySpec field is set. */ boolean hasDataQualitySpec(); /** + * + * *
    * DataQualityScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; + * * @return The dataQualitySpec. */ com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec(); /** + * + * *
    * DataQualityScan related setting.
    * 
@@ -364,24 +491,32 @@ java.lang.String getLabelsOrThrow( com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder(); /** + * + * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return Whether the dataProfileSpec field is set. */ boolean hasDataProfileSpec(); /** + * + * *
    * DataProfileScan related setting.
    * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; + * * @return The dataProfileSpec. */ com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec(); /** + * + * *
    * DataProfileScan related setting.
    * 
@@ -391,56 +526,84 @@ java.lang.String getLabelsOrThrow( com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataQualityResult field is set. */ boolean hasDataQualityResult(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataQualityResult. */ com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult(); /** + * + * *
    * Output only. The result of the data quality scan.
    * 
* - * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataProfileResult field is set. */ boolean hasDataProfileResult(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataProfileResult. */ com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult(); /** + * + * *
    * Output only. The result of the data profile scan.
    * 
* - * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java index 86c24e9965ef..cca6c7bfde47 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The type of DataScan.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanType} */ -public enum DataScanType - implements com.google.protobuf.ProtocolMessageEnum { +public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The DataScan type is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum DataScanType */ DATA_SCAN_TYPE_UNSPECIFIED(0), /** + * + * *
    * Data Quality scan.
    * 
@@ -29,6 +49,8 @@ public enum DataScanType */ DATA_QUALITY(1), /** + * + * *
    * Data Profile scan.
    * 
@@ -40,6 +62,8 @@ public enum DataScanType ; /** + * + * *
    * The DataScan type is unspecified.
    * 
@@ -48,6 +72,8 @@ public enum DataScanType */ public static final int DATA_SCAN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Data Quality scan.
    * 
@@ -56,6 +82,8 @@ public enum DataScanType */ public static final int DATA_QUALITY_VALUE = 1; /** + * + * *
    * Data Profile scan.
    * 
@@ -64,7 +92,6 @@ public enum DataScanType */ public static final int DATA_PROFILE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static DataScanType valueOf(int value) { */ public static DataScanType forNumber(int value) { switch (value) { - case 0: return DATA_SCAN_TYPE_UNSPECIFIED; - case 1: return DATA_QUALITY; - case 2: return DATA_PROFILE; - default: return null; + case 0: + return DATA_SCAN_TYPE_UNSPECIFIED; + case 1: + return DATA_QUALITY; + case 2: + return DATA_PROFILE; + 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< - DataScanType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataScanType findValueByNumber(int number) { - return DataScanType.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 DataScanType findValueByNumber(int number) { + return DataScanType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor().getEnumTypes().get(0); } private static final DataScanType[] VALUES = values(); - public static DataScanType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataScanType 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 DataScanType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanType) } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java new file mode 100644 index 000000000000..6a2147ff3eb3 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java @@ -0,0 +1,465 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/datascans.proto + +package com.google.cloud.dataplex.v1; + +public final class DataScansProto { + private DataScansProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/dataplex/v1/datascans.pro" + + "to\022\030google.cloud.dataplex.v1\032\034google/api" + + "/annotations.proto\032\027google/api/client.pr" + + "oto\032\037google/api/field_behavior.proto\032\031go" + + "ogle/api/resource.proto\032+google/cloud/da" + + "taplex/v1/data_profile.proto\032+google/clo" + + "ud/dataplex/v1/data_quality.proto\032)googl" + + "e/cloud/dataplex/v1/processing.proto\032(go" + + "ogle/cloud/dataplex/v1/resources.proto\032&" + + "google/cloud/dataplex/v1/service.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"\311\001\n\025CreateDataScanRequest\022:\n" + + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.google" + + "apis.com/Location\022;\n\tdata_scan\030\002 \001(\0132\".g" + + "oogle.cloud.dataplex.v1.DataScanB\004\342A\001\002\022\032" + + "\n\014data_scan_id\030\003 \001(\tB\004\342A\001\002\022\033\n\rvalidate_o" + + "nly\030\004 \001(\010B\004\342A\001\001\"\250\001\n\025UpdateDataScanReques" + + "t\022;\n\tdata_scan\030\001 \001(\0132\".google.cloud.data" + + "plex.v1.DataScanB\004\342A\001\002\0225\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022\033\n" + + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"P\n\025DeleteData" + + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + + "plex.googleapis.com/DataScan\"\341\001\n\022GetData" + + "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + + "plex.googleapis.com/DataScan\022M\n\004view\030\002 \001" + + "(\01629.google.cloud.dataplex.v1.GetDataSca" + + "nRequest.DataScanViewB\004\342A\001\001\"C\n\014DataScanV" + + "iew\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\n\"\263\001\n\024ListDataScansReques" + + "t\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.go" + + "ogleapis.com/Location\022\027\n\tpage_size\030\002 \001(\005" + + "B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filt" + + "er\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}" + + "\n\025ListDataScansResponse\0226\n\ndata_scans\030\001 " + + "\003(\0132\".google.cloud.dataplex.v1.DataScan\022" + + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + + "\003 \003(\t\"M\n\022RunDataScanRequest\0227\n\004name\030\001 \001(" + + "\tB)\342A\001\002\372A\"\n dataplex.googleapis.com/Data" + + "Scan\"I\n\023RunDataScanResponse\0222\n\003job\030\001 \001(\013" + + "2%.google.cloud.dataplex.v1.DataScanJob\"" + + "\364\001\n\025GetDataScanJobRequest\022:\n\004name\030\001 \001(\tB" + + ",\342A\001\002\372A%\n#dataplex.googleapis.com/DataSc" + + "anJob\022S\n\004view\030\002 \001(\0162?.google.cloud.datap" + + "lex.v1.GetDataScanJobRequest.DataScanJob" + + "ViewB\004\342A\001\001\"J\n\017DataScanJobView\022\"\n\036DATA_SC" + + "AN_JOB_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004" + + "FULL\020\n\"\235\001\n\027ListDataScanJobsRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\342A\001\002\372A\"\n dataplex.googleapis" + + ".com/DataScan\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + + "B\004\342A\001\001\"r\n\030ListDataScanJobsResponse\022=\n\016da" + + "ta_scan_jobs\030\001 \003(\0132%.google.cloud.datapl" + + "ex.v1.DataScanJob\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\301\n\n\010DataScan\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003u" + + "id\030\002 \001(\tB\004\342A\001\003\022\031\n\013description\030\003 \001(\tB\004\342A\001" + + "\001\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\001\022D\n\006labels\030" + + "\005 \003(\0132..google.cloud.dataplex.v1.DataSca" + + "n.LabelsEntryB\004\342A\001\001\0224\n\005state\030\006 \001(\0162\037.goo" + + "gle.cloud.dataplex.v1.StateB\004\342A\001\003\0225\n\013cre" + + "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\0228\n\004data\030\t \001(\0132$." + + "google.cloud.dataplex.v1.DataSourceB\004\342A\001" + + "\002\022N\n\016execution_spec\030\n \001(\01320.google.cloud" + + ".dataplex.v1.DataScan.ExecutionSpecB\004\342A\001" + + "\001\022R\n\020execution_status\030\013 \001(\01322.google.clo" + + "ud.dataplex.v1.DataScan.ExecutionStatusB" + + "\004\342A\001\003\022:\n\004type\030\014 \001(\0162&.google.cloud.datap" + + "lex.v1.DataScanTypeB\004\342A\001\003\022F\n\021data_qualit" + + "y_spec\030d \001(\0132).google.cloud.dataplex.v1." + + "DataQualitySpecH\000\022F\n\021data_profile_spec\030e" + + " \001(\0132).google.cloud.dataplex.v1.DataProf" + + "ileSpecH\000\022Q\n\023data_quality_result\030\310\001 \001(\0132" + + "+.google.cloud.dataplex.v1.DataQualityRe" + + "sultB\004\342A\001\003H\001\022Q\n\023data_profile_result\030\311\001 \001" + + "(\0132+.google.cloud.dataplex.v1.DataProfil" + + "eResultB\004\342A\001\003H\001\032o\n\rExecutionSpec\0228\n\007trig" + + "ger\030\001 \001(\0132!.google.cloud.dataplex.v1.Tri" + + "ggerB\004\342A\001\001\022\025\n\005field\030d \001(\tB\004\342A\001\005H\000B\r\n\013inc" + + "remental\032\205\001\n\017ExecutionStatus\0229\n\025latest_j" + + "ob_start_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestamp\0227\n\023latest_job_end_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:c\352A`\n da" + + "taplex.googleapis.com/DataScan\022\332" + + "A\006parent\202\323\344\223\002/\022-/v1/{parent=projects/*/l" + + "ocations/*}/dataScans\022\257\001\n\013RunDataScan\022,." + + "google.cloud.dataplex.v1.RunDataScanRequ" + + "est\032-.google.cloud.dataplex.v1.RunDataSc" + + "anResponse\"C\332A\004name\202\323\344\223\0026\"1/v1/{name=pro" + + "jects/*/locations/*/dataScans/*}:run:\001*\022" + + "\255\001\n\016GetDataScanJob\022/.google.cloud.datapl" + + "ex.v1.GetDataScanJobRequest\032%.google.clo" + + "ud.dataplex.v1.DataScanJob\"C\332A\004name\202\323\344\223\002" + + "6\0224/v1/{name=projects/*/locations/*/data" + + "Scans/*/jobs/*}\022\300\001\n\020ListDataScanJobs\0221.g" + + "oogle.cloud.dataplex.v1.ListDataScanJobs" + + "Request\0322.google.cloud.dataplex.v1.ListD" + + "ataScanJobsResponse\"E\332A\006parent\202\323\344\223\0026\0224/v" + + "1/{parent=projects/*/locations/*/dataSca" + + "ns/*}/jobs\032K\312A\027dataplex.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformBj\n\034com.google.cloud.dataplex.v1B" + + "\016DataScansProtoP\001Z8cloud.google.com/go/d" + + "ataplex/apiv1/dataplexpb;dataplexpbb\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(), + com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(), + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor, + new java.lang.String[] { + "Parent", "DataScan", "DataScanId", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor, + new java.lang.String[] { + "DataScan", "UpdateMask", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor, + new java.lang.String[] { + "DataScans", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor, + new java.lang.String[] { + "Job", + }); + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor, + new java.lang.String[] { + "DataScanJobs", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_DataScan_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Description", + "DisplayName", + "Labels", + "State", + "CreateTime", + "UpdateTime", + "Data", + "ExecutionSpec", + "ExecutionStatus", + "Type", + "DataQualitySpec", + "DataProfileSpec", + "DataQualityResult", + "DataProfileResult", + "Spec", + "Result", + }); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor, + new java.lang.String[] { + "Trigger", "Field", "Incremental", + }); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor, + new java.lang.String[] { + "LatestJobStartTime", "LatestJobEndTime", + }); + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "StartTime", + "EndTime", + "State", + "Message", + "Type", + "DataQualitySpec", + "DataProfileSpec", + "DataQualityResult", + "DataProfileResult", + "Spec", + "Result", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(); + com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(); + com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java index dc3c6af7ec1f..44c0d123e3c6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSource.java @@ -1,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The data source for DataScan.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataSource} */ -public final class DataSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataSource) DataSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataSource.newBuilder() to construct. private DataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataSource() { - } + + private DataSource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataSource.class, com.google.cloud.dataplex.v1.DataSource.Builder.class); + com.google.cloud.dataplex.v1.DataSource.class, + com.google.cloud.dataplex.v1.DataSource.Builder.class); } private int sourceCase_ = 0; + @SuppressWarnings("serial") 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 { ENTITY(100), RESOURCE(101), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -67,45 +89,58 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 100: return ENTITY; - case 101: return RESOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 100: + return ENTITY; + case 101: + return RESOURCE; + 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 ENTITY_FIELD_NUMBER = 100; /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the entity field is set. */ public boolean hasEntity() { return sourceCase_ == 100; } /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The entity. */ public java.lang.String getEntity() { @@ -116,8 +151,7 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceCase_ == 100) { source_ = s; @@ -126,25 +160,28 @@ public java.lang.String getEntity() { } } /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = ""; if (sourceCase_ == 100) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 100) { source_ = b; } @@ -156,6 +193,8 @@ public java.lang.String getEntity() { public static final int RESOURCE_FIELD_NUMBER = 101; /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -164,12 +203,15 @@ public java.lang.String getEntity() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the resource field is set. */ public boolean hasResource() { return sourceCase_ == 101; } /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -178,6 +220,7 @@ public boolean hasResource() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The resource. */ public java.lang.String getResource() { @@ -188,8 +231,7 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 101) { source_ = s; @@ -198,6 +240,8 @@ public java.lang.String getResource() { } } /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -206,18 +250,17 @@ public java.lang.String getResource() {
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 101) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 101) { source_ = b; } @@ -228,6 +271,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_ == 100) { com.google.protobuf.GeneratedMessageV3.writeString(output, 100, source_); } @@ -270,7 +313,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataSource)) { return super.equals(obj); @@ -280,12 +323,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 100: - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; break; case 101: - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; break; case 0: default: @@ -318,132 +359,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 source for DataScan.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataSource) com.google.cloud.dataplex.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DataSource.class, com.google.cloud.dataplex.v1.DataSource.Builder.class); + com.google.cloud.dataplex.v1.DataSource.class, + com.google.cloud.dataplex.v1.DataSource.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_DataSource_descriptor; } @java.lang.Override @@ -475,8 +520,11 @@ public com.google.cloud.dataplex.v1.DataSource build() { @java.lang.Override public com.google.cloud.dataplex.v1.DataSource buildPartial() { - com.google.cloud.dataplex.v1.DataSource result = new com.google.cloud.dataplex.v1.DataSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DataSource result = + new com.google.cloud.dataplex.v1.DataSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -495,38 +543,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataSource result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataSource) { - return mergeFrom((com.google.cloud.dataplex.v1.DataSource)other); + return mergeFrom((com.google.cloud.dataplex.v1.DataSource) other); } else { super.mergeFrom(other); return this; @@ -536,21 +585,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.DataSource other) { if (other == com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) return this; switch (other.getSourceCase()) { - case ENTITY: { - sourceCase_ = 100; - source_ = other.source_; - onChanged(); - break; - } - case RESOURCE: { - sourceCase_ = 101; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case ENTITY: + { + sourceCase_ = 100; + source_ = other.source_; + onChanged(); + break; + } + case RESOURCE: + { + sourceCase_ = 101; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -578,24 +630,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 802: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 100; - source_ = s; - break; - } // case 802 - case 810: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 101; - source_ = s; - break; - } // case 810 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 802: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 100; + source_ = s; + break; + } // case 802 + case 810: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 101; + source_ = s; + break; + } // case 810 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,12 +660,12 @@ public Builder mergeFrom( } // finally 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() { @@ -623,13 +678,18 @@ public Builder clearSource() { private int bitField0_; /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the entity field is set. */ @java.lang.Override @@ -637,13 +697,18 @@ public boolean hasEntity() { return sourceCase_ == 100; } /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The entity. */ @java.lang.Override @@ -653,8 +718,7 @@ public java.lang.String getEntity() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceCase_ == 100) { source_ = s; @@ -665,26 +729,29 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = ""; if (sourceCase_ == 100) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 100) { source_ = b; } @@ -694,32 +761,43 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceCase_ = 100; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -731,19 +809,25 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Immutable. The Dataplex entity that represents the data source (e.g.
      * BigQuery table) for DataScan, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceCase_ = 100; source_ = value; @@ -752,6 +836,8 @@ public Builder setEntityBytes( } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -760,6 +846,7 @@ public Builder setEntityBytes(
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -767,6 +854,8 @@ public boolean hasResource() { return sourceCase_ == 101; } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -775,6 +864,7 @@ public boolean hasResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The resource. */ @java.lang.Override @@ -784,8 +874,7 @@ public java.lang.String getResource() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceCase_ == 101) { source_ = s; @@ -796,6 +885,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -804,19 +895,18 @@ public java.lang.String getResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 101) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceCase_ == 101) { source_ = b; } @@ -826,6 +916,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -834,18 +926,22 @@ public java.lang.String getResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceCase_ = 101; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -854,6 +950,7 @@ public Builder setResource(
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -865,6 +962,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Immutable. The service-qualified full resource name of the cloud resource
      * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -873,21 +972,23 @@ public Builder clearResource() {
      * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceCase_ = 101; source_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +998,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataSource) private static final com.google.cloud.dataplex.v1.DataSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataSource(); } @@ -911,27 +1012,27 @@ public static com.google.cloud.dataplex.v1.DataSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,6 +1047,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java index 1fd08a18d0f2..8b6e8b3c1f0d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataSourceOrBuilder.java @@ -1,48 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface DataSourceOrBuilder extends +public interface DataSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * Immutable. The Dataplex entity that represents the data source (e.g.
    * BigQuery table) for DataScan, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -51,10 +83,13 @@ public interface DataSourceOrBuilder extends
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -63,10 +98,13 @@ public interface DataSourceOrBuilder extends
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Immutable. The service-qualified full resource name of the cloud resource
    * for a DataScan job to scan against. The field could be: BigQuery table of
@@ -75,10 +113,10 @@ public interface DataSourceOrBuilder extends
    * 
* * string resource = 101 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); com.google.cloud.dataplex.v1.DataSource.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java index b1873a0a7aae..bd4c70d69184 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataTaxonomy represents a set of hierarchical DataAttributes resources,
  * grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.DataTaxonomy}
  */
-public final class DataTaxonomy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataTaxonomy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataTaxonomy)
     DataTaxonomyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataTaxonomy.newBuilder() to construct.
   private DataTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataTaxonomy() {
     name_ = "";
     uid_ = "";
@@ -31,46 +49,52 @@ private DataTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataTaxonomy_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 8:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.DataTaxonomyProto
+        .internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.DataTaxonomy.class, com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
+            com.google.cloud.dataplex.v1.DataTaxonomy.class,
+            com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -79,30 +103,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; } } /** + * + * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -111,9 +137,12 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -121,6 +150,7 @@ public java.lang.String getName() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -129,14 +159,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -144,16 +175,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -164,11 +194,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -176,11 +210,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -188,11 +226,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -202,11 +243,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -214,11 +259,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -226,11 +275,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -238,14 +290,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -254,29 +310,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; } } /** + * + * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -285,14 +341,18 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -301,29 +361,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -332,32 +392,34 @@ public java.lang.String getDisplayName() { } public static final int LABELS_FIELD_NUMBER = 8; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -365,20 +427,21 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -390,6 +453,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -397,17 +462,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -415,11 +482,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -429,11 +496,14 @@ public java.lang.String getLabelsOrThrow( public static final int ATTRIBUTE_COUNT_FIELD_NUMBER = 9; private int attributeCount_ = 0; /** + * + * *
    * Output only. The number of attributes in the DataTaxonomy.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ @java.lang.Override @@ -442,9 +512,12 @@ public int getAttributeCount() { } public static final int ETAG_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -452,6 +525,7 @@ public int getAttributeCount() {
    * 
* * string etag = 10; + * * @return The etag. */ @java.lang.Override @@ -460,14 +534,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -475,16 +550,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 10; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -495,11 +569,14 @@ public java.lang.String getEtag() { public static final int CLASS_COUNT_FIELD_NUMBER = 11; private int classCount_ = 0; /** + * + * *
    * Output only. The number of classes in the DataTaxonomy.
    * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The classCount. */ @java.lang.Override @@ -508,6 +585,7 @@ public int getClassCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,8 +597,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -539,12 +616,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); if (attributeCount_ != 0) { output.writeInt32(9, attributeCount_); } @@ -570,12 +643,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -583,26 +654,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } - 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(8, 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(8, labels__); } if (attributeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, attributeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, attributeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (classCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(11, classCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, classCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -612,39 +681,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataTaxonomy)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DataTaxonomy other = (com.google.cloud.dataplex.v1.DataTaxonomy) obj; + com.google.cloud.dataplex.v1.DataTaxonomy other = + (com.google.cloud.dataplex.v1.DataTaxonomy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (getAttributeCount() - != other.getAttributeCount()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getClassCount() - != other.getClassCount()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (getAttributeCount() != other.getAttributeCount()) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getClassCount() != other.getClassCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -687,99 +747,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataTaxonomy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DataTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DataTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataTaxonomy represents a set of hierarchical DataAttributes resources,
    * grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes
@@ -788,55 +853,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.DataTaxonomy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataTaxonomy)
       com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 8:
           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 8:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.DataTaxonomy.class, com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
+              com.google.cloud.dataplex.v1.DataTaxonomy.class,
+              com.google.cloud.dataplex.v1.DataTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.DataTaxonomy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -863,9 +925,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.DataTaxonomyProto
+          .internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -884,8 +946,11 @@ public com.google.cloud.dataplex.v1.DataTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.DataTaxonomy buildPartial() {
-      com.google.cloud.dataplex.v1.DataTaxonomy result = new com.google.cloud.dataplex.v1.DataTaxonomy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.DataTaxonomy result =
+          new com.google.cloud.dataplex.v1.DataTaxonomy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -899,14 +964,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataTaxonomy result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -933,38 +994,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DataTaxonomy result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.DataTaxonomy) {
-        return mergeFrom((com.google.cloud.dataplex.v1.DataTaxonomy)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.DataTaxonomy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -999,8 +1061,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DataTaxonomy other) {
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.getAttributeCount() != 0) {
         setAttributeCount(other.getAttributeCount());
@@ -1039,70 +1100,79 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 66: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 66
-            case 72: {
-              attributeCount_ = input.readInt32();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 72
-            case 82: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 82
-            case 88: {
-              classCount_ = input.readInt32();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 88
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 66:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 66
+            case 72:
+              {
+                attributeCount_ = input.readInt32();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 72
+            case 82:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+            case 88:
+              {
+                classCount_ = input.readInt32();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 88
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1112,23 +1182,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1137,21 +1212,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1159,30 +1237,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -1192,18 +1281,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the DataTaxonomy, of the form:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1213,6 +1308,8 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1220,13 +1317,13 @@ public Builder setNameBytes(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1235,6 +1332,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1242,15 +1341,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1258,6 +1356,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1265,18 +1365,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1284,6 +1388,7 @@ public Builder setUid(
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1293,6 +1398,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the dataTaxonomy. This
      * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -1300,12 +1407,14 @@ public Builder clearUid() {
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1315,39 +1424,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1363,14 +1491,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1381,17 +1512,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1404,11 +1539,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1421,11 +1560,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1433,36 +1576,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time when the DataTaxonomy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1470,39 +1625,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 time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1518,14 +1692,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -1536,17 +1713,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1559,11 +1740,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1576,11 +1761,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1588,36 +1777,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the DataTaxonomy was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> 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_; @@ -1625,18 +1826,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1645,20 +1848,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1666,28 +1870,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1697,17 +1908,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the DataTaxonomy.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1717,18 +1932,20 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1737,20 +1954,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1758,28 +1976,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1789,17 +2014,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -1807,21 +2036,19 @@ public Builder setDisplayNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1830,10 +2057,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -1841,20 +2071,21 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -1866,6 +2097,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -1873,17 +2106,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
@@ -1891,84 +2126,89 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Optional. User-defined labels for the DataTaxonomy.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } - private int attributeCount_ ; + private int attributeCount_; /** + * + * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ @java.lang.Override @@ -1976,11 +2216,14 @@ public int getAttributeCount() { return attributeCount_; } /** + * + * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The attributeCount to set. * @return This builder for chaining. */ @@ -1992,11 +2235,14 @@ public Builder setAttributeCount(int value) { return this; } /** + * + * *
      * Output only. The number of attributes in the DataTaxonomy.
      * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAttributeCount() { @@ -2008,6 +2254,8 @@ public Builder clearAttributeCount() { private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2015,13 +2263,13 @@ public Builder clearAttributeCount() {
      * 
* * string etag = 10; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2030,6 +2278,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2037,15 +2287,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -2053,6 +2302,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2060,18 +2311,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2079,6 +2334,7 @@ public Builder setEtag(
      * 
* * string etag = 10; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2088,6 +2344,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2095,12 +2353,14 @@ public Builder clearEtag() {
      * 
* * string etag = 10; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000100; @@ -2108,13 +2368,16 @@ public Builder setEtagBytes( return this; } - private int classCount_ ; + private int classCount_; /** + * + * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The classCount. */ @java.lang.Override @@ -2122,11 +2385,14 @@ public int getClassCount() { return classCount_; } /** + * + * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The classCount to set. * @return This builder for chaining. */ @@ -2138,11 +2404,14 @@ public Builder setClassCount(int value) { return this; } /** + * + * *
      * Output only. The number of classes in the DataTaxonomy.
      * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClassCount() { @@ -2151,9 +2420,9 @@ public Builder clearClassCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2163,12 +2432,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataTaxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataTaxonomy) private static final com.google.cloud.dataplex.v1.DataTaxonomy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataTaxonomy(); } @@ -2177,27 +2446,27 @@ public static com.google.cloud.dataplex.v1.DataTaxonomy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2212,6 +2481,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DataTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java similarity index 73% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java index 954d052e0741..683fdaffb314 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DataTaxonomyOrBuilder extends +public interface DataTaxonomyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataTaxonomy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the DataTaxonomy, of the form:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -37,10 +64,13 @@ public interface DataTaxonomyOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the dataTaxonomy. This
    * ID will be different if the DataTaxonomy is deleted and re-created with the
@@ -48,106 +78,140 @@ public interface DataTaxonomyOrBuilder extends
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the DataTaxonomy was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the DataTaxonomy was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the DataTaxonomy.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -156,30 +220,31 @@ public interface DataTaxonomyOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
@@ -187,31 +252,37 @@ boolean containsLabels( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the DataTaxonomy.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The number of attributes in the DataTaxonomy.
    * 
* * int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attributeCount. */ int getAttributeCount(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -219,10 +290,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -230,17 +304,20 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. The number of classes in the DataTaxonomy.
    * 
* * int32 class_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The classCount. */ int getClassCount(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java new file mode 100644 index 000000000000..e11b289c1163 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java @@ -0,0 +1,651 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public final class DataTaxonomyProto { + private DataTaxonomyProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/dataplex/v1/data_taxonomy" + + ".proto\022\030google.cloud.dataplex.v1\032\034google" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\'google/clou" + + "d/dataplex/v1/security.proto\032&google/clo" + + "ud/dataplex/v1/service.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\032 google/protobuf/field_ma" + + "sk.proto\032\037google/protobuf/timestamp.prot" + + "o\"\272\004\n\014DataTaxonomy\022;\n\004name\030\001 \001(\tB-\342A\001\003\372A" + + "&\n$dataplex.googleapis.com/DataTaxonomy\022" + + "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014d" + + "isplay_name\030\006 \001(\tB\004\342A\001\001\022H\n\006labels\030\010 \003(\0132" + + "2.google.cloud.dataplex.v1.DataTaxonomy." + + "LabelsEntryB\004\342A\001\001\022\035\n\017attribute_count\030\t \001" + + "(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\031\n\013class_count\030\013 " + + "\001(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n$dataplex.googleap" + + "is.com/DataTaxonomy\022Iprojects/{project}/" + + "locations/{location}/dataTaxonomies/{dat" + + "a_taxonomy_id}\"\237\006\n\rDataAttribute\022<\n\004name" + + "\030\001 \001(\tB.\342A\001\003\372A\'\n%dataplex.googleapis.com" + + "/DataAttribute\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013cre" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005" + + " \001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\022I" + + "\n\006labels\030\007 \003(\01323.google.cloud.dataplex.v" + + "1.DataAttribute.LabelsEntryB\004\342A\001\001\022A\n\tpar" + + "ent_id\030\010 \001(\tB.\342A\001\001\372A\'\n%dataplex.googleap" + + "is.com/DataAttribute\022\035\n\017attribute_count\030" + + "\t \001(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022P\n\024resource_ac" + + "cess_spec\030d \001(\0132,.google.cloud.dataplex." + + "v1.ResourceAccessSpecB\004\342A\001\001\022H\n\020data_acce" + + "ss_spec\030e \001(\0132(.google.cloud.dataplex.v1" + + ".DataAccessSpecB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\221\001\352A\215\001\n%dat" + + "aplex.googleapis.com/DataAttribute\022dproj" + + "ects/{project}/locations/{location}/data" + + "Taxonomies/{dataTaxonomy}/attributes/{da" + + "ta_attribute_id}\"\321\006\n\024DataAttributeBindin" + + "g\022C\n\004name\030\001 \001(\tB5\342A\001\003\372A.\n,dataplex.googl" + + "eapis.com/DataAttributeBinding\022\021\n\003uid\030\002 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014display_na" + + "me\030\006 \001(\tB\004\342A\001\001\022P\n\006labels\030\007 \003(\0132:.google." + + "cloud.dataplex.v1.DataAttributeBinding.L" + + "abelsEntryB\004\342A\001\001\022\014\n\004etag\030\010 \001(\t\022\031\n\010resour" + + "ce\030d \001(\tB\005\342A\002\001\005H\000\022B\n\nattributes\030n \003(\tB.\342" + + "A\001\001\372A\'\n%dataplex.googleapis.com/DataAttr" + + "ibute\022H\n\005paths\030x \003(\01323.google.cloud.data" + + "plex.v1.DataAttributeBinding.PathB\004\342A\001\001\032" + + "^\n\004Path\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\nattribute" + + "s\030\002 \003(\tB.\342A\001\001\372A\'\n%dataplex.googleapis.co" + + "m/DataAttribute\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\215\001\352A\211\001\n,dataplex." + + "googleapis.com/DataAttributeBinding\022Ypro" + + "jects/{project}/locations/{location}/dat" + + "aAttributeBindings/{data_attribute_bindi" + + "ng_id}B\024\n\022resource_reference\"\331\001\n\031CreateD" + + "ataTaxonomyRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002" + + "\372A#\n!locations.googleapis.com/Location\022\036" + + "\n\020data_taxonomy_id\030\002 \001(\tB\004\342A\001\002\022C\n\rdata_t" + + "axonomy\030\003 \001(\0132&.google.cloud.dataplex.v1" + + ".DataTaxonomyB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"\264\001\n\031UpdateDataTaxonomyRequest\0225" + + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\022C\n\rdata_taxonomy\030\002 \001(\0132&.g" + + "oogle.cloud.dataplex.v1.DataTaxonomyB\004\342A" + + "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"U\n\026GetDa" + + "taTaxonomyRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&" + + "\n$dataplex.googleapis.com/DataTaxonomy\"\270" + + "\001\n\031ListDataTaxonomiesRequest\022:\n\006parent\030\001" + + " \001(\tB*\342A\001\002\372A#\n!locations.googleapis.com/" + + "Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npag" + + "e_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001" + + "\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"\225\001\n\032ListDataTa" + + "xonomiesResponse\022?\n\017data_taxonomies\030\001 \003(" + + "\0132&.google.cloud.dataplex.v1.DataTaxonom" + + "y\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachabl" + + "e_locations\030\003 \003(\t\"l\n\031DeleteDataTaxonomyR" + + "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex." + + "googleapis.com/DataTaxonomy\022\022\n\004etag\030\002 \001(" + + "\tB\004\342A\001\001\"\340\001\n\032CreateDataAttributeRequest\022=" + + "\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex.google" + + "apis.com/DataTaxonomy\022\037\n\021data_attribute_" + + "id\030\002 \001(\tB\004\342A\001\002\022E\n\016data_attribute\030\003 \001(\0132\'" + + ".google.cloud.dataplex.v1.DataAttributeB" + + "\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\267\001\n\032U" + + "pdateDataAttributeRequest\0225\n\013update_mask" + + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" + + "\022E\n\016data_attribute\030\002 \001(\0132\'.google.cloud." + + "dataplex.v1.DataAttributeB\004\342A\001\002\022\033\n\rvalid" + + "ate_only\030\003 \001(\010B\004\342A\001\001\"W\n\027GetDataAttribute" + + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex" + + ".googleapis.com/DataAttribute\"\273\001\n\031ListDa" + + "taAttributesRequest\022=\n\006parent\030\001 \001(\tB-\342A\001" + + "\002\372A&\n$dataplex.googleapis.com/DataTaxono" + + "my\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_toke" + + "n\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010o" + + "rder_by\030\005 \001(\tB\004\342A\001\001\"\226\001\n\032ListDataAttribut" + + "esResponse\022@\n\017data_attributes\030\001 \003(\0132\'.go" + + "ogle.cloud.dataplex.v1.DataAttribute\022\027\n\017" + + "next_page_token\030\002 \001(\t\022\035\n\025unreachable_loc" + + "ations\030\003 \003(\t\"n\n\032DeleteDataAttributeReque" + + "st\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex.goog" + + "leapis.com/DataAttribute\022\022\n\004etag\030\002 \001(\tB\004" + + "\342A\001\001\"\373\001\n!CreateDataAttributeBindingReque" + + "st\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.g" + + "oogleapis.com/Location\022\'\n\031data_attribute" + + "_binding_id\030\002 \001(\tB\004\342A\001\002\022T\n\026data_attribut" + + "e_binding\030\003 \001(\0132..google.cloud.dataplex." + + "v1.DataAttributeBindingB\004\342A\001\002\022\033\n\rvalidat" + + "e_only\030\004 \001(\010B\004\342A\001\001\"\315\001\n!UpdateDataAttribu" + + "teBindingRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\022T\n\026data_" + + "attribute_binding\030\002 \001(\0132..google.cloud.d" + + "ataplex.v1.DataAttributeBindingB\004\342A\001\002\022\033\n" + + "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"e\n\036GetDataAtt" + + "ributeBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002" + + "\372A.\n,dataplex.googleapis.com/DataAttribu" + + "teBinding\"\277\001\n ListDataAttributeBindingsR" + + "equest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + + "A\001\001\"\254\001\n!ListDataAttributeBindingsRespons" + + "e\022O\n\027data_attribute_bindings\030\001 \003(\0132..goo" + + "gle.cloud.dataplex.v1.DataAttributeBindi" + + "ng\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachab" + + "le_locations\030\003 \003(\t\"|\n!DeleteDataAttribut" + + "eBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n," + + "dataplex.googleapis.com/DataAttributeBin" + + "ding\022\022\n\004etag\030\002 \001(\tB\004\342A\001\0022\213\035\n\023DataTaxonom" + + "yService\022\200\002\n\022CreateDataTaxonomy\0223.google" + + ".cloud.dataplex.v1.CreateDataTaxonomyReq" + + "uest\032\035.google.longrunning.Operation\"\225\001\312A" + + "!\n\014DataTaxonomy\022\021OperationMetadata\332A%par" + + "ent,data_taxonomy,data_taxonomy_id\202\323\344\223\002C" + + "\"2/v1/{parent=projects/*/locations/*}/da" + + "taTaxonomies:\rdata_taxonomy\022\202\002\n\022UpdateDa" + + "taTaxonomy\0223.google.cloud.dataplex.v1.Up" + + "dateDataTaxonomyRequest\032\035.google.longrun" + + "ning.Operation\"\227\001\312A!\n\014DataTaxonomy\022\021Oper" + + "ationMetadata\332A\031data_taxonomy,update_mas" + + "k\202\323\344\223\002Q2@/v1/{data_taxonomy.name=project" + + "s/*/locations/*/dataTaxonomies/*}:\rdata_" + + "taxonomy\022\330\001\n\022DeleteDataTaxonomy\0223.google" + + ".cloud.dataplex.v1.DeleteDataTaxonomyReq" + + "uest\032\035.google.longrunning.Operation\"n\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\332A\004name\202\323\344\223\0024*2/v1/{name=projects/*/lo" + + "cations/*/dataTaxonomies/*}\022\304\001\n\022ListData" + + "Taxonomies\0223.google.cloud.dataplex.v1.Li" + + "stDataTaxonomiesRequest\0324.google.cloud.d" + + "ataplex.v1.ListDataTaxonomiesResponse\"C\332" + + "A\006parent\202\323\344\223\0024\0222/v1/{parent=projects/*/l" + + "ocations/*}/dataTaxonomies\022\256\001\n\017GetDataTa" + + "xonomy\0220.google.cloud.dataplex.v1.GetDat" + + "aTaxonomyRequest\032&.google.cloud.dataplex" + + ".v1.DataTaxonomy\"A\332A\004name\202\323\344\223\0024\0222/v1/{na" + + "me=projects/*/locations/*/dataTaxonomies" + + "/*}\022\272\002\n\032CreateDataAttributeBinding\022;.goo" + + "gle.cloud.dataplex.v1.CreateDataAttribut" + + "eBindingRequest\032\035.google.longrunning.Ope" + + "ration\"\277\001\312A)\n\024DataAttributeBinding\022\021Oper" + + "ationMetadata\332A7parent,data_attribute_bi" + + "nding,data_attribute_binding_id\202\323\344\223\002S\"9/" + + "v1/{parent=projects/*/locations/*}/dataA" + + "ttributeBindings:\026data_attribute_binding" + + "\022\274\002\n\032UpdateDataAttributeBinding\022;.google" + + ".cloud.dataplex.v1.UpdateDataAttributeBi" + + "ndingRequest\032\035.google.longrunning.Operat" + + "ion\"\301\001\312A)\n\024DataAttributeBinding\022\021Operati" + + "onMetadata\332A\"data_attribute_binding,upda" + + "te_mask\202\323\344\223\002j2P/v1/{data_attribute_bindi" + + "ng.name=projects/*/locations/*/dataAttri" + + "buteBindings/*}:\026data_attribute_binding\022" + + "\357\001\n\032DeleteDataAttributeBinding\022;.google." + + "cloud.dataplex.v1.DeleteDataAttributeBin" + + "dingRequest\032\035.google.longrunning.Operati" + + "on\"u\312A*\n\025google.protobuf.Empty\022\021Operatio" + + "nMetadata\332A\004name\202\323\344\223\002;*9/v1/{name=projec" + + "ts/*/locations/*/dataAttributeBindings/*" + + "}\022\340\001\n\031ListDataAttributeBindings\022:.google" + + ".cloud.dataplex.v1.ListDataAttributeBind" + + "ingsRequest\032;.google.cloud.dataplex.v1.L" + + "istDataAttributeBindingsResponse\"J\332A\006par" + + "ent\202\323\344\223\002;\0229/v1/{parent=projects/*/locati" + + "ons/*}/dataAttributeBindings\022\315\001\n\027GetData" + + "AttributeBinding\0228.google.cloud.dataplex" + + ".v1.GetDataAttributeBindingRequest\032..goo" + + "gle.cloud.dataplex.v1.DataAttributeBindi" + + "ng\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/" + + "locations/*/dataAttributeBindings/*}\022\223\002\n" + + "\023CreateDataAttribute\0224.google.cloud.data" + + "plex.v1.CreateDataAttributeRequest\032\035.goo" + + "gle.longrunning.Operation\"\246\001\312A\"\n\rDataAtt" + + "ribute\022\021OperationMetadata\332A\'parent,data_" + + "attribute,data_attribute_id\202\323\344\223\002Q\"?/v1/{" + + "parent=projects/*/locations/*/dataTaxono" + + "mies/*}/attributes:\016data_attribute\022\225\002\n\023U" + + "pdateDataAttribute\0224.google.cloud.datapl" + + "ex.v1.UpdateDataAttributeRequest\032\035.googl" + + "e.longrunning.Operation\"\250\001\312A\"\n\rDataAttri" + + "bute\022\021OperationMetadata\332A\032data_attribute" + + ",update_mask\202\323\344\223\002`2N/v1/{data_attribute." + + "name=projects/*/locations/*/dataTaxonomi" + + "es/*/attributes/*}:\016data_attribute\022\347\001\n\023D" + + "eleteDataAttribute\0224.google.cloud.datapl" + + "ex.v1.DeleteDataAttributeRequest\032\035.googl" + + "e.longrunning.Operation\"{\312A*\n\025google.pro" + + "tobuf.Empty\022\021OperationMetadata\332A\004name\202\323\344" + + "\223\002A*?/v1/{name=projects/*/locations/*/da" + + "taTaxonomies/*/attributes/*}\022\321\001\n\022ListDat" + + "aAttributes\0223.google.cloud.dataplex.v1.L" + + "istDataAttributesRequest\0324.google.cloud." + + "dataplex.v1.ListDataAttributesResponse\"P" + + "\332A\006parent\202\323\344\223\002A\022?/v1/{parent=projects/*/" + + "locations/*/dataTaxonomies/*}/attributes" + + "\022\276\001\n\020GetDataAttribute\0221.google.cloud.dat" + + "aplex.v1.GetDataAttributeRequest\032\'.googl" + + "e.cloud.dataplex.v1.DataAttribute\"N\332A\004na" + + "me\202\323\344\223\002A\022?/v1/{name=projects/*/locations" + + "/*/dataTaxonomies/*/attributes/*}\032K\312A\027da" + + "taplex.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformBm\n\034com.go" + + "ogle.cloud.dataplex.v1B\021DataTaxonomyProt" + + "oP\001Z8cloud.google.com/go/dataplex/apiv1/" + + "dataplexpb;dataplexpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(), + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "CreateTime", + "UpdateTime", + "Description", + "DisplayName", + "Labels", + "AttributeCount", + "Etag", + "ClassCount", + }); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "CreateTime", + "UpdateTime", + "Description", + "DisplayName", + "Labels", + "ParentId", + "AttributeCount", + "Etag", + "ResourceAccessSpec", + "DataAccessSpec", + }); + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "CreateTime", + "UpdateTime", + "Description", + "DisplayName", + "Labels", + "Etag", + "Resource", + "Attributes", + "Paths", + "ResourceReference", + }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor, + new java.lang.String[] { + "Name", "Attributes", + }); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor, + new java.lang.String[] { + "Parent", "DataTaxonomyId", "DataTaxonomy", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "DataTaxonomy", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor, + new java.lang.String[] { + "DataTaxonomies", "NextPageToken", "UnreachableLocations", + }); + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor, + new java.lang.String[] { + "Parent", "DataAttributeId", "DataAttribute", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "DataAttribute", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor, + new java.lang.String[] { + "DataAttributes", "NextPageToken", "UnreachableLocations", + }); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor, + new java.lang.String[] { + "Parent", "DataAttributeBindingId", "DataAttributeBinding", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "DataAttributeBinding", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor, + new java.lang.String[] { + "DataAttributeBindings", "NextPageToken", "UnreachableLocations", + }); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(); + com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java index fe60265115a0..dcc96a93ec17 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteAssetRequest} */ -public final class DeleteAssetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAssetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteAssetRequest) DeleteAssetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAssetRequest.newBuilder() to construct. private DeleteAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAssetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteAssetRequest.class, com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteAssetRequest.class, + com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteAssetRequest other = (com.google.cloud.dataplex.v1.DeleteAssetRequest) obj; + com.google.cloud.dataplex.v1.DeleteAssetRequest other = + (com.google.cloud.dataplex.v1.DeleteAssetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteAssetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteAssetRequest) com.google.cloud.dataplex.v1.DeleteAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteAssetRequest.class, com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteAssetRequest.class, + com.google.cloud.dataplex.v1.DeleteAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteAssetRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.DeleteAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteAssetRequest result = new com.google.cloud.dataplex.v1.DeleteAssetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteAssetRequest result = + new com.google.cloud.dataplex.v1.DeleteAssetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteAssetRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteAssetRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteAssetRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteAssetRequest) private static final com.google.cloud.dataplex.v1.DeleteAssetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteAssetRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.dataplex.v1.DeleteAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java new file mode 100644 index 000000000000..6fa0bf8c4487 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteAssetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteAssetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java index 924a4279b77a..4db01ba8ab1c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteContentRequest} */ -public final class DeleteContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteContentRequest) DeleteContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteContentRequest.newBuilder() to construct. private DeleteContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteContentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteContentRequest.class, com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteContentRequest.class, + com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteContentRequest other = (com.google.cloud.dataplex.v1.DeleteContentRequest) obj; + com.google.cloud.dataplex.v1.DeleteContentRequest other = + (com.google.cloud.dataplex.v1.DeleteContentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteContentRequest) com.google.cloud.dataplex.v1.DeleteContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteContentRequest.class, com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteContentRequest.class, + com.google.cloud.dataplex.v1.DeleteContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteContentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.DeleteContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteContentRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteContentRequest result = new com.google.cloud.dataplex.v1.DeleteContentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteContentRequest result = + new com.google.cloud.dataplex.v1.DeleteContentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteContentRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteContentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteContentRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteContentRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteContentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteContentRequest) private static final com.google.cloud.dataplex.v1.DeleteContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteContentRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.dataplex.v1.DeleteContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java new file mode 100644 index 000000000000..4e8cf2b47333 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteContentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteContentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java index d9a87fe78e4b..129f2b6e757f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest} */ -public final class DeleteDataAttributeBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) DeleteDataAttributeBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataAttributeBindingRequest.newBuilder() to construct. - private DeleteDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDataAttributeBindingRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataAttributeBindingRequest() { name_ = ""; etag_ = ""; @@ -26,34 +45,41 @@ private DeleteDataAttributeBindingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +88,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. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,9 +122,12 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -105,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ @java.lang.Override @@ -113,14 +145,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -129,16 +162,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -147,6 +179,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -189,17 +221,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other = + (com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -221,131 +252,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -356,13 +392,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance(); } @@ -377,13 +414,17 @@ public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result = + new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -397,38 +438,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataAttributeBindi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -436,7 +478,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -473,22 +517,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -498,23 +545,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -523,21 +575,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -545,30 +600,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -578,18 +644,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -599,6 +671,8 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -607,13 +681,13 @@ public Builder setNameBytes(
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -622,6 +696,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -630,15 +706,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -646,6 +721,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -654,18 +731,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -674,6 +755,7 @@ public Builder setEtag(
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -683,6 +765,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Required. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -691,21 +775,23 @@ public Builder clearEtag() {
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -715,41 +801,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,9 +849,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java index 8cc89a36c516..7883babf4770 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeBindingRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataAttributeBindingRequestOrBuilder extends +public interface DeleteDataAttributeBindingRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -38,10 +65,13 @@ public interface DeleteDataAttributeBindingRequestOrBuilder extends
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Required. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttributeBindingRequest method returns an ABORTED
@@ -50,8 +80,8 @@ public interface DeleteDataAttributeBindingRequestOrBuilder extends
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java index 94dfa697469e..a976a4fff393 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeRequest} */ -public final class DeleteDataAttributeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataAttributeRequest) DeleteDataAttributeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataAttributeRequest.newBuilder() to construct. private DeleteDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataAttributeRequest() { name_ = ""; etag_ = ""; @@ -26,34 +44,41 @@ private DeleteDataAttributeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,15 +121,19 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -111,30 +142,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -143,6 +174,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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_); } @@ -185,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other = (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other = + (com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -217,131 +247,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataAttributeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataAttributeRequest) com.google.cloud.dataplex.v1.DeleteDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; } @java.lang.Override @@ -373,8 +408,11 @@ public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest result = new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteDataAttributeRequest result = + new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,38 +431,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataAttributeReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +471,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -469,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,23 +537,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -519,21 +567,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -541,30 +592,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -574,18 +636,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -595,19 +663,21 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -616,21 +686,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -638,30 +709,37 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -671,27 +749,31 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value, the DeleteDataAttribute method returns an ABORTED error response.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataAttributeRequest) private static final com.google.cloud.dataplex.v1.DeleteDataAttributeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataAttributeRequest(); } @@ -715,27 +797,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +832,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DeleteDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java index c9caf444e5a8..9567b0fa2c04 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataAttributeRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataAttributeRequestOrBuilder extends +public interface DeleteDataAttributeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the DataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value, the DeleteDataAttribute method returns an ABORTED error response.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java index 384613f17d26..38b7a885691d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataScanRequest} */ -public final class DeleteDataScanRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataScanRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataScanRequest) DeleteDataScanRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataScanRequest.newBuilder() to construct. private DeleteDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataScanRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, + com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -54,7 +76,10 @@ protected java.lang.Object newInstance(
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,14 +88,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -78,17 +104,18 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataScanRequest other = (com.google.cloud.dataplex.v1.DeleteDataScanRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataScanRequest other = + (com.google.cloud.dataplex.v1.DeleteDataScanRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,131 +188,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataScanRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataScanRequest) com.google.cloud.dataplex.v1.DeleteDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, + com.google.cloud.dataplex.v1.DeleteDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataScanRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; } @java.lang.Override @@ -316,8 +347,11 @@ public com.google.cloud.dataplex.v1.DeleteDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataScanRequest result = new com.google.cloud.dataplex.v1.DeleteDataScanRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteDataScanRequest result = + new com.google.cloud.dataplex.v1.DeleteDataScanRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -333,38 +367,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataScanRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataScanRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataScanRequest) other); } else { super.mergeFrom(other); return this; @@ -372,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -424,10 +462,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -435,14 +476,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,6 +494,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -458,16 +503,17 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -475,6 +521,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -482,19 +530,25 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -502,7 +556,10 @@ public Builder setName(
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -512,6 +569,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -519,22 +578,26 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -544,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataScanRequest) private static final com.google.cloud.dataplex.v1.DeleteDataScanRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataScanRequest(); } @@ -558,27 +621,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -593,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java new file mode 100644 index 000000000000..91100267a514 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/datascans.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteDataScanRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataScanRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the dataScan:
+   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
+   * where `project` refers to a *project_id* or *project_number* and
+   * `location_id` refers to a GCP region.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the dataScan:
+   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
+   * where `project` refers to a *project_id* or *project_number* and
+   * `location_id` refers to a GCP region.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java index 1b27e798db78..74a59caff679 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataTaxonomyRequest} */ -public final class DeleteDataTaxonomyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) DeleteDataTaxonomyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataTaxonomyRequest.newBuilder() to construct. private DeleteDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataTaxonomyRequest() { name_ = ""; etag_ = ""; @@ -26,34 +44,41 @@ private DeleteDataTaxonomyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,15 +121,19 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -111,30 +142,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -143,6 +174,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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_); } @@ -185,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other = + (com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -217,131 +247,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteDataTaxonomyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -373,8 +408,11 @@ public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest result = + new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,38 +431,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteDataTaxonomyReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +471,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -469,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,23 +537,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -519,21 +567,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -541,30 +592,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -574,18 +636,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -595,19 +663,21 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -616,21 +686,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -638,30 +709,37 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -671,27 +749,31 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. If the client provided etag value does not match the current etag
      * value,the DeleteDataTaxonomy method returns an ABORTED error.
      * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest(); } @@ -715,27 +797,27 @@ public static com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +832,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java index dbd7b685839e..55abec19a218 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataTaxonomyRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface DeleteDataTaxonomyRequestOrBuilder extends +public interface DeleteDataTaxonomyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. If the client provided etag value does not match the current etag
    * value,the DeleteDataTaxonomy method returns an ABORTED error.
    * 
* * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java index 737432ec6452..a712ae729eb7 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete a metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEntityRequest} */ -public final class DeleteEntityRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEntityRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteEntityRequest) DeleteEntityRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEntityRequest.newBuilder() to construct. private DeleteEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEntityRequest() { name_ = ""; etag_ = ""; @@ -26,34 +44,41 @@ private DeleteEntityRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEntityRequest.class, com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEntityRequest.class, + com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,15 +121,19 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ @java.lang.Override @@ -111,30 +142,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -143,6 +174,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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_); } @@ -185,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteEntityRequest other = (com.google.cloud.dataplex.v1.DeleteEntityRequest) obj; + com.google.cloud.dataplex.v1.DeleteEntityRequest other = + (com.google.cloud.dataplex.v1.DeleteEntityRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,132 +246,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete a metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEntityRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteEntityRequest) com.google.cloud.dataplex.v1.DeleteEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEntityRequest.class, com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEntityRequest.class, + com.google.cloud.dataplex.v1.DeleteEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteEntityRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; } @java.lang.Override @@ -373,8 +407,11 @@ public com.google.cloud.dataplex.v1.DeleteEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteEntityRequest result = new com.google.cloud.dataplex.v1.DeleteEntityRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteEntityRequest result = + new com.google.cloud.dataplex.v1.DeleteEntityRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,38 +430,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteEntityRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteEntityRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteEntityRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +470,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteEntityRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -469,22 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,23 +536,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -519,21 +566,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -541,30 +591,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -574,18 +635,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -595,19 +662,21 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -616,21 +685,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -638,30 +708,37 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -671,27 +748,31 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Required. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request.
      * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +782,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteEntityRequest) private static final com.google.cloud.dataplex.v1.DeleteEntityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteEntityRequest(); } @@ -715,27 +796,27 @@ public static com.google.cloud.dataplex.v1.DeleteEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java index dc9e4e51a634..f86c1c06ece9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEntityRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface DeleteEntityRequestOrBuilder extends +public interface DeleteEntityRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEntityRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Required. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request.
    * 
* * string etag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java index 9b3153f2bcc5..8e2e427f9215 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other = (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other = + (com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteEnvironmentRequest) com.google.cloud.dataplex.v1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override @@ -312,8 +344,11 @@ public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest result = new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteEnvironmentRequest result = + new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteEnvironmentRequest) private static final com.google.cloud.dataplex.v1.DeleteEnvironmentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteEnvironmentRequest(); } @@ -544,27 +608,27 @@ public static com.google.cloud.dataplex.v1.DeleteEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java new file mode 100644 index 000000000000..0e4f9c6d6f3f --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteEnvironmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEnvironmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java index df53233bc3ce..c5cfb5bcc71a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteLakeRequest} */ -public final class DeleteLakeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteLakeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteLakeRequest) DeleteLakeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteLakeRequest.newBuilder() to construct. private DeleteLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteLakeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteLakeRequest.class, com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteLakeRequest.class, + com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteLakeRequest other = (com.google.cloud.dataplex.v1.DeleteLakeRequest) obj; + com.google.cloud.dataplex.v1.DeleteLakeRequest other = + (com.google.cloud.dataplex.v1.DeleteLakeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteLakeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteLakeRequest) com.google.cloud.dataplex.v1.DeleteLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteLakeRequest.class, com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteLakeRequest.class, + com.google.cloud.dataplex.v1.DeleteLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteLakeRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.DeleteLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteLakeRequest result = new com.google.cloud.dataplex.v1.DeleteLakeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteLakeRequest result = + new com.google.cloud.dataplex.v1.DeleteLakeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteLakeRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteLakeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteLakeRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteLakeRequest) private static final com.google.cloud.dataplex.v1.DeleteLakeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteLakeRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.DeleteLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java new file mode 100644 index 000000000000..f42cdefbe030 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteLakeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteLakeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java index 5d3636e8c9cd..8b0d96dcd831 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeletePartitionRequest} */ -public final class DeletePartitionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePartitionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeletePartitionRequest) DeletePartitionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePartitionRequest.newBuilder() to construct. private DeletePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePartitionRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeletePartitionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeletePartitionRequest.class, com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.DeletePartitionRequest.class, + com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the partition.
    * format:
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the partition.
    * format:
@@ -81,17 +107,18 @@ public java.lang.String getName() {
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 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 { @@ -100,49 +127,55 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getEtag() { + @java.lang.Deprecated + public java.lang.String getEtag() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getEtagBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -151,6 +184,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -193,17 +226,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeletePartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeletePartitionRequest other = (com.google.cloud.dataplex.v1.DeletePartitionRequest) obj; + com.google.cloud.dataplex.v1.DeletePartitionRequest other = + (com.google.cloud.dataplex.v1.DeletePartitionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,131 +257,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeletePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeletePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeletePartitionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeletePartitionRequest) com.google.cloud.dataplex.v1.DeletePartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeletePartitionRequest.class, com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.DeletePartitionRequest.class, + com.google.cloud.dataplex.v1.DeletePartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeletePartitionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; } @java.lang.Override @@ -381,8 +417,11 @@ public com.google.cloud.dataplex.v1.DeletePartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeletePartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.DeletePartitionRequest result = new com.google.cloud.dataplex.v1.DeletePartitionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeletePartitionRequest result = + new com.google.cloud.dataplex.v1.DeletePartitionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -401,38 +440,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeletePartitionRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeletePartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeletePartitionRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeletePartitionRequest) other); } else { super.mergeFrom(other); return this; @@ -440,7 +480,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DeletePartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -477,22 +518,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,10 +546,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the partition.
      * format:
@@ -514,14 +561,16 @@ public Builder mergeFrom(
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 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; @@ -530,6 +579,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the partition.
      * format:
@@ -538,16 +589,17 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 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 { @@ -555,6 +607,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the partition.
      * format:
@@ -563,19 +617,25 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the partition.
      * format:
@@ -584,7 +644,10 @@ public Builder setName(
      * partition values separated by "/". All values must be provided.
      * 
* - * string 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() { @@ -594,6 +657,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the partition.
      * format:
@@ -602,13 +667,17 @@ public Builder clearName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -618,20 +687,23 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ - @java.lang.Deprecated public java.lang.String getEtag() { + @java.lang.Deprecated + public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -640,22 +712,24 @@ public Builder setNameBytes( } } /** + * + * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getEtagBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -663,63 +737,77 @@ public Builder setNameBytes( } } /** + * + * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @param value The etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearEtag() { + @java.lang.Deprecated + public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** + * + * *
      * Optional. The etag associated with the partition.
      * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @param value The bytes for etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -729,12 +817,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeletePartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeletePartitionRequest) private static final com.google.cloud.dataplex.v1.DeletePartitionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeletePartitionRequest(); } @@ -743,27 +831,27 @@ public static com.google.cloud.dataplex.v1.DeletePartitionRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +866,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeletePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java index 22656d90ec27..e6d701bb2b3a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeletePartitionRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface DeletePartitionRequestOrBuilder extends +public interface DeletePartitionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeletePartitionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the partition.
    * format:
@@ -16,11 +34,16 @@ public interface DeletePartitionRequestOrBuilder extends
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the partition.
    * format:
@@ -29,33 +52,42 @@ public interface DeletePartitionRequestOrBuilder extends
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 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(); /** + * + * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The etag. */ - @java.lang.Deprecated java.lang.String getEtag(); + @java.lang.Deprecated + java.lang.String getEtag(); /** + * + * *
    * Optional. The etag associated with the partition.
    * 
* * string etag = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=318 + * + * @deprecated google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=318 * @return The bytes for etag. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getEtagBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java index d97100535e49..cc4e7b25b386 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteTaskRequest} */ -public final class DeleteTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteTaskRequest) DeleteTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTaskRequest.newBuilder() to construct. private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteTaskRequest.class, com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteTaskRequest.class, + com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteTaskRequest other = (com.google.cloud.dataplex.v1.DeleteTaskRequest) obj; + com.google.cloud.dataplex.v1.DeleteTaskRequest other = + (com.google.cloud.dataplex.v1.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteTaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteTaskRequest) com.google.cloud.dataplex.v1.DeleteTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteTaskRequest.class, com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteTaskRequest.class, + com.google.cloud.dataplex.v1.DeleteTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteTaskRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.DeleteTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteTaskRequest result = new com.google.cloud.dataplex.v1.DeleteTaskRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteTaskRequest result = + new com.google.cloud.dataplex.v1.DeleteTaskRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteTaskRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteTaskRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteTaskRequest) private static final com.google.cloud.dataplex.v1.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteTaskRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.DeleteTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java new file mode 100644 index 000000000000..87a5def5c642 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java index 16dab5aea88c..6623f5426306 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Delete zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteZoneRequest} */ -public final class DeleteZoneRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteZoneRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DeleteZoneRequest) DeleteZoneRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteZoneRequest.newBuilder() to construct. private DeleteZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteZoneRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteZoneRequest.class, com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteZoneRequest.class, + com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DeleteZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DeleteZoneRequest other = (com.google.cloud.dataplex.v1.DeleteZoneRequest) obj; + com.google.cloud.dataplex.v1.DeleteZoneRequest other = + (com.google.cloud.dataplex.v1.DeleteZoneRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DeleteZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DeleteZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DeleteZoneRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DeleteZoneRequest) com.google.cloud.dataplex.v1.DeleteZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DeleteZoneRequest.class, com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.DeleteZoneRequest.class, + com.google.cloud.dataplex.v1.DeleteZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DeleteZoneRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.DeleteZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.DeleteZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.DeleteZoneRequest result = new com.google.cloud.dataplex.v1.DeleteZoneRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DeleteZoneRequest result = + new com.google.cloud.dataplex.v1.DeleteZoneRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DeleteZoneRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DeleteZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.DeleteZoneRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.DeleteZoneRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DeleteZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DeleteZoneRequest) private static final com.google.cloud.dataplex.v1.DeleteZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DeleteZoneRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.DeleteZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DeleteZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java new file mode 100644 index 000000000000..bf513692cbc9 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface DeleteZoneRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java index c38a495cceef..b6064c43fefb 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEvent.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The payload associated with Discovery data processing.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent} */ -public final class DiscoveryEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DiscoveryEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent) DiscoveryEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoveryEvent.newBuilder() to construct. private DiscoveryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiscoveryEvent() { message_ = ""; lakeId_ = ""; @@ -30,34 +48,38 @@ private DiscoveryEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiscoveryEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.class, com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); } /** + * + * *
    * The type of the event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DiscoveryEvent.EventType} */ - public enum EventType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified event type.
      * 
@@ -66,6 +88,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * An event representing discovery configuration in effect.
      * 
@@ -74,6 +98,8 @@ public enum EventType */ CONFIG(1), /** + * + * *
      * An event representing a metadata entity being created.
      * 
@@ -82,6 +108,8 @@ public enum EventType */ ENTITY_CREATED(2), /** + * + * *
      * An event representing a metadata entity being updated.
      * 
@@ -90,6 +118,8 @@ public enum EventType */ ENTITY_UPDATED(3), /** + * + * *
      * An event representing a metadata entity being deleted.
      * 
@@ -98,6 +128,8 @@ public enum EventType */ ENTITY_DELETED(4), /** + * + * *
      * An event representing a partition being created.
      * 
@@ -106,6 +138,8 @@ public enum EventType */ PARTITION_CREATED(5), /** + * + * *
      * An event representing a partition being updated.
      * 
@@ -114,6 +148,8 @@ public enum EventType */ PARTITION_UPDATED(6), /** + * + * *
      * An event representing a partition being deleted.
      * 
@@ -125,6 +161,8 @@ public enum EventType ; /** + * + * *
      * An unspecified event type.
      * 
@@ -133,6 +171,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * An event representing discovery configuration in effect.
      * 
@@ -141,6 +181,8 @@ public enum EventType */ public static final int CONFIG_VALUE = 1; /** + * + * *
      * An event representing a metadata entity being created.
      * 
@@ -149,6 +191,8 @@ public enum EventType */ public static final int ENTITY_CREATED_VALUE = 2; /** + * + * *
      * An event representing a metadata entity being updated.
      * 
@@ -157,6 +201,8 @@ public enum EventType */ public static final int ENTITY_UPDATED_VALUE = 3; /** + * + * *
      * An event representing a metadata entity being deleted.
      * 
@@ -165,6 +211,8 @@ public enum EventType */ public static final int ENTITY_DELETED_VALUE = 4; /** + * + * *
      * An event representing a partition being created.
      * 
@@ -173,6 +221,8 @@ public enum EventType */ public static final int PARTITION_CREATED_VALUE = 5; /** + * + * *
      * An event representing a partition being updated.
      * 
@@ -181,6 +231,8 @@ public enum EventType */ public static final int PARTITION_UPDATED_VALUE = 6; /** + * + * *
      * An event representing a partition being deleted.
      * 
@@ -189,7 +241,6 @@ public enum EventType */ public static final int PARTITION_DELETED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -214,54 +265,59 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: return EVENT_TYPE_UNSPECIFIED; - case 1: return CONFIG; - case 2: return ENTITY_CREATED; - case 3: return ENTITY_UPDATED; - case 4: return ENTITY_DELETED; - case 5: return PARTITION_CREATED; - case 6: return PARTITION_UPDATED; - case 7: return PARTITION_DELETED; - default: return null; + case 0: + return EVENT_TYPE_UNSPECIFIED; + case 1: + return CONFIG; + case 2: + return ENTITY_CREATED; + case 3: + return ENTITY_UPDATED; + case 4: + return ENTITY_DELETED; + case 5: + return PARTITION_CREATED; + case 6: + return PARTITION_UPDATED; + case 7: + return PARTITION_DELETED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - 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.cloud.dataplex.v1.DiscoveryEvent.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; @@ -279,15 +335,18 @@ private EventType(int value) { } /** + * + * *
    * The type of the entity.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityType} */ - public enum EntityType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified event type.
      * 
@@ -296,6 +355,8 @@ public enum EntityType */ ENTITY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Entities representing structured data.
      * 
@@ -304,6 +365,8 @@ public enum EntityType */ TABLE(1), /** + * + * *
      * Entities representing unstructured data.
      * 
@@ -315,6 +378,8 @@ public enum EntityType ; /** + * + * *
      * An unspecified event type.
      * 
@@ -323,6 +388,8 @@ public enum EntityType */ public static final int ENTITY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Entities representing structured data.
      * 
@@ -331,6 +398,8 @@ public enum EntityType */ public static final int TABLE_VALUE = 1; /** + * + * *
      * Entities representing unstructured data.
      * 
@@ -339,7 +408,6 @@ public enum EntityType */ public static final int FILESET_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -364,49 +432,49 @@ public static EntityType valueOf(int value) { */ public static EntityType forNumber(int value) { switch (value) { - case 0: return ENTITY_TYPE_UNSPECIFIED; - case 1: return TABLE; - case 2: return FILESET; - default: return null; + case 0: + return ENTITY_TYPE_UNSPECIFIED; + case 1: + return TABLE; + case 2: + return FILESET; + 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< - EntityType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityType findValueByNumber(int number) { - return EntityType.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 EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DiscoveryEvent.getDescriptor().getEnumTypes().get(1); } private static final EntityType[] VALUES = values(); - public static EntityType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityType 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; @@ -423,11 +491,14 @@ private EntityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityType) } - public interface ConfigDetailsOrBuilder extends + public interface ConfigDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -439,6 +510,8 @@ public interface ConfigDetailsOrBuilder extends
      */
     int getParametersCount();
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -448,15 +521,13 @@ public interface ConfigDetailsOrBuilder extends
      *
      * map<string, string> parameters = 1;
      */
-    boolean containsParameters(
-        java.lang.String key);
-    /**
-     * Use {@link #getParametersMap()} instead.
-     */
+    boolean containsParameters(java.lang.String key);
+    /** Use {@link #getParametersMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getParameters();
+    java.util.Map getParameters();
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -466,9 +537,10 @@ boolean containsParameters(
      *
      * map<string, string> parameters = 1;
      */
-    java.util.Map
-    getParametersMap();
+    java.util.Map getParametersMap();
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -479,11 +551,13 @@ boolean containsParameters(
      * map<string, string> parameters = 1;
      */
     /* nullable */
-java.lang.String getParametersOrDefault(
+    java.lang.String getParametersOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -493,87 +567,92 @@ java.lang.String getParametersOrDefault(
      *
      * map<string, string> parameters = 1;
      */
-    java.lang.String getParametersOrThrow(
-        java.lang.String key);
+    java.lang.String getParametersOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Details about configuration events.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails} */ - public static final class ConfigDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConfigDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) ConfigDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigDetails.newBuilder() to construct. private ConfigDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigDetails() { - } + + private ConfigDetails() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetParameters(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); } public static final int PARAMETERS_FIELD_NUMBER = 1; + private static final class ParametersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> parameters_; + private com.google.protobuf.MapField parameters_; + private com.google.protobuf.MapField - internalGetParameters() { + internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } + public int getParametersCount() { return internalGetParameters().getMap().size(); } /** + * + * *
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -584,20 +663,21 @@ public int getParametersCount() {
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public boolean containsParameters(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsParameters(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetParameters().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getParametersMap()} instead.
-     */
+    /** Use {@link #getParametersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParameters() {
       return getParametersMap();
     }
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -612,6 +692,8 @@ public java.util.Map getParametersMap() {
       return internalGetParameters().getMap();
     }
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -622,17 +704,19 @@ public java.util.Map getParametersMap() {
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getParametersOrDefault(
+    public /* nullable */ java.lang.String getParametersOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetParameters().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetParameters().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A list of discovery configuration parameters in effect.
      * The keys are the field paths within DiscoverySpec.
@@ -643,11 +727,11 @@ java.lang.String getParametersOrDefault(
      * map<string, string> parameters = 1;
      */
     @java.lang.Override
-    public java.lang.String getParametersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetParameters().getMap();
+    public java.lang.String getParametersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetParameters().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -655,6 +739,7 @@ public java.lang.String getParametersOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -666,14 +751,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetParameters(),
-          ParametersDefaultEntryHolder.defaultEntry,
-          1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 1);
       getUnknownFields().writeTo(output);
     }
 
@@ -683,15 +763,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry
-           : internalGetParameters().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(1, parameters__);
+      for (java.util.Map.Entry entry :
+          internalGetParameters().getMap().entrySet()) {
+        com.google.protobuf.MapEntry parameters__ =
+            ParametersDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, parameters__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -701,15 +781,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) obj;
+      com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other =
+          (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) obj;
 
-      if (!internalGetParameters().equals(
-          other.internalGetParameters())) return false;
+      if (!internalGetParameters().equals(other.internalGetParameters())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -731,89 +811,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -823,61 +908,61 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Details about configuration events.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetParameters(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableParameters(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -887,9 +972,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; } @java.lang.Override @@ -908,8 +993,11 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails result = + new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -926,38 +1014,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) other); } else { super.mergeFrom(other); return this; @@ -965,9 +1056,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) return this; - internalGetMutableParameters().mergeFrom( - other.internalGetParameters()); + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) + return this; + internalGetMutableParameters().mergeFrom(other.internalGetParameters()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -995,21 +1086,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - parameters__ = input.readMessage( - ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableParameters().getMutableMap().put( - parameters__.getKey(), parameters__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry parameters__ = + input.readMessage( + ParametersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableParameters() + .getMutableMap() + .put(parameters__.getKey(), parameters__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1019,10 +1114,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> parameters_; + private com.google.protobuf.MapField parameters_; + private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { @@ -1031,11 +1127,12 @@ public Builder mergeFrom( } return parameters_; } + private com.google.protobuf.MapField internalGetMutableParameters() { if (parameters_ == null) { - parameters_ = com.google.protobuf.MapField.newMapField( - ParametersDefaultEntryHolder.defaultEntry); + parameters_ = + com.google.protobuf.MapField.newMapField(ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); @@ -1044,10 +1141,13 @@ public Builder mergeFrom( onChanged(); return parameters_; } + public int getParametersCount() { return internalGetParameters().getMap().size(); } /** + * + * *
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1058,20 +1158,21 @@ public int getParametersCount() {
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public boolean containsParameters(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsParameters(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetParameters().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getParametersMap()} instead.
-       */
+      /** Use {@link #getParametersMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getParameters() {
         return getParametersMap();
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1086,6 +1187,8 @@ public java.util.Map getParametersMap() {
         return internalGetParameters().getMap();
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1096,17 +1199,19 @@ public java.util.Map getParametersMap() {
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public /* nullable */
-java.lang.String getParametersOrDefault(
+      public /* nullable */ java.lang.String getParametersOrDefault(
           java.lang.String key,
           /* nullable */
-java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetParameters().getMap();
+          java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetParameters().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1117,23 +1222,25 @@ java.lang.String getParametersOrDefault(
        * map<string, string> parameters = 1;
        */
       @java.lang.Override
-      public java.lang.String getParametersOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetParameters().getMap();
+      public java.lang.String getParametersOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetParameters().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
+
       public Builder clearParameters() {
         bitField0_ = (bitField0_ & ~0x00000001);
-        internalGetMutableParameters().getMutableMap()
-            .clear();
+        internalGetMutableParameters().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1143,23 +1250,22 @@ public Builder clearParameters() {
        *
        * map<string, string> parameters = 1;
        */
-      public Builder removeParameters(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableParameters().getMutableMap()
-            .remove(key);
+      public Builder removeParameters(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableParameters().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableParameters() {
+      public java.util.Map getMutableParameters() {
         bitField0_ |= 0x00000001;
         return internalGetMutableParameters().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1169,17 +1275,20 @@ public Builder removeParameters(
        *
        * map<string, string> parameters = 1;
        */
-      public Builder putParameters(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        if (value == null) { throw new NullPointerException("map value"); }
-        internalGetMutableParameters().getMutableMap()
-            .put(key, value);
+      public Builder putParameters(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        if (value == null) {
+          throw new NullPointerException("map value");
+        }
+        internalGetMutableParameters().getMutableMap().put(key, value);
         bitField0_ |= 0x00000001;
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of discovery configuration parameters in effect.
        * The keys are the field paths within DiscoverySpec.
@@ -1189,13 +1298,12 @@ public Builder putParameters(
        *
        * map<string, string> parameters = 1;
        */
-      public Builder putAllParameters(
-          java.util.Map values) {
-        internalGetMutableParameters().getMutableMap()
-            .putAll(values);
+      public Builder putAllParameters(java.util.Map values) {
+        internalGetMutableParameters().getMutableMap().putAll(values);
         bitField0_ |= 0x00000001;
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1208,12 +1316,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails)
     private static final com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails();
     }
@@ -1222,27 +1330,28 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ConfigDetails parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ConfigDetails parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1257,70 +1366,84 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface EntityDetailsOrBuilder extends
+  public interface EntityDetailsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType(); } /** + * + * *
    * Details about the entity.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails} */ - public static final class EntityDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EntityDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) EntityDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntityDetails.newBuilder() to construct. private EntityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EntityDetails() { entity_ = ""; type_ = 0; @@ -1328,34 +1451,39 @@ private EntityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EntityDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; + * * @return The entity. */ @java.lang.Override @@ -1364,30 +1492,30 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
      * The name of the entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 1; + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -1398,30 +1526,42 @@ public java.lang.String getEntity() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
      * The type of the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType 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 the entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1433,12 +1573,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } getUnknownFields().writeTo(output); @@ -1453,9 +1594,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1465,15 +1607,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other = + (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) obj; - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1496,89 +1638,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1588,39 +1735,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details about the entity.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1631,9 +1780,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; } @java.lang.Override @@ -1652,8 +1801,11 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails result = + new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1672,38 +1824,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails)other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) other); } else { super.mergeFrom(other); return this; @@ -1711,7 +1866,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) + return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1746,22 +1902,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1771,23 +1930,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object entity_ = ""; /** + * + * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1796,21 +1958,22 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -1818,30 +1981,37 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1851,18 +2021,22 @@ public Builder clearEntity() { return this; } /** + * + * *
        * The name of the entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 1; + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -1872,22 +2046,29 @@ public Builder setEntityBytes( private int type_ = 0; /** + * + * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType 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 the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1898,24 +2079,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED + : result; } /** + * + * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1929,11 +2119,14 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType va return this; } /** + * + * *
        * The type of the entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1942,6 +2135,7 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1954,12 +2148,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) private static final com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails(); } @@ -1968,27 +2162,28 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2003,175 +2198,208 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PartitionDetailsOrBuilder extends + public interface PartitionDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; + * * @return The partition. */ java.lang.String getPartition(); /** + * + * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; + * * @return The bytes for partition. */ - com.google.protobuf.ByteString - getPartitionBytes(); + com.google.protobuf.ByteString getPartitionBytes(); /** + * + * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType(); /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - java.util.List - getSampledDataLocationsList(); + java.util.List getSampledDataLocationsList(); /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ int getSampledDataLocationsCount(); /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ java.lang.String getSampledDataLocations(int index); /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index); + com.google.protobuf.ByteString getSampledDataLocationsBytes(int index); } /** + * + * *
    * Details about the partition.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails} */ - public static final class PartitionDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PartitionDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) PartitionDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionDetails.newBuilder() to construct. private PartitionDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PartitionDetails() { partition_ = ""; entity_ = ""; type_ = 0; - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); } public static final int PARTITION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object partition_ = ""; /** + * + * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; + * * @return The partition. */ @java.lang.Override @@ -2180,30 +2408,30 @@ public java.lang.String getPartition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partition_ = s; return s; } } /** + * + * *
      * The name to the partition resource.
      * The name is the fully-qualified resource name.
      * 
* * string partition = 1; + * * @return The bytes for partition. */ @java.lang.Override - public com.google.protobuf.ByteString - getPartitionBytes() { + public com.google.protobuf.ByteString getPartitionBytes() { java.lang.Object ref = partition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partition_ = b; return b; } else { @@ -2212,15 +2440,19 @@ public java.lang.String getPartition() { } public static final int ENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; + * * @return The entity. */ @java.lang.Override @@ -2229,30 +2461,30 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
      * The name to the containing entity resource.
      * The name is the fully-qualified resource name.
      * 
* * string entity = 2; + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -2263,65 +2495,85 @@ public java.lang.String getEntity() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
      * The type of the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @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 the containing entity resource.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED + : result; } public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { return sampledDataLocations_; } /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -2329,21 +2581,24 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
      * The locations of the data items (e.g., a Cloud Storage objects) sampled
      * for metadata inference.
      * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2355,19 +2610,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entity_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, type_); } for (int i = 0; i < sampledDataLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sampledDataLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, sampledDataLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2384,9 +2641,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } { int dataSize = 0; @@ -2404,20 +2662,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other = + (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) obj; - if (!getPartition() - .equals(other.getPartition())) return false; - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getPartition().equals(other.getPartition())) return false; + if (!getEntity().equals(other.getEntity())) return false; if (type_ != other.type_) return false; - if (!getSampledDataLocationsList() - .equals(other.getSampledDataLocationsList())) return false; + if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2445,89 +2701,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2537,39 +2798,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details about the partition.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2577,19 +2840,19 @@ public Builder clear() { partition_ = ""; entity_ = ""; type_ = 0; - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } @@ -2604,13 +2867,17 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result = + new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.partition_ = partition_; @@ -2631,38 +2898,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.Partition public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails)other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) other); } else { super.mergeFrom(other); return this; @@ -2670,7 +2940,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) + return this; if (!other.getPartition().isEmpty()) { partition_ = other.partition_; bitField0_ |= 0x00000001; @@ -2720,33 +2992,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - partition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSampledDataLocationsIsMutable(); - sampledDataLocations_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + partition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSampledDataLocationsIsMutable(); + sampledDataLocations_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2756,23 +3033,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object partition_ = ""; /** + * + * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; + * * @return The partition. */ public java.lang.String getPartition() { java.lang.Object ref = partition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partition_ = s; return s; @@ -2781,21 +3061,22 @@ public java.lang.String getPartition() { } } /** + * + * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; + * * @return The bytes for partition. */ - public com.google.protobuf.ByteString - getPartitionBytes() { + public com.google.protobuf.ByteString getPartitionBytes() { java.lang.Object ref = partition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partition_ = b; return b; } else { @@ -2803,30 +3084,37 @@ public java.lang.String getPartition() { } } /** + * + * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; + * * @param value The partition to set. * @return This builder for chaining. */ - public Builder setPartition( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPartition(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } partition_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; + * * @return This builder for chaining. */ public Builder clearPartition() { @@ -2836,18 +3124,22 @@ public Builder clearPartition() { return this; } /** + * + * *
        * The name to the partition resource.
        * The name is the fully-qualified resource name.
        * 
* * string partition = 1; + * * @param value The bytes for partition to set. * @return This builder for chaining. */ - public Builder setPartitionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPartitionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); partition_ = value; bitField0_ |= 0x00000001; @@ -2857,19 +3149,21 @@ public Builder setPartitionBytes( private java.lang.Object entity_ = ""; /** + * + * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -2878,21 +3172,22 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -2900,30 +3195,37 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -2933,18 +3235,22 @@ public Builder clearEntity() { return this; } /** + * + * *
        * The name to the containing entity resource.
        * The name is the fully-qualified resource name.
        * 
* * string entity = 2; + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -2954,22 +3260,29 @@ public Builder setEntityBytes( private int type_ = 0; /** + * + * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @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 the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2980,24 +3293,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType.UNRECOGNIZED + : result; } /** + * + * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @param value The type to set. * @return This builder for chaining. */ @@ -3011,11 +3333,14 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityType va return this; } /** + * + * *
        * The type of the containing entity resource.
        * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3027,45 +3352,55 @@ public Builder clearType() { private com.google.protobuf.LazyStringArrayList sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSampledDataLocationsIsMutable() { if (!sampledDataLocations_.isModifiable()) { - sampledDataLocations_ = new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); + sampledDataLocations_ = + new com.google.protobuf.LazyStringArrayList(sampledDataLocations_); } bitField0_ |= 0x00000008; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return A list containing the sampledDataLocations. */ - public com.google.protobuf.ProtocolStringList - getSampledDataLocationsList() { + public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() { sampledDataLocations_.makeImmutable(); return sampledDataLocations_; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return The count of sampledDataLocations. */ public int getSampledDataLocationsCount() { return sampledDataLocations_.size(); } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the element to return. * @return The sampledDataLocations at the given index. */ @@ -3073,33 +3408,39 @@ public java.lang.String getSampledDataLocations(int index) { return sampledDataLocations_.get(index); } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index of the value to return. * @return The bytes of the sampledDataLocations at the given index. */ - public com.google.protobuf.ByteString - getSampledDataLocationsBytes(int index) { + public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) { return sampledDataLocations_.getByteString(index); } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param index The index to set the value at. * @param value The sampledDataLocations to set. * @return This builder for chaining. */ - public Builder setSampledDataLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSampledDataLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -3107,18 +3448,22 @@ public Builder setSampledDataLocations( return this; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param value The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); bitField0_ |= 0x00000008; @@ -3126,53 +3471,61 @@ public Builder addSampledDataLocations( return this; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param values The sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addAllSampledDataLocations( - java.lang.Iterable values) { + public Builder addAllSampledDataLocations(java.lang.Iterable values) { ensureSampledDataLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampledDataLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @return This builder for chaining. */ public Builder clearSampledDataLocations() { - sampledDataLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
        * The locations of the data items (e.g., a Cloud Storage objects) sampled
        * for metadata inference.
        * 
* * repeated string sampled_data_locations = 4; + * * @param value The bytes of the sampledDataLocations to add. * @return This builder for chaining. */ - public Builder addSampledDataLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSampledDataLocationsIsMutable(); sampledDataLocations_.add(value); @@ -3180,6 +3533,7 @@ public Builder addSampledDataLocationsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3192,41 +3546,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) - private static final com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails(); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstance() { + public static com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3238,88 +3595,102 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ActionDetailsOrBuilder extends + public interface ActionDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); } /** + * + * *
    * Details about the action.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails} */ - public static final class ActionDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ActionDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) ActionDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ActionDetails.newBuilder() to construct. private ActionDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ActionDetails() { type_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ActionDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -3328,30 +3699,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
      * The type of action.
      * Eg. IncompatibleDataSchema, InvalidDataFormat
      * 
* * 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 { @@ -3360,6 +3731,7 @@ public java.lang.String getType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3371,8 +3743,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3396,15 +3767,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other = (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) obj; + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other = + (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) obj; - if (!getType() - .equals(other.getType())) return false; + if (!getType().equals(other.getType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3424,89 +3795,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3516,39 +3892,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details about the action.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3558,9 +3936,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; } @java.lang.Override @@ -3579,8 +3957,11 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails result = new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails result = + new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3596,38 +3977,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails)other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) other); } else { super.mergeFrom(other); return this; @@ -3635,7 +4019,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails other) { - if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) + return this; if (!other.getType().isEmpty()) { type_ = other.type_; bitField0_ |= 0x00000001; @@ -3667,17 +4052,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3687,23 +4074,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object type_ = ""; /** + * + * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * 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; @@ -3712,21 +4102,22 @@ public java.lang.String getType() { } } /** + * + * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * 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 { @@ -3734,30 +4125,37 @@ public java.lang.String getType() { } } /** + * + * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3767,24 +4165,29 @@ public Builder clearType() { return this; } /** + * + * *
        * The type of action.
        * Eg. IncompatibleDataSchema, InvalidDataFormat
        * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3797,12 +4200,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) private static final com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails(); } @@ -3811,27 +4214,28 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActionDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActionDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3846,14 +4250,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int detailsCase_ = 0; + @SuppressWarnings("serial") 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 { CONFIG(20), ENTITY(21), @@ -3861,6 +4267,7 @@ public enum DetailsCase ACTION(23), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -3876,34 +4283,43 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 20: return CONFIG; - case 21: return ENTITY; - case 22: return PARTITION; - case 23: return ACTION; - case 0: return DETAILS_NOT_SET; - default: return null; + case 20: + return CONFIG; + case 21: + return ENTITY; + case 22: + return PARTITION; + case 23: + return ACTION; + 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 MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -3912,29 +4328,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -3943,14 +4359,18 @@ public java.lang.String getMessage() { } public static final int LAKE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object lakeId_ = ""; /** + * + * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; + * * @return The lakeId. */ @java.lang.Override @@ -3959,29 +4379,29 @@ public java.lang.String getLakeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; } } /** + * + * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; + * * @return The bytes for lakeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLakeIdBytes() { + public com.google.protobuf.ByteString getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lakeId_ = b; return b; } else { @@ -3990,14 +4410,18 @@ public java.lang.String getLakeId() { } public static final int ZONE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object zoneId_ = ""; /** + * + * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; + * * @return The zoneId. */ @java.lang.Override @@ -4006,29 +4430,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** + * + * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; + * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -4037,14 +4461,18 @@ public java.lang.String getZoneId() { } public static final int ASSET_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object assetId_ = ""; /** + * + * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; + * * @return The assetId. */ @java.lang.Override @@ -4053,29 +4481,29 @@ public java.lang.String getAssetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; } } /** + * + * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; + * * @return The bytes for assetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetIdBytes() { + public com.google.protobuf.ByteString getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetId_ = b; return b; } else { @@ -4084,14 +4512,18 @@ public java.lang.String getAssetId() { } public static final int DATA_LOCATION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object dataLocation_ = ""; /** + * + * *
    * The data location associated with the event.
    * 
* * string data_location = 5; + * * @return The dataLocation. */ @java.lang.Override @@ -4100,29 +4532,29 @@ public java.lang.String getDataLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataLocation_ = s; return s; } } /** + * + * *
    * The data location associated with the event.
    * 
* * string data_location = 5; + * * @return The bytes for dataLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataLocationBytes() { + public com.google.protobuf.ByteString getDataLocationBytes() { java.lang.Object ref = dataLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataLocation_ = b; return b; } else { @@ -4133,36 +4565,50 @@ public java.lang.String getDataLocation() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** + * + * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @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 the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED + : result; } public static final int CONFIG_FIELD_NUMBER = 20; /** + * + * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return Whether the config field is set. */ @java.lang.Override @@ -4170,21 +4616,26 @@ public boolean hasConfig() { return detailsCase_ == 20; } /** + * + * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return The config. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { if (detailsCase_ == 20) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } /** + * + * *
    * Details about discovery configuration in effect.
    * 
@@ -4194,18 +4645,21 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder() { if (detailsCase_ == 20) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } public static final int ENTITY_FIELD_NUMBER = 21; /** + * + * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -4213,21 +4667,26 @@ public boolean hasEntity() { return detailsCase_ == 21; } /** + * + * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return The entity. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } /** + * + * *
    * Details about the entity associated with the event.
    * 
@@ -4237,18 +4696,21 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder() { if (detailsCase_ == 21) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } public static final int PARTITION_FIELD_NUMBER = 22; /** + * + * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return Whether the partition field is set. */ @java.lang.Override @@ -4256,21 +4718,26 @@ public boolean hasPartition() { return detailsCase_ == 22; } /** + * + * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return The partition. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } /** + * + * *
    * Details about the partition associated with the event.
    * 
@@ -4278,20 +4745,24 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder + getPartitionOrBuilder() { if (detailsCase_ == 22) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } public static final int ACTION_FIELD_NUMBER = 23; /** + * + * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return Whether the action field is set. */ @java.lang.Override @@ -4299,21 +4770,26 @@ public boolean hasAction() { return detailsCase_ == 23; } /** + * + * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return The action. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { if (detailsCase_ == 23) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } /** + * + * *
    * Details about the action associated with the event.
    * 
@@ -4323,12 +4799,13 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getActionOrBuilder() { if (detailsCase_ == 23) { - return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; + return (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_; } return com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4340,8 +4817,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -4357,7 +4833,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataLocation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataLocation_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, type_); } if (detailsCase_ == 20) { @@ -4367,7 +4845,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); } if (detailsCase_ == 22) { - output.writeMessage(22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); + output.writeMessage( + 22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); } if (detailsCase_ == 23) { output.writeMessage(23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); @@ -4396,25 +4875,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataLocation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataLocation_); } - if (type_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, type_); + if (type_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); } if (detailsCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 20, (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_); } if (detailsCase_ == 21) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_); } if (detailsCase_ == 22) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_); } if (detailsCase_ == 23) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 23, (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4424,41 +4908,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.cloud.dataplex.v1.DiscoveryEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.DiscoveryEvent other = (com.google.cloud.dataplex.v1.DiscoveryEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getLakeId() - .equals(other.getLakeId())) return false; - if (!getZoneId() - .equals(other.getZoneId())) return false; - if (!getAssetId() - .equals(other.getAssetId())) return false; - if (!getDataLocation() - .equals(other.getDataLocation())) return false; + com.google.cloud.dataplex.v1.DiscoveryEvent other = + (com.google.cloud.dataplex.v1.DiscoveryEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getLakeId().equals(other.getLakeId())) return false; + if (!getZoneId().equals(other.getZoneId())) return false; + if (!getAssetId().equals(other.getAssetId())) return false; + if (!getDataLocation().equals(other.getDataLocation())) return false; if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 20: - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; break; case 21: - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; break; case 22: - if (!getPartition() - .equals(other.getPartition())) return false; + if (!getPartition().equals(other.getPartition())) return false; break; case 23: - if (!getAction() - .equals(other.getAction())) return false; + if (!getAction().equals(other.getAction())) return false; break; case 0: default: @@ -4511,132 +4987,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DiscoveryEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.DiscoveryEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.DiscoveryEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 payload associated with Discovery data processing.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.DiscoveryEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DiscoveryEvent) com.google.cloud.dataplex.v1.DiscoveryEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.DiscoveryEvent.class, com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); + com.google.cloud.dataplex.v1.DiscoveryEvent.class, + com.google.cloud.dataplex.v1.DiscoveryEvent.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DiscoveryEvent.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4665,9 +5145,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; } @java.lang.Override @@ -4686,8 +5166,11 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent build() { @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent buildPartial() { - com.google.cloud.dataplex.v1.DiscoveryEvent result = new com.google.cloud.dataplex.v1.DiscoveryEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.DiscoveryEvent result = + new com.google.cloud.dataplex.v1.DiscoveryEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -4718,20 +5201,16 @@ private void buildPartial0(com.google.cloud.dataplex.v1.DiscoveryEvent result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.DiscoveryEvent result) { result.detailsCase_ = detailsCase_; result.details_ = this.details_; - if (detailsCase_ == 20 && - configBuilder_ != null) { + if (detailsCase_ == 20 && configBuilder_ != null) { result.details_ = configBuilder_.build(); } - if (detailsCase_ == 21 && - entityBuilder_ != null) { + if (detailsCase_ == 21 && entityBuilder_ != null) { result.details_ = entityBuilder_.build(); } - if (detailsCase_ == 22 && - partitionBuilder_ != null) { + if (detailsCase_ == 22 && partitionBuilder_ != null) { result.details_ = partitionBuilder_.build(); } - if (detailsCase_ == 23 && - actionBuilder_ != null) { + if (detailsCase_ == 23 && actionBuilder_ != null) { result.details_ = actionBuilder_.build(); } } @@ -4740,38 +5219,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.DiscoveryEvent resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DiscoveryEvent) { - return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent)other); + return mergeFrom((com.google.cloud.dataplex.v1.DiscoveryEvent) other); } else { super.mergeFrom(other); return this; @@ -4809,25 +5289,30 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.DiscoveryEvent other) { setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case CONFIG: { - mergeConfig(other.getConfig()); - break; - } - case ENTITY: { - mergeEntity(other.getEntity()); - break; - } - case PARTITION: { - mergePartition(other.getPartition()); - break; - } - case ACTION: { - mergeAction(other.getAction()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case CONFIG: + { + mergeConfig(other.getConfig()); + break; + } + case ENTITY: + { + mergeEntity(other.getEntity()); + break; + } + case PARTITION: + { + mergePartition(other.getPartition()); + break; + } + case ACTION: + { + mergeAction(other.getAction()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4855,70 +5340,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - lakeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - zoneId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - assetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - dataLocation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 80: { - type_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 80 - case 162: { - input.readMessage( - getConfigFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 20; - break; - } // case 162 - case 170: { - input.readMessage( - getEntityFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 21; - break; - } // case 170 - case 178: { - input.readMessage( - getPartitionFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 22; - break; - } // case 178 - case 186: { - input.readMessage( - getActionFieldBuilder().getBuilder(), - extensionRegistry); - detailsCase_ = 23; - break; - } // case 186 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + lakeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + zoneId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + assetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + dataLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 80: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 80 + case 162: + { + input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 20; + break; + } // case 162 + case 170: + { + input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 21; + break; + } // case 170 + case 178: + { + input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 22; + break; + } // case 178 + case 186: + { + input.readMessage(getActionFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 23; + break; + } // case 186 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4928,12 +5416,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4947,18 +5435,20 @@ public Builder clearDetails() { private java.lang.Object message_ = ""; /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -4967,20 +5457,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -4988,28 +5479,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -5019,17 +5517,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -5039,18 +5541,20 @@ public Builder setMessageBytes( private java.lang.Object lakeId_ = ""; /** + * + * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; + * * @return The lakeId. */ public java.lang.String getLakeId() { java.lang.Object ref = lakeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lakeId_ = s; return s; @@ -5059,20 +5563,21 @@ public java.lang.String getLakeId() { } } /** + * + * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; + * * @return The bytes for lakeId. */ - public com.google.protobuf.ByteString - getLakeIdBytes() { + public com.google.protobuf.ByteString getLakeIdBytes() { java.lang.Object ref = lakeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lakeId_ = b; return b; } else { @@ -5080,28 +5585,35 @@ public java.lang.String getLakeId() { } } /** + * + * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; + * * @param value The lakeId to set. * @return This builder for chaining. */ - public Builder setLakeId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLakeId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } lakeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; + * * @return This builder for chaining. */ public Builder clearLakeId() { @@ -5111,17 +5623,21 @@ public Builder clearLakeId() { return this; } /** + * + * *
      * The id of the associated lake.
      * 
* * string lake_id = 2; + * * @param value The bytes for lakeId to set. * @return This builder for chaining. */ - public Builder setLakeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLakeIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); lakeId_ = value; bitField0_ |= 0x00000002; @@ -5131,18 +5647,20 @@ public Builder setLakeIdBytes( private java.lang.Object zoneId_ = ""; /** + * + * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; + * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -5151,20 +5669,21 @@ public java.lang.String getZoneId() { } } /** + * + * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; + * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -5172,28 +5691,35 @@ public java.lang.String getZoneId() { } } /** + * + * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; + * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -5203,17 +5729,21 @@ public Builder clearZoneId() { return this; } /** + * + * *
      * The id of the associated zone.
      * 
* * string zone_id = 3; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000004; @@ -5223,18 +5753,20 @@ public Builder setZoneIdBytes( private java.lang.Object assetId_ = ""; /** + * + * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; + * * @return The assetId. */ public java.lang.String getAssetId() { java.lang.Object ref = assetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetId_ = s; return s; @@ -5243,20 +5775,21 @@ public java.lang.String getAssetId() { } } /** + * + * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; + * * @return The bytes for assetId. */ - public com.google.protobuf.ByteString - getAssetIdBytes() { + public com.google.protobuf.ByteString getAssetIdBytes() { java.lang.Object ref = assetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetId_ = b; return b; } else { @@ -5264,28 +5797,35 @@ public java.lang.String getAssetId() { } } /** + * + * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; + * * @param value The assetId to set. * @return This builder for chaining. */ - public Builder setAssetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; + * * @return This builder for chaining. */ public Builder clearAssetId() { @@ -5295,17 +5835,21 @@ public Builder clearAssetId() { return this; } /** + * + * *
      * The id of the associated asset.
      * 
* * string asset_id = 4; + * * @param value The bytes for assetId to set. * @return This builder for chaining. */ - public Builder setAssetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetId_ = value; bitField0_ |= 0x00000008; @@ -5315,18 +5859,20 @@ public Builder setAssetIdBytes( private java.lang.Object dataLocation_ = ""; /** + * + * *
      * The data location associated with the event.
      * 
* * string data_location = 5; + * * @return The dataLocation. */ public java.lang.String getDataLocation() { java.lang.Object ref = dataLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataLocation_ = s; return s; @@ -5335,20 +5881,21 @@ public java.lang.String getDataLocation() { } } /** + * + * *
      * The data location associated with the event.
      * 
* * string data_location = 5; + * * @return The bytes for dataLocation. */ - public com.google.protobuf.ByteString - getDataLocationBytes() { + public com.google.protobuf.ByteString getDataLocationBytes() { java.lang.Object ref = dataLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataLocation_ = b; return b; } else { @@ -5356,28 +5903,35 @@ public java.lang.String getDataLocation() { } } /** + * + * *
      * The data location associated with the event.
      * 
* * string data_location = 5; + * * @param value The dataLocation to set. * @return This builder for chaining. */ - public Builder setDataLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataLocation_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The data location associated with the event.
      * 
* * string data_location = 5; + * * @return This builder for chaining. */ public Builder clearDataLocation() { @@ -5387,17 +5941,21 @@ public Builder clearDataLocation() { return this; } /** + * + * *
      * The data location associated with the event.
      * 
* * string data_location = 5; + * * @param value The bytes for dataLocation to set. * @return This builder for chaining. */ - public Builder setDataLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataLocation_ = value; bitField0_ |= 0x00000010; @@ -5407,22 +5965,29 @@ public Builder setDataLocationBytes( private int type_ = 0; /** + * + * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @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 the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5433,24 +5998,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType() { - com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType result = + com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.DiscoveryEvent.EventType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @param value The type to set. * @return This builder for chaining. */ @@ -5464,11 +6038,14 @@ public Builder setType(com.google.cloud.dataplex.v1.DiscoveryEvent.EventType val return this; } /** + * + * *
      * The type of the event being logged.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @return This builder for chaining. */ public Builder clearType() { @@ -5479,13 +6056,19 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> configBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> + configBuilder_; /** + * + * *
      * Details about discovery configuration in effect.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return Whether the config field is set. */ @java.lang.Override @@ -5493,11 +6076,14 @@ public boolean hasConfig() { return detailsCase_ == 20; } /** + * + * *
      * Details about discovery configuration in effect.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return The config. */ @java.lang.Override @@ -5515,6 +6101,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig() { } } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5535,6 +6123,8 @@ public Builder setConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetai return this; } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5553,6 +6143,8 @@ public Builder setConfig( return this; } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5561,10 +6153,14 @@ public Builder setConfig( */ public Builder mergeConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails value) { if (configBuilder_ == null) { - if (detailsCase_ == 20 && - details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 20 + && details_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.newBuilder( + (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -5580,6 +6176,8 @@ public Builder mergeConfig(com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDet return this; } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5603,6 +6201,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5613,6 +6213,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder getConf return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5631,6 +6233,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon } } /** + * + * *
      * Details about discovery configuration in effect.
      * 
@@ -5638,14 +6242,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { if (!(detailsCase_ == 20)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.getDefaultInstance(); } - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder>( + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails) details_, getParentForChildren(), isClean()); @@ -5657,13 +6266,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getCon } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> entityBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> + entityBuilder_; /** + * + * *
      * Details about the entity associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -5671,11 +6286,14 @@ public boolean hasEntity() { return detailsCase_ == 21; } /** + * + * *
      * Details about the entity associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return The entity. */ @java.lang.Override @@ -5693,6 +6311,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity() { } } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5713,6 +6333,8 @@ public Builder setEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetai return this; } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5731,6 +6353,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5739,10 +6363,14 @@ public Builder setEntity( */ public Builder mergeEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails value) { if (entityBuilder_ == null) { - if (detailsCase_ == 21 && - details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 21 + && details_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.newBuilder( + (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -5758,6 +6386,8 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDet return this; } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5781,6 +6411,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5791,6 +6423,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder getEnti return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5809,6 +6443,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt } } /** + * + * *
      * Details about the entity associated with the event.
      * 
@@ -5816,14 +6452,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { if (!(detailsCase_ == 21)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.getDefaultInstance(); } - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder>( + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails) details_, getParentForChildren(), isClean()); @@ -5835,13 +6476,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEnt } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> partitionBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> + partitionBuilder_; /** + * + * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return Whether the partition field is set. */ @java.lang.Override @@ -5849,11 +6496,14 @@ public boolean hasPartition() { return detailsCase_ == 22; } /** + * + * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return The partition. */ @java.lang.Override @@ -5871,13 +6521,16 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition } } /** + * + * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public Builder setPartition(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { + public Builder setPartition( + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { if (partitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5891,6 +6544,8 @@ public Builder setPartition(com.google.cloud.dataplex.v1.DiscoveryEvent.Partitio return this; } /** + * + * *
      * Details about the partition associated with the event.
      * 
@@ -5909,18 +6564,26 @@ public Builder setPartition( return this; } /** + * + * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public Builder mergePartition(com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { + public Builder mergePartition( + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails value) { if (partitionBuilder_ == null) { - if (detailsCase_ == 22 && - details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 22 + && details_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails + .getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.newBuilder( + (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -5936,6 +6599,8 @@ public Builder mergePartition(com.google.cloud.dataplex.v1.DiscoveryEvent.Partit return this; } /** + * + * *
      * Details about the partition associated with the event.
      * 
@@ -5959,16 +6624,21 @@ public Builder clearPartition() { return this; } /** + * + * *
      * Details about the partition associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder + getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * Details about the partition associated with the event.
      * 
@@ -5976,7 +6646,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder getP * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder() { + public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder + getPartitionOrBuilder() { if ((detailsCase_ == 22) && (partitionBuilder_ != null)) { return partitionBuilder_.getMessageOrBuilder(); } else { @@ -5987,6 +6658,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder get } } /** + * + * *
      * Details about the partition associated with the event.
      * 
@@ -5994,14 +6667,20 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder get * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { if (!(detailsCase_ == 22)) { - details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); + details_ = + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.getDefaultInstance(); } - partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder>( + partitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails) details_, getParentForChildren(), isClean()); @@ -6013,13 +6692,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> actionBuilder_; + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> + actionBuilder_; /** + * + * *
      * Details about the action associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return Whether the action field is set. */ @java.lang.Override @@ -6027,11 +6712,14 @@ public boolean hasAction() { return detailsCase_ == 23; } /** + * + * *
      * Details about the action associated with the event.
      * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return The action. */ @java.lang.Override @@ -6049,6 +6737,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction() { } } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6069,6 +6759,8 @@ public Builder setAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetai return this; } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6087,6 +6779,8 @@ public Builder setAction( return this; } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6095,10 +6789,14 @@ public Builder setAction( */ public Builder mergeAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails value) { if (actionBuilder_ == null) { - if (detailsCase_ == 23 && - details_ != com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) { - details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder((com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 23 + && details_ + != com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance()) { + details_ = + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.newBuilder( + (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -6114,6 +6812,8 @@ public Builder mergeAction(com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDet return this; } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6137,6 +6837,8 @@ public Builder clearAction() { return this; } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6147,6 +6849,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder getActi return getActionFieldBuilder().getBuilder(); } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6165,6 +6869,8 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct } } /** + * + * *
      * Details about the action associated with the event.
      * 
@@ -6172,14 +6878,19 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { if (!(detailsCase_ == 23)) { details_ = com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.getDefaultInstance(); } - actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder>( + actionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.Builder, + com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder>( (com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails) details_, getParentForChildren(), isClean()); @@ -6189,9 +6900,9 @@ public com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsOrBuilder getAct onChanged(); return actionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6201,12 +6912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DiscoveryEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DiscoveryEvent) private static final com.google.cloud.dataplex.v1.DiscoveryEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DiscoveryEvent(); } @@ -6215,27 +6926,27 @@ public static com.google.cloud.dataplex.v1.DiscoveryEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoveryEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoveryEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6250,6 +6961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.DiscoveryEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java similarity index 82% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java index 4f540ff9bdc1..2818e1bf6e7d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DiscoveryEventOrBuilder.java @@ -1,150 +1,205 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface DiscoveryEventOrBuilder extends +public interface DiscoveryEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DiscoveryEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; + * * @return The lakeId. */ java.lang.String getLakeId(); /** + * + * *
    * The id of the associated lake.
    * 
* * string lake_id = 2; + * * @return The bytes for lakeId. */ - com.google.protobuf.ByteString - getLakeIdBytes(); + com.google.protobuf.ByteString getLakeIdBytes(); /** + * + * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; + * * @return The zoneId. */ java.lang.String getZoneId(); /** + * + * *
    * The id of the associated zone.
    * 
* * string zone_id = 3; + * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString - getZoneIdBytes(); + com.google.protobuf.ByteString getZoneIdBytes(); /** + * + * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; + * * @return The assetId. */ java.lang.String getAssetId(); /** + * + * *
    * The id of the associated asset.
    * 
* * string asset_id = 4; + * * @return The bytes for assetId. */ - com.google.protobuf.ByteString - getAssetIdBytes(); + com.google.protobuf.ByteString getAssetIdBytes(); /** + * + * *
    * The data location associated with the event.
    * 
* * string data_location = 5; + * * @return The dataLocation. */ java.lang.String getDataLocation(); /** + * + * *
    * The data location associated with the event.
    * 
* * string data_location = 5; + * * @return The bytes for dataLocation. */ - com.google.protobuf.ByteString - getDataLocationBytes(); + com.google.protobuf.ByteString getDataLocationBytes(); /** + * + * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the event being logged.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10; + * * @return The type. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EventType getType(); /** + * + * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Details about discovery configuration in effect.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; + * * @return The config. */ com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails getConfig(); /** + * + * *
    * Details about discovery configuration in effect.
    * 
@@ -154,24 +209,32 @@ public interface DiscoveryEventOrBuilder extends com.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder(); /** + * + * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Details about the entity associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; + * * @return The entity. */ com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails getEntity(); /** + * + * *
    * Details about the entity associated with the event.
    * 
@@ -181,24 +244,32 @@ public interface DiscoveryEventOrBuilder extends com.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder(); /** + * + * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return Whether the partition field is set. */ boolean hasPartition(); /** + * + * *
    * Details about the partition associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; + * * @return The partition. */ com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails getPartition(); /** + * + * *
    * Details about the partition associated with the event.
    * 
@@ -208,24 +279,32 @@ public interface DiscoveryEventOrBuilder extends com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder(); /** + * + * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return Whether the action field is set. */ boolean hasAction(); /** + * + * *
    * Details about the action associated with the event.
    * 
* * .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; + * * @return The action. */ com.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails getAction(); /** + * + * *
    * Details about the action associated with the event.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java index 4cb6093c3766..b7c12b43e2df 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Entity.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Represents tables and fileset metadata contained within a zone.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { name_ = ""; displayName_ = ""; @@ -36,34 +54,38 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.class, com.google.cloud.dataplex.v1.Entity.Builder.class); + com.google.cloud.dataplex.v1.Entity.class, + com.google.cloud.dataplex.v1.Entity.Builder.class); } /** + * + * *
    * The type of entity.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Entity.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unspecified.
      * 
@@ -72,6 +94,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Structured and semi-structured data.
      * 
@@ -80,6 +104,8 @@ public enum Type */ TABLE(1), /** + * + * *
      * Unstructured data.
      * 
@@ -91,6 +117,8 @@ public enum Type ; /** + * + * *
      * Type unspecified.
      * 
@@ -99,6 +127,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Structured and semi-structured data.
      * 
@@ -107,6 +137,8 @@ public enum Type */ public static final int TABLE_VALUE = 1; /** + * + * *
      * Unstructured data.
      * 
@@ -115,7 +147,6 @@ public enum Type */ public static final int FILESET_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -140,49 +171,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return TABLE; - case 2: return FILESET; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return TABLE; + case 2: + return FILESET; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Entity.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -199,189 +230,240 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Entity.Type) } - public interface CompatibilityStatusOrBuilder extends + public interface CompatibilityStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity.CompatibilityStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the hiveMetastore field is set. */ boolean hasHiveMetastore(); /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The hiveMetastore. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore(); /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getHiveMetastoreOrBuilder(); /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigquery field is set. */ boolean hasBigquery(); /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigquery. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery(); /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getBigqueryOrBuilder(); } /** + * + * *
    * Provides compatibility information for various metadata stores.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus} */ - public static final class CompatibilityStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompatibilityStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus) CompatibilityStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompatibilityStatus.newBuilder() to construct. private CompatibilityStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompatibilityStatus() { - } + + private CompatibilityStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompatibilityStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); } - public interface CompatibilityOrBuilder extends + public interface CompatibilityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Output only. Whether the entity is compatible and can be represented in
        * the metadata store.
        * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The compatible. */ boolean getCompatible(); /** + * + * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reason. */ java.lang.String getReason(); /** + * + * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for reason. */ - com.google.protobuf.ByteString - getReasonBytes(); + com.google.protobuf.ByteString getReasonBytes(); } /** + * + * *
      * Provides compatibility information for a specific metadata store.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility} */ - public static final class Compatibility extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Compatibility extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) CompatibilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Compatibility.newBuilder() to construct. private Compatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Compatibility() { reason_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Compatibility(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + .class); } public static final int COMPATIBLE_FIELD_NUMBER = 1; private boolean compatible_ = false; /** + * + * *
        * Output only. Whether the entity is compatible and can be represented in
        * the metadata store.
        * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The compatible. */ @java.lang.Override @@ -390,15 +472,19 @@ public boolean getCompatible() { } public static final int REASON_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object reason_ = ""; /** + * + * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reason. */ @java.lang.Override @@ -407,30 +493,30 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** + * + * *
        * Output only. Provides additional detail if the entity is incompatible
        * with the metadata store.
        * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString - getReasonBytes() { + public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { @@ -439,6 +525,7 @@ public java.lang.String getReason() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,8 +537,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (compatible_ != false) { output.writeBool(1, compatible_); } @@ -468,8 +554,7 @@ public int getSerializedSize() { size = 0; if (compatible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, compatible_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, compatible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_); @@ -482,17 +567,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)) { + if (!(obj + instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other = (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) obj; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other = + (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) obj; - if (getCompatible() - != other.getCompatible()) return false; - if (!getReason() - .equals(other.getReason())) return false; + if (getCompatible() != other.getCompatible()) return false; + if (!getReason().equals(other.getReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -505,8 +590,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COMPATIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCompatible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCompatible()); hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -515,89 +599,96 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -607,39 +698,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Provides compatibility information for a specific metadata store.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.class, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + .class); } - // Construct using com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -650,19 +745,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility build() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = buildPartial(); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -670,14 +768,19 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bui } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility buildPartial() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + buildPartial() { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result = + new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.compatible_ = compatible_; @@ -691,46 +794,54 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) { - return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility)other); + if (other + instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) { + return mergeFrom( + (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other) { - if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility other) { + if (other + == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance()) return this; if (other.getCompatible() != false) { setCompatible(other.getCompatible()); } @@ -765,22 +876,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - compatible_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - reason_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + compatible_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + reason_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -790,16 +904,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean compatible_ ; + private boolean compatible_; /** + * + * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The compatible. */ @java.lang.Override @@ -807,12 +925,15 @@ public boolean getCompatible() { return compatible_; } /** + * + * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The compatible to set. * @return This builder for chaining. */ @@ -824,12 +945,15 @@ public Builder setCompatible(boolean value) { return this; } /** + * + * *
          * Output only. Whether the entity is compatible and can be represented in
          * the metadata store.
          * 
* * bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCompatible() { @@ -841,19 +965,21 @@ public Builder clearCompatible() { private java.lang.Object reason_ = ""; /** + * + * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -862,21 +988,22 @@ public java.lang.String getReason() { } } /** + * + * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for reason. */ - public com.google.protobuf.ByteString - getReasonBytes() { + public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { @@ -884,30 +1011,37 @@ public java.lang.String getReason() { } } /** + * + * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReason(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReason() { @@ -917,24 +1051,29 @@ public Builder clearReason() { return this; } /** + * + * *
          * Output only. Provides additional detail if the entity is incompatible
          * with the metadata store.
          * 
* * string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReasonBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -947,41 +1086,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility) - private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility(); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Compatibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Compatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,20 +1136,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int HIVE_METASTORE_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hiveMetastore_; /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the hiveMetastore field is set. */ @java.lang.Override @@ -1014,37 +1162,59 @@ public boolean hasHiveMetastore() { return hiveMetastore_ != null; } /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The hiveMetastore. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore() { - return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + getHiveMetastore() { + return hiveMetastore_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : hiveMetastore_; } /** + * + * *
      * Output only. Whether this entity is compatible with Hive Metastore.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder() { - return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getHiveMetastoreOrBuilder() { + return hiveMetastore_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : hiveMetastore_; } public static final int BIGQUERY_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery_; /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigquery field is set. */ @java.lang.Override @@ -1052,30 +1222,47 @@ public boolean hasBigquery() { return bigquery_ != null; } /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigquery. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery() { - return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; + return bigquery_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : bigquery_; } /** + * + * *
      * Output only. Whether this entity is compatible with BigQuery.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder() { - return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getBigqueryOrBuilder() { + return bigquery_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : bigquery_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1087,8 +1274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (hiveMetastore_ != null) { output.writeMessage(1, getHiveMetastore()); } @@ -1105,12 +1291,10 @@ public int getSerializedSize() { size = 0; if (hiveMetastore_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHiveMetastore()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHiveMetastore()); } if (bigquery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBigquery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBigquery()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1120,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.cloud.dataplex.v1.Entity.CompatibilityStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other = (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) obj; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other = + (com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) obj; if (hasHiveMetastore() != other.hasHiveMetastore()) return false; if (hasHiveMetastore()) { - if (!getHiveMetastore() - .equals(other.getHiveMetastore())) return false; + if (!getHiveMetastore().equals(other.getHiveMetastore())) return false; } if (hasBigquery() != other.hasBigquery()) return false; if (hasBigquery()) { - if (!getBigquery() - .equals(other.getBigquery())) return false; + if (!getBigquery().equals(other.getBigquery())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1162,89 +1345,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1254,39 +1442,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Provides compatibility information for various metadata stores.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity.CompatibilityStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity.CompatibilityStatus) com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.class, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; } @java.lang.Override @@ -1326,8 +1516,11 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus buildPartial() { - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result = + new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1335,14 +1528,11 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.hiveMetastore_ = hiveMetastoreBuilder_ == null - ? hiveMetastore_ - : hiveMetastoreBuilder_.build(); + result.hiveMetastore_ = + hiveMetastoreBuilder_ == null ? hiveMetastore_ : hiveMetastoreBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.bigquery_ = bigqueryBuilder_ == null - ? bigquery_ - : bigqueryBuilder_.build(); + result.bigquery_ = bigqueryBuilder_ == null ? bigquery_ : bigqueryBuilder_.build(); } } @@ -1350,38 +1540,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity.CompatibilityStat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Entity.CompatibilityStatus) other); } else { super.mergeFrom(other); return this; @@ -1389,7 +1582,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus other) { - if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) + return this; if (other.hasHiveMetastore()) { mergeHiveMetastore(other.getHiveMetastore()); } @@ -1422,26 +1616,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getHiveMetastoreFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getBigqueryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getHiveMetastoreFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getBigqueryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1451,45 +1644,68 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hiveMetastore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> hiveMetastoreBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + hiveMetastoreBuilder_; /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the hiveMetastore field is set. */ public boolean hasHiveMetastore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The hiveMetastore. */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getHiveMetastore() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + getHiveMetastore() { if (hiveMetastoreBuilder_ == null) { - return hiveMetastore_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; + return hiveMetastore_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : hiveMetastore_; } else { return hiveMetastoreBuilder_.getMessage(); } } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setHiveMetastore(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder setHiveMetastore( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (hiveMetastoreBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1503,14 +1719,19 @@ public Builder setHiveMetastore(com.google.cloud.dataplex.v1.Entity.Compatibilit return this; } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setHiveMetastore( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder builderForValue) { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + builderForValue) { if (hiveMetastoreBuilder_ == null) { hiveMetastore_ = builderForValue.build(); } else { @@ -1521,17 +1742,24 @@ public Builder setHiveMetastore( return this; } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeHiveMetastore(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder mergeHiveMetastore( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (hiveMetastoreBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - hiveMetastore_ != null && - hiveMetastore_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && hiveMetastore_ != null + && hiveMetastore_ + != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance()) { getHiveMetastoreBuilder().mergeFrom(value); } else { hiveMetastore_ = value; @@ -1544,11 +1772,15 @@ public Builder mergeHiveMetastore(com.google.cloud.dataplex.v1.Entity.Compatibil return this; } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearHiveMetastore() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1561,48 +1793,67 @@ public Builder clearHiveMetastore() { return this; } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder getHiveMetastoreBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + getHiveMetastoreBuilder() { bitField0_ |= 0x00000001; onChanged(); return getHiveMetastoreFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getHiveMetastoreOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getHiveMetastoreOrBuilder() { if (hiveMetastoreBuilder_ != null) { return hiveMetastoreBuilder_.getMessageOrBuilder(); } else { - return hiveMetastore_ == null ? - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : hiveMetastore_; + return hiveMetastore_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : hiveMetastore_; } } /** + * + * *
        * Output only. Whether this entity is compatible with Hive Metastore.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility hive_metastore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> getHiveMetastoreFieldBuilder() { if (hiveMetastoreBuilder_ == null) { - hiveMetastoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( - getHiveMetastore(), - getParentForChildren(), - isClean()); + hiveMetastoreBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( + getHiveMetastore(), getParentForChildren(), isClean()); hiveMetastore_ = null; } return hiveMetastoreBuilder_; @@ -1610,41 +1861,62 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBu private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> bigqueryBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + bigqueryBuilder_; /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigquery field is set. */ public boolean hasBigquery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigquery. */ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility getBigquery() { if (bigqueryBuilder_ == null) { - return bigquery_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; + return bigquery_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : bigquery_; } else { return bigqueryBuilder_.getMessage(); } } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder setBigquery( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (bigqueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1658,14 +1930,19 @@ public Builder setBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilityStat return this; } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigquery( - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder builderForValue) { + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + builderForValue) { if (bigqueryBuilder_ == null) { bigquery_ = builderForValue.build(); } else { @@ -1676,17 +1953,24 @@ public Builder setBigquery( return this; } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { + public Builder mergeBigquery( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility value) { if (bigqueryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - bigquery_ != null && - bigquery_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && bigquery_ != null + && bigquery_ + != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance()) { getBigqueryBuilder().mergeFrom(value); } else { bigquery_ = value; @@ -1699,11 +1983,15 @@ public Builder mergeBigquery(com.google.cloud.dataplex.v1.Entity.CompatibilitySt return this; } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigquery() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1716,52 +2004,72 @@ public Builder clearBigquery() { return this; } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder getBigqueryBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder + getBigqueryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBigqueryFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder getBigqueryOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder + getBigqueryOrBuilder() { if (bigqueryBuilder_ != null) { return bigqueryBuilder_.getMessageOrBuilder(); } else { - return bigquery_ == null ? - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.getDefaultInstance() : bigquery_; + return bigquery_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility + .getDefaultInstance() + : bigquery_; } } /** + * + * *
        * Output only. Whether this entity is compatible with BigQuery.
        * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility bigquery = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder> getBigqueryFieldBuilder() { if (bigqueryBuilder_ == null) { - bigqueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( - getBigquery(), - getParentForChildren(), - isClean()); + bigqueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityOrBuilder>( + getBigquery(), getParentForChildren(), isClean()); bigquery_ = null; } return bigqueryBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1774,12 +2082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity.CompatibilityStatus) private static final com.google.cloud.dataplex.v1.Entity.CompatibilityStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity.CompatibilityStatus(); } @@ -1788,27 +2096,28 @@ public static com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompatibilityStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompatibilityStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1823,19 +2132,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -1844,30 +2158,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; } } /** + * + * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1876,14 +2192,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -1892,29 +2212,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; } } /** + * + * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1923,15 +2243,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1940,30 +2264,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; } } /** + * + * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1974,11 +2298,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1986,11 +2314,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1998,11 +2330,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2012,11 +2347,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2024,11 +2363,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -2036,11 +2379,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2048,9 +2394,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -2060,6 +2409,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -2068,14 +2418,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -2085,16 +2436,15 @@ public java.lang.String getId() {
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2103,15 +2453,19 @@ public java.lang.String getId() { } public static final int ETAG_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -2120,30 +2474,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -2154,40 +2508,59 @@ public java.lang.String getEtag() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** + * + * *
    * Required. Immutable. The type of entity.
    * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Immutable. The type of entity.
    * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Entity.Type getType() { - com.google.cloud.dataplex.v1.Entity.Type result = com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Entity.Type getType() { + com.google.cloud.dataplex.v1.Entity.Type result = + com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Entity.Type.UNRECOGNIZED : result; } public static final int ASSET_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** + * + * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The asset. */ @java.lang.Override @@ -2196,31 +2569,33 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -2229,9 +2604,12 @@ public java.lang.String getAsset() { } public static final int DATA_PATH_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object dataPath_ = ""; /** + * + * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -2240,7 +2618,10 @@ public java.lang.String getAsset() {
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataPath. */ @java.lang.Override @@ -2249,14 +2630,15 @@ public java.lang.String getDataPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPath_ = s; return s; } } /** + * + * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -2265,17 +2647,18 @@ public java.lang.String getDataPath() {
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for dataPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataPathBytes() { + public com.google.protobuf.ByteString getDataPathBytes() { java.lang.Object ref = dataPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataPath_ = b; return b; } else { @@ -2284,9 +2667,12 @@ public java.lang.String getDataPath() { } public static final int DATA_PATH_PATTERN_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object dataPathPattern_ = ""; /** + * + * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -2294,6 +2680,7 @@ public java.lang.String getDataPath() {
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dataPathPattern. */ @java.lang.Override @@ -2302,14 +2689,15 @@ public java.lang.String getDataPathPattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPathPattern_ = s; return s; } } /** + * + * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -2317,16 +2705,15 @@ public java.lang.String getDataPathPattern() {
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for dataPathPattern. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataPathPatternBytes() { + public com.google.protobuf.ByteString getDataPathPatternBytes() { java.lang.Object ref = dataPathPattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataPathPattern_ = b; return b; } else { @@ -2335,14 +2722,18 @@ public java.lang.String getDataPathPattern() { } public static final int CATALOG_ENTRY_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object catalogEntry_ = ""; /** + * + * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The catalogEntry. */ @java.lang.Override @@ -2351,29 +2742,29 @@ public java.lang.String getCatalogEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalogEntry_ = s; return s; } } /** + * + * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for catalogEntry. */ @java.lang.Override - public com.google.protobuf.ByteString - getCatalogEntryBytes() { + public com.google.protobuf.ByteString getCatalogEntryBytes() { java.lang.Object ref = catalogEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); catalogEntry_ = b; return b; } else { @@ -2384,38 +2775,56 @@ public java.lang.String getCatalogEntry() { public static final int SYSTEM_FIELD_NUMBER = 15; private int system_ = 0; /** + * + * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for system. */ - @java.lang.Override public int getSystemValue() { + @java.lang.Override + public int getSystemValue() { return system_; } /** + * + * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The system. */ - @java.lang.Override public com.google.cloud.dataplex.v1.StorageSystem getSystem() { - com.google.cloud.dataplex.v1.StorageSystem result = com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); + @java.lang.Override + public com.google.cloud.dataplex.v1.StorageSystem getSystem() { + com.google.cloud.dataplex.v1.StorageSystem result = + com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); return result == null ? com.google.cloud.dataplex.v1.StorageSystem.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 16; private com.google.cloud.dataplex.v1.StorageFormat format_; /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the format field is set. */ @java.lang.Override @@ -2423,39 +2832,57 @@ public boolean hasFormat() { return format_ != null; } /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The format. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat getFormat() { - return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; + return format_ == null + ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() + : format_; } /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() { - return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; + return format_ == null + ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() + : format_; } public static final int COMPATIBILITY_FIELD_NUMBER = 19; private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility_; /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the compatibility field is set. */ @java.lang.Override @@ -2463,38 +2890,57 @@ public boolean hasCompatibility() { return compatibility_ != null; } /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The compatibility. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility() { - return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; + return compatibility_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() + : compatibility_; } /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder() { - return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder + getCompatibilityOrBuilder() { + return compatibility_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() + : compatibility_; } public static final int ACCESS_FIELD_NUMBER = 21; private com.google.cloud.dataplex.v1.StorageAccess access_; /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the access field is set. */ @java.lang.Override @@ -2502,41 +2948,58 @@ public boolean hasAccess() { return access_ != null; } /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The access. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess getAccess() { - return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; + return access_ == null + ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() + : access_; } /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() { - return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; + return access_ == null + ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() + : access_; } public static final int UID_FIELD_NUMBER = 22; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2545,30 +3008,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2579,13 +3042,17 @@ public java.lang.String getUid() { public static final int SCHEMA_FIELD_NUMBER = 50; private com.google.cloud.dataplex.v1.Schema schema_; /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the schema field is set. */ @java.lang.Override @@ -2593,13 +3060,17 @@ public boolean hasSchema() { return schema_ != null; } /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The schema. */ @java.lang.Override @@ -2607,13 +3078,16 @@ public com.google.cloud.dataplex.v1.Schema getSchema() { return schema_ == null ? com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; } /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { @@ -2621,6 +3095,7 @@ public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2632,8 +3107,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2670,7 +3144,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, catalogEntry_); } - if (system_ != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { + if (system_ + != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { output.writeEnum(15, system_); } if (format_ != null) { @@ -2707,12 +3182,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, id_); @@ -2721,8 +3194,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } if (type_ != com.google.cloud.dataplex.v1.Entity.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, asset_); @@ -2736,28 +3208,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogEntry_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, catalogEntry_); } - if (system_ != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, system_); + if (system_ + != com.google.cloud.dataplex.v1.StorageSystem.STORAGE_SYSTEM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, system_); } if (format_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getFormat()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getFormat()); } if (compatibility_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getCompatibility()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCompatibility()); } if (access_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getAccess()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAccess()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, uid_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(50, getSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getSchema()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2767,64 +3235,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Entity)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Entity other = (com.google.cloud.dataplex.v1.Entity) 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 (!getId() - .equals(other.getId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getId().equals(other.getId())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (type_ != other.type_) return false; - if (!getAsset() - .equals(other.getAsset())) return false; - if (!getDataPath() - .equals(other.getDataPath())) return false; - if (!getDataPathPattern() - .equals(other.getDataPathPattern())) return false; - if (!getCatalogEntry() - .equals(other.getCatalogEntry())) return false; + if (!getAsset().equals(other.getAsset())) return false; + if (!getDataPath().equals(other.getDataPath())) return false; + if (!getDataPathPattern().equals(other.getDataPathPattern())) return false; + if (!getCatalogEntry().equals(other.getCatalogEntry())) return false; if (system_ != other.system_) return false; if (hasFormat() != other.hasFormat()) return false; if (hasFormat()) { - if (!getFormat() - .equals(other.getFormat())) return false; + if (!getFormat().equals(other.getFormat())) return false; } if (hasCompatibility() != other.hasCompatibility()) return false; if (hasCompatibility()) { - if (!getCompatibility() - .equals(other.getCompatibility())) return false; + if (!getCompatibility().equals(other.getCompatibility())) return false; } if (hasAccess() != other.hasAccess()) return false; if (hasAccess()) { - if (!getAccess() - .equals(other.getAccess())) return false; + if (!getAccess().equals(other.getAccess())) return false; } - if (!getUid() - .equals(other.getUid())) return false; + if (!getUid().equals(other.getUid())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { - if (!getSchema() - .equals(other.getSchema())) return false; + if (!getSchema().equals(other.getSchema())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2890,132 +3342,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Entity parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Entity parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Entity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Entity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Entity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tables and fileset metadata contained within a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Entity} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Entity) com.google.cloud.dataplex.v1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Entity.class, com.google.cloud.dataplex.v1.Entity.Builder.class); + com.google.cloud.dataplex.v1.Entity.class, + com.google.cloud.dataplex.v1.Entity.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Entity.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3066,9 +3521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Entity_descriptor; } @java.lang.Override @@ -3088,7 +3543,9 @@ public com.google.cloud.dataplex.v1.Entity build() { @java.lang.Override public com.google.cloud.dataplex.v1.Entity buildPartial() { com.google.cloud.dataplex.v1.Entity result = new com.google.cloud.dataplex.v1.Entity(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3105,14 +3562,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { result.description_ = description_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.id_ = id_; @@ -3139,27 +3592,20 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { result.system_ = system_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.format_ = formatBuilder_ == null - ? format_ - : formatBuilder_.build(); + result.format_ = formatBuilder_ == null ? format_ : formatBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.compatibility_ = compatibilityBuilder_ == null - ? compatibility_ - : compatibilityBuilder_.build(); + result.compatibility_ = + compatibilityBuilder_ == null ? compatibility_ : compatibilityBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.access_ = accessBuilder_ == null - ? access_ - : accessBuilder_.build(); + result.access_ = accessBuilder_ == null ? access_ : accessBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00020000) != 0)) { - result.schema_ = schemaBuilder_ == null - ? schema_ - : schemaBuilder_.build(); + result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build(); } } @@ -3167,38 +3613,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Entity result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Entity) { - return mergeFrom((com.google.cloud.dataplex.v1.Entity)other); + return mergeFrom((com.google.cloud.dataplex.v1.Entity) other); } else { super.mergeFrom(other); return this; @@ -3307,114 +3754,121 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 80: { - type_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 80 - case 90: { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 90 - case 98: { - dataPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 98 - case 106: { - dataPathPattern_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 106 - case 114: { - catalogEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 114 - case 120: { - system_ = input.readEnum(); - bitField0_ |= 0x00001000; - break; - } // case 120 - case 130: { - input.readMessage( - getFormatFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 130 - case 154: { - input.readMessage( - getCompatibilityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 154 - case 170: { - input.readMessage( - getAccessFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 170 - case 178: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 178 - case 402: { - input.readMessage( - getSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 402 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 80: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 80 + case 90: + { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 90 + case 98: + { + dataPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 98 + case 106: + { + dataPathPattern_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 106 + case 114: + { + catalogEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 114 + case 120: + { + system_ = input.readEnum(); + bitField0_ |= 0x00001000; + break; + } // case 120 + case 130: + { + input.readMessage(getFormatFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 130 + case 154: + { + input.readMessage(getCompatibilityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 154 + case 170: + { + input.readMessage(getAccessFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 170 + case 178: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 178 + case 402: + { + input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 402 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3424,23 +3878,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3449,21 +3908,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3471,30 +3933,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -3504,18 +3977,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of the entity, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3525,18 +4004,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3545,20 +4026,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -3566,28 +4048,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3597,17 +4086,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. Display name must be shorter than or equal to 256 characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3617,19 +4110,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3638,21 +4133,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -3660,30 +4156,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3693,18 +4196,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. User friendly longer description text. Must be shorter than or
      * equal to 1024 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -3714,39 +4221,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 time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3762,14 +4288,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3780,17 +4309,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3803,11 +4336,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3820,11 +4357,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3832,36 +4373,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time when the entity was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> 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_; @@ -3869,39 +4422,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 time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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 time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3917,14 +4489,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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(); } else { @@ -3935,17 +4510,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3958,11 +4537,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3975,11 +4558,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3987,36 +4574,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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 time when the entity was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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_; @@ -4024,6 +4623,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object id_ = ""; /** + * + * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4033,13 +4634,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -4048,6 +4649,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4057,15 +4660,14 @@ public java.lang.String getId() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -4073,6 +4675,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4082,18 +4686,22 @@ public java.lang.String getId() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4103,6 +4711,7 @@ public Builder setId(
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -4112,6 +4721,8 @@ public Builder clearId() { return this; } /** + * + * *
      * Required. A user-provided entity ID. It is mutable, and will be used as the
      * published table name. Specifying a new ID in an update entity
@@ -4121,12 +4732,14 @@ public Builder clearId() {
      * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000020; @@ -4136,19 +4749,21 @@ public Builder setIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4157,21 +4772,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -4179,30 +4795,37 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4212,18 +4835,22 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The etag associated with the entity, which can be retrieved with
      * a [GetEntity][] request. Required for update and delete requests.
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000040; @@ -4233,22 +4860,33 @@ public Builder setEtagBytes( private int type_ = 0; /** + * + * *
      * Required. Immutable. The type of entity.
      * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. The type of entity.
      * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4259,24 +4897,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The type of entity.
      * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Entity.Type getType() { - com.google.cloud.dataplex.v1.Entity.Type result = com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Entity.Type result = + com.google.cloud.dataplex.v1.Entity.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Entity.Type.UNRECOGNIZED : result; } /** + * + * *
      * Required. Immutable. The type of entity.
      * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -4290,11 +4939,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Entity.Type value) { return this; } /** + * + * *
      * Required. Immutable. The type of entity.
      * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -4306,20 +4960,24 @@ public Builder clearType() { private java.lang.Object asset_ = ""; /** + * + * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -4328,22 +4986,25 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for asset. */ - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -4351,32 +5012,43 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } asset_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -4386,19 +5058,25 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Required. Immutable. The ID of the asset associated with the storage
      * location containing the entity data. The entity must be with in the same
      * zone with the asset.
      * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000100; @@ -4408,6 +5086,8 @@ public Builder setAssetBytes( private java.lang.Object dataPath_ = ""; /** + * + * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -4416,14 +5096,16 @@ public Builder setAssetBytes(
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataPath. */ public java.lang.String getDataPath() { java.lang.Object ref = dataPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPath_ = s; return s; @@ -4432,6 +5114,8 @@ public java.lang.String getDataPath() { } } /** + * + * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -4440,16 +5124,17 @@ public java.lang.String getDataPath() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for dataPath. */ - public com.google.protobuf.ByteString - getDataPathBytes() { + public com.google.protobuf.ByteString getDataPathBytes() { java.lang.Object ref = dataPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataPath_ = b; return b; } else { @@ -4457,6 +5142,8 @@ public java.lang.String getDataPath() { } } /** + * + * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -4465,19 +5152,25 @@ public java.lang.String getDataPath() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The dataPath to set. * @return This builder for chaining. */ - public Builder setDataPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataPath_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -4486,7 +5179,10 @@ public Builder setDataPath(
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDataPath() { @@ -4496,6 +5192,8 @@ public Builder clearDataPath() { return this; } /** + * + * *
      * Required. Immutable. The storage path of the entity data.
      * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -4504,13 +5202,17 @@ public Builder clearDataPath() {
      * `projects/project_id/datasets/dataset_id/tables/table_id`.
      * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for dataPath to set. * @return This builder for chaining. */ - public Builder setDataPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataPath_ = value; bitField0_ |= 0x00000200; @@ -4520,6 +5222,8 @@ public Builder setDataPathBytes( private java.lang.Object dataPathPattern_ = ""; /** + * + * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -4527,13 +5231,13 @@ public Builder setDataPathBytes(
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dataPathPattern. */ public java.lang.String getDataPathPattern() { java.lang.Object ref = dataPathPattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataPathPattern_ = s; return s; @@ -4542,6 +5246,8 @@ public java.lang.String getDataPathPattern() { } } /** + * + * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -4549,15 +5255,14 @@ public java.lang.String getDataPathPattern() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for dataPathPattern. */ - public com.google.protobuf.ByteString - getDataPathPatternBytes() { + public com.google.protobuf.ByteString getDataPathPatternBytes() { java.lang.Object ref = dataPathPattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataPathPattern_ = b; return b; } else { @@ -4565,6 +5270,8 @@ public java.lang.String getDataPathPattern() { } } /** + * + * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -4572,18 +5279,22 @@ public java.lang.String getDataPathPattern() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The dataPathPattern to set. * @return This builder for chaining. */ - public Builder setDataPathPattern( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataPathPattern(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataPathPattern_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -4591,6 +5302,7 @@ public Builder setDataPathPattern(
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDataPathPattern() { @@ -4600,6 +5312,8 @@ public Builder clearDataPathPattern() { return this; } /** + * + * *
      * Optional. The set of items within the data path constituting the data in
      * the entity, represented as a glob path. Example:
@@ -4607,12 +5321,14 @@ public Builder clearDataPathPattern() {
      * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for dataPathPattern to set. * @return This builder for chaining. */ - public Builder setDataPathPatternBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataPathPatternBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataPathPattern_ = value; bitField0_ |= 0x00000400; @@ -4622,18 +5338,20 @@ public Builder setDataPathPatternBytes( private java.lang.Object catalogEntry_ = ""; /** + * + * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The catalogEntry. */ public java.lang.String getCatalogEntry() { java.lang.Object ref = catalogEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalogEntry_ = s; return s; @@ -4642,20 +5360,21 @@ public java.lang.String getCatalogEntry() { } } /** + * + * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for catalogEntry. */ - public com.google.protobuf.ByteString - getCatalogEntryBytes() { + public com.google.protobuf.ByteString getCatalogEntryBytes() { java.lang.Object ref = catalogEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); catalogEntry_ = b; return b; } else { @@ -4663,28 +5382,35 @@ public java.lang.String getCatalogEntry() { } } /** + * + * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The catalogEntry to set. * @return This builder for chaining. */ - public Builder setCatalogEntry( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCatalogEntry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } catalogEntry_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCatalogEntry() { @@ -4694,17 +5420,21 @@ public Builder clearCatalogEntry() { return this; } /** + * + * *
      * Output only. The name of the associated Data Catalog entry.
      * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for catalogEntry to set. * @return This builder for chaining. */ - public Builder setCatalogEntryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCatalogEntryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); catalogEntry_ = value; bitField0_ |= 0x00000800; @@ -4714,22 +5444,33 @@ public Builder setCatalogEntryBytes( private int system_ = 0; /** + * + * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for system. */ - @java.lang.Override public int getSystemValue() { + @java.lang.Override + public int getSystemValue() { return system_; } /** + * + * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for system to set. * @return This builder for chaining. */ @@ -4740,24 +5481,35 @@ public Builder setSystemValue(int value) { return this; } /** + * + * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The system. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageSystem getSystem() { - com.google.cloud.dataplex.v1.StorageSystem result = com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); + com.google.cloud.dataplex.v1.StorageSystem result = + com.google.cloud.dataplex.v1.StorageSystem.forNumber(system_); return result == null ? com.google.cloud.dataplex.v1.StorageSystem.UNRECOGNIZED : result; } /** + * + * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The system to set. * @return This builder for chaining. */ @@ -4771,11 +5523,16 @@ public Builder setSystem(com.google.cloud.dataplex.v1.StorageSystem value) { return this; } /** + * + * *
      * Required. Immutable. Identifies the storage system of the entity data.
      * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearSystem() { @@ -4787,42 +5544,61 @@ public Builder clearSystem() { private com.google.cloud.dataplex.v1.StorageFormat format_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder> formatBuilder_; + com.google.cloud.dataplex.v1.StorageFormat, + com.google.cloud.dataplex.v1.StorageFormat.Builder, + com.google.cloud.dataplex.v1.StorageFormatOrBuilder> + formatBuilder_; /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the format field is set. */ public boolean hasFormat() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The format. */ public com.google.cloud.dataplex.v1.StorageFormat getFormat() { if (formatBuilder_ == null) { - return format_ == null ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; + return format_ == null + ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() + : format_; } else { return formatBuilder_.getMessage(); } } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat value) { if (formatBuilder_ == null) { @@ -4838,15 +5614,18 @@ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat value) { return this; } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFormat( - com.google.cloud.dataplex.v1.StorageFormat.Builder builderForValue) { + public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat.Builder builderForValue) { if (formatBuilder_ == null) { format_ = builderForValue.build(); } else { @@ -4857,18 +5636,22 @@ public Builder setFormat( return this; } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFormat(com.google.cloud.dataplex.v1.StorageFormat value) { if (formatBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - format_ != null && - format_ != com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && format_ != null + && format_ != com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance()) { getFormatBuilder().mergeFrom(value); } else { format_ = value; @@ -4881,12 +5664,16 @@ public Builder mergeFormat(com.google.cloud.dataplex.v1.StorageFormat value) { return this; } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4899,12 +5686,16 @@ public Builder clearFormat() { return this; } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.StorageFormat.Builder getFormatBuilder() { bitField0_ |= 0x00002000; @@ -4912,38 +5703,50 @@ public com.google.cloud.dataplex.v1.StorageFormat.Builder getFormatBuilder() { return getFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() { if (formatBuilder_ != null) { return formatBuilder_.getMessageOrBuilder(); } else { - return format_ == null ? - com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() : format_; + return format_ == null + ? com.google.cloud.dataplex.v1.StorageFormat.getDefaultInstance() + : format_; } } /** + * + * *
      * Required. Identifies the storage format of the entity data.
      * It does not apply to entities with data stored in BigQuery.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat, + com.google.cloud.dataplex.v1.StorageFormat.Builder, + com.google.cloud.dataplex.v1.StorageFormatOrBuilder> getFormatFieldBuilder() { if (formatBuilder_ == null) { - formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat, com.google.cloud.dataplex.v1.StorageFormat.Builder, com.google.cloud.dataplex.v1.StorageFormatOrBuilder>( - getFormat(), - getParentForChildren(), - isClean()); + formatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat, + com.google.cloud.dataplex.v1.StorageFormat.Builder, + com.google.cloud.dataplex.v1.StorageFormatOrBuilder>( + getFormat(), getParentForChildren(), isClean()); format_ = null; } return formatBuilder_; @@ -4951,39 +5754,58 @@ public com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder() private com.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> compatibilityBuilder_; + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> + compatibilityBuilder_; /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the compatibility field is set. */ public boolean hasCompatibility() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The compatibility. */ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility() { if (compatibilityBuilder_ == null) { - return compatibility_ == null ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; + return compatibility_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() + : compatibility_; } else { return compatibilityBuilder_.getMessage(); } } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompatibility(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { if (compatibilityBuilder_ == null) { @@ -4999,11 +5821,15 @@ public Builder setCompatibility(com.google.cloud.dataplex.v1.Entity.Compatibilit return this; } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompatibility( com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder builderForValue) { @@ -5017,17 +5843,23 @@ public Builder setCompatibility( return this; } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeCompatibility(com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { + public Builder mergeCompatibility( + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus value) { if (compatibilityBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - compatibility_ != null && - compatibility_ != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && compatibility_ != null + && compatibility_ + != com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance()) { getCompatibilityBuilder().mergeFrom(value); } else { compatibility_ = value; @@ -5040,11 +5872,15 @@ public Builder mergeCompatibility(com.google.cloud.dataplex.v1.Entity.Compatibil return this; } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCompatibility() { bitField0_ = (bitField0_ & ~0x00004000); @@ -5057,48 +5893,66 @@ public Builder clearCompatibility() { return this; } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder getCompatibilityBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder + getCompatibilityBuilder() { bitField0_ |= 0x00004000; onChanged(); return getCompatibilityFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder() { + public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder + getCompatibilityOrBuilder() { if (compatibilityBuilder_ != null) { return compatibilityBuilder_.getMessageOrBuilder(); } else { - return compatibility_ == null ? - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() : compatibility_; + return compatibility_ == null + ? com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.getDefaultInstance() + : compatibility_; } } /** + * + * *
      * Output only. Metadata stores that the entity is compatible with.
      * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder> getCompatibilityFieldBuilder() { if (compatibilityBuilder_ == null) { - compatibilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder>( - getCompatibility(), - getParentForChildren(), - isClean()); + compatibilityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatus.Builder, + com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder>( + getCompatibility(), getParentForChildren(), isClean()); compatibility_ = null; } return compatibilityBuilder_; @@ -5106,42 +5960,61 @@ public com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompa private com.google.cloud.dataplex.v1.StorageAccess access_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder> accessBuilder_; + com.google.cloud.dataplex.v1.StorageAccess, + com.google.cloud.dataplex.v1.StorageAccess.Builder, + com.google.cloud.dataplex.v1.StorageAccessOrBuilder> + accessBuilder_; /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the access field is set. */ public boolean hasAccess() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The access. */ public com.google.cloud.dataplex.v1.StorageAccess getAccess() { if (accessBuilder_ == null) { - return access_ == null ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; + return access_ == null + ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() + : access_; } else { return accessBuilder_.getMessage(); } } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess value) { if (accessBuilder_ == null) { @@ -5157,15 +6030,18 @@ public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess value) { return this; } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAccess( - com.google.cloud.dataplex.v1.StorageAccess.Builder builderForValue) { + public Builder setAccess(com.google.cloud.dataplex.v1.StorageAccess.Builder builderForValue) { if (accessBuilder_ == null) { access_ = builderForValue.build(); } else { @@ -5176,18 +6052,22 @@ public Builder setAccess( return this; } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAccess(com.google.cloud.dataplex.v1.StorageAccess value) { if (accessBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - access_ != null && - access_ != com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && access_ != null + && access_ != com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance()) { getAccessBuilder().mergeFrom(value); } else { access_ = value; @@ -5200,12 +6080,16 @@ public Builder mergeAccess(com.google.cloud.dataplex.v1.StorageAccess value) { return this; } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAccess() { bitField0_ = (bitField0_ & ~0x00008000); @@ -5218,12 +6102,16 @@ public Builder clearAccess() { return this; } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.StorageAccess.Builder getAccessBuilder() { bitField0_ |= 0x00008000; @@ -5231,38 +6119,50 @@ public com.google.cloud.dataplex.v1.StorageAccess.Builder getAccessBuilder() { return getAccessFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() { if (accessBuilder_ != null) { return accessBuilder_.getMessageOrBuilder(); } else { - return access_ == null ? - com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() : access_; + return access_ == null + ? com.google.cloud.dataplex.v1.StorageAccess.getDefaultInstance() + : access_; } } /** + * + * *
      * Output only. Identifies the access mechanism to the entity. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder> + com.google.cloud.dataplex.v1.StorageAccess, + com.google.cloud.dataplex.v1.StorageAccess.Builder, + com.google.cloud.dataplex.v1.StorageAccessOrBuilder> getAccessFieldBuilder() { if (accessBuilder_ == null) { - accessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageAccess, com.google.cloud.dataplex.v1.StorageAccess.Builder, com.google.cloud.dataplex.v1.StorageAccessOrBuilder>( - getAccess(), - getParentForChildren(), - isClean()); + accessBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageAccess, + com.google.cloud.dataplex.v1.StorageAccess.Builder, + com.google.cloud.dataplex.v1.StorageAccessOrBuilder>( + getAccess(), getParentForChildren(), isClean()); access_ = null; } return accessBuilder_; @@ -5270,19 +6170,21 @@ public com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder() private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -5291,21 +6193,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5313,30 +6216,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -5346,18 +6256,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated unique ID for the Entity. This ID will be
      * different if the Entity is deleted and re-created with the same name.
      * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00010000; @@ -5367,28 +6281,39 @@ public Builder setUidBytes( private com.google.cloud.dataplex.v1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder> schemaBuilder_; + com.google.cloud.dataplex.v1.Schema, + com.google.cloud.dataplex.v1.Schema.Builder, + com.google.cloud.dataplex.v1.SchemaOrBuilder> + schemaBuilder_; /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The schema. */ public com.google.cloud.dataplex.v1.Schema getSchema() { @@ -5399,13 +6324,16 @@ public com.google.cloud.dataplex.v1.Schema getSchema() { } } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSchema(com.google.cloud.dataplex.v1.Schema value) { if (schemaBuilder_ == null) { @@ -5421,16 +6349,18 @@ public Builder setSchema(com.google.cloud.dataplex.v1.Schema value) { return this; } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSchema( - com.google.cloud.dataplex.v1.Schema.Builder builderForValue) { + public Builder setSchema(com.google.cloud.dataplex.v1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -5441,19 +6371,22 @@ public Builder setSchema( return this; } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSchema(com.google.cloud.dataplex.v1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - schema_ != null && - schema_ != com.google.cloud.dataplex.v1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && schema_ != null + && schema_ != com.google.cloud.dataplex.v1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -5466,13 +6399,16 @@ public Builder mergeSchema(com.google.cloud.dataplex.v1.Schema value) { return this; } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00020000); @@ -5485,13 +6421,16 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00020000; @@ -5499,47 +6438,55 @@ public com.google.cloud.dataplex.v1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null ? - com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; + return schema_ == null ? com.google.cloud.dataplex.v1.Schema.getDefaultInstance() : schema_; } } /** + * + * *
      * Required. The description of the data structure and layout.
      * The schema is not included in list responses. It is only included in
      * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
      * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder> + com.google.cloud.dataplex.v1.Schema, + com.google.cloud.dataplex.v1.Schema.Builder, + com.google.cloud.dataplex.v1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema, com.google.cloud.dataplex.v1.Schema.Builder, com.google.cloud.dataplex.v1.SchemaOrBuilder>( - getSchema(), - getParentForChildren(), - isClean()); + schemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema, + com.google.cloud.dataplex.v1.Schema.Builder, + com.google.cloud.dataplex.v1.SchemaOrBuilder>( + getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5549,12 +6496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Entity) private static final com.google.cloud.dataplex.v1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Entity(); } @@ -5563,27 +6510,27 @@ public static com.google.cloud.dataplex.v1.Entity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5598,6 +6545,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java index ef26c65db23b..0584fc2e445b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EntityOrBuilder.java @@ -1,131 +1,190 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name of the entity, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. Display name must be shorter than or equal to 256 characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. User friendly longer description text. Must be shorter than or
    * equal to 1024 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the entity was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the entity was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -135,10 +194,13 @@ public interface EntityOrBuilder extends
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. A user-provided entity ID. It is mutable, and will be used as the
    * published table name. Specifying a new ID in an update entity
@@ -148,77 +210,103 @@ public interface EntityOrBuilder extends
    * 
* * string id = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The etag associated with the entity, which can be retrieved with
    * a [GetEntity][] request. Required for update and delete requests.
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Required. Immutable. The type of entity.
    * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Immutable. The type of entity.
    * 
* - * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Entity.Type getType(); /** + * + * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
    * Required. Immutable. The ID of the asset associated with the storage
    * location containing the entity data. The entity must be with in the same
    * zone with the asset.
    * 
* - * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); /** + * + * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -227,11 +315,16 @@ public interface EntityOrBuilder extends
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataPath. */ java.lang.String getDataPath(); /** + * + * *
    * Required. Immutable. The storage path of the entity data.
    * For Cloud Storage data, this is the fully-qualified path to the entity,
@@ -240,13 +333,17 @@ public interface EntityOrBuilder extends
    * `projects/project_id/datasets/dataset_id/tables/table_id`.
    * 
* - * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for dataPath. */ - com.google.protobuf.ByteString - getDataPathBytes(); + com.google.protobuf.ByteString getDataPathBytes(); /** + * + * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -254,10 +351,13 @@ public interface EntityOrBuilder extends
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dataPathPattern. */ java.lang.String getDataPathPattern(); /** + * + * *
    * Optional. The set of items within the data path constituting the data in
    * the entity, represented as a glob path. Example:
@@ -265,189 +365,262 @@ public interface EntityOrBuilder extends
    * 
* * string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for dataPathPattern. */ - com.google.protobuf.ByteString - getDataPathPatternBytes(); + com.google.protobuf.ByteString getDataPathPatternBytes(); /** + * + * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The catalogEntry. */ java.lang.String getCatalogEntry(); /** + * + * *
    * Output only. The name of the associated Data Catalog entry.
    * 
* * string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for catalogEntry. */ - com.google.protobuf.ByteString - getCatalogEntryBytes(); + com.google.protobuf.ByteString getCatalogEntryBytes(); /** + * + * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for system. */ int getSystemValue(); /** + * + * *
    * Required. Immutable. Identifies the storage system of the entity data.
    * 
* - * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The system. */ com.google.cloud.dataplex.v1.StorageSystem getSystem(); /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the format field is set. */ boolean hasFormat(); /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The format. */ com.google.cloud.dataplex.v1.StorageFormat getFormat(); /** + * + * *
    * Required. Identifies the storage format of the entity data.
    * It does not apply to entities with data stored in BigQuery.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder(); /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the compatibility field is set. */ boolean hasCompatibility(); /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The compatibility. */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility(); /** + * + * *
    * Output only. Metadata stores that the entity is compatible with.
    * 
* - * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder(); /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the access field is set. */ boolean hasAccess(); /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The access. */ com.google.cloud.dataplex.v1.StorageAccess getAccess(); /** + * + * *
    * Output only. Identifies the access mechanism to the entity. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder(); /** + * + * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated unique ID for the Entity. This ID will be
    * different if the Entity is deleted and re-created with the same name.
    * 
* * string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the schema field is set. */ boolean hasSchema(); /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The schema. */ com.google.cloud.dataplex.v1.Schema getSchema(); /** + * + * *
    * Required. The description of the data structure and layout.
    * The schema is not included in list responses. It is only included in
    * `SCHEMA` and `FULL` entity views of a `GetEntity` response.
    * 
* - * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java index 70762259875f..c81358b0b3c1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Environment.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Environment represents a user-visible compute infrastructure for analytics
  * within a lake.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Environment}
  */
-public final class Environment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Environment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment)
     EnvironmentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Environment.newBuilder() to construct.
   private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Environment() {
     name_ = "";
     displayName_ = "";
@@ -30,223 +48,275 @@ private Environment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Environment();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.AnalyzeProto
+        .internal_static_google_cloud_dataplex_v1_Environment_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.AnalyzeProto
+        .internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Environment.class, com.google.cloud.dataplex.v1.Environment.Builder.class);
+            com.google.cloud.dataplex.v1.Environment.class,
+            com.google.cloud.dataplex.v1.Environment.Builder.class);
   }
 
-  public interface InfrastructureSpecOrBuilder extends
+  public interface InfrastructureSpecOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the compute field is set. */ boolean hasCompute(); /** + * + * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compute. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute(); /** + * + * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder + getComputeOrBuilder(); /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osImage field is set. */ boolean hasOsImage(); /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osImage. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage(); /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder + getOsImageOrBuilder(); com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ResourcesCase getResourcesCase(); com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.RuntimeCase getRuntimeCase(); } /** + * + * *
    * Configuration for the underlying infrastructure used to run workloads.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec} */ - public static final class InfrastructureSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InfrastructureSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec) InfrastructureSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfrastructureSpec.newBuilder() to construct. private InfrastructureSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfrastructureSpec() { - } + + private InfrastructureSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfrastructureSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); } - public interface ComputeResourcesOrBuilder extends + public interface ComputeResourcesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Size in GB of the disk. Default is 100 GB.
        * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
        * Optional. Total number of nodes in the sessions created for this
        * environment.
        * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
        * Optional. Max configurable nodes.
        * If max_node_count > node_count, then auto-scaling is enabled.
        * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxNodeCount. */ int getMaxNodeCount(); } /** + * + * *
      * Compute resources associated with the analyze interactive workloads.
      * 
* - * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} + * Protobuf type {@code + * google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} */ - public static final class ComputeResources extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ComputeResources extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) ComputeResourcesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeResources.newBuilder() to construct. private ComputeResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeResources() { - } + + private ComputeResources() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeResources(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder + .class); } public static final int DISK_SIZE_GB_FIELD_NUMBER = 1; private int diskSizeGb_ = 0; /** + * + * *
        * Optional. Size in GB of the disk. Default is 100 GB.
        * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ @java.lang.Override @@ -257,12 +327,15 @@ public int getDiskSizeGb() { public static final int NODE_COUNT_FIELD_NUMBER = 2; private int nodeCount_ = 0; /** + * + * *
        * Optional. Total number of nodes in the sessions created for this
        * environment.
        * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodeCount. */ @java.lang.Override @@ -273,12 +346,15 @@ public int getNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_ = 0; /** + * + * *
        * Optional. Max configurable nodes.
        * If max_node_count > node_count, then auto-scaling is enabled.
        * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -287,6 +363,7 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +375,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (diskSizeGb_ != 0) { output.writeInt32(1, diskSizeGb_); } @@ -319,16 +395,13 @@ public int getSerializedSize() { size = 0; if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, diskSizeGb_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, nodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -338,19 +411,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other = + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) obj; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (getNodeCount() - != other.getNodeCount()) return false; - if (getMaxNodeCount() - != other.getMaxNodeCount()) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (getNodeCount() != other.getNodeCount()) return false; + if (getMaxNodeCount() != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,90 +446,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -466,39 +552,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Compute resources associated with the analyze interactive workloads.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} + * Protobuf type {@code + * google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .Builder.class); } - // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,19 +602,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources build() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = buildPartial(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + build() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -530,14 +626,20 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResour } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + buildPartial() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result = + new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.diskSizeGb_ = diskSizeGb_; @@ -554,46 +656,56 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.Infrastructu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)other); + if (other + instanceof + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) { + return mergeFrom( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other) { - if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources other) { + if (other + == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance()) return this; if (other.getDiskSizeGb() != 0) { setDiskSizeGb(other.getDiskSizeGb()); } @@ -629,27 +741,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - diskSizeGb_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - maxNodeCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + diskSizeGb_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + maxNodeCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -659,15 +775,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ @java.lang.Override @@ -675,11 +795,14 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ @@ -691,11 +814,14 @@ public Builder setDiskSizeGb(int value) { return this; } /** + * + * *
          * Optional. Size in GB of the disk. Default is 100 GB.
          * 
* * int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { @@ -705,14 +831,17 @@ public Builder clearDiskSizeGb() { return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodeCount. */ @java.lang.Override @@ -720,12 +849,15 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -737,12 +869,15 @@ public Builder setNodeCount(int value) { return this; } /** + * + * *
          * Optional. Total number of nodes in the sessions created for this
          * environment.
          * 
* * int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -752,14 +887,17 @@ public Builder clearNodeCount() { return this; } - private int maxNodeCount_ ; + private int maxNodeCount_; /** + * + * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -767,12 +905,15 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** + * + * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -784,12 +925,15 @@ public Builder setMaxNodeCount(int value) { return this; } /** + * + * *
          * Optional. Max configurable nodes.
          * If max_node_count > node_count, then auto-scaling is enabled.
          * 
* * int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -798,6 +942,7 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -810,41 +955,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .ComputeResources + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources(); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,37 +1006,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OsImageRuntimeOrBuilder extends + public interface OsImageRuntimeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -894,11 +1052,13 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the javaLibraries. */ - java.util.List - getJavaLibrariesList(); + java.util.List getJavaLibrariesList(); /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -906,10 +1066,13 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of javaLibraries. */ int getJavaLibrariesCount(); /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -917,11 +1080,14 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The javaLibraries at the given index. */ java.lang.String getJavaLibraries(int index); /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -929,13 +1095,15 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - com.google.protobuf.ByteString - getJavaLibrariesBytes(int index); + com.google.protobuf.ByteString getJavaLibrariesBytes(int index); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -943,11 +1111,13 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the pythonPackages. */ - java.util.List - getPythonPackagesList(); + java.util.List getPythonPackagesList(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -955,10 +1125,13 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of pythonPackages. */ int getPythonPackagesCount(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -966,11 +1139,14 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ java.lang.String getPythonPackages(int index); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -978,13 +1154,15 @@ public interface OsImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - com.google.protobuf.ByteString - getPythonPackagesBytes(int index); + com.google.protobuf.ByteString getPythonPackagesBytes(int index); /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -992,10 +1170,13 @@ public interface OsImageRuntimeOrBuilder extends
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPropertiesCount(); /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1003,17 +1184,16 @@ public interface OsImageRuntimeOrBuilder extends
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsProperties( - java.lang.String key); - /** - * Use {@link #getPropertiesMap()} instead. + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsProperties(java.lang.String key); + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getProperties(); + java.util.Map getProperties(); /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1021,11 +1201,13 @@ boolean containsProperties(
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getPropertiesMap(); + java.util.Map getPropertiesMap(); /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1033,14 +1215,17 @@ boolean containsProperties(
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getPropertiesOrDefault( + java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1048,76 +1233,82 @@ java.lang.String getPropertiesOrDefault(
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getPropertiesOrThrow( - java.lang.String key); + java.lang.String getPropertiesOrThrow(java.lang.String key); } /** + * + * *
      * Software Runtime Configuration to run Analyze.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} */ - public static final class OsImageRuntime extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OsImageRuntime extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) OsImageRuntimeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsImageRuntime.newBuilder() to construct. private OsImageRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OsImageRuntime() { imageVersion_ = ""; - javaLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OsImageRuntime(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_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 4: return internalGetProperties(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder + .class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object imageVersion_ = ""; /** + * + * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageVersion. */ @java.lang.Override @@ -1126,29 +1317,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
        * Required. Dataplex Image version.
        * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1157,10 +1348,13 @@ public java.lang.String getImageVersion() { } public static final int JAVA_LIBRARIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1168,13 +1362,15 @@ public java.lang.String getImageVersion() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the javaLibraries. */ - public com.google.protobuf.ProtocolStringList - getJavaLibrariesList() { + public com.google.protobuf.ProtocolStringList getJavaLibrariesList() { return javaLibraries_; } /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1182,12 +1378,15 @@ public java.lang.String getImageVersion() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of javaLibraries. */ public int getJavaLibrariesCount() { return javaLibraries_.size(); } /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1195,6 +1394,7 @@ public int getJavaLibrariesCount() {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The javaLibraries at the given index. */ @@ -1202,6 +1402,8 @@ public java.lang.String getJavaLibraries(int index) { return javaLibraries_.get(index); } /** + * + * *
        * Optional. List of Java jars to be included in the runtime environment.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1209,19 +1411,22 @@ public java.lang.String getJavaLibraries(int index) {
        * 
* * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - public com.google.protobuf.ByteString - getJavaLibrariesBytes(int index) { + public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) { return javaLibraries_.getByteString(index); } public static final int PYTHON_PACKAGES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1229,13 +1434,15 @@ public java.lang.String getJavaLibraries(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList - getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList getPythonPackagesList() { return pythonPackages_; } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1243,12 +1450,15 @@ public java.lang.String getJavaLibraries(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1256,6 +1466,7 @@ public int getPythonPackagesCount() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -1263,6 +1474,8 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1270,41 +1483,45 @@ public java.lang.String getPythonPackages(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString - getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } public static final int PROPERTIES_FIELD_NUMBER = 4; + private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; + private com.google.protobuf.MapField properties_; + private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } + public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1312,23 +1529,25 @@ public int getPropertiesCount() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetProperties().getMap().containsKey(key); } - /** - * Use {@link #getPropertiesMap()} instead. - */ + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1336,13 +1555,16 @@ public java.util.Map getProperties() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1350,20 +1572,23 @@ public java.util.Map getPropertiesMap() {
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getPropertiesOrDefault( + public /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * Optional. Spark properties to provide configuration for use in sessions
        * created for this environment. The properties to set on daemon config
@@ -1371,14 +1596,15 @@ java.lang.String getPropertiesOrDefault(
        * prefix must be "spark".
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1386,6 +1612,7 @@ public java.lang.String getPropertiesOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1397,8 +1624,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } @@ -1408,12 +1634,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < pythonPackages_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pythonPackages_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetProperties(), - PropertiesDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -1442,15 +1664,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPythonPackagesList().size(); } - for (java.util.Map.Entry entry - : internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry - properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, properties__); + for (java.util.Map.Entry entry : + internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry properties__ = + PropertiesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, properties__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1460,21 +1682,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other = + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) obj; - if (!getImageVersion() - .equals(other.getImageVersion())) return false; - if (!getJavaLibrariesList() - .equals(other.getJavaLibrariesList())) return false; - if (!getPythonPackagesList() - .equals(other.getPythonPackagesList())) return false; - if (!internalGetProperties().equals( - other.internalGetProperties())) return false; + if (!getImageVersion().equals(other.getImageVersion())) return false; + if (!getJavaLibrariesList().equals(other.getJavaLibrariesList())) return false; + if (!getPythonPackagesList().equals(other.getPythonPackagesList())) return false; + if (!internalGetProperties().equals(other.internalGetProperties())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1505,90 +1726,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1598,88 +1832,92 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Software Runtime Configuration to run Analyze.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} + * Protobuf type {@code + * google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetProperties(); 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 4: return internalGetMutableProperties(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder + .class); } - // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; imageVersion_ = ""; - javaLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableProperties().clear(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime build() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = buildPartial(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1687,14 +1925,19 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntim } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + buildPartial() { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result = + new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.imageVersion_ = imageVersion_; @@ -1717,46 +1960,55 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.Infrastructu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)other); + if (other + instanceof + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) { + return mergeFrom( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other) { - if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime other) { + if (other + == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance()) return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; bitField0_ |= 0x00000001; @@ -1782,8 +2034,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.Infrastructure } onChanged(); } - internalGetMutableProperties().mergeFrom( - other.internalGetProperties()); + internalGetMutableProperties().mergeFrom(other.internalGetProperties()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1811,38 +2062,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - imageVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureJavaLibrariesIsMutable(); - javaLibraries_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePythonPackagesIsMutable(); - pythonPackages_.add(s); - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - properties__ = input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableProperties().getMutableMap().put( - properties__.getKey(), properties__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + imageVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureJavaLibrariesIsMutable(); + javaLibraries_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePythonPackagesIsMutable(); + pythonPackages_.add(s); + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry properties__ = + input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableProperties() + .getMutableMap() + .put(properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1852,22 +2110,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object imageVersion_ = ""; /** + * + * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1876,20 +2137,21 @@ public java.lang.String getImageVersion() { } } /** + * + * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1897,28 +2159,35 @@ public java.lang.String getImageVersion() { } } /** + * + * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } imageVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearImageVersion() { @@ -1928,17 +2197,21 @@ public Builder clearImageVersion() { return this; } /** + * + * *
          * Required. Dataplex Image version.
          * 
* * string image_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); imageVersion_ = value; bitField0_ |= 0x00000001; @@ -1948,6 +2221,7 @@ public Builder setImageVersionBytes( private com.google.protobuf.LazyStringArrayList javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureJavaLibrariesIsMutable() { if (!javaLibraries_.isModifiable()) { javaLibraries_ = new com.google.protobuf.LazyStringArrayList(javaLibraries_); @@ -1955,41 +2229,52 @@ private void ensureJavaLibrariesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the javaLibraries. */ - public com.google.protobuf.ProtocolStringList - getJavaLibrariesList() { + public com.google.protobuf.ProtocolStringList getJavaLibrariesList() { javaLibraries_.makeImmutable(); return javaLibraries_; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of javaLibraries. */ public int getJavaLibrariesCount() { return javaLibraries_.size(); } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The javaLibraries at the given index. */ @@ -1997,35 +2282,43 @@ public java.lang.String getJavaLibraries(int index) { return javaLibraries_.get(index); } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the javaLibraries at the given index. */ - public com.google.protobuf.ByteString - getJavaLibrariesBytes(int index) { + public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) { return javaLibraries_.getByteString(index); } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The javaLibraries to set. * @return This builder for chaining. */ - public Builder setJavaLibraries( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJavaLibraries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJavaLibrariesIsMutable(); javaLibraries_.set(index, value); bitField0_ |= 0x00000002; @@ -2033,19 +2326,24 @@ public Builder setJavaLibraries( return this; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The javaLibraries to add. * @return This builder for chaining. */ - public Builder addJavaLibraries( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJavaLibraries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJavaLibrariesIsMutable(); javaLibraries_.add(value); bitField0_ |= 0x00000002; @@ -2053,56 +2351,67 @@ public Builder addJavaLibraries( return this; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The javaLibraries to add. * @return This builder for chaining. */ - public Builder addAllJavaLibraries( - java.lang.Iterable values) { + public Builder addAllJavaLibraries(java.lang.Iterable values) { ensureJavaLibrariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, javaLibraries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, javaLibraries_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearJavaLibraries() { - javaLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + javaLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
          * Optional. List of Java jars to be included in the runtime environment.
          * Valid input includes Cloud Storage URIs to Jar binaries.
          * For example, gs://bucket-name/my/path/to/file.jar
          * 
* - * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the javaLibraries to add. * @return This builder for chaining. */ - public Builder addJavaLibrariesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJavaLibrariesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureJavaLibrariesIsMutable(); javaLibraries_.add(value); @@ -2113,6 +2422,7 @@ public Builder addJavaLibrariesBytes( private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePythonPackagesIsMutable() { if (!pythonPackages_.isModifiable()) { pythonPackages_ = new com.google.protobuf.LazyStringArrayList(pythonPackages_); @@ -2120,41 +2430,52 @@ private void ensurePythonPackagesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList - getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList getPythonPackagesList() { pythonPackages_.makeImmutable(); return pythonPackages_; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -2162,35 +2483,43 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString - getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The pythonPackages to set. * @return This builder for chaining. */ - public Builder setPythonPackages( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPythonPackages(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePythonPackagesIsMutable(); pythonPackages_.set(index, value); bitField0_ |= 0x00000004; @@ -2198,19 +2527,24 @@ public Builder setPythonPackages( return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackages( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPythonPackages(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePythonPackagesIsMutable(); pythonPackages_.add(value); bitField0_ |= 0x00000004; @@ -2218,56 +2552,67 @@ public Builder addPythonPackages( return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The pythonPackages to add. * @return This builder for chaining. */ - public Builder addAllPythonPackages( - java.lang.Iterable values) { + public Builder addAllPythonPackages(java.lang.Iterable values) { ensurePythonPackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pythonPackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pythonPackages_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPythonPackages() { - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackagesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePythonPackagesIsMutable(); pythonPackages_.add(value); @@ -2276,8 +2621,8 @@ public Builder addPythonPackagesBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; + private com.google.protobuf.MapField properties_; + private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { @@ -2286,11 +2631,12 @@ public Builder addPythonPackagesBytes( } return properties_; } + private com.google.protobuf.MapField internalGetMutableProperties() { if (properties_ == null) { - properties_ = com.google.protobuf.MapField.newMapField( - PropertiesDefaultEntryHolder.defaultEntry); + properties_ = + com.google.protobuf.MapField.newMapField(PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); @@ -2299,10 +2645,13 @@ public Builder addPythonPackagesBytes( onChanged(); return properties_; } + public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2310,23 +2659,25 @@ public int getPropertiesCount() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetProperties().getMap().containsKey(key); } - /** - * Use {@link #getPropertiesMap()} instead. - */ + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2334,13 +2685,16 @@ public java.util.Map getProperties() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2348,20 +2702,23 @@ public java.util.Map getPropertiesMap() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getPropertiesOrDefault( + public /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2369,26 +2726,29 @@ java.lang.String getPropertiesOrDefault(
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearProperties() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableProperties().getMutableMap() - .clear(); + internalGetMutableProperties().getMutableMap().clear(); return this; } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2396,25 +2756,25 @@ public Builder clearProperties() {
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableProperties().getMutableMap() - .remove(key); + public Builder removeProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableProperties().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableProperties() { + public java.util.Map getMutableProperties() { bitField0_ |= 0x00000008; return internalGetMutableProperties().getMutableMap(); } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2422,19 +2782,23 @@ public Builder removeProperties(
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putProperties( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableProperties().getMutableMap() - .put(key, value); + public Builder putProperties(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableProperties().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
          * Optional. Spark properties to provide configuration for use in sessions
          * created for this environment. The properties to set on daemon config
@@ -2442,15 +2806,15 @@ public Builder putProperties(
          * prefix must be "spark".
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllProperties( - java.util.Map values) { - internalGetMutableProperties().getMutableMap() - .putAll(values); + public Builder putAllProperties(java.util.Map values) { + internalGetMutableProperties().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2463,41 +2827,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .OsImageRuntime + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsImageRuntime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsImageRuntime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2509,21 +2878,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourcesCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object resources_; + public enum ResourcesCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE(50), RESOURCES_NOT_SET(0); private final int value; + private ResourcesCase(int value) { this.value = value; } @@ -2539,31 +2912,37 @@ public static ResourcesCase valueOf(int value) { public static ResourcesCase forNumber(int value) { switch (value) { - case 50: return COMPUTE; - case 0: return RESOURCES_NOT_SET; - default: return null; + case 50: + return COMPUTE; + case 0: + return RESOURCES_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourcesCase - getResourcesCase() { - return ResourcesCase.forNumber( - resourcesCase_); + public ResourcesCase getResourcesCase() { + return ResourcesCase.forNumber(resourcesCase_); } private int runtimeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object runtime_; + public enum RuntimeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OS_IMAGE(100), RUNTIME_NOT_SET(0); private final int value; + private RuntimeCase(int value) { this.value = value; } @@ -2579,29 +2958,36 @@ public static RuntimeCase valueOf(int value) { public static RuntimeCase forNumber(int value) { switch (value) { - case 100: return OS_IMAGE; - case 0: return RUNTIME_NOT_SET; - default: return null; + case 100: + return OS_IMAGE; + case 0: + return RUNTIME_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RuntimeCase - getRuntimeCase() { - return RuntimeCase.forNumber( - runtimeCase_); + public RuntimeCase getRuntimeCase() { + return RuntimeCase.forNumber(runtimeCase_); } public static final int COMPUTE_FIELD_NUMBER = 50; /** + * + * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the compute field is set. */ @java.lang.Override @@ -2609,43 +2995,63 @@ public boolean hasCompute() { return resourcesCase_ == 50; } /** + * + * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compute. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + getCompute() { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } /** + * + * *
      * Optional. Compute resources needed for analyze interactive workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder + getComputeOrBuilder() { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } public static final int OS_IMAGE_FIELD_NUMBER = 100; /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osImage field is set. */ @java.lang.Override @@ -2653,38 +3059,53 @@ public boolean hasOsImage() { return runtimeCase_ == 100; } /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osImage. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage() { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } /** + * + * *
      * Required. Software Runtime Configuration for analyze interactive
      * workloads.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder + getOsImageOrBuilder() { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2696,13 +3117,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourcesCase_ == 50) { - output.writeMessage(50, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_); + output.writeMessage( + 50, + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_); } if (runtimeCase_ == 100) { - output.writeMessage(100, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); + output.writeMessage( + 100, + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); } getUnknownFields().writeTo(output); } @@ -2714,12 +3139,18 @@ public int getSerializedSize() { size = 0; if (resourcesCase_ == 50) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(50, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 50, + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_); } if (runtimeCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2729,18 +3160,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other = (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) obj; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other = + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) obj; if (!getResourcesCase().equals(other.getResourcesCase())) return false; switch (resourcesCase_) { case 50: - if (!getCompute() - .equals(other.getCompute())) return false; + if (!getCompute().equals(other.getCompute())) return false; break; case 0: default: @@ -2748,8 +3179,7 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeCase().equals(other.getRuntimeCase())) return false; switch (runtimeCase_) { case 100: - if (!getOsImage() - .equals(other.getOsImage())) return false; + if (!getOsImage().equals(other.getOsImage())) return false; break; case 0: default: @@ -2787,89 +3217,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2879,39 +3314,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the underlying infrastructure used to run workloads.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.InfrastructureSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.InfrastructureSpec) com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.class, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2930,13 +3367,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance(); } @@ -2951,28 +3389,31 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec buildPartial() { - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result = + new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { + private void buildPartialOneofs( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec result) { result.resourcesCase_ = resourcesCase_; result.resources_ = this.resources_; - if (resourcesCase_ == 50 && - computeBuilder_ != null) { + if (resourcesCase_ == 50 && computeBuilder_ != null) { result.resources_ = computeBuilder_.build(); } result.runtimeCase_ = runtimeCase_; result.runtime_ = this.runtime_; - if (runtimeCase_ == 100 && - osImageBuilder_ != null) { + if (runtimeCase_ == 100 && osImageBuilder_ != null) { result.runtime_ = osImageBuilder_.build(); } } @@ -2981,38 +3422,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Environment.Infrast public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec) other); } else { super.mergeFrom(other); return this; @@ -3020,24 +3464,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec other) { - if (other == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) + return this; switch (other.getResourcesCase()) { - case COMPUTE: { - mergeCompute(other.getCompute()); - break; - } - case RESOURCES_NOT_SET: { - break; - } + case COMPUTE: + { + mergeCompute(other.getCompute()); + break; + } + case RESOURCES_NOT_SET: + { + break; + } } switch (other.getRuntimeCase()) { - case OS_IMAGE: { - mergeOsImage(other.getOsImage()); - break; - } - case RUNTIME_NOT_SET: { - break; - } + case OS_IMAGE: + { + mergeOsImage(other.getOsImage()); + break; + } + case RUNTIME_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3065,26 +3515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 402: { - input.readMessage( - getComputeFieldBuilder().getBuilder(), - extensionRegistry); - resourcesCase_ = 50; - break; - } // case 402 - case 802: { - input.readMessage( - getOsImageFieldBuilder().getBuilder(), - extensionRegistry); - runtimeCase_ = 100; - break; - } // case 802 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 402: + { + input.readMessage(getComputeFieldBuilder().getBuilder(), extensionRegistry); + resourcesCase_ = 50; + break; + } // case 402 + case 802: + { + input.readMessage(getOsImageFieldBuilder().getBuilder(), extensionRegistry); + runtimeCase_ = 100; + break; + } // case 802 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3094,12 +3543,12 @@ public Builder mergeFrom( } // finally return this; } + private int resourcesCase_ = 0; private java.lang.Object resources_; - public ResourcesCase - getResourcesCase() { - return ResourcesCase.forNumber( - resourcesCase_); + + public ResourcesCase getResourcesCase() { + return ResourcesCase.forNumber(resourcesCase_); } public Builder clearResources() { @@ -3111,10 +3560,9 @@ public Builder clearResources() { private int runtimeCase_ = 0; private java.lang.Object runtime_; - public RuntimeCase - getRuntimeCase() { - return RuntimeCase.forNumber( - runtimeCase_); + + public RuntimeCase getRuntimeCase() { + return RuntimeCase.forNumber(runtimeCase_); } public Builder clearRuntime() { @@ -3127,13 +3575,21 @@ public Builder clearRuntime() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> computeBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> + computeBuilder_; /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the compute field is set. */ @java.lang.Override @@ -3141,35 +3597,49 @@ public boolean hasCompute() { return resourcesCase_ == 50; } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compute. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources getCompute() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + getCompute() { if (computeBuilder_ == null) { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } else { if (resourcesCase_ == 50) { return computeBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCompute(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { + public Builder setCompute( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { if (computeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3183,14 +3653,19 @@ public Builder setCompute(com.google.cloud.dataplex.v1.Environment.Infrastructur return this; } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCompute( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder builderForValue) { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder + builderForValue) { if (computeBuilder_ == null) { resources_ = builderForValue.build(); onChanged(); @@ -3201,18 +3676,31 @@ public Builder setCompute( return this; } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeCompute(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { + public Builder mergeCompute( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources value) { if (computeBuilder_ == null) { - if (resourcesCase_ == 50 && - resources_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance()) { - resources_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.newBuilder((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_) - .mergeFrom(value).buildPartial(); + if (resourcesCase_ == 50 + && resources_ + != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance()) { + resources_ = + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .newBuilder( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .ComputeResources) + resources_) + .mergeFrom(value) + .buildPartial(); } else { resources_ = value; } @@ -3228,11 +3716,15 @@ public Builder mergeCompute(com.google.cloud.dataplex.v1.Environment.Infrastruct return this; } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCompute() { if (computeBuilder_ == null) { @@ -3251,50 +3743,76 @@ public Builder clearCompute() { return this; } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder getComputeBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder + getComputeBuilder() { return getComputeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder + getComputeOrBuilder() { if ((resourcesCase_ == 50) && (computeBuilder_ != null)) { return computeBuilder_.getMessageOrBuilder(); } else { if (resourcesCase_ == 50) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } } /** + * + * *
        * Optional. Compute resources needed for analyze interactive workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder> getComputeFieldBuilder() { if (computeBuilder_ == null) { if (!(resourcesCase_ == 50)) { - resources_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.getDefaultInstance(); + resources_ = + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .getDefaultInstance(); } - computeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResourcesOrBuilder>( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) resources_, + computeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources + .Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .ComputeResourcesOrBuilder>( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources) + resources_, getParentForChildren(), isClean()); resources_ = null; @@ -3305,14 +3823,22 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResour } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> osImageBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> + osImageBuilder_; /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osImage field is set. */ @java.lang.Override @@ -3320,37 +3846,51 @@ public boolean hasOsImage() { return runtimeCase_ == 100; } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime getOsImage() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + getOsImage() { if (osImageBuilder_ == null) { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } else { if (runtimeCase_ == 100) { return osImageBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOsImage(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { + public Builder setOsImage( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { if (osImageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3364,15 +3904,20 @@ public Builder setOsImage(com.google.cloud.dataplex.v1.Environment.Infrastructur return this; } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsImage( - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder builderForValue) { + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder + builderForValue) { if (osImageBuilder_ == null) { runtime_ = builderForValue.build(); onChanged(); @@ -3383,19 +3928,31 @@ public Builder setOsImage( return this; } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOsImage(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { + public Builder mergeOsImage( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime value) { if (osImageBuilder_ == null) { - if (runtimeCase_ == 100 && - runtime_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance()) { - runtime_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.newBuilder((com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_) - .mergeFrom(value).buildPartial(); + if (runtimeCase_ == 100 + && runtime_ + != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance()) { + runtime_ = + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .newBuilder( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_) + .mergeFrom(value) + .buildPartial(); } else { runtime_ = value; } @@ -3411,12 +3968,16 @@ public Builder mergeOsImage(com.google.cloud.dataplex.v1.Environment.Infrastruct return this; } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsImage() { if (osImageBuilder_ == null) { @@ -3435,53 +3996,79 @@ public Builder clearOsImage() { return this; } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder getOsImageBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder + getOsImageBuilder() { return getOsImageFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder + getOsImageOrBuilder() { if ((runtimeCase_ == 100) && (osImageBuilder_ != null)) { return osImageBuilder_.getMessageOrBuilder(); } else { if (runtimeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } } /** + * + * *
        * Required. Software Runtime Configuration for analyze interactive
        * workloads.
        * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime os_image = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder> getOsImageFieldBuilder() { if (osImageBuilder_ == null) { if (!(runtimeCase_ == 100)) { - runtime_ = com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.getDefaultInstance(); + runtime_ = + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .getDefaultInstance(); } - osImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntimeOrBuilder>( - (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) runtime_, + osImageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime + .Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .OsImageRuntimeOrBuilder>( + (com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime) + runtime_, getParentForChildren(), isClean()); runtime_ = null; @@ -3490,6 +4077,7 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntim onChanged(); return osImageBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3502,12 +4090,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.InfrastructureSpec) - private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.InfrastructureSpec(); } @@ -3516,27 +4105,28 @@ public static com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfrastructureSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfrastructureSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3551,44 +4141,60 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SessionSpecOrBuilder extends + public interface SessionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.SessionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxIdleDuration field is set. */ boolean hasMaxIdleDuration(); /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxIdleDuration. */ com.google.protobuf.Duration getMaxIdleDuration(); /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder(); /** + * + * *
      * Optional. If True, this causes sessions to be pre-created and available
      * for faster startup to enable interactive exploration use-cases. This
@@ -3598,58 +4204,67 @@ public interface SessionSpecOrBuilder extends
      * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableFastStartup. */ boolean getEnableFastStartup(); } /** + * + * *
    * Configuration for sessions created for this environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionSpec} */ - public static final class SessionSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SessionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.SessionSpec) SessionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SessionSpec.newBuilder() to construct. private SessionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SessionSpec() { - } + + private SessionSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SessionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionSpec.class, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionSpec.class, + com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); } public static final int MAX_IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration maxIdleDuration_; /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxIdleDuration field is set. */ @java.lang.Override @@ -3657,34 +4272,49 @@ public boolean hasMaxIdleDuration() { return maxIdleDuration_ != null; } /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxIdleDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxIdleDuration() { - return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; + return maxIdleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxIdleDuration_; } /** + * + * *
      * Optional. The idle time configuration of the session. The session will be
      * auto-terminated at the end of this period.
      * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() { - return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; + return maxIdleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxIdleDuration_; } public static final int ENABLE_FAST_STARTUP_FIELD_NUMBER = 2; private boolean enableFastStartup_ = false; /** + * + * *
      * Optional. If True, this causes sessions to be pre-created and available
      * for faster startup to enable interactive exploration use-cases. This
@@ -3694,6 +4324,7 @@ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() {
      * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableFastStartup. */ @java.lang.Override @@ -3702,6 +4333,7 @@ public boolean getEnableFastStartup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3713,8 +4345,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxIdleDuration_ != null) { output.writeMessage(1, getMaxIdleDuration()); } @@ -3731,12 +4362,10 @@ public int getSerializedSize() { size = 0; if (maxIdleDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMaxIdleDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMaxIdleDuration()); } if (enableFastStartup_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enableFastStartup_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableFastStartup_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3746,20 +4375,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.SessionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.SessionSpec other = (com.google.cloud.dataplex.v1.Environment.SessionSpec) obj; + com.google.cloud.dataplex.v1.Environment.SessionSpec other = + (com.google.cloud.dataplex.v1.Environment.SessionSpec) obj; if (hasMaxIdleDuration() != other.hasMaxIdleDuration()) return false; if (hasMaxIdleDuration()) { - if (!getMaxIdleDuration() - .equals(other.getMaxIdleDuration())) return false; + if (!getMaxIdleDuration().equals(other.getMaxIdleDuration())) return false; } - if (getEnableFastStartup() - != other.getEnableFastStartup()) return false; + if (getEnableFastStartup() != other.getEnableFastStartup()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3776,97 +4404,101 @@ public int hashCode() { hash = (53 * hash) + getMaxIdleDuration().hashCode(); } hash = (37 * hash) + ENABLE_FAST_STARTUP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableFastStartup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFastStartup()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.SessionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.SessionSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Environment.SessionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3876,39 +4508,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for sessions created for this environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.SessionSpec) com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionSpec.class, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionSpec.class, + com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.SessionSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3923,9 +4557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; } @java.lang.Override @@ -3944,8 +4578,11 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpec buildPartial() { - com.google.cloud.dataplex.v1.Environment.SessionSpec result = new com.google.cloud.dataplex.v1.Environment.SessionSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Environment.SessionSpec result = + new com.google.cloud.dataplex.v1.Environment.SessionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3953,9 +4590,8 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.maxIdleDuration_ = maxIdleDurationBuilder_ == null - ? maxIdleDuration_ - : maxIdleDurationBuilder_.build(); + result.maxIdleDuration_ = + maxIdleDurationBuilder_ == null ? maxIdleDuration_ : maxIdleDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.enableFastStartup_ = enableFastStartup_; @@ -3966,38 +4602,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionSpec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.SessionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionSpec) other); } else { super.mergeFrom(other); return this; @@ -4005,7 +4644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.SessionSpec other) { - if (other == com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) + return this; if (other.hasMaxIdleDuration()) { mergeMaxIdleDuration(other.getMaxIdleDuration()); } @@ -4038,24 +4678,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMaxIdleDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - enableFastStartup_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getMaxIdleDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + enableFastStartup_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4065,46 +4707,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration maxIdleDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxIdleDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxIdleDurationBuilder_; /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxIdleDuration field is set. */ public boolean hasMaxIdleDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxIdleDuration. */ public com.google.protobuf.Duration getMaxIdleDuration() { if (maxIdleDurationBuilder_ == null) { - return maxIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; + return maxIdleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxIdleDuration_; } else { return maxIdleDurationBuilder_.getMessage(); } } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMaxIdleDuration(com.google.protobuf.Duration value) { if (maxIdleDurationBuilder_ == null) { @@ -4120,15 +4782,18 @@ public Builder setMaxIdleDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setMaxIdleDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMaxIdleDuration(com.google.protobuf.Duration.Builder builderForValue) { if (maxIdleDurationBuilder_ == null) { maxIdleDuration_ = builderForValue.build(); } else { @@ -4139,18 +4804,22 @@ public Builder setMaxIdleDuration( return this; } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMaxIdleDuration(com.google.protobuf.Duration value) { if (maxIdleDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - maxIdleDuration_ != null && - maxIdleDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && maxIdleDuration_ != null + && maxIdleDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxIdleDurationBuilder().mergeFrom(value); } else { maxIdleDuration_ = value; @@ -4163,12 +4832,16 @@ public Builder mergeMaxIdleDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMaxIdleDuration() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4181,12 +4854,16 @@ public Builder clearMaxIdleDuration() { return this; } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getMaxIdleDurationBuilder() { bitField0_ |= 0x00000001; @@ -4194,45 +4871,59 @@ public com.google.protobuf.Duration.Builder getMaxIdleDurationBuilder() { return getMaxIdleDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() { if (maxIdleDurationBuilder_ != null) { return maxIdleDurationBuilder_.getMessageOrBuilder(); } else { - return maxIdleDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : maxIdleDuration_; + return maxIdleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxIdleDuration_; } } /** + * + * *
        * Optional. The idle time configuration of the session. The session will be
        * auto-terminated at the end of this period.
        * 
* - * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMaxIdleDurationFieldBuilder() { if (maxIdleDurationBuilder_ == null) { - maxIdleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMaxIdleDuration(), - getParentForChildren(), - isClean()); + maxIdleDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMaxIdleDuration(), getParentForChildren(), isClean()); maxIdleDuration_ = null; } return maxIdleDurationBuilder_; } - private boolean enableFastStartup_ ; + private boolean enableFastStartup_; /** + * + * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4242,6 +4933,7 @@ public com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder() {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableFastStartup. */ @java.lang.Override @@ -4249,6 +4941,8 @@ public boolean getEnableFastStartup() { return enableFastStartup_; } /** + * + * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4258,6 +4952,7 @@ public boolean getEnableFastStartup() {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableFastStartup to set. * @return This builder for chaining. */ @@ -4269,6 +4964,8 @@ public Builder setEnableFastStartup(boolean value) { return this; } /** + * + * *
        * Optional. If True, this causes sessions to be pre-created and available
        * for faster startup to enable interactive exploration use-cases. This
@@ -4278,6 +4975,7 @@ public Builder setEnableFastStartup(boolean value) {
        * 
* * bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableFastStartup() { @@ -4286,6 +4984,7 @@ public Builder clearEnableFastStartup() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4298,12 +4997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.SessionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.SessionSpec) private static final com.google.cloud.dataplex.v1.Environment.SessionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.SessionSpec(); } @@ -4312,27 +5011,28 @@ public static com.google.cloud.dataplex.v1.Environment.SessionSpec getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4347,72 +5047,81 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.SessionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SessionStatusOrBuilder extends + public interface SessionStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.SessionStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Queries over sessions to mark whether the environment is
      * currently active or not
      * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The active. */ boolean getActive(); } /** + * + * *
    * Status of sessions created for this environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionStatus} */ - public static final class SessionStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SessionStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.SessionStatus) SessionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SessionStatus.newBuilder() to construct. private SessionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SessionStatus() { - } + + private SessionStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SessionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionStatus.class, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionStatus.class, + com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); } public static final int ACTIVE_FIELD_NUMBER = 1; private boolean active_ = false; /** + * + * *
      * Output only. Queries over sessions to mark whether the environment is
      * currently active or not
      * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The active. */ @java.lang.Override @@ -4421,6 +5130,7 @@ public boolean getActive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4432,8 +5142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (active_ != false) { output.writeBool(1, active_); } @@ -4447,8 +5156,7 @@ public int getSerializedSize() { size = 0; if (active_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, active_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, active_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4458,15 +5166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.SessionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.SessionStatus other = (com.google.cloud.dataplex.v1.Environment.SessionStatus) obj; + com.google.cloud.dataplex.v1.Environment.SessionStatus other = + (com.google.cloud.dataplex.v1.Environment.SessionStatus) obj; - if (getActive() - != other.getActive()) return false; + if (getActive() != other.getActive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4479,97 +5187,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACTIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getActive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getActive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.SessionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.SessionStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Environment.SessionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4579,39 +5291,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of sessions created for this environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.SessionStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.SessionStatus) com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.SessionStatus.class, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); + com.google.cloud.dataplex.v1.Environment.SessionStatus.class, + com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.SessionStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4621,9 +5335,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; } @java.lang.Override @@ -4642,8 +5356,11 @@ public com.google.cloud.dataplex.v1.Environment.SessionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionStatus buildPartial() { - com.google.cloud.dataplex.v1.Environment.SessionStatus result = new com.google.cloud.dataplex.v1.Environment.SessionStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Environment.SessionStatus result = + new com.google.cloud.dataplex.v1.Environment.SessionStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4659,38 +5376,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.SessionStatu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.SessionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.SessionStatus) other); } else { super.mergeFrom(other); return this; @@ -4698,7 +5418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.SessionStatus other) { - if (other == com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) + return this; if (other.getActive() != false) { setActive(other.getActive()); } @@ -4728,17 +5449,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - active_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + active_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4748,16 +5471,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean active_ ; + private boolean active_; /** + * + * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The active. */ @java.lang.Override @@ -4765,12 +5492,15 @@ public boolean getActive() { return active_; } /** + * + * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The active to set. * @return This builder for chaining. */ @@ -4782,12 +5512,15 @@ public Builder setActive(boolean value) { return this; } /** + * + * *
        * Output only. Queries over sessions to mark whether the environment is
        * currently active or not
        * 
* * bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearActive() { @@ -4796,6 +5529,7 @@ public Builder clearActive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4808,12 +5542,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.SessionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.SessionStatus) private static final com.google.cloud.dataplex.v1.Environment.SessionStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.SessionStatus(); } @@ -4822,27 +5556,28 @@ public static com.google.cloud.dataplex.v1.Environment.SessionStatus getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4857,69 +5592,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.SessionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EndpointsOrBuilder extends + public interface EndpointsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment.Endpoints) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The notebooks. */ java.lang.String getNotebooks(); /** + * + * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for notebooks. */ - com.google.protobuf.ByteString - getNotebooksBytes(); + com.google.protobuf.ByteString getNotebooksBytes(); /** + * + * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sql. */ java.lang.String getSql(); /** + * + * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sql. */ - com.google.protobuf.ByteString - getSqlBytes(); + com.google.protobuf.ByteString getSqlBytes(); } /** + * + * *
    * URI Endpoints to access sessions associated with the Environment.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.Endpoints} */ - public static final class Endpoints extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Endpoints extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Environment.Endpoints) EndpointsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Endpoints.newBuilder() to construct. private Endpoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Endpoints() { notebooks_ = ""; sql_ = ""; @@ -4927,33 +5675,38 @@ private Endpoints() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Endpoints(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.Endpoints.class, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); + com.google.cloud.dataplex.v1.Environment.Endpoints.class, + com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); } public static final int NOTEBOOKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object notebooks_ = ""; /** + * + * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The notebooks. */ @java.lang.Override @@ -4962,29 +5715,29 @@ public java.lang.String getNotebooks() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebooks_ = s; return s; } } /** + * + * *
      * Output only. URI to serve notebook APIs
      * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for notebooks. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotebooksBytes() { + public com.google.protobuf.ByteString getNotebooksBytes() { java.lang.Object ref = notebooks_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notebooks_ = b; return b; } else { @@ -4993,14 +5746,18 @@ public java.lang.String getNotebooks() { } public static final int SQL_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** + * + * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sql. */ @java.lang.Override @@ -5009,29 +5766,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** + * + * *
      * Output only. URI to serve SQL APIs
      * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -5040,6 +5797,7 @@ public java.lang.String getSql() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5051,8 +5809,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notebooks_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notebooks_); } @@ -5082,17 +5839,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment.Endpoints)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Environment.Endpoints other = (com.google.cloud.dataplex.v1.Environment.Endpoints) obj; + com.google.cloud.dataplex.v1.Environment.Endpoints other = + (com.google.cloud.dataplex.v1.Environment.Endpoints) obj; - if (!getNotebooks() - .equals(other.getNotebooks())) return false; - if (!getSql() - .equals(other.getSql())) return false; + if (!getNotebooks().equals(other.getNotebooks())) return false; + if (!getSql().equals(other.getSql())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5114,89 +5870,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment.Endpoints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment.Endpoints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment.Endpoints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5206,39 +5966,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * URI Endpoints to access sessions associated with the Environment.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Environment.Endpoints} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment.Endpoints) com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Environment.Endpoints.class, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); + com.google.cloud.dataplex.v1.Environment.Endpoints.class, + com.google.cloud.dataplex.v1.Environment.Endpoints.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Environment.Endpoints.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5249,9 +6011,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; } @java.lang.Override @@ -5270,8 +6032,11 @@ public com.google.cloud.dataplex.v1.Environment.Endpoints build() { @java.lang.Override public com.google.cloud.dataplex.v1.Environment.Endpoints buildPartial() { - com.google.cloud.dataplex.v1.Environment.Endpoints result = new com.google.cloud.dataplex.v1.Environment.Endpoints(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Environment.Endpoints result = + new com.google.cloud.dataplex.v1.Environment.Endpoints(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -5290,38 +6055,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment.Endpoints re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Environment.Endpoints) { - return mergeFrom((com.google.cloud.dataplex.v1.Environment.Endpoints)other); + return mergeFrom((com.google.cloud.dataplex.v1.Environment.Endpoints) other); } else { super.mergeFrom(other); return this; @@ -5329,7 +6097,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment.Endpoints other) { - if (other == com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) + return this; if (!other.getNotebooks().isEmpty()) { notebooks_ = other.notebooks_; bitField0_ |= 0x00000001; @@ -5366,22 +6135,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - notebooks_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + notebooks_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5391,22 +6163,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object notebooks_ = ""; /** + * + * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The notebooks. */ public java.lang.String getNotebooks() { java.lang.Object ref = notebooks_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebooks_ = s; return s; @@ -5415,20 +6190,21 @@ public java.lang.String getNotebooks() { } } /** + * + * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for notebooks. */ - public com.google.protobuf.ByteString - getNotebooksBytes() { + public com.google.protobuf.ByteString getNotebooksBytes() { java.lang.Object ref = notebooks_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notebooks_ = b; return b; } else { @@ -5436,28 +6212,35 @@ public java.lang.String getNotebooks() { } } /** + * + * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The notebooks to set. * @return This builder for chaining. */ - public Builder setNotebooks( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotebooks(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notebooks_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNotebooks() { @@ -5467,17 +6250,21 @@ public Builder clearNotebooks() { return this; } /** + * + * *
        * Output only. URI to serve notebook APIs
        * 
* * string notebooks = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for notebooks to set. * @return This builder for chaining. */ - public Builder setNotebooksBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotebooksBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notebooks_ = value; bitField0_ |= 0x00000001; @@ -5487,18 +6274,20 @@ public Builder setNotebooksBytes( private java.lang.Object sql_ = ""; /** + * + * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -5507,20 +6296,21 @@ public java.lang.String getSql() { } } /** + * + * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sql. */ - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -5528,28 +6318,35 @@ public java.lang.String getSql() { } } /** + * + * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSql(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sql_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSql() { @@ -5559,23 +6356,28 @@ public Builder clearSql() { return this; } /** + * + * *
        * Output only. URI to serve SQL APIs
        * 
* * string sql = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5588,12 +6390,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment.Endpoints) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment.Endpoints) private static final com.google.cloud.dataplex.v1.Environment.Endpoints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment.Endpoints(); } @@ -5602,27 +6404,28 @@ public static com.google.cloud.dataplex.v1.Environment.Endpoints getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Endpoints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5637,19 +6440,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment.Endpoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -5658,30 +6466,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; } } /** + * + * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -5690,14 +6500,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -5706,29 +6520,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -5737,9 +6551,12 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -5747,6 +6564,7 @@ public java.lang.String getDisplayName() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -5755,14 +6573,15 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -5770,16 +6589,15 @@ public java.lang.String getUid() {
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5790,11 +6608,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Environment creation time.
    * 
* - * .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 @@ -5802,11 +6624,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Environment creation time.
    * 
* - * .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 @@ -5814,11 +6640,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Environment creation time.
    * 
* - * .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() { @@ -5828,11 +6657,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 time when the environment was last updated.
    * 
* - * .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 @@ -5840,11 +6673,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the environment was last updated.
    * 
* - * .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 @@ -5852,11 +6689,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the environment was last updated.
    * 
* - * .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() { @@ -5864,32 +6704,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -5897,20 +6739,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -5922,6 +6765,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -5929,17 +6774,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -5947,11 +6794,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -5959,14 +6806,18 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -5975,29 +6826,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; } } /** + * + * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6008,37 +6859,53 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructureSpec_; /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -6046,37 +6913,56 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } public static final int SESSION_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Environment.SessionSpec sessionSpec_; /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sessionSpec field is set. */ @java.lang.Override @@ -6084,37 +6970,55 @@ public boolean hasSessionSpec() { return sessionSpec_ != null; } /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sessionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec() { - return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; + return sessionSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() + : sessionSpec_; } /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder() { - return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; + return sessionSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() + : sessionSpec_; } public static final int SESSION_STATUS_FIELD_NUMBER = 102; private com.google.cloud.dataplex.v1.Environment.SessionStatus sessionStatus_; /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sessionStatus field is set. */ @java.lang.Override @@ -6122,38 +7026,57 @@ public boolean hasSessionStatus() { return sessionStatus_ != null; } /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sessionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus() { - return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; + return sessionStatus_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() + : sessionStatus_; } /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder() { - return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; + public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder + getSessionStatusOrBuilder() { + return sessionStatus_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() + : sessionStatus_; } public static final int ENDPOINTS_FIELD_NUMBER = 200; private com.google.cloud.dataplex.v1.Environment.Endpoints endpoints_; /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endpoints field is set. */ @java.lang.Override @@ -6161,32 +7084,46 @@ public boolean hasEndpoints() { return endpoints_ != null; } /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endpoints. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints() { - return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; + return endpoints_ == null + ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() + : endpoints_; } /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder() { - return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; + return endpoints_ == null + ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() + : endpoints_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6198,8 +7135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6215,12 +7151,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -6258,45 +7190,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (infrastructureSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, getInfrastructureSpec()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(100, getInfrastructureSpec()); } if (sessionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, getSessionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getSessionSpec()); } if (sessionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(102, getSessionStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(102, getSessionStatus()); } if (endpoints_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(200, getEndpoints()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(200, getEndpoints()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6306,53 +7232,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Environment)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Environment other = (com.google.cloud.dataplex.v1.Environment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec() - .equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; } if (hasSessionSpec() != other.hasSessionSpec()) return false; if (hasSessionSpec()) { - if (!getSessionSpec() - .equals(other.getSessionSpec())) return false; + if (!getSessionSpec().equals(other.getSessionSpec())) return false; } if (hasSessionStatus() != other.hasSessionStatus()) return false; if (hasSessionStatus()) { - if (!getSessionStatus() - .equals(other.getSessionStatus())) return false; + if (!getSessionStatus().equals(other.getSessionStatus())) return false; } if (hasEndpoints() != other.hasEndpoints()) return false; if (hasEndpoints()) { - if (!getEndpoints() - .equals(other.getEndpoints())) return false; + if (!getEndpoints().equals(other.getEndpoints())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6408,99 +7323,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Environment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Environment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Environment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Environment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Environment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Environment represents a user-visible compute infrastructure for analytics
    * within a lake.
@@ -6508,55 +7428,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Environment}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Environment)
       com.google.cloud.dataplex.v1.EnvironmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.AnalyzeProto
+          .internal_static_google_cloud_dataplex_v1_Environment_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.AnalyzeProto
+          .internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Environment.class, com.google.cloud.dataplex.v1.Environment.Builder.class);
+              com.google.cloud.dataplex.v1.Environment.class,
+              com.google.cloud.dataplex.v1.Environment.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Environment.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6601,9 +7518,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Environment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.AnalyzeProto
+          .internal_static_google_cloud_dataplex_v1_Environment_descriptor;
     }
 
     @java.lang.Override
@@ -6622,8 +7539,11 @@ public com.google.cloud.dataplex.v1.Environment build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Environment buildPartial() {
-      com.google.cloud.dataplex.v1.Environment result = new com.google.cloud.dataplex.v1.Environment(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.Environment result =
+          new com.google.cloud.dataplex.v1.Environment(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -6640,14 +7560,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -6660,24 +7576,21 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.infrastructureSpec_ = infrastructureSpecBuilder_ == null
-            ? infrastructureSpec_
-            : infrastructureSpecBuilder_.build();
+        result.infrastructureSpec_ =
+            infrastructureSpecBuilder_ == null
+                ? infrastructureSpec_
+                : infrastructureSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.sessionSpec_ = sessionSpecBuilder_ == null
-            ? sessionSpec_
-            : sessionSpecBuilder_.build();
+        result.sessionSpec_ =
+            sessionSpecBuilder_ == null ? sessionSpec_ : sessionSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.sessionStatus_ = sessionStatusBuilder_ == null
-            ? sessionStatus_
-            : sessionStatusBuilder_.build();
+        result.sessionStatus_ =
+            sessionStatusBuilder_ == null ? sessionStatus_ : sessionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.endpoints_ = endpointsBuilder_ == null
-            ? endpoints_
-            : endpointsBuilder_.build();
+        result.endpoints_ = endpointsBuilder_ == null ? endpoints_ : endpointsBuilder_.build();
       }
     }
 
@@ -6685,38 +7598,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Environment result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Environment) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Environment)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Environment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6746,8 +7660,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Environment other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -6795,88 +7708,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 802: {
-              input.readMessage(
-                  getInfrastructureSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 802
-            case 810: {
-              input.readMessage(
-                  getSessionSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 810
-            case 818: {
-              input.readMessage(
-                  getSessionStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 818
-            case 1602: {
-              input.readMessage(
-                  getEndpointsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 1602
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 802:
+              {
+                input.readMessage(
+                    getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 802
+            case 810:
+              {
+                input.readMessage(getSessionSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 810
+            case 818:
+              {
+                input.readMessage(getSessionStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 818
+            case 1602:
+              {
+                input.readMessage(getEndpointsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 1602
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6886,23 +7803,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -6911,21 +7833,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -6933,30 +7858,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -6966,18 +7902,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the environment, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6987,18 +7929,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -7007,20 +7951,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -7028,28 +7973,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -7059,17 +8011,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -7079,6 +8035,8 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -7086,13 +8044,13 @@ public Builder setDisplayNameBytes(
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -7101,6 +8059,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -7108,15 +8068,14 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -7124,6 +8083,8 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -7131,18 +8092,22 @@ public java.lang.String getUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -7150,6 +8115,7 @@ public Builder setUid(
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -7159,6 +8125,8 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the environment. This
      * ID will be different if the environment is deleted and re-created with the
@@ -7166,12 +8134,14 @@ public Builder clearUid() {
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7181,39 +8151,58 @@ public Builder setUidBytes( 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. Environment creation time.
      * 
* - * .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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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. Environment creation time.
      * 
* - * .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) { @@ -7229,14 +8218,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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(); } else { @@ -7247,17 +8239,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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 (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7270,11 +8266,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7287,11 +8287,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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() { bitField0_ |= 0x00000008; @@ -7299,36 +8303,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Environment creation time.
      * 
* - * .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. Environment creation time.
      * 
* - * .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_; @@ -7336,39 +8352,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 time when the environment was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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 time when the environment was last updated.
      * 
* - * .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) { @@ -7384,14 +8419,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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(); } else { @@ -7402,17 +8440,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -7425,11 +8467,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -7442,11 +8488,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000010; @@ -7454,56 +8504,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the environment was last updated.
      * 
* - * .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 time when the environment was last updated.
      * 
* - * .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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7512,10 +8572,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
@@ -7523,20 +8586,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
@@ -7548,6 +8612,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
@@ -7555,17 +8621,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
@@ -7573,91 +8641,95 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User defined labels for the environment.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -7666,20 +8738,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -7687,28 +8760,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -7718,17 +8798,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the environment.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -7738,22 +8822,31 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7764,24 +8857,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -7795,11 +8897,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the environment.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -7811,41 +8917,61 @@ public Builder clearState() { private com.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> + infrastructureSpecBuilder_; /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { + public Builder setInfrastructureSpec( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7859,11 +8985,15 @@ public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Environment.In return this; } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder builderForValue) { @@ -7877,17 +9007,24 @@ public Builder setInfrastructureSpec( return this; } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec( + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - infrastructureSpec_ != null && - infrastructureSpec_ != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && infrastructureSpec_ != null + && infrastructureSpec_ + != com.google.cloud.dataplex.v1.Environment.InfrastructureSpec + .getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -7900,11 +9037,15 @@ public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Environment. return this; } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -7917,48 +9058,66 @@ public Builder clearInfrastructureSpec() { return this; } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder + getInfrastructureSpecBuilder() { bitField0_ |= 0x00000100; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null ? - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } } /** + * + * *
      * Required. Infrastructure specification for the Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), - getParentForChildren(), - isClean()); + infrastructureSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), getParentForChildren(), isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; @@ -7966,39 +9125,58 @@ public com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getI private com.google.cloud.dataplex.v1.Environment.SessionSpec sessionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> sessionSpecBuilder_; + com.google.cloud.dataplex.v1.Environment.SessionSpec, + com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, + com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> + sessionSpecBuilder_; /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sessionSpec field is set. */ public boolean hasSessionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sessionSpec. */ public com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec() { if (sessionSpecBuilder_ == null) { - return sessionSpec_ == null ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; + return sessionSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() + : sessionSpec_; } else { return sessionSpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSpec value) { if (sessionSpecBuilder_ == null) { @@ -8014,11 +9192,15 @@ public Builder setSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSp return this; } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSessionSpec( com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder builderForValue) { @@ -8032,17 +9214,22 @@ public Builder setSessionSpec( return this; } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSessionSpec(com.google.cloud.dataplex.v1.Environment.SessionSpec value) { if (sessionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - sessionSpec_ != null && - sessionSpec_ != com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && sessionSpec_ != null + && sessionSpec_ + != com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance()) { getSessionSpecBuilder().mergeFrom(value); } else { sessionSpec_ = value; @@ -8055,11 +9242,15 @@ public Builder mergeSessionSpec(com.google.cloud.dataplex.v1.Environment.Session return this; } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSessionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -8072,11 +9263,15 @@ public Builder clearSessionSpec() { return this; } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder getSessionSpecBuilder() { bitField0_ |= 0x00000200; @@ -8084,36 +9279,48 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder getSessionSp return getSessionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder() { if (sessionSpecBuilder_ != null) { return sessionSpecBuilder_.getMessageOrBuilder(); } else { - return sessionSpec_ == null ? - com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() : sessionSpec_; + return sessionSpec_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionSpec.getDefaultInstance() + : sessionSpec_; } } /** + * + * *
      * Optional. Configuration for sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> + com.google.cloud.dataplex.v1.Environment.SessionSpec, + com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, + com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder> getSessionSpecFieldBuilder() { if (sessionSpecBuilder_ == null) { - sessionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionSpec, com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder>( - getSessionSpec(), - getParentForChildren(), - isClean()); + sessionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.SessionSpec, + com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder, + com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder>( + getSessionSpec(), getParentForChildren(), isClean()); sessionSpec_ = null; } return sessionSpecBuilder_; @@ -8121,39 +9328,58 @@ public com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionS private com.google.cloud.dataplex.v1.Environment.SessionStatus sessionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> sessionStatusBuilder_; + com.google.cloud.dataplex.v1.Environment.SessionStatus, + com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, + com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> + sessionStatusBuilder_; /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sessionStatus field is set. */ public boolean hasSessionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sessionStatus. */ public com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus() { if (sessionStatusBuilder_ == null) { - return sessionStatus_ == null ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; + return sessionStatus_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() + : sessionStatus_; } else { return sessionStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSessionStatus(com.google.cloud.dataplex.v1.Environment.SessionStatus value) { if (sessionStatusBuilder_ == null) { @@ -8169,11 +9395,15 @@ public Builder setSessionStatus(com.google.cloud.dataplex.v1.Environment.Session return this; } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSessionStatus( com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder builderForValue) { @@ -8187,17 +9417,23 @@ public Builder setSessionStatus( return this; } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeSessionStatus(com.google.cloud.dataplex.v1.Environment.SessionStatus value) { + public Builder mergeSessionStatus( + com.google.cloud.dataplex.v1.Environment.SessionStatus value) { if (sessionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - sessionStatus_ != null && - sessionStatus_ != com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && sessionStatus_ != null + && sessionStatus_ + != com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance()) { getSessionStatusBuilder().mergeFrom(value); } else { sessionStatus_ = value; @@ -8210,11 +9446,15 @@ public Builder mergeSessionStatus(com.google.cloud.dataplex.v1.Environment.Sessi return this; } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSessionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -8227,48 +9467,66 @@ public Builder clearSessionStatus() { return this; } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder getSessionStatusBuilder() { + public com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder + getSessionStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getSessionStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder + getSessionStatusOrBuilder() { if (sessionStatusBuilder_ != null) { return sessionStatusBuilder_.getMessageOrBuilder(); } else { - return sessionStatus_ == null ? - com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() : sessionStatus_; + return sessionStatus_ == null + ? com.google.cloud.dataplex.v1.Environment.SessionStatus.getDefaultInstance() + : sessionStatus_; } } /** + * + * *
      * Output only. Status of sessions created for this environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> + com.google.cloud.dataplex.v1.Environment.SessionStatus, + com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, + com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder> getSessionStatusFieldBuilder() { if (sessionStatusBuilder_ == null) { - sessionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.SessionStatus, com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder>( - getSessionStatus(), - getParentForChildren(), - isClean()); + sessionStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.SessionStatus, + com.google.cloud.dataplex.v1.Environment.SessionStatus.Builder, + com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder>( + getSessionStatus(), getParentForChildren(), isClean()); sessionStatus_ = null; } return sessionStatusBuilder_; @@ -8276,42 +9534,61 @@ public com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessio private com.google.cloud.dataplex.v1.Environment.Endpoints endpoints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> endpointsBuilder_; + com.google.cloud.dataplex.v1.Environment.Endpoints, + com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, + com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> + endpointsBuilder_; /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endpoints field is set. */ public boolean hasEndpoints() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endpoints. */ public com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints() { if (endpointsBuilder_ == null) { - return endpoints_ == null ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; + return endpoints_ == null + ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() + : endpoints_; } else { return endpointsBuilder_.getMessage(); } } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints value) { if (endpointsBuilder_ == null) { @@ -8327,12 +9604,16 @@ public Builder setEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints v return this; } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndpoints( com.google.cloud.dataplex.v1.Environment.Endpoints.Builder builderForValue) { @@ -8346,18 +9627,23 @@ public Builder setEndpoints( return this; } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints value) { if (endpointsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - endpoints_ != null && - endpoints_ != com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && endpoints_ != null + && endpoints_ + != com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance()) { getEndpointsBuilder().mergeFrom(value); } else { endpoints_ = value; @@ -8370,12 +9656,16 @@ public Builder mergeEndpoints(com.google.cloud.dataplex.v1.Environment.Endpoints return this; } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndpoints() { bitField0_ = (bitField0_ & ~0x00000800); @@ -8388,12 +9678,16 @@ public Builder clearEndpoints() { return this; } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Environment.Endpoints.Builder getEndpointsBuilder() { bitField0_ |= 0x00000800; @@ -8401,45 +9695,57 @@ public com.google.cloud.dataplex.v1.Environment.Endpoints.Builder getEndpointsBu return getEndpointsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder() { if (endpointsBuilder_ != null) { return endpointsBuilder_.getMessageOrBuilder(); } else { - return endpoints_ == null ? - com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() : endpoints_; + return endpoints_ == null + ? com.google.cloud.dataplex.v1.Environment.Endpoints.getDefaultInstance() + : endpoints_; } } /** + * + * *
      * Output only. URI Endpoints to access sessions associated with the
      * Environment.
      * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> + com.google.cloud.dataplex.v1.Environment.Endpoints, + com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, + com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder> getEndpointsFieldBuilder() { if (endpointsBuilder_ == null) { - endpointsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment.Endpoints, com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder>( - getEndpoints(), - getParentForChildren(), - isClean()); + endpointsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment.Endpoints, + com.google.cloud.dataplex.v1.Environment.Endpoints.Builder, + com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder>( + getEndpoints(), getParentForChildren(), isClean()); endpoints_ = null; } return endpointsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8449,12 +9755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Environment) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Environment) private static final com.google.cloud.dataplex.v1.Environment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Environment(); } @@ -8463,27 +9769,27 @@ public static com.google.cloud.dataplex.v1.Environment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Environment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Environment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8498,6 +9804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Environment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java index b09d0694d28b..fc8aac43ec2a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/EnvironmentOrBuilder.java @@ -1,55 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface EnvironmentOrBuilder extends +public interface EnvironmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Environment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the environment, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -57,10 +89,13 @@ public interface EnvironmentOrBuilder extends
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the environment. This
    * ID will be different if the environment is deleted and re-created with the
@@ -68,66 +103,90 @@ public interface EnvironmentOrBuilder extends
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Environment creation time.
    * 
* - * .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. Environment creation time.
    * 
* - * .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. Environment creation time.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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 time when the environment was last updated.
    * 
* - * .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(); /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -136,30 +195,31 @@ public interface EnvironmentOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User defined labels for the environment.
    * 
@@ -167,167 +227,238 @@ boolean containsLabels( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User defined labels for the environment.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the environment.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the environment.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Environment.InfrastructureSpec getInfrastructureSpec(); /** + * + * *
    * Required. Infrastructure specification for the Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); + com.google.cloud.dataplex.v1.Environment.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder(); /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sessionSpec field is set. */ boolean hasSessionSpec(); /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sessionSpec. */ com.google.cloud.dataplex.v1.Environment.SessionSpec getSessionSpec(); /** + * + * *
    * Optional. Configuration for sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Environment.SessionSpecOrBuilder getSessionSpecOrBuilder(); /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sessionStatus field is set. */ boolean hasSessionStatus(); /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sessionStatus. */ com.google.cloud.dataplex.v1.Environment.SessionStatus getSessionStatus(); /** + * + * *
    * Output only. Status of sessions created for this environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Environment.SessionStatusOrBuilder getSessionStatusOrBuilder(); /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endpoints field is set. */ boolean hasEndpoints(); /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endpoints. */ com.google.cloud.dataplex.v1.Environment.Endpoints getEndpoints(); /** + * + * *
    * Output only. URI Endpoints to access sessions associated with the
    * Environment.
    * 
* - * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Environment.EndpointsOrBuilder getEndpointsOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java index a2a430eb14e8..2cd3fc61e2d1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetAssetRequest} */ -public final class GetAssetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAssetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetAssetRequest) GetAssetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAssetRequest.newBuilder() to construct. private GetAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAssetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetAssetRequest.class, com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.GetAssetRequest.class, + com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetAssetRequest other = (com.google.cloud.dataplex.v1.GetAssetRequest) obj; + com.google.cloud.dataplex.v1.GetAssetRequest other = + (com.google.cloud.dataplex.v1.GetAssetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetAssetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetAssetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetAssetRequest) com.google.cloud.dataplex.v1.GetAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetAssetRequest.class, com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.GetAssetRequest.class, + com.google.cloud.dataplex.v1.GetAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetAssetRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.GetAssetRequest result = new com.google.cloud.dataplex.v1.GetAssetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetAssetRequest result = + new com.google.cloud.dataplex.v1.GetAssetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetAssetRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetAssetRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetAssetRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetAssetRequest) private static final com.google.cloud.dataplex.v1.GetAssetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetAssetRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.GetAssetRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java new file mode 100644 index 000000000000..9414e5ccfb69 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetAssetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetAssetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the asset:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java index ed97cd1b74ee..b800228db097 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetContentRequest} */ -public final class GetContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetContentRequest) GetContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetContentRequest.newBuilder() to construct. private GetContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetContentRequest() { name_ = ""; view_ = 0; @@ -26,25 +44,28 @@ private GetContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetContentRequest.class, com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetContentRequest.class, + com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); } /** + * + * *
    * Specifies whether the request should return the full or the partial
    * representation.
@@ -52,9 +73,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.dataplex.v1.GetContentRequest.ContentView}
    */
-  public enum ContentView
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ContentView implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Content view not specified. Defaults to BASIC.
      * The API will default to the BASIC view.
@@ -64,6 +86,8 @@ public enum ContentView
      */
     CONTENT_VIEW_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Will not return the `data_text` field.
      * 
@@ -72,6 +96,8 @@ public enum ContentView */ BASIC(1), /** + * + * *
      * Returns the complete proto.
      * 
@@ -83,6 +109,8 @@ public enum ContentView ; /** + * + * *
      * Content view not specified. Defaults to BASIC.
      * The API will default to the BASIC view.
@@ -92,6 +120,8 @@ public enum ContentView
      */
     public static final int CONTENT_VIEW_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Will not return the `data_text` field.
      * 
@@ -100,6 +130,8 @@ public enum ContentView */ public static final int BASIC_VALUE = 1; /** + * + * *
      * Returns the complete proto.
      * 
@@ -108,7 +140,6 @@ public enum ContentView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -133,49 +164,49 @@ public static ContentView valueOf(int value) { */ public static ContentView forNumber(int value) { switch (value) { - case 0: return CONTENT_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return CONTENT_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - ContentView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentView findValueByNumber(int number) { - return ContentView.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 ContentView findValueByNumber(int number) { + return ContentView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.GetContentRequest.getDescriptor().getEnumTypes().get(0); } private static final ContentView[] VALUES = values(); - public static ContentView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentView 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; @@ -193,15 +224,21 @@ private ContentView(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -210,30 +247,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. The resource name of the content:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -244,30 +283,46 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. Specify content view to make a partial request.
    * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. Specify content view to make a partial request.
    * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { - com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { + com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = + com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,12 +334,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -299,9 +355,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.dataplex.v1.GetContentRequest.ContentView.CONTENT_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,15 +368,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetContentRequest other = (com.google.cloud.dataplex.v1.GetContentRequest) obj; + com.google.cloud.dataplex.v1.GetContentRequest other = + (com.google.cloud.dataplex.v1.GetContentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -341,132 +398,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetContentRequest) com.google.cloud.dataplex.v1.GetContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetContentRequest.class, com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetContentRequest.class, + com.google.cloud.dataplex.v1.GetContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetContentRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; } @java.lang.Override @@ -498,8 +559,11 @@ public com.google.cloud.dataplex.v1.GetContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest buildPartial() { - com.google.cloud.dataplex.v1.GetContentRequest result = new com.google.cloud.dataplex.v1.GetContentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetContentRequest result = + new com.google.cloud.dataplex.v1.GetContentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -518,38 +582,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetContentRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetContentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetContentRequest) other); } else { super.mergeFrom(other); return this; @@ -592,22 +657,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,23 +685,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -642,21 +715,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -664,30 +740,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -697,18 +784,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the content:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -718,22 +811,33 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. Specify content view to make a partial request.
      * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. Specify content view to make a partial request.
      * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -744,24 +848,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. Specify content view to make a partial request.
      * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView() { - com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GetContentRequest.ContentView result = + com.google.cloud.dataplex.v1.GetContentRequest.ContentView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetContentRequest.ContentView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Specify content view to make a partial request.
      * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -775,11 +892,16 @@ public Builder setView(com.google.cloud.dataplex.v1.GetContentRequest.ContentVie return this; } /** + * + * *
      * Optional. Specify content view to make a partial request.
      * 
* - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -788,9 +910,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,12 +922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetContentRequest) private static final com.google.cloud.dataplex.v1.GetContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetContentRequest(); } @@ -814,27 +936,27 @@ public static com.google.cloud.dataplex.v1.GetContentRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +971,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java new file mode 100644 index 000000000000..fb4945766b98 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/content.proto + +package com.google.cloud.dataplex.v1; + +public interface GetContentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetContentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the content:
+   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. Specify content view to make a partial request.
+   * 
+ * + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. Specify content view to make a partial request.
+   * 
+ * + * + * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java index 10226d03685b..fa4cfe88781a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequest.java @@ -1,58 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeBindingRequest} */ -public final class GetDataAttributeBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) GetDataAttributeBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataAttributeBindingRequest.newBuilder() to construct. - private GetDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataAttributeBindingRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataAttributeBindingRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +87,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. The resource name of the DataAttributeBinding:
    * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +157,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other = + (com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +185,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) com.google.cloud.dataplex.v1.GetDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; } @java.lang.Override @@ -312,8 +345,11 @@ public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest result = + new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +365,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataAttributeBindingR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +438,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +460,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +490,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +515,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +559,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataAttributeBinding:
      * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) private static final com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest(); } @@ -544,27 +609,27 @@ public static com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +644,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java new file mode 100644 index 000000000000..65c30a755cc0 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataAttributeBindingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the DataAttributeBinding:
+   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the DataAttributeBinding:
+   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java index 067510f36887..ad17aa4b7a09 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeRequest} */ -public final class GetDataAttributeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataAttributeRequest) GetDataAttributeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataAttributeRequest.newBuilder() to construct. private GetDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataAttributeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, + com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the dataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the dataAttribute:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataAttributeRequest other = (com.google.cloud.dataplex.v1.GetDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.GetDataAttributeRequest other = + (com.google.cloud.dataplex.v1.GetDataAttributeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataAttributeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataAttributeRequest) com.google.cloud.dataplex.v1.GetDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, + com.google.cloud.dataplex.v1.GetDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataAttributeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataAttributeRequest result = new com.google.cloud.dataplex.v1.GetDataAttributeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetDataAttributeRequest result = + new com.google.cloud.dataplex.v1.GetDataAttributeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataAttributeRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataAttributeRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the dataAttribute:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataAttributeRequest) private static final com.google.cloud.dataplex.v1.GetDataAttributeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataAttributeRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.dataplex.v1.GetDataAttributeRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java new file mode 100644 index 000000000000..96c6a6a7b487 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataAttributeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the dataAttribute:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the dataAttribute:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java index 1d26fca7f0ca..1739e933c562 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get DataScanJob request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanJobRequest} */ -public final class GetDataScanJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataScanJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataScanJobRequest) GetDataScanJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataScanJobRequest.newBuilder() to construct. private GetDataScanJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataScanJobRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,38 @@ private GetDataScanJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataScanJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, + com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); } /** + * + * *
    * DataScanJob view options.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView} */ - public enum DataScanJobView - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -62,6 +84,8 @@ public enum DataScanJobView */ DATA_SCAN_JOB_VIEW_UNSPECIFIED(0), /** + * + * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -70,6 +94,8 @@ public enum DataScanJobView */ BASIC(1), /** + * + * *
      * Include everything.
      * 
@@ -81,6 +107,8 @@ public enum DataScanJobView ; /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -89,6 +117,8 @@ public enum DataScanJobView */ public static final int DATA_SCAN_JOB_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -97,6 +127,8 @@ public enum DataScanJobView */ public static final int BASIC_VALUE = 1; /** + * + * *
      * Include everything.
      * 
@@ -105,7 +137,6 @@ public enum DataScanJobView */ public static final int FULL_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,40 +161,45 @@ public static DataScanJobView valueOf(int value) { */ public static DataScanJobView forNumber(int value) { switch (value) { - case 0: return DATA_SCAN_JOB_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 10: return FULL; - default: return null; + case 0: + return DATA_SCAN_JOB_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 10: + return FULL; + 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< - DataScanJobView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataScanJobView findValueByNumber(int number) { - return DataScanJobView.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 DataScanJobView findValueByNumber(int number) { + return DataScanJobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final DataScanJobView[] VALUES = values(); @@ -171,8 +207,7 @@ public DataScanJobView findValueByNumber(int number) { public static DataScanJobView 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; @@ -190,9 +225,12 @@ private DataScanJobView(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -200,7 +238,10 @@ private DataScanJobView(int value) {
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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 @@ -209,14 +250,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -224,17 +266,18 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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 { @@ -245,30 +288,46 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,12 +339,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.DATA_SCAN_JOB_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView + .DATA_SCAN_JOB_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -300,9 +361,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.DATA_SCAN_JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView + .DATA_SCAN_JOB_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -312,15 +375,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataScanJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataScanJobRequest other = (com.google.cloud.dataplex.v1.GetDataScanJobRequest) obj; + com.google.cloud.dataplex.v1.GetDataScanJobRequest other = + (com.google.cloud.dataplex.v1.GetDataScanJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -343,131 +406,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataScanJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataScanJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get DataScanJob request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataScanJobRequest) com.google.cloud.dataplex.v1.GetDataScanJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, + com.google.cloud.dataplex.v1.GetDataScanJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataScanJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; } @java.lang.Override @@ -499,8 +566,11 @@ public com.google.cloud.dataplex.v1.GetDataScanJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest result = new com.google.cloud.dataplex.v1.GetDataScanJobRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetDataScanJobRequest result = + new com.google.cloud.dataplex.v1.GetDataScanJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -519,38 +589,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataScanJobRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataScanJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanJobRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanJobRequest) other); } else { super.mergeFrom(other); return this; @@ -558,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataScanJobRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -593,22 +665,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,10 +693,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -629,14 +707,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string name = 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; @@ -645,6 +725,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -652,16 +734,17 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 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 { @@ -669,6 +752,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -676,19 +761,25 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -696,7 +787,10 @@ public Builder setName(
      * `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -706,6 +800,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataScanJob:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -713,13 +809,17 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -729,22 +829,33 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -755,28 +866,42 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView() { - com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView result = + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ - public Builder setView(com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView value) { + public Builder setView( + com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView value) { if (value == null) { throw new NullPointerException(); } @@ -786,11 +911,16 @@ public Builder setView(com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataSc return this; } /** + * + * *
      * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -799,9 +929,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataScanJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataScanJobRequest) private static final com.google.cloud.dataplex.v1.GetDataScanJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataScanJobRequest(); } @@ -825,27 +955,27 @@ public static com.google.cloud.dataplex.v1.GetDataScanJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataScanJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataScanJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,6 +990,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataScanJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java index e0ccf43392aa..227920f0489f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface GetDataScanJobRequestOrBuilder extends +public interface GetDataScanJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataScanJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -15,11 +33,16 @@ public interface GetDataScanJobRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the DataScanJob:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
@@ -27,27 +50,39 @@ public interface GetDataScanJobRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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(); /** + * + * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getView(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java index db5cc8dae274..fbdb0c89a896 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanRequest} */ -public final class GetDataScanRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataScanRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataScanRequest) GetDataScanRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataScanRequest.newBuilder() to construct. private GetDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataScanRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,38 @@ private GetDataScanRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanRequest.class, com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanRequest.class, + com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); } /** + * + * *
    * DataScan view options.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanRequest.DataScanView} */ - public enum DataScanView - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -62,6 +84,8 @@ public enum DataScanView */ DATA_SCAN_VIEW_UNSPECIFIED(0), /** + * + * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -70,6 +94,8 @@ public enum DataScanView */ BASIC(1), /** + * + * *
      * Include everything.
      * 
@@ -81,6 +107,8 @@ public enum DataScanView ; /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -89,6 +117,8 @@ public enum DataScanView */ public static final int DATA_SCAN_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic view that does not include *spec* and *result*.
      * 
@@ -97,6 +127,8 @@ public enum DataScanView */ public static final int BASIC_VALUE = 1; /** + * + * *
      * Include everything.
      * 
@@ -105,7 +137,6 @@ public enum DataScanView */ public static final int FULL_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,49 +161,49 @@ public static DataScanView valueOf(int value) { */ public static DataScanView forNumber(int value) { switch (value) { - case 0: return DATA_SCAN_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 10: return FULL; - default: return null; + case 0: + return DATA_SCAN_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 10: + return FULL; + 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< - DataScanView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataScanView findValueByNumber(int number) { - return DataScanView.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 DataScanView findValueByNumber(int number) { + return DataScanView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.GetDataScanRequest.getDescriptor().getEnumTypes().get(0); } private static final DataScanView[] VALUES = values(); - public static DataScanView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataScanView 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; @@ -190,9 +221,12 @@ private DataScanView(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -200,7 +234,10 @@ private DataScanView(int value) {
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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 @@ -209,14 +246,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -224,17 +262,18 @@ public java.lang.String getName() {
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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 { @@ -245,30 +284,46 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,12 +335,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -300,9 +356,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.DATA_SCAN_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -312,15 +369,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataScanRequest other = (com.google.cloud.dataplex.v1.GetDataScanRequest) obj; + com.google.cloud.dataplex.v1.GetDataScanRequest other = + (com.google.cloud.dataplex.v1.GetDataScanRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -342,132 +399,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataScanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataScanRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataScanRequest) com.google.cloud.dataplex.v1.GetDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataScanRequest.class, com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataScanRequest.class, + com.google.cloud.dataplex.v1.GetDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataScanRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; } @java.lang.Override @@ -499,8 +560,11 @@ public com.google.cloud.dataplex.v1.GetDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataScanRequest result = new com.google.cloud.dataplex.v1.GetDataScanRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetDataScanRequest result = + new com.google.cloud.dataplex.v1.GetDataScanRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -519,38 +583,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataScanRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataScanRequest) other); } else { super.mergeFrom(other); return this; @@ -558,7 +623,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -593,22 +659,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,10 +687,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -629,14 +701,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string name = 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; @@ -645,6 +719,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -652,16 +728,17 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 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 { @@ -669,6 +746,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -676,19 +755,25 @@ public java.lang.String getName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -696,7 +781,10 @@ public Builder setName(
      * `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -706,6 +794,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the dataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -713,13 +803,17 @@ public Builder clearName() {
      * `location_id` refers to a GCP region.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -729,22 +823,33 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -755,24 +860,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { - com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView result = + com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -786,11 +904,16 @@ public Builder setView(com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanV return this; } /** + * + * *
      * Optional. Select the DataScan view to return. Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -799,9 +922,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataScanRequest) private static final com.google.cloud.dataplex.v1.GetDataScanRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataScanRequest(); } @@ -825,27 +948,27 @@ public static com.google.cloud.dataplex.v1.GetDataScanRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,6 +983,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java index 34facf162092..02742103246c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface GetDataScanRequestOrBuilder extends +public interface GetDataScanRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataScanRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -15,11 +33,16 @@ public interface GetDataScanRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the dataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -27,27 +50,39 @@ public interface GetDataScanRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string name = 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(); /** + * + * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. Select the DataScan view to return. Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java index ff5b8d1f0fca..b6267debfc05 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataTaxonomyRequest} */ -public final class GetDataTaxonomyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetDataTaxonomyRequest) GetDataTaxonomyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataTaxonomyRequest.newBuilder() to construct. private GetDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataTaxonomyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other = + (com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetDataTaxonomyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetDataTaxonomyRequest) com.google.cloud.dataplex.v1.GetDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetDataTaxonomyRequest result = + new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.GetDataTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetDataTaxonomyRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.dataplex.v1.GetDataTaxonomyRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..1666a3a4261f --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/data_taxonomy.proto + +package com.google.cloud.dataplex.v1; + +public interface GetDataTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the DataTaxonomy:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the DataTaxonomy:
+   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java index b16c4da1e3f7..4ae2db4d65a5 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get metadata entity request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEntityRequest} */ -public final class GetEntityRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEntityRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetEntityRequest) GetEntityRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEntityRequest.newBuilder() to construct. private GetEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEntityRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,38 @@ private GetEntityRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEntityRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEntityRequest.class, com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEntityRequest.class, + com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); } /** + * + * *
    * Entity views for get entity partial result.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GetEntityRequest.EntityView} */ - public enum EntityView - implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -62,6 +84,8 @@ public enum EntityView */ ENTITY_VIEW_UNSPECIFIED(0), /** + * + * *
      * Minimal view that does not include the schema.
      * 
@@ -70,6 +94,8 @@ public enum EntityView */ BASIC(1), /** + * + * *
      * Include basic information and schema.
      * 
@@ -78,6 +104,8 @@ public enum EntityView */ SCHEMA(2), /** + * + * *
      * Include everything. Currently, this is the same as the SCHEMA view.
      * 
@@ -89,6 +117,8 @@ public enum EntityView ; /** + * + * *
      * The API will default to the `BASIC` view.
      * 
@@ -97,6 +127,8 @@ public enum EntityView */ public static final int ENTITY_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Minimal view that does not include the schema.
      * 
@@ -105,6 +137,8 @@ public enum EntityView */ public static final int BASIC_VALUE = 1; /** + * + * *
      * Include basic information and schema.
      * 
@@ -113,6 +147,8 @@ public enum EntityView */ public static final int SCHEMA_VALUE = 2; /** + * + * *
      * Include everything. Currently, this is the same as the SCHEMA view.
      * 
@@ -121,7 +157,6 @@ public enum EntityView */ public static final int FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,50 +181,51 @@ public static EntityView valueOf(int value) { */ public static EntityView forNumber(int value) { switch (value) { - case 0: return ENTITY_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return SCHEMA; - case 4: return FULL; - default: return null; + case 0: + return ENTITY_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return SCHEMA; + case 4: + return FULL; + 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< - EntityView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityView findValueByNumber(int number) { - return EntityView.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 EntityView findValueByNumber(int number) { + return EntityView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.GetEntityRequest.getDescriptor().getEnumTypes().get(0); } private static final EntityView[] VALUES = values(); - public static EntityView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityView 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; @@ -207,15 +243,21 @@ private EntityView(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -224,30 +266,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. The resource name of the entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -258,32 +302,48 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. Used to select the subset of entity information to return.
    * Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. Used to select the subset of entity information to return.
    * Defaults to `BASIC`.
    * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,12 +355,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -315,9 +376,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.ENTITY_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,15 +389,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetEntityRequest other = (com.google.cloud.dataplex.v1.GetEntityRequest) obj; + com.google.cloud.dataplex.v1.GetEntityRequest other = + (com.google.cloud.dataplex.v1.GetEntityRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -357,132 +419,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetEntityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get metadata entity request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEntityRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetEntityRequest) com.google.cloud.dataplex.v1.GetEntityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEntityRequest.class, com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEntityRequest.class, + com.google.cloud.dataplex.v1.GetEntityRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetEntityRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; } @java.lang.Override @@ -514,8 +580,11 @@ public com.google.cloud.dataplex.v1.GetEntityRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest buildPartial() { - com.google.cloud.dataplex.v1.GetEntityRequest result = new com.google.cloud.dataplex.v1.GetEntityRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetEntityRequest result = + new com.google.cloud.dataplex.v1.GetEntityRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -534,38 +603,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetEntityRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetEntityRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetEntityRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetEntityRequest) other); } else { super.mergeFrom(other); return this; @@ -608,22 +678,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -633,23 +706,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -658,21 +736,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -680,30 +761,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -713,18 +805,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -734,24 +832,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -762,26 +871,39 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView() { - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView result = + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.GetEntityRequest.EntityView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -795,12 +917,17 @@ public Builder setView(com.google.cloud.dataplex.v1.GetEntityRequest.EntityView return this; } /** + * + * *
      * Optional. Used to select the subset of entity information to return.
      * Defaults to `BASIC`.
      * 
* - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -809,9 +936,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -821,12 +948,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetEntityRequest) private static final com.google.cloud.dataplex.v1.GetEntityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetEntityRequest(); } @@ -835,27 +962,27 @@ public static com.google.cloud.dataplex.v1.GetEntityRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -870,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java new file mode 100644 index 000000000000..ce0388754f4d --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java @@ -0,0 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public interface GetEntityRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEntityRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the entity:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the entity:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. Used to select the subset of entity information to return.
+   * Defaults to `BASIC`.
+   * 
+ * + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. Used to select the subset of entity information to return.
+   * Defaults to `BASIC`.
+   * 
+ * + * + * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java index 701bda522a02..97a51938e1bc 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, + com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the environment:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetEnvironmentRequest other = (com.google.cloud.dataplex.v1.GetEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.GetEnvironmentRequest other = + (com.google.cloud.dataplex.v1.GetEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetEnvironmentRequest) com.google.cloud.dataplex.v1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, + com.google.cloud.dataplex.v1.GetEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetEnvironmentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.GetEnvironmentRequest result = new com.google.cloud.dataplex.v1.GetEnvironmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetEnvironmentRequest result = + new com.google.cloud.dataplex.v1.GetEnvironmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetEnvironmentRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetEnvironmentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetEnvironmentRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the environment:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetEnvironmentRequest) private static final com.google.cloud.dataplex.v1.GetEnvironmentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetEnvironmentRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.dataplex.v1.GetEnvironmentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java new file mode 100644 index 000000000000..11034bcfba19 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetEnvironmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEnvironmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the environment:
+   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java index ff4b99e2447e..0c6a55d5e6af 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetJobRequest.class, com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetJobRequest.class, + com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the job:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetJobRequest other = (com.google.cloud.dataplex.v1.GetJobRequest) obj; + com.google.cloud.dataplex.v1.GetJobRequest other = + (com.google.cloud.dataplex.v1.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetJobRequest) com.google.cloud.dataplex.v1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetJobRequest.class, com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); + com.google.cloud.dataplex.v1.GetJobRequest.class, + com.google.cloud.dataplex.v1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetJobRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetJobRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetJobRequest buildPartial() { - com.google.cloud.dataplex.v1.GetJobRequest result = new com.google.cloud.dataplex.v1.GetJobRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetJobRequest result = + new com.google.cloud.dataplex.v1.GetJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetJobRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetJobRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetJobRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the job:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetJobRequest) private static final com.google.cloud.dataplex.v1.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetJobRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..1fc1e7979d15 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java index b40bad2b14bf..644943130cf2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetLakeRequest} */ -public final class GetLakeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetLakeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetLakeRequest) GetLakeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetLakeRequest.newBuilder() to construct. private GetLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetLakeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetLakeRequest.class, com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetLakeRequest.class, + com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetLakeRequest other = (com.google.cloud.dataplex.v1.GetLakeRequest) obj; + com.google.cloud.dataplex.v1.GetLakeRequest other = + (com.google.cloud.dataplex.v1.GetLakeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetLakeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetLakeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetLakeRequest) com.google.cloud.dataplex.v1.GetLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetLakeRequest.class, com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.GetLakeRequest.class, + com.google.cloud.dataplex.v1.GetLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetLakeRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.GetLakeRequest result = new com.google.cloud.dataplex.v1.GetLakeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetLakeRequest result = + new com.google.cloud.dataplex.v1.GetLakeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetLakeRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetLakeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetLakeRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetLakeRequest) private static final com.google.cloud.dataplex.v1.GetLakeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetLakeRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.GetLakeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java new file mode 100644 index 000000000000..78cf66a2805d --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetLakeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetLakeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the lake:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java index dfa118475c67..420e4a7bfc7b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get metadata partition request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetPartitionRequest} */ -public final class GetPartitionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPartitionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetPartitionRequest) GetPartitionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPartitionRequest.newBuilder() to construct. private GetPartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPartitionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPartitionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetPartitionRequest.class, com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.GetPartitionRequest.class, + com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -54,7 +76,10 @@ protected java.lang.Object newInstance(
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,14 +88,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -78,17 +104,18 @@ public java.lang.String getName() {
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetPartitionRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetPartitionRequest other = (com.google.cloud.dataplex.v1.GetPartitionRequest) obj; + com.google.cloud.dataplex.v1.GetPartitionRequest other = + (com.google.cloud.dataplex.v1.GetPartitionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,132 +187,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetPartitionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetPartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetPartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get metadata partition request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetPartitionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetPartitionRequest) com.google.cloud.dataplex.v1.GetPartitionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetPartitionRequest.class, com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); + com.google.cloud.dataplex.v1.GetPartitionRequest.class, + com.google.cloud.dataplex.v1.GetPartitionRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetPartitionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; } @java.lang.Override @@ -316,8 +347,11 @@ public com.google.cloud.dataplex.v1.GetPartitionRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetPartitionRequest buildPartial() { - com.google.cloud.dataplex.v1.GetPartitionRequest result = new com.google.cloud.dataplex.v1.GetPartitionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetPartitionRequest result = + new com.google.cloud.dataplex.v1.GetPartitionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -333,38 +367,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetPartitionRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetPartitionRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetPartitionRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetPartitionRequest) other); } else { super.mergeFrom(other); return this; @@ -372,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GetPartitionRequest other) { - if (other == com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -424,10 +462,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -435,14 +476,16 @@ public Builder mergeFrom(
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,6 +494,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -458,16 +503,17 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -475,6 +521,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -482,19 +530,25 @@ public java.lang.String getName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -502,7 +556,10 @@ public Builder setName(
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -512,6 +569,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the partition:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -519,22 +578,26 @@ public Builder clearName() {
      * partition values separated by "/". All values must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -544,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetPartitionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetPartitionRequest) private static final com.google.cloud.dataplex.v1.GetPartitionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetPartitionRequest(); } @@ -558,27 +621,27 @@ public static com.google.cloud.dataplex.v1.GetPartitionRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPartitionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPartitionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -593,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetPartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java index adb92279d01b..eee6aaf033de 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetPartitionRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface GetPartitionRequestOrBuilder extends +public interface GetPartitionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetPartitionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -15,11 +33,16 @@ public interface GetPartitionRequestOrBuilder extends
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the partition:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
@@ -27,9 +50,11 @@ public interface GetPartitionRequestOrBuilder extends
    * partition values separated by "/". All values must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java index c62c7bfc5908..4ff0fdeac5a2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetTaskRequest} */ -public final class GetTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetTaskRequest) GetTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTaskRequest.newBuilder() to construct. private GetTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetTaskRequest.class, com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.GetTaskRequest.class, + com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetTaskRequest other = (com.google.cloud.dataplex.v1.GetTaskRequest) obj; + com.google.cloud.dataplex.v1.GetTaskRequest other = + (com.google.cloud.dataplex.v1.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetTaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetTaskRequest) com.google.cloud.dataplex.v1.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetTaskRequest.class, com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.GetTaskRequest.class, + com.google.cloud.dataplex.v1.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetTaskRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.GetTaskRequest result = new com.google.cloud.dataplex.v1.GetTaskRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetTaskRequest result = + new com.google.cloud.dataplex.v1.GetTaskRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetTaskRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetTaskRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetTaskRequest) private static final com.google.cloud.dataplex.v1.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetTaskRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.GetTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java new file mode 100644 index 000000000000..ba7162cf9fdf --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the task:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java index 67b680cf905a..2ed41111f824 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Get zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetZoneRequest} */ -public final class GetZoneRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetZoneRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GetZoneRequest) GetZoneRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetZoneRequest.newBuilder() to construct. private GetZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetZoneRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetZoneRequest.class, com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.GetZoneRequest.class, + com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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. The resource name of the zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GetZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GetZoneRequest other = (com.google.cloud.dataplex.v1.GetZoneRequest) obj; + com.google.cloud.dataplex.v1.GetZoneRequest other = + (com.google.cloud.dataplex.v1.GetZoneRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GetZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GetZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.GetZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GetZoneRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GetZoneRequest) com.google.cloud.dataplex.v1.GetZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GetZoneRequest.class, com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.GetZoneRequest.class, + com.google.cloud.dataplex.v1.GetZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GetZoneRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.dataplex.v1.GetZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.GetZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.GetZoneRequest result = new com.google.cloud.dataplex.v1.GetZoneRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GetZoneRequest result = + new com.google.cloud.dataplex.v1.GetZoneRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GetZoneRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GetZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.GetZoneRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.GetZoneRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GetZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GetZoneRequest) private static final com.google.cloud.dataplex.v1.GetZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GetZoneRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.dataplex.v1.GetZoneRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GetZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java new file mode 100644 index 000000000000..e924bfabf1f0 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public interface GetZoneRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the zone:
+   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java index 233ac95fca40..dfe24d3502a6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEvent.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Payload associated with Governance related log events.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent} */ -public final class GovernanceEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GovernanceEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GovernanceEvent) GovernanceEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernanceEvent.newBuilder() to construct. private GovernanceEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GovernanceEvent() { message_ = ""; eventType_ = 0; @@ -26,34 +44,38 @@ private GovernanceEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernanceEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.class, com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.class, + com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); } /** + * + * *
    * Type of governance log event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GovernanceEvent.EventType} */ - public enum EventType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified event type.
      * 
@@ -62,6 +84,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Resource IAM policy update event.
      * 
@@ -70,6 +94,8 @@ public enum EventType */ RESOURCE_IAM_POLICY_UPDATE(1), /** + * + * *
      * BigQuery table create event.
      * 
@@ -78,6 +104,8 @@ public enum EventType */ BIGQUERY_TABLE_CREATE(2), /** + * + * *
      * BigQuery table update event.
      * 
@@ -86,6 +114,8 @@ public enum EventType */ BIGQUERY_TABLE_UPDATE(3), /** + * + * *
      * BigQuery table delete event.
      * 
@@ -94,6 +124,8 @@ public enum EventType */ BIGQUERY_TABLE_DELETE(4), /** + * + * *
      * BigQuery connection create event.
      * 
@@ -102,6 +134,8 @@ public enum EventType */ BIGQUERY_CONNECTION_CREATE(5), /** + * + * *
      * BigQuery connection update event.
      * 
@@ -110,6 +144,8 @@ public enum EventType */ BIGQUERY_CONNECTION_UPDATE(6), /** + * + * *
      * BigQuery connection delete event.
      * 
@@ -118,6 +154,8 @@ public enum EventType */ BIGQUERY_CONNECTION_DELETE(7), /** + * + * *
      * BigQuery taxonomy created.
      * 
@@ -126,6 +164,8 @@ public enum EventType */ BIGQUERY_TAXONOMY_CREATE(10), /** + * + * *
      * BigQuery policy tag created.
      * 
@@ -134,6 +174,8 @@ public enum EventType */ BIGQUERY_POLICY_TAG_CREATE(11), /** + * + * *
      * BigQuery policy tag deleted.
      * 
@@ -142,6 +184,8 @@ public enum EventType */ BIGQUERY_POLICY_TAG_DELETE(12), /** + * + * *
      * BigQuery set iam policy for policy tag.
      * 
@@ -150,6 +194,8 @@ public enum EventType */ BIGQUERY_POLICY_TAG_SET_IAM_POLICY(13), /** + * + * *
      * Access policy update event.
      * 
@@ -158,6 +204,8 @@ public enum EventType */ ACCESS_POLICY_UPDATE(14), /** + * + * *
      * Number of resources matched with particular Query.
      * 
@@ -166,6 +214,8 @@ public enum EventType */ GOVERNANCE_RULE_MATCHED_RESOURCES(15), /** + * + * *
      * Rule processing exceeds the allowed limit.
      * 
@@ -174,6 +224,8 @@ public enum EventType */ GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS(16), /** + * + * *
      * Rule processing errors.
      * 
@@ -185,6 +237,8 @@ public enum EventType ; /** + * + * *
      * An unspecified event type.
      * 
@@ -193,6 +247,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Resource IAM policy update event.
      * 
@@ -201,6 +257,8 @@ public enum EventType */ public static final int RESOURCE_IAM_POLICY_UPDATE_VALUE = 1; /** + * + * *
      * BigQuery table create event.
      * 
@@ -209,6 +267,8 @@ public enum EventType */ public static final int BIGQUERY_TABLE_CREATE_VALUE = 2; /** + * + * *
      * BigQuery table update event.
      * 
@@ -217,6 +277,8 @@ public enum EventType */ public static final int BIGQUERY_TABLE_UPDATE_VALUE = 3; /** + * + * *
      * BigQuery table delete event.
      * 
@@ -225,6 +287,8 @@ public enum EventType */ public static final int BIGQUERY_TABLE_DELETE_VALUE = 4; /** + * + * *
      * BigQuery connection create event.
      * 
@@ -233,6 +297,8 @@ public enum EventType */ public static final int BIGQUERY_CONNECTION_CREATE_VALUE = 5; /** + * + * *
      * BigQuery connection update event.
      * 
@@ -241,6 +307,8 @@ public enum EventType */ public static final int BIGQUERY_CONNECTION_UPDATE_VALUE = 6; /** + * + * *
      * BigQuery connection delete event.
      * 
@@ -249,6 +317,8 @@ public enum EventType */ public static final int BIGQUERY_CONNECTION_DELETE_VALUE = 7; /** + * + * *
      * BigQuery taxonomy created.
      * 
@@ -257,6 +327,8 @@ public enum EventType */ public static final int BIGQUERY_TAXONOMY_CREATE_VALUE = 10; /** + * + * *
      * BigQuery policy tag created.
      * 
@@ -265,6 +337,8 @@ public enum EventType */ public static final int BIGQUERY_POLICY_TAG_CREATE_VALUE = 11; /** + * + * *
      * BigQuery policy tag deleted.
      * 
@@ -273,6 +347,8 @@ public enum EventType */ public static final int BIGQUERY_POLICY_TAG_DELETE_VALUE = 12; /** + * + * *
      * BigQuery set iam policy for policy tag.
      * 
@@ -281,6 +357,8 @@ public enum EventType */ public static final int BIGQUERY_POLICY_TAG_SET_IAM_POLICY_VALUE = 13; /** + * + * *
      * Access policy update event.
      * 
@@ -289,6 +367,8 @@ public enum EventType */ public static final int ACCESS_POLICY_UPDATE_VALUE = 14; /** + * + * *
      * Number of resources matched with particular Query.
      * 
@@ -297,6 +377,8 @@ public enum EventType */ public static final int GOVERNANCE_RULE_MATCHED_RESOURCES_VALUE = 15; /** + * + * *
      * Rule processing exceeds the allowed limit.
      * 
@@ -305,6 +387,8 @@ public enum EventType */ public static final int GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS_VALUE = 16; /** + * + * *
      * Rule processing errors.
      * 
@@ -313,7 +397,6 @@ public enum EventType */ public static final int GOVERNANCE_RULE_ERRORS_VALUE = 17; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,62 +421,75 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: return EVENT_TYPE_UNSPECIFIED; - case 1: return RESOURCE_IAM_POLICY_UPDATE; - case 2: return BIGQUERY_TABLE_CREATE; - case 3: return BIGQUERY_TABLE_UPDATE; - case 4: return BIGQUERY_TABLE_DELETE; - case 5: return BIGQUERY_CONNECTION_CREATE; - case 6: return BIGQUERY_CONNECTION_UPDATE; - case 7: return BIGQUERY_CONNECTION_DELETE; - case 10: return BIGQUERY_TAXONOMY_CREATE; - case 11: return BIGQUERY_POLICY_TAG_CREATE; - case 12: return BIGQUERY_POLICY_TAG_DELETE; - case 13: return BIGQUERY_POLICY_TAG_SET_IAM_POLICY; - case 14: return ACCESS_POLICY_UPDATE; - case 15: return GOVERNANCE_RULE_MATCHED_RESOURCES; - case 16: return GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS; - case 17: return GOVERNANCE_RULE_ERRORS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return EVENT_TYPE_UNSPECIFIED; + case 1: + return RESOURCE_IAM_POLICY_UPDATE; + case 2: + return BIGQUERY_TABLE_CREATE; + case 3: + return BIGQUERY_TABLE_UPDATE; + case 4: + return BIGQUERY_TABLE_DELETE; + case 5: + return BIGQUERY_CONNECTION_CREATE; + case 6: + return BIGQUERY_CONNECTION_UPDATE; + case 7: + return BIGQUERY_CONNECTION_DELETE; + case 10: + return BIGQUERY_TAXONOMY_CREATE; + case 11: + return BIGQUERY_POLICY_TAG_CREATE; + case 12: + return BIGQUERY_POLICY_TAG_DELETE; + case 13: + return BIGQUERY_POLICY_TAG_SET_IAM_POLICY; + case 14: + return ACCESS_POLICY_UPDATE; + case 15: + return GOVERNANCE_RULE_MATCHED_RESOURCES; + case 16: + return GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS; + case 17: + return GOVERNANCE_RULE_ERRORS; + 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.cloud.dataplex.v1.GovernanceEvent.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; @@ -410,11 +506,14 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.GovernanceEvent.EventType) } - public interface EntityOrBuilder extends + public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GovernanceEvent.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -422,10 +521,13 @@ public interface EntityOrBuilder extends
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -433,46 +535,55 @@ public interface EntityOrBuilder extends
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** + * + * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The entityType. */ com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType(); } /** + * + * *
    * Information about Entity resource that the log event is associated with.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent.Entity} */ - public static final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.GovernanceEvent.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entity_ = ""; entityType_ = 0; @@ -480,34 +591,38 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); } /** + * + * *
      * Type of entity.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType} */ - public enum EntityType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * An unspecified Entity type.
        * 
@@ -516,6 +631,8 @@ public enum EntityType */ ENTITY_TYPE_UNSPECIFIED(0), /** + * + * *
        * Table entity type.
        * 
@@ -524,6 +641,8 @@ public enum EntityType */ TABLE(1), /** + * + * *
        * Fileset entity type.
        * 
@@ -535,6 +654,8 @@ public enum EntityType ; /** + * + * *
        * An unspecified Entity type.
        * 
@@ -543,6 +664,8 @@ public enum EntityType */ public static final int ENTITY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Table entity type.
        * 
@@ -551,6 +674,8 @@ public enum EntityType */ public static final int TABLE_VALUE = 1; /** + * + * *
        * Fileset entity type.
        * 
@@ -559,7 +684,6 @@ public enum EntityType */ public static final int FILESET_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -584,49 +708,51 @@ public static EntityType valueOf(int value) { */ public static EntityType forNumber(int value) { switch (value) { - case 0: return ENTITY_TYPE_UNSPECIFIED; - case 1: return TABLE; - case 2: return FILESET; - default: return null; + case 0: + return ENTITY_TYPE_UNSPECIFIED; + case 1: + return TABLE; + case 2: + return FILESET; + 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< - EntityType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityType findValueByNumber(int number) { - return EntityType.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 EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDescriptor() + .getEnumTypes() + .get(0); } private static final EntityType[] VALUES = values(); - public static EntityType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityType 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; @@ -644,9 +770,12 @@ private EntityType(int value) { } public static final int ENTITY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -654,6 +783,7 @@ private EntityType(int value) {
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The entity. */ @java.lang.Override @@ -662,14 +792,15 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
      * The Entity resource the log event is associated with.
      * Format:
@@ -677,16 +808,15 @@ public java.lang.String getEntity() {
      * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -697,30 +827,42 @@ public java.lang.String getEntity() { public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_ = 0; /** + * + * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override public int getEntityTypeValue() { + @java.lang.Override + public int getEntityTypeValue() { return entityType_; } /** + * + * *
      * Type of entity.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The entityType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); - return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); + return result == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -732,12 +874,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } - if (entityType_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + if (entityType_ + != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, entityType_); } getUnknownFields().writeTo(output); @@ -752,9 +895,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } - if (entityType_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, entityType_); + if (entityType_ + != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.ENTITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -764,15 +908,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.GovernanceEvent.Entity)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.GovernanceEvent.Entity other = (com.google.cloud.dataplex.v1.GovernanceEvent.Entity) obj; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity other = + (com.google.cloud.dataplex.v1.GovernanceEvent.Entity) obj; - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; if (entityType_ != other.entityType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -795,89 +939,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.GovernanceEvent.Entity prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.GovernanceEvent.Entity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -887,39 +1036,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about Entity resource that the log event is associated with.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent.Entity} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GovernanceEvent.Entity) com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.class, + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GovernanceEvent.Entity.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -930,9 +1081,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; } @java.lang.Override @@ -951,8 +1102,11 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity build() { @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity buildPartial() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity result = new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GovernanceEvent.Entity result = + new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -971,38 +1125,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent.Entity r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GovernanceEvent.Entity) { - return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent.Entity)other); + return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent.Entity) other); } else { super.mergeFrom(other); return this; @@ -1010,7 +1167,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.GovernanceEvent.Entity other) { - if (other == com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) + return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1045,22 +1203,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - entityType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + entityType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1070,10 +1231,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object entity_ = ""; /** + * + * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1081,13 +1245,13 @@ public Builder mergeFrom(
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1096,6 +1260,8 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1103,15 +1269,14 @@ public java.lang.String getEntity() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -1119,6 +1284,8 @@ public java.lang.String getEntity() { } } /** + * + * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1126,18 +1293,22 @@ public java.lang.String getEntity() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1145,6 +1316,7 @@ public Builder setEntity(
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1154,6 +1326,8 @@ public Builder clearEntity() { return this; } /** + * + * *
        * The Entity resource the log event is associated with.
        * Format:
@@ -1161,12 +1335,14 @@ public Builder clearEntity() {
        * 
* * string entity = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -1176,22 +1352,29 @@ public Builder setEntityBytes( private int entityType_ = 0; /** + * + * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override public int getEntityTypeValue() { + @java.lang.Override + public int getEntityTypeValue() { return entityType_; } /** + * + * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ @@ -1202,28 +1385,38 @@ public Builder setEntityTypeValue(int value) { return this; } /** + * + * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return The entityType. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType getEntityType() { - com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); - return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType result = + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.forNumber(entityType_); + return result == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType.UNRECOGNIZED + : result; } /** + * + * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @param value The entityType to set. * @return This builder for chaining. */ - public Builder setEntityType(com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType value) { + public Builder setEntityType( + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType value) { if (value == null) { throw new NullPointerException(); } @@ -1233,11 +1426,14 @@ public Builder setEntityType(com.google.cloud.dataplex.v1.GovernanceEvent.Entity return this; } /** + * + * *
        * Type of entity.
        * 
* * .google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType entity_type = 2; + * * @return This builder for chaining. */ public Builder clearEntityType() { @@ -1246,6 +1442,7 @@ public Builder clearEntityType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1258,12 +1455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GovernanceEvent.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GovernanceEvent.Entity) private static final com.google.cloud.dataplex.v1.GovernanceEvent.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GovernanceEvent.Entity(); } @@ -1272,27 +1469,28 @@ public static com.google.cloud.dataplex.v1.GovernanceEvent.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,19 +1505,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -1328,29 +1529,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1361,38 +1562,52 @@ public java.lang.String getMessage() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_ = 0; /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The eventType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { - com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); - return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { + com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = + com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); + return result == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED + : result; } public static final int ENTITY_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.GovernanceEvent.Entity entity_; /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -1400,19 +1615,26 @@ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return The entity. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() { - return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
@@ -1422,10 +1644,13 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() {
    */
   @java.lang.Override
   public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrBuilder() {
-    return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_;
+    return entity_ == null
+        ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()
+        : entity_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1437,12 +1662,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
     }
-    if (eventType_ != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
+    if (eventType_
+        != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(2, eventType_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
@@ -1460,13 +1686,13 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
     }
-    if (eventType_ != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, eventType_);
+    if (eventType_
+        != com.google.cloud.dataplex.v1.GovernanceEvent.EventType.EVENT_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEntity());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntity());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1476,20 +1702,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.dataplex.v1.GovernanceEvent)) {
       return super.equals(obj);
     }
-    com.google.cloud.dataplex.v1.GovernanceEvent other = (com.google.cloud.dataplex.v1.GovernanceEvent) obj;
+    com.google.cloud.dataplex.v1.GovernanceEvent other =
+        (com.google.cloud.dataplex.v1.GovernanceEvent) obj;
 
-    if (!getMessage()
-        .equals(other.getMessage())) return false;
+    if (!getMessage().equals(other.getMessage())) return false;
     if (eventType_ != other.eventType_) return false;
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity()
-          .equals(other.getEntity())) return false;
+      if (!getEntity().equals(other.getEntity())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1515,120 +1740,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.dataplex.v1.GovernanceEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.dataplex.v1.GovernanceEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Payload associated with Governance related log events.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.GovernanceEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.GovernanceEvent) com.google.cloud.dataplex.v1.GovernanceEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.GovernanceEvent.class, com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); + com.google.cloud.dataplex.v1.GovernanceEvent.class, + com.google.cloud.dataplex.v1.GovernanceEvent.Builder.class); } // Construct using com.google.cloud.dataplex.v1.GovernanceEvent.newBuilder() @@ -1636,17 +1868,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) { getEntityFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1662,9 +1894,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; } @java.lang.Override @@ -1683,8 +1915,11 @@ public com.google.cloud.dataplex.v1.GovernanceEvent build() { @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent buildPartial() { - com.google.cloud.dataplex.v1.GovernanceEvent result = new com.google.cloud.dataplex.v1.GovernanceEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.GovernanceEvent result = + new com.google.cloud.dataplex.v1.GovernanceEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1699,9 +1934,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.entity_ = entityBuilder_ == null - ? entity_ - : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1711,38 +1944,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.GovernanceEvent result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.GovernanceEvent) { - return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent)other); + return mergeFrom((com.google.cloud.dataplex.v1.GovernanceEvent) other); } else { super.mergeFrom(other); return this; @@ -1788,29 +2022,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - eventType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getEntityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + eventType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1820,22 +2056,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1844,20 +2083,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1865,28 +2105,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1896,17 +2143,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -1916,22 +2167,29 @@ public Builder setMessageBytes( private int eventType_ = 0; /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ @@ -1942,24 +2200,33 @@ public Builder setEventTypeValue(int value) { return this; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The eventType. */ @java.lang.Override public com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType() { - com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); - return result == null ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.GovernanceEvent.EventType result = + com.google.cloud.dataplex.v1.GovernanceEvent.EventType.forNumber(eventType_); + return result == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.EventType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @param value The eventType to set. * @return This builder for chaining. */ @@ -1973,11 +2240,14 @@ public Builder setEventType(com.google.cloud.dataplex.v1.GovernanceEvent.EventTy return this; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return This builder for chaining. */ public Builder clearEventType() { @@ -1989,36 +2259,49 @@ public Builder clearEventType() { private com.google.cloud.dataplex.v1.GovernanceEvent.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> entityBuilder_; + com.google.cloud.dataplex.v1.GovernanceEvent.Entity, + com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, + com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity resource information if the log event is associated with a
      * specific entity.
      * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Entity resource information if the log event is associated with a
      * specific entity.
      * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return The entity. */ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2040,6 +2323,8 @@ public Builder setEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity val
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2059,6 +2344,8 @@ public Builder setEntity(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2068,9 +2355,10 @@ public Builder setEntity(
      */
     public Builder mergeEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity value) {
       if (entityBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          entity_ != null &&
-          entity_ != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && entity_ != null
+            && entity_
+                != com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()) {
           getEntityBuilder().mergeFrom(value);
         } else {
           entity_ = value;
@@ -2083,6 +2371,8 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.GovernanceEvent.Entity v
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2101,6 +2391,8 @@ public Builder clearEntity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2114,6 +2406,8 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder getEntityBuil
       return getEntityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2125,11 +2419,14 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrB
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null ?
-            com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance() : entity_;
+        return entity_ == null
+            ? com.google.cloud.dataplex.v1.GovernanceEvent.Entity.getDefaultInstance()
+            : entity_;
       }
     }
     /**
+     *
+     *
      * 
      * Entity resource information if the log event is associated with a
      * specific entity.
@@ -2138,21 +2435,24 @@ public com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder getEntityOrB
      * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder> 
+            com.google.cloud.dataplex.v1.GovernanceEvent.Entity,
+            com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder,
+            com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataplex.v1.GovernanceEvent.Entity, com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder, com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>(
-                getEntity(),
-                getParentForChildren(),
-                isClean());
+        entityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.dataplex.v1.GovernanceEvent.Entity,
+                com.google.cloud.dataplex.v1.GovernanceEvent.Entity.Builder,
+                com.google.cloud.dataplex.v1.GovernanceEvent.EntityOrBuilder>(
+                getEntity(), getParentForChildren(), isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2162,12 +2462,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.GovernanceEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.GovernanceEvent)
   private static final com.google.cloud.dataplex.v1.GovernanceEvent DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.GovernanceEvent();
   }
@@ -2176,27 +2476,27 @@ public static com.google.cloud.dataplex.v1.GovernanceEvent getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GovernanceEvent parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GovernanceEvent parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2211,6 +2511,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.dataplex.v1.GovernanceEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
index 7ce9e2705c5b..512491ff8fe8 100644
--- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
+++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GovernanceEventOrBuilder.java
@@ -1,72 +1,107 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/logs.proto
 
 package com.google.cloud.dataplex.v1;
 
-public interface GovernanceEventOrBuilder extends
+public interface GovernanceEventOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GovernanceEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.GovernanceEvent.EventType event_type = 2; + * * @return The eventType. */ com.google.cloud.dataplex.v1.GovernanceEvent.EventType getEventType(); /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
    * 
* * optional .google.cloud.dataplex.v1.GovernanceEvent.Entity entity = 3; + * * @return The entity. */ com.google.cloud.dataplex.v1.GovernanceEvent.Entity getEntity(); /** + * + * *
    * Entity resource information if the log event is associated with a
    * specific entity.
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
similarity index 66%
rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
index bff7c0219e5d..ceda6c6c4ee1 100644
--- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
+++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Job.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/tasks.proto
 
 package com.google.cloud.dataplex.v1;
 
 /**
+ *
+ *
  * 
  * A job represents an instance of a task.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Job} */ -public final class Job extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Job extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Job) JobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Job() { name_ = ""; uid_ = ""; @@ -31,42 +49,40 @@ private Job() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Job(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_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.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.Job.class, com.google.cloud.dataplex.v1.Job.Builder.class); } - /** - * Protobuf enum {@code google.cloud.dataplex.v1.Job.Service} - */ - public enum Service - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.dataplex.v1.Job.Service} */ + public enum Service implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Service used to run the job is unspecified.
      * 
@@ -75,6 +91,8 @@ public enum Service */ SERVICE_UNSPECIFIED(0), /** + * + * *
      * Dataproc service is used to run this job.
      * 
@@ -86,6 +104,8 @@ public enum Service ; /** + * + * *
      * Service used to run the job is unspecified.
      * 
@@ -94,6 +114,8 @@ public enum Service */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dataproc service is used to run this job.
      * 
@@ -102,7 +124,6 @@ public enum Service */ public static final int DATAPROC_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -127,48 +148,47 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: return SERVICE_UNSPECIFIED; - case 1: return DATAPROC; - default: return null; + case 0: + return SERVICE_UNSPECIFIED; + case 1: + return DATAPROC; + 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< - Service> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Service findValueByNumber(int number) { - return Service.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 Service findValueByNumber(int number) { + return Service.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(0); } private static final Service[] VALUES = values(); - public static Service valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Service 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,12 +205,11 @@ private Service(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Job.Service) } - /** - * Protobuf enum {@code google.cloud.dataplex.v1.Job.State} - */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.dataplex.v1.Job.State} */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The job state is unknown.
      * 
@@ -199,6 +218,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The job is running.
      * 
@@ -207,6 +228,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * The job is cancelling.
      * 
@@ -215,6 +238,8 @@ public enum State */ CANCELLING(2), /** + * + * *
      * The job cancellation was successful.
      * 
@@ -223,6 +248,8 @@ public enum State */ CANCELLED(3), /** + * + * *
      * The job completed successfully.
      * 
@@ -231,6 +258,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The job is no longer running due to an error.
      * 
@@ -239,6 +268,8 @@ public enum State */ FAILED(5), /** + * + * *
      * The job was cancelled outside of Dataplex.
      * 
@@ -250,6 +281,8 @@ public enum State ; /** + * + * *
      * The job state is unknown.
      * 
@@ -258,6 +291,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job is running.
      * 
@@ -266,6 +301,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * The job is cancelling.
      * 
@@ -274,6 +311,8 @@ public enum State */ public static final int CANCELLING_VALUE = 2; /** + * + * *
      * The job cancellation was successful.
      * 
@@ -282,6 +321,8 @@ public enum State */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The job completed successfully.
      * 
@@ -290,6 +331,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The job is no longer running due to an error.
      * 
@@ -298,6 +341,8 @@ public enum State */ public static final int FAILED_VALUE = 5; /** + * + * *
      * The job was cancelled outside of Dataplex.
      * 
@@ -306,7 +351,6 @@ public enum State */ public static final int ABORTED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -331,53 +375,57 @@ 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 CANCELLING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - case 5: return FAILED; - case 6: return ABORTED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return RUNNING; + case 2: + return CANCELLING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 6: + return ABORTED; + 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.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(1); } 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; @@ -395,15 +443,18 @@ private State(int value) { } /** + * + * *
    * Job execution trigger.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Job.Trigger} */ - public enum Trigger - implements com.google.protobuf.ProtocolMessageEnum { + public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The trigger is unspecified.
      * 
@@ -412,6 +463,8 @@ public enum Trigger */ TRIGGER_UNSPECIFIED(0), /** + * + * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -421,6 +474,8 @@ public enum Trigger
      */
     TASK_CONFIG(1),
     /**
+     *
+     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -432,6 +487,8 @@ public enum Trigger ; /** + * + * *
      * The trigger is unspecified.
      * 
@@ -440,6 +497,8 @@ public enum Trigger */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -449,6 +508,8 @@ public enum Trigger
      */
     public static final int TASK_CONFIG_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -457,7 +518,6 @@ public enum Trigger */ public static final int RUN_REQUEST_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -482,49 +542,49 @@ public static Trigger valueOf(int value) { */ public static Trigger forNumber(int value) { switch (value) { - case 0: return TRIGGER_UNSPECIFIED; - case 1: return TASK_CONFIG; - case 2: return RUN_REQUEST; - default: return null; + case 0: + return TRIGGER_UNSPECIFIED; + case 1: + return TASK_CONFIG; + case 2: + return RUN_REQUEST; + 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< - Trigger> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Trigger findValueByNumber(int number) { - return Trigger.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 Trigger findValueByNumber(int number) { + return Trigger.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Job.getDescriptor().getEnumTypes().get(2); } private static final Trigger[] VALUES = values(); - public static Trigger valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Trigger 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; @@ -542,15 +602,21 @@ private Trigger(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -559,30 +625,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; } } /** + * + * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -591,14 +659,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -607,29 +679,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -640,11 +712,15 @@ public java.lang.String getUid() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -652,11 +728,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -664,11 +744,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -678,11 +761,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -690,11 +777,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -702,11 +793,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -716,38 +810,54 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Execution state for the job.
    * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Execution state for the job.
    * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Job.State getState() { - com.google.cloud.dataplex.v1.Job.State result = com.google.cloud.dataplex.v1.Job.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Job.State getState() { + com.google.cloud.dataplex.v1.Job.State result = + com.google.cloud.dataplex.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.Job.State.UNRECOGNIZED : result; } public static final int RETRY_COUNT_FIELD_NUMBER = 6; private int retryCount_ = 0; /** + * + * *
    * Output only. The number of times the job has been retried (excluding the
    * initial attempt).
    * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retryCount. */ @java.lang.Override @@ -758,39 +868,56 @@ public int getRetryCount() { public static final int SERVICE_FIELD_NUMBER = 7; private int service_ = 0; /** + * + * *
    * Output only. The underlying service running a job.
    * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
    * Output only. The underlying service running a job.
    * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Job.Service getService() { - com.google.cloud.dataplex.v1.Job.Service result = com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Job.Service getService() { + com.google.cloud.dataplex.v1.Job.Service result = + com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.Job.Service.UNRECOGNIZED : result; } public static final int SERVICE_JOB_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object serviceJob_ = ""; /** + * + * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceJob. */ @java.lang.Override @@ -799,30 +926,30 @@ public java.lang.String getServiceJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; } } /** + * + * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceJob. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceJobBytes() { + public com.google.protobuf.ByteString getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -831,14 +958,18 @@ public java.lang.String getServiceJob() { } public static final int MESSAGE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -847,29 +978,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -878,94 +1009,105 @@ public java.lang.String getMessage() { } 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.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @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(); } /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @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(); } @@ -975,37 +1117,55 @@ public java.lang.String getLabelsOrThrow( public static final int TRIGGER_FIELD_NUMBER = 11; private int trigger_ = 0; /** + * + * *
    * Output only. Job execution trigger.
    * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override public int getTriggerValue() { + @java.lang.Override + public int getTriggerValue() { return trigger_; } /** + * + * *
    * Output only. Job execution trigger.
    * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trigger. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { - com.google.cloud.dataplex.v1.Job.Trigger result = com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { + com.google.cloud.dataplex.v1.Job.Trigger result = + com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.Job.Trigger.UNRECOGNIZED : result; } public static final int EXECUTION_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -1013,30 +1173,44 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1048,8 +1222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1077,12 +1250,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, message_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); if (trigger_ != com.google.cloud.dataplex.v1.Job.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(11, trigger_); } @@ -1105,24 +1274,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.Job.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, retryCount_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, retryCount_); } if (service_ != com.google.cloud.dataplex.v1.Job.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, service_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceJob_); @@ -1130,23 +1294,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, message_); } - 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 (trigger_ != com.google.cloud.dataplex.v1.Job.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, trigger_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, trigger_); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getExecutionSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1156,42 +1318,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.cloud.dataplex.v1.Job)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Job other = (com.google.cloud.dataplex.v1.Job) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (state_ != other.state_) return false; - if (getRetryCount() - != other.getRetryCount()) return false; + if (getRetryCount() != other.getRetryCount()) return false; if (service_ != other.service_) return false; - if (!getServiceJob() - .equals(other.getServiceJob())) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getServiceJob().equals(other.getServiceJob())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (trigger_ != other.trigger_) return false; if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec() - .equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1241,154 +1394,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Job parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 job represents an instance of a task.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Job} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Job) com.google.cloud.dataplex.v1.JobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_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.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Job.class, com.google.cloud.dataplex.v1.Job.Builder.class); + com.google.cloud.dataplex.v1.Job.class, + com.google.cloud.dataplex.v1.Job.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Job.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1421,9 +1575,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Job_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Job_descriptor; } @java.lang.Override @@ -1443,7 +1597,9 @@ public com.google.cloud.dataplex.v1.Job build() { @java.lang.Override public com.google.cloud.dataplex.v1.Job buildPartial() { com.google.cloud.dataplex.v1.Job result = new com.google.cloud.dataplex.v1.Job(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1457,14 +1613,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.state_ = state_; @@ -1489,9 +1641,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { result.trigger_ = trigger_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.executionSpec_ = executionSpecBuilder_ == null - ? executionSpec_ - : executionSpecBuilder_.build(); + result.executionSpec_ = + executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build(); } } @@ -1499,38 +1650,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Job result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Job) { - return mergeFrom((com.google.cloud.dataplex.v1.Job)other); + return mergeFrom((com.google.cloud.dataplex.v1.Job) other); } else { super.mergeFrom(other); return this; @@ -1574,8 +1726,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Job other) { bitField0_ |= 0x00000100; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000200; if (other.trigger_ != 0) { setTriggerValue(other.getTriggerValue()); @@ -1609,82 +1760,91 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - retryCount_ = input.readUInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - service_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - serviceJob_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: { - trigger_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 802: { - input.readMessage( - getExecutionSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 802 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + retryCount_ = input.readUInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + service_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + serviceJob_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: + { + trigger_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 802: + { + input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 802 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1694,23 +1854,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -1719,21 +1884,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -1741,30 +1909,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -1774,18 +1953,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the job, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1795,18 +1980,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1815,20 +2002,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1836,28 +2024,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1867,17 +2062,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the job.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1887,24 +2086,35 @@ public Builder setUidBytes( 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_; /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1915,11 +2125,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1935,14 +2148,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1953,17 +2168,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1976,11 +2194,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1993,11 +2214,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -2005,36 +2229,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time when the job was started.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2042,24 +2274,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_; /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2070,11 +2313,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2090,14 +2336,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2108,17 +2356,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2131,11 +2382,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2148,11 +2402,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -2160,36 +2417,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time when the job ended.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_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> 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_; @@ -2197,22 +2462,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Execution state for the job.
      * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Execution state for the job.
      * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2223,24 +2499,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Execution state for the job.
      * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.State getState() { - com.google.cloud.dataplex.v1.Job.State result = com.google.cloud.dataplex.v1.Job.State.forNumber(state_); + com.google.cloud.dataplex.v1.Job.State result = + com.google.cloud.dataplex.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.Job.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Execution state for the job.
      * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2254,11 +2541,16 @@ public Builder setState(com.google.cloud.dataplex.v1.Job.State value) { return this; } /** + * + * *
      * Output only. Execution state for the job.
      * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2268,14 +2560,17 @@ public Builder clearState() { return this; } - private int retryCount_ ; + private int retryCount_; /** + * + * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retryCount. */ @java.lang.Override @@ -2283,12 +2578,15 @@ public int getRetryCount() { return retryCount_; } /** + * + * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The retryCount to set. * @return This builder for chaining. */ @@ -2300,12 +2598,15 @@ public Builder setRetryCount(int value) { return this; } /** + * + * *
      * Output only. The number of times the job has been retried (excluding the
      * initial attempt).
      * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRetryCount() { @@ -2317,22 +2618,33 @@ public Builder clearRetryCount() { private int service_ = 0; /** + * + * *
      * Output only. The underlying service running a job.
      * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
      * Output only. The underlying service running a job.
      * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -2343,24 +2655,35 @@ public Builder setServiceValue(int value) { return this; } /** + * + * *
      * Output only. The underlying service running a job.
      * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.Service getService() { - com.google.cloud.dataplex.v1.Job.Service result = com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); + com.google.cloud.dataplex.v1.Job.Service result = + com.google.cloud.dataplex.v1.Job.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.Job.Service.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The underlying service running a job.
      * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The service to set. * @return This builder for chaining. */ @@ -2374,11 +2697,16 @@ public Builder setService(com.google.cloud.dataplex.v1.Job.Service value) { return this; } /** + * + * *
      * Output only. The underlying service running a job.
      * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearService() { @@ -2390,19 +2718,21 @@ public Builder clearService() { private java.lang.Object serviceJob_ = ""; /** + * + * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceJob. */ public java.lang.String getServiceJob() { java.lang.Object ref = serviceJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; @@ -2411,21 +2741,22 @@ public java.lang.String getServiceJob() { } } /** + * + * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceJob. */ - public com.google.protobuf.ByteString - getServiceJobBytes() { + public com.google.protobuf.ByteString getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -2433,30 +2764,37 @@ public java.lang.String getServiceJob() { } } /** + * + * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJob( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceJob(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceJob_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceJob() { @@ -2466,18 +2804,22 @@ public Builder clearServiceJob() { return this; } /** + * + * *
      * Output only. The full resource name for the job run under a particular
      * service.
      * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJobBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceJob_ = value; bitField0_ |= 0x00000080; @@ -2487,18 +2829,20 @@ public Builder setServiceJobBytes( private java.lang.Object message_ = ""; /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2507,20 +2851,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -2528,28 +2873,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2559,17 +2911,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Output only. Additional information about the current state.
      * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000100; @@ -2577,21 +2933,19 @@ public Builder setMessageBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2600,156 +2954,184 @@ public Builder setMessageBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @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(); } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000200); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000200; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000200; return this; } /** + * + * *
      * Output only. User-defined labels for the task.
      * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000200; return this; } private int trigger_ = 0; /** + * + * *
      * Output only. Job execution trigger.
      * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override public int getTriggerValue() { + @java.lang.Override + public int getTriggerValue() { return trigger_; } /** + * + * *
      * Output only. Job execution trigger.
      * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ @@ -2760,24 +3142,35 @@ public Builder setTriggerValue(int value) { return this; } /** + * + * *
      * Output only. Job execution trigger.
      * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job.Trigger getTrigger() { - com.google.cloud.dataplex.v1.Job.Trigger result = com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); + com.google.cloud.dataplex.v1.Job.Trigger result = + com.google.cloud.dataplex.v1.Job.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.Job.Trigger.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Job execution trigger.
      * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The trigger to set. * @return This builder for chaining. */ @@ -2791,11 +3184,16 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Job.Trigger value) { return this; } /** + * + * *
      * Output only. Job execution trigger.
      * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTrigger() { @@ -2807,39 +3205,58 @@ public Builder clearTrigger() { private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> executionSpecBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + executionSpecBuilder_; /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionSpec. */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -2855,11 +3272,15 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec return this; } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder builderForValue) { @@ -2873,17 +3294,22 @@ public Builder setExecutionSpec( return this; } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - executionSpec_ != null && - executionSpec_ != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && executionSpec_ != null + && executionSpec_ + != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -2896,11 +3322,15 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpe return this; } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000800); @@ -2913,11 +3343,15 @@ public Builder clearExecutionSpec() { return this; } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000800; @@ -2925,43 +3359,55 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecB return getExecutionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null ? - com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } } /** + * + * *
      * Output only. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( - getExecutionSpec(), - getParentForChildren(), - isClean()); + executionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( + getExecutionSpec(), getParentForChildren(), isClean()); executionSpec_ = null; } return executionSpecBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2971,12 +3417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Job) private static final com.google.cloud.dataplex.v1.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Job(); } @@ -2985,27 +3431,27 @@ public static com.google.cloud.dataplex.v1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3020,6 +3466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java similarity index 73% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java index 4a685ae4440c..62dd334cc15b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The payload associated with Job logs that contains events describing jobs
  * that have run within a Lake.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.JobEvent}
  */
-public final class JobEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.JobEvent)
     JobEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobEvent() {
     message_ = "";
     jobId_ = "";
@@ -32,34 +50,38 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.JobEvent.class, com.google.cloud.dataplex.v1.JobEvent.Builder.class);
+            com.google.cloud.dataplex.v1.JobEvent.class,
+            com.google.cloud.dataplex.v1.JobEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified job type.
      * 
@@ -68,6 +90,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Spark jobs.
      * 
@@ -76,6 +100,8 @@ public enum Type */ SPARK(1), /** + * + * *
      * Notebook jobs.
      * 
@@ -87,6 +113,8 @@ public enum Type ; /** + * + * *
      * Unspecified job type.
      * 
@@ -95,6 +123,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Spark jobs.
      * 
@@ -103,6 +133,8 @@ public enum Type */ public static final int SPARK_VALUE = 1; /** + * + * *
      * Notebook jobs.
      * 
@@ -111,7 +143,6 @@ public enum Type */ public static final int NOTEBOOK_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return SPARK; - case 2: return NOTEBOOK; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return SPARK; + case 2: + return NOTEBOOK; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -196,15 +227,18 @@ private Type(int value) { } /** + * + * *
    * The completion status of the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified job state.
      * 
@@ -213,6 +247,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Job successfully completed.
      * 
@@ -221,6 +257,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
      * Job was unsuccessful.
      * 
@@ -229,6 +267,8 @@ public enum State */ FAILED(2), /** + * + * *
      * Job was cancelled by the user.
      * 
@@ -237,6 +277,8 @@ public enum State */ CANCELLED(3), /** + * + * *
      * Job was cancelled or aborted via the service executing the job.
      * 
@@ -248,6 +290,8 @@ public enum State ; /** + * + * *
      * Unspecified job state.
      * 
@@ -256,6 +300,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Job successfully completed.
      * 
@@ -264,6 +310,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
      * Job was unsuccessful.
      * 
@@ -272,6 +320,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
      * Job was cancelled by the user.
      * 
@@ -280,6 +330,8 @@ public enum State */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * Job was cancelled or aborted via the service executing the job.
      * 
@@ -288,7 +340,6 @@ public enum State */ public static final int ABORTED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -313,51 +364,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return FAILED; - case 3: return CANCELLED; - case 4: return ABORTED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return FAILED; + case 3: + return CANCELLED; + case 4: + return ABORTED; + default: + return null; + } + } + + 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.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(1); } 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; @@ -375,15 +428,18 @@ private State(int value) { } /** + * + * *
    * The service used to execute the job.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.Service} */ - public enum Service - implements com.google.protobuf.ProtocolMessageEnum { + public enum Service implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified service.
      * 
@@ -392,6 +448,8 @@ public enum Service */ SERVICE_UNSPECIFIED(0), /** + * + * *
      * Cloud Dataproc.
      * 
@@ -403,6 +461,8 @@ public enum Service ; /** + * + * *
      * Unspecified service.
      * 
@@ -411,6 +471,8 @@ public enum Service */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Dataproc.
      * 
@@ -419,7 +481,6 @@ public enum Service */ public static final int DATAPROC_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -444,48 +505,47 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: return SERVICE_UNSPECIFIED; - case 1: return DATAPROC; - default: return null; + case 0: + return SERVICE_UNSPECIFIED; + case 1: + return DATAPROC; + 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< - Service> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Service findValueByNumber(int number) { - return Service.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 Service findValueByNumber(int number) { + return Service.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(2); } private static final Service[] VALUES = values(); - public static Service valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Service 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; @@ -503,15 +563,18 @@ private Service(int value) { } /** + * + * *
    * Job Execution trigger.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.JobEvent.ExecutionTrigger} */ - public enum ExecutionTrigger - implements com.google.protobuf.ProtocolMessageEnum { + public enum ExecutionTrigger implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The job execution trigger is unspecified.
      * 
@@ -520,6 +583,8 @@ public enum ExecutionTrigger */ EXECUTION_TRIGGER_UNSPECIFIED(0), /** + * + * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -529,6 +594,8 @@ public enum ExecutionTrigger
      */
     TASK_CONFIG(1),
     /**
+     *
+     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -540,6 +607,8 @@ public enum ExecutionTrigger ; /** + * + * *
      * The job execution trigger is unspecified.
      * 
@@ -548,6 +617,8 @@ public enum ExecutionTrigger */ public static final int EXECUTION_TRIGGER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job was triggered by Dataplex based on trigger spec from task
      * definition.
@@ -557,6 +628,8 @@ public enum ExecutionTrigger
      */
     public static final int TASK_CONFIG_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job was triggered by the explicit call of Task API.
      * 
@@ -565,7 +638,6 @@ public enum ExecutionTrigger */ public static final int RUN_REQUEST_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -590,39 +662,42 @@ public static ExecutionTrigger valueOf(int value) { */ public static ExecutionTrigger forNumber(int value) { switch (value) { - case 0: return EXECUTION_TRIGGER_UNSPECIFIED; - case 1: return TASK_CONFIG; - case 2: return RUN_REQUEST; - default: return null; + case 0: + return EXECUTION_TRIGGER_UNSPECIFIED; + case 1: + return TASK_CONFIG; + case 2: + return RUN_REQUEST; + 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< - ExecutionTrigger> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionTrigger findValueByNumber(int number) { - return ExecutionTrigger.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 ExecutionTrigger findValueByNumber(int number) { + return ExecutionTrigger.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.JobEvent.getDescriptor().getEnumTypes().get(3); } @@ -631,8 +706,7 @@ public ExecutionTrigger findValueByNumber(int number) { public static ExecutionTrigger 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; @@ -650,14 +724,18 @@ private ExecutionTrigger(int value) { } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -666,29 +744,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -697,14 +775,18 @@ public java.lang.String getMessage() { } public static final int JOB_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; + * * @return The jobId. */ @java.lang.Override @@ -713,29 +795,29 @@ 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 unique id identifying the job.
    * 
* * string job_id = 2; + * * @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 { @@ -746,11 +828,14 @@ public java.lang.String getJobId() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -758,11 +843,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -770,6 +858,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time when the job started running.
    * 
@@ -784,11 +874,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -796,11 +889,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ @java.lang.Override @@ -808,6 +904,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the job ended running.
    * 
@@ -822,37 +920,49 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.State getState() { - com.google.cloud.dataplex.v1.JobEvent.State result = com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.JobEvent.State getState() { + com.google.cloud.dataplex.v1.JobEvent.State result = + com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.State.UNRECOGNIZED : result; } public static final int RETRIES_FIELD_NUMBER = 6; private int retries_ = 0; /** + * + * *
    * The number of retries.
    * 
* * int32 retries = 6; + * * @return The retries. */ @java.lang.Override @@ -863,64 +973,86 @@ public int getRetries() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** + * + * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @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 the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Type getType() { - com.google.cloud.dataplex.v1.JobEvent.Type result = com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.JobEvent.Type getType() { + com.google.cloud.dataplex.v1.JobEvent.Type result = + com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Type.UNRECOGNIZED : result; } public static final int SERVICE_FIELD_NUMBER = 8; private int service_ = 0; /** + * + * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The service. */ - @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Service getService() { - com.google.cloud.dataplex.v1.JobEvent.Service result = com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); + @java.lang.Override + public com.google.cloud.dataplex.v1.JobEvent.Service getService() { + com.google.cloud.dataplex.v1.JobEvent.Service result = + com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Service.UNRECOGNIZED : result; } public static final int SERVICE_JOB_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object serviceJob_ = ""; /** + * + * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; + * * @return The serviceJob. */ @java.lang.Override @@ -929,29 +1061,29 @@ public java.lang.String getServiceJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; } } /** + * + * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; + * * @return The bytes for serviceJob. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceJobBytes() { + public com.google.protobuf.ByteString getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -962,30 +1094,42 @@ public java.lang.String getServiceJob() { public static final int EXECUTION_TRIGGER_FIELD_NUMBER = 11; private int executionTrigger_ = 0; /** + * + * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The enum numeric value on the wire for executionTrigger. */ - @java.lang.Override public int getExecutionTriggerValue() { + @java.lang.Override + public int getExecutionTriggerValue() { return executionTrigger_; } /** + * + * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The executionTrigger. */ - @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); - return result == null ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); + return result == null + ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -997,8 +1141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -1026,7 +1169,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, serviceJob_); } - if (executionTrigger_ != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED.getNumber()) { + if (executionTrigger_ + != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED + .getNumber()) { output.writeEnum(11, executionTrigger_); } getUnknownFields().writeTo(output); @@ -1045,35 +1190,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } if (state_ != com.google.cloud.dataplex.v1.JobEvent.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (retries_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, retries_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, retries_); } if (type_ != com.google.cloud.dataplex.v1.JobEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } if (service_ != com.google.cloud.dataplex.v1.JobEvent.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, service_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceJob_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceJob_); } - if (executionTrigger_ != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, executionTrigger_); + if (executionTrigger_ + != com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.EXECUTION_TRIGGER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, executionTrigger_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1083,34 +1223,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.JobEvent)) { return super.equals(obj); } com.google.cloud.dataplex.v1.JobEvent other = (com.google.cloud.dataplex.v1.JobEvent) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getJobId().equals(other.getJobId())) 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 (state_ != other.state_) return false; - if (getRetries() - != other.getRetries()) return false; + if (getRetries() != other.getRetries()) return false; if (type_ != other.type_) return false; if (service_ != other.service_) return false; - if (!getServiceJob() - .equals(other.getServiceJob())) return false; + if (!getServiceJob().equals(other.getServiceJob())) return false; if (executionTrigger_ != other.executionTrigger_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1152,99 +1286,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.JobEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.JobEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.JobEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 payload associated with Job logs that contains events describing jobs
    * that have run within a Lake.
@@ -1252,33 +1390,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.JobEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.JobEvent)
       com.google.cloud.dataplex.v1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.JobEvent.class, com.google.cloud.dataplex.v1.JobEvent.Builder.class);
+              com.google.cloud.dataplex.v1.JobEvent.class,
+              com.google.cloud.dataplex.v1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.JobEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1305,9 +1442,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1326,8 +1463,11 @@ public com.google.cloud.dataplex.v1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.JobEvent buildPartial() {
-      com.google.cloud.dataplex.v1.JobEvent result = new com.google.cloud.dataplex.v1.JobEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.JobEvent result =
+          new com.google.cloud.dataplex.v1.JobEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1341,14 +1481,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.JobEvent result) {
         result.jobId_ = jobId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.state_ = state_;
@@ -1374,38 +1510,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.JobEvent result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.JobEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.JobEvent)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.JobEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1476,66 +1613,73 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 48: {
-              retries_ = input.readInt32();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 56: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            case 64: {
-              service_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 74: {
-              serviceJob_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 88: {
-              executionTrigger_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 88
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jobId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 48:
+              {
+                retries_ = input.readInt32();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 56:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            case 64:
+              {
+                service_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 74:
+              {
+                serviceJob_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 88:
+              {
+                executionTrigger_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 88
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1545,22 +1689,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * The log message.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1569,20 +1716,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1590,28 +1738,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1621,17 +1776,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -1641,18 +1800,20 @@ public Builder setMessageBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; + * * @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; @@ -1661,20 +1822,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; + * * @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 { @@ -1682,28 +1844,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1713,17 +1882,21 @@ public Builder clearJobId() { return this; } /** + * + * *
      * The unique id identifying the job.
      * 
* * string job_id = 2; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000002; @@ -1733,24 +1906,33 @@ public Builder setJobIdBytes( 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_; /** + * + * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1761,6 +1943,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time when the job started running.
      * 
@@ -1781,14 +1965,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the job started running.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1799,6 +1984,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time when the job started running.
      * 
@@ -1807,9 +1994,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1822,6 +2009,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the job started running.
      * 
@@ -1839,6 +2028,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time when the job started running.
      * 
@@ -1851,6 +2042,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the job started running.
      * 
@@ -1861,11 +2054,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_; } } /** + * + * *
      * The time when the job started running.
      * 
@@ -1873,14 +2067,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 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> 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_; @@ -1888,24 +2085,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_; /** + * + * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1916,6 +2122,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the job ended running.
      * 
@@ -1936,14 +2144,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the job ended running.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1954,6 +2163,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time when the job ended running.
      * 
@@ -1962,9 +2173,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1977,6 +2188,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the job ended running.
      * 
@@ -1994,6 +2207,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time when the job ended running.
      * 
@@ -2006,6 +2221,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the job ended running.
      * 
@@ -2016,11 +2233,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_; } } /** + * + * *
      * The time when the job ended running.
      * 
@@ -2028,14 +2246,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ 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_; @@ -2043,22 +2264,29 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2069,24 +2297,31 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.State getState() { - com.google.cloud.dataplex.v1.JobEvent.State result = com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); + com.google.cloud.dataplex.v1.JobEvent.State result = + com.google.cloud.dataplex.v1.JobEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.State.UNRECOGNIZED : result; } /** + * + * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2100,11 +2335,14 @@ public Builder setState(com.google.cloud.dataplex.v1.JobEvent.State value) { return this; } /** + * + * *
      * The job state on completion.
      * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2114,13 +2352,16 @@ public Builder clearState() { return this; } - private int retries_ ; + private int retries_; /** + * + * *
      * The number of retries.
      * 
* * int32 retries = 6; + * * @return The retries. */ @java.lang.Override @@ -2128,11 +2369,14 @@ public int getRetries() { return retries_; } /** + * + * *
      * The number of retries.
      * 
* * int32 retries = 6; + * * @param value The retries to set. * @return This builder for chaining. */ @@ -2144,11 +2388,14 @@ public Builder setRetries(int value) { return this; } /** + * + * *
      * The number of retries.
      * 
* * int32 retries = 6; + * * @return This builder for chaining. */ public Builder clearRetries() { @@ -2160,22 +2407,29 @@ public Builder clearRetries() { private int type_ = 0; /** + * + * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @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 the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2186,24 +2440,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Type getType() { - com.google.cloud.dataplex.v1.JobEvent.Type result = com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); + com.google.cloud.dataplex.v1.JobEvent.Type result = + com.google.cloud.dataplex.v1.JobEvent.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Type.UNRECOGNIZED : result; } /** + * + * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -2217,11 +2478,14 @@ public Builder setType(com.google.cloud.dataplex.v1.JobEvent.Type value) { return this; } /** + * + * *
      * The type of the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @return This builder for chaining. */ public Builder clearType() { @@ -2233,22 +2497,29 @@ public Builder clearType() { private int service_ = 0; /** + * + * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -2259,24 +2530,31 @@ public Builder setServiceValue(int value) { return this; } /** + * + * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The service. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.Service getService() { - com.google.cloud.dataplex.v1.JobEvent.Service result = com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); + com.google.cloud.dataplex.v1.JobEvent.Service result = + com.google.cloud.dataplex.v1.JobEvent.Service.forNumber(service_); return result == null ? com.google.cloud.dataplex.v1.JobEvent.Service.UNRECOGNIZED : result; } /** + * + * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @param value The service to set. * @return This builder for chaining. */ @@ -2290,11 +2568,14 @@ public Builder setService(com.google.cloud.dataplex.v1.JobEvent.Service value) { return this; } /** + * + * *
      * The service used to execute the job.
      * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return This builder for chaining. */ public Builder clearService() { @@ -2306,18 +2587,20 @@ public Builder clearService() { private java.lang.Object serviceJob_ = ""; /** + * + * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; + * * @return The serviceJob. */ public java.lang.String getServiceJob() { java.lang.Object ref = serviceJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceJob_ = s; return s; @@ -2326,20 +2609,21 @@ public java.lang.String getServiceJob() { } } /** + * + * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; + * * @return The bytes for serviceJob. */ - public com.google.protobuf.ByteString - getServiceJobBytes() { + public com.google.protobuf.ByteString getServiceJobBytes() { java.lang.Object ref = serviceJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceJob_ = b; return b; } else { @@ -2347,28 +2631,35 @@ public java.lang.String getServiceJob() { } } /** + * + * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; + * * @param value The serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJob( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceJob(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceJob_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; + * * @return This builder for chaining. */ public Builder clearServiceJob() { @@ -2378,17 +2669,21 @@ public Builder clearServiceJob() { return this; } /** + * + * *
      * The reference to the job within the service.
      * 
* * string service_job = 9; + * * @param value The bytes for serviceJob to set. * @return This builder for chaining. */ - public Builder setServiceJobBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceJobBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceJob_ = value; bitField0_ |= 0x00000100; @@ -2398,22 +2693,29 @@ public Builder setServiceJobBytes( private int executionTrigger_ = 0; /** + * + * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The enum numeric value on the wire for executionTrigger. */ - @java.lang.Override public int getExecutionTriggerValue() { + @java.lang.Override + public int getExecutionTriggerValue() { return executionTrigger_; } /** + * + * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @param value The enum numeric value on the wire for executionTrigger to set. * @return This builder for chaining. */ @@ -2424,28 +2726,38 @@ public Builder setExecutionTriggerValue(int value) { return this; } /** + * + * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The executionTrigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger() { - com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); - return result == null ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger result = + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.forNumber(executionTrigger_); + return result == null + ? com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger.UNRECOGNIZED + : result; } /** + * + * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @param value The executionTrigger to set. * @return This builder for chaining. */ - public Builder setExecutionTrigger(com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger value) { + public Builder setExecutionTrigger( + com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger value) { if (value == null) { throw new NullPointerException(); } @@ -2455,11 +2767,14 @@ public Builder setExecutionTrigger(com.google.cloud.dataplex.v1.JobEvent.Executi return this; } /** + * + * *
      * Job execution trigger.
      * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return This builder for chaining. */ public Builder clearExecutionTrigger() { @@ -2468,9 +2783,9 @@ public Builder clearExecutionTrigger() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2480,12 +2795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.JobEvent) private static final com.google.cloud.dataplex.v1.JobEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.JobEvent(); } @@ -2494,27 +2809,27 @@ public static com.google.cloud.dataplex.v1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2529,6 +2844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java similarity index 80% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java index 5ab5342e5194..c29d1e7bf5fd 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobEventOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface JobEventOrBuilder extends +public interface JobEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.JobEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * The unique id identifying the job.
    * 
* * string job_id = 2; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time when the job started running.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time when the job started running.
    * 
@@ -75,24 +109,32 @@ public interface JobEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the job ended running.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the job ended running.
    * 
@@ -102,107 +144,139 @@ public interface JobEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The job state on completion.
    * 
* * .google.cloud.dataplex.v1.JobEvent.State state = 5; + * * @return The state. */ com.google.cloud.dataplex.v1.JobEvent.State getState(); /** + * + * *
    * The number of retries.
    * 
* * int32 retries = 6; + * * @return The retries. */ int getRetries(); /** + * + * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Type type = 7; + * * @return The type. */ com.google.cloud.dataplex.v1.JobEvent.Type getType(); /** + * + * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** + * + * *
    * The service used to execute the job.
    * 
* * .google.cloud.dataplex.v1.JobEvent.Service service = 8; + * * @return The service. */ com.google.cloud.dataplex.v1.JobEvent.Service getService(); /** + * + * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; + * * @return The serviceJob. */ java.lang.String getServiceJob(); /** + * + * *
    * The reference to the job within the service.
    * 
* * string service_job = 9; + * * @return The bytes for serviceJob. */ - com.google.protobuf.ByteString - getServiceJobBytes(); + com.google.protobuf.ByteString getServiceJobBytes(); /** + * + * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The enum numeric value on the wire for executionTrigger. */ int getExecutionTriggerValue(); /** + * + * *
    * Job execution trigger.
    * 
* * .google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11; + * * @return The executionTrigger. */ com.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger getExecutionTrigger(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java index 78aa3b1d518f..f4b5d21b8dd7 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/JobOrBuilder.java @@ -1,296 +1,414 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the job, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the job.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. The time when the job was started.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time when the job ended.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Execution state for the job.
    * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Execution state for the job.
    * 
* - * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.Job.State getState(); /** + * + * *
    * Output only. The number of times the job has been retried (excluding the
    * initial attempt).
    * 
* * uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retryCount. */ int getRetryCount(); /** + * + * *
    * Output only. The underlying service running a job.
    * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** + * + * *
    * Output only. The underlying service running a job.
    * 
* - * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ com.google.cloud.dataplex.v1.Job.Service getService(); /** + * + * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceJob. */ java.lang.String getServiceJob(); /** + * + * *
    * Output only. The full resource name for the job run under a particular
    * service.
    * 
* * string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceJob. */ - com.google.protobuf.ByteString - getServiceJobBytes(); + com.google.protobuf.ByteString getServiceJobBytes(); /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Output only. Additional information about the current state.
    * 
* * string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getLabelsCount(); /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Output only. User-defined labels for the task.
    * 
* - * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Job execution trigger.
    * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for trigger. */ int getTriggerValue(); /** + * + * *
    * Output only. Job execution trigger.
    * 
* - * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trigger. */ com.google.cloud.dataplex.v1.Job.Trigger getTrigger(); /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionSpec. */ com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec(); /** + * + * *
    * Output only. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java index 1348829164e5..48ddce5890d8 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Lake.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A lake is a centralized repository for managing enterprise data across the
  * organization distributed across many cloud projects, and stored in a variety
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Lake}
  */
-public final class Lake extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Lake extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake)
     LakeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Lake.newBuilder() to construct.
   private Lake(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Lake() {
     name_ = "";
     displayName_ = "";
@@ -37,41 +55,44 @@ private Lake() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Lake();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Lake_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Lake.class, com.google.cloud.dataplex.v1.Lake.Builder.class);
+            com.google.cloud.dataplex.v1.Lake.class,
+            com.google.cloud.dataplex.v1.Lake.Builder.class);
   }
 
-  public interface MetastoreOrBuilder extends
+  public interface MetastoreOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake.Metastore)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -80,10 +101,13 @@ public interface MetastoreOrBuilder extends
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The service. */ java.lang.String getService(); /** + * + * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -92,55 +116,62 @@ public interface MetastoreOrBuilder extends
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); } /** + * + * *
    * Settings to manage association of Dataproc Metastore with a lake.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.Metastore} */ - public static final class Metastore extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Metastore extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake.Metastore) MetastoreOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metastore.newBuilder() to construct. private Metastore(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Metastore() { service_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metastore(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.Metastore.class, com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); + com.google.cloud.dataplex.v1.Lake.Metastore.class, + com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object service_ = ""; /** + * + * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -149,6 +180,7 @@ protected java.lang.Object newInstance(
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The service. */ @java.lang.Override @@ -157,14 +189,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
      * Optional. A relative reference to the Dataproc Metastore
      * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -173,16 +206,15 @@ public java.lang.String getService() {
      * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -191,6 +223,7 @@ public java.lang.String getService() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -227,15 +259,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake.Metastore)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Lake.Metastore other = (com.google.cloud.dataplex.v1.Lake.Metastore) obj; + com.google.cloud.dataplex.v1.Lake.Metastore other = + (com.google.cloud.dataplex.v1.Lake.Metastore) obj; - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,90 +286,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake.Metastore parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake.Metastore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake.Metastore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -347,39 +383,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Settings to manage association of Dataproc Metastore with a lake.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.Metastore} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake.Metastore) com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.Metastore.class, com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); + com.google.cloud.dataplex.v1.Lake.Metastore.class, + com.google.cloud.dataplex.v1.Lake.Metastore.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Lake.Metastore.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; } @java.lang.Override @@ -410,8 +448,11 @@ public com.google.cloud.dataplex.v1.Lake.Metastore build() { @java.lang.Override public com.google.cloud.dataplex.v1.Lake.Metastore buildPartial() { - com.google.cloud.dataplex.v1.Lake.Metastore result = new com.google.cloud.dataplex.v1.Lake.Metastore(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Lake.Metastore result = + new com.google.cloud.dataplex.v1.Lake.Metastore(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -427,38 +468,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.Metastore result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Lake.Metastore) { - return mergeFrom((com.google.cloud.dataplex.v1.Lake.Metastore)other); + return mergeFrom((com.google.cloud.dataplex.v1.Lake.Metastore) other); } else { super.mergeFrom(other); return this; @@ -498,17 +542,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - service_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + service_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -518,10 +564,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object service_ = ""; /** + * + * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -530,13 +579,13 @@ public Builder mergeFrom(
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -545,6 +594,8 @@ public java.lang.String getService() { } } /** + * + * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -553,15 +604,14 @@ public java.lang.String getService() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -569,6 +619,8 @@ public java.lang.String getService() { } } /** + * + * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -577,18 +629,22 @@ public java.lang.String getService() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -597,6 +653,7 @@ public Builder setService(
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearService() { @@ -606,6 +663,8 @@ public Builder clearService() { return this; } /** + * + * *
        * Optional. A relative reference to the Dataproc Metastore
        * (https://cloud.google.com/dataproc-metastore/docs) service associated
@@ -614,18 +673,21 @@ public Builder clearService() {
        * 
* * string service = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -638,12 +700,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake.Metastore) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake.Metastore) private static final com.google.cloud.dataplex.v1.Lake.Metastore DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake.Metastore(); } @@ -652,27 +714,28 @@ public static com.google.cloud.dataplex.v1.Lake.Metastore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metastore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metastore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -687,71 +750,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake.Metastore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MetastoreStatusOrBuilder extends + public interface MetastoreStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake.MetastoreStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The state. */ com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState(); /** + * + * *
      * Additional information about the current status.
      * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Additional information about the current status.
      * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
@@ -761,41 +843,49 @@ public interface MetastoreStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); } /** + * + * *
    * Status of Lake and Dataproc Metastore service instance association.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.MetastoreStatus} */ - public static final class MetastoreStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MetastoreStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Lake.MetastoreStatus) MetastoreStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetastoreStatus.newBuilder() to construct. private MetastoreStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetastoreStatus() { state_ = 0; message_ = ""; @@ -804,34 +894,38 @@ private MetastoreStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetastoreStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); } /** + * + * *
      * Current state of association.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Lake.MetastoreStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -840,6 +934,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * A Metastore service instance is not associated with the lake.
        * 
@@ -848,6 +944,8 @@ public enum State */ NONE(1), /** + * + * *
        * A Metastore service instance is attached to the lake.
        * 
@@ -856,6 +954,8 @@ public enum State */ READY(2), /** + * + * *
        * Attach/detach is in progress.
        * 
@@ -864,6 +964,8 @@ public enum State */ UPDATING(3), /** + * + * *
        * Attach/detach could not be done due to errors.
        * 
@@ -875,6 +977,8 @@ public enum State ; /** + * + * *
        * Unspecified.
        * 
@@ -883,6 +987,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * A Metastore service instance is not associated with the lake.
        * 
@@ -891,6 +997,8 @@ public enum State */ public static final int NONE_VALUE = 1; /** + * + * *
        * A Metastore service instance is attached to the lake.
        * 
@@ -899,6 +1007,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
        * Attach/detach is in progress.
        * 
@@ -907,6 +1017,8 @@ public enum State */ public static final int UPDATING_VALUE = 3; /** + * + * *
        * Attach/detach could not be done due to errors.
        * 
@@ -915,7 +1027,6 @@ public enum State */ public static final int ERROR_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -940,51 +1051,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return NONE; - case 2: return READY; - case 3: return UPDATING; - case 4: return ERROR; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return NONE; + case 2: + return READY; + case 3: + return UPDATING; + case 4: + return ERROR; + 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() { - return com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.Lake.MetastoreStatus.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; @@ -1004,38 +1119,53 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** + * + * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Current state of association.
      * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
      * Additional information about the current status.
      * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -1044,29 +1174,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Additional information about the current status.
      * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1077,11 +1207,14 @@ public java.lang.String getMessage() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1089,11 +1222,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return The updateTime. */ @java.lang.Override @@ -1101,6 +1237,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last update time of the metastore status of the lake.
      * 
@@ -1113,14 +1251,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ENDPOINT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** + * + * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; + * * @return The endpoint. */ @java.lang.Override @@ -1129,29 +1271,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** + * + * *
      * The URI of the endpoint used to access the Metastore service.
      * 
* * string endpoint = 4; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -1160,6 +1302,7 @@ public java.lang.String getEndpoint() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1171,9 +1314,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -1194,16 +1338,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endpoint_); @@ -1216,23 +1360,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake.MetastoreStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Lake.MetastoreStatus other = (com.google.cloud.dataplex.v1.Lake.MetastoreStatus) obj; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus other = + (com.google.cloud.dataplex.v1.Lake.MetastoreStatus) obj; if (state_ != other.state_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) 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 (!getEndpoint() - .equals(other.getEndpoint())) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1260,89 +1402,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake.MetastoreStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1352,39 +1498,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of Lake and Dataproc Metastore service instance association.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Lake.MetastoreStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake.MetastoreStatus) com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.class, + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Lake.MetastoreStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1401,9 +1549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; } @java.lang.Override @@ -1422,8 +1570,11 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus buildPartial() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus result = new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Lake.MetastoreStatus result = + new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1437,9 +1588,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.MetastoreStatus res result.message_ = message_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.endpoint_ = endpoint_; @@ -1450,38 +1600,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake.MetastoreStatus res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Lake.MetastoreStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Lake.MetastoreStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Lake.MetastoreStatus) other); } else { super.mergeFrom(other); return this; @@ -1489,7 +1642,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Lake.MetastoreStatus other) { - if (other == com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) + return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1532,34 +1686,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1569,26 +1726,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1599,24 +1764,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State getState() { - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); - return result == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State result = + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State.UNRECOGNIZED + : result; } /** + * + * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1630,11 +1804,14 @@ public Builder setState(com.google.cloud.dataplex.v1.Lake.MetastoreStatus.State return this; } /** + * + * *
        * Current state of association.
        * 
* * .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1646,18 +1823,20 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** + * + * *
        * Additional information about the current status.
        * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1666,20 +1845,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current status.
        * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1687,28 +1867,35 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Additional information about the current status.
        * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Additional information about the current status.
        * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1718,17 +1905,21 @@ public Builder clearMessage() { return this; } /** + * + * *
        * Additional information about the current status.
        * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; @@ -1738,34 +1929,47 @@ public Builder setMessageBytes( 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_; /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; + * * @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(); } } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1786,14 +1990,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1804,6 +2009,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1812,9 +2019,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1827,6 +2034,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1844,6 +2053,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1856,6 +2067,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1866,11 +2079,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_; } } /** + * + * *
        * Last update time of the metastore status of the lake.
        * 
@@ -1878,14 +2094,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 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> 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_; @@ -1893,18 +2112,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object endpoint_ = ""; /** + * + * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -1913,20 +2134,21 @@ public java.lang.String getEndpoint() { } } /** + * + * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -1934,28 +2156,35 @@ public java.lang.String getEndpoint() { } } /** + * + * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endpoint_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; + * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -1965,23 +2194,28 @@ public Builder clearEndpoint() { return this; } /** + * + * *
        * The URI of the endpoint used to access the Metastore service.
        * 
* * string endpoint = 4; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1994,12 +2228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake.MetastoreStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake.MetastoreStatus) private static final com.google.cloud.dataplex.v1.Lake.MetastoreStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake.MetastoreStatus(); } @@ -2008,27 +2242,28 @@ public static com.google.cloud.dataplex.v1.Lake.MetastoreStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetastoreStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetastoreStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2043,19 +2278,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -2064,30 +2304,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; } } /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -2096,14 +2338,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -2112,29 +2358,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2143,15 +2389,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2160,30 +2410,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2194,11 +2444,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the lake was created.
    * 
* - * .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 @@ -2206,11 +2460,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the lake was created.
    * 
* - * .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 @@ -2218,11 +2476,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the lake was created.
    * 
* - * .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() { @@ -2232,11 +2493,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 time when the lake was last updated.
    * 
* - * .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 @@ -2244,11 +2509,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the lake was last updated.
    * 
* - * .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 @@ -2256,11 +2525,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the lake was last updated.
    * 
* - * .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() { @@ -2268,32 +2540,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2301,20 +2575,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2326,6 +2601,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2333,17 +2610,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -2351,11 +2630,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -2363,14 +2642,18 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -2379,29 +2662,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; } } /** + * + * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2412,33 +2695,47 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -2446,6 +2743,7 @@ public java.lang.String getDescription() {
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ @java.lang.Override @@ -2454,14 +2752,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -2469,16 +2768,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -2489,12 +2787,17 @@ public java.lang.String getServiceAccount() { public static final int METASTORE_FIELD_NUMBER = 102; private com.google.cloud.dataplex.v1.Lake.Metastore metastore_; /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the metastore field is set. */ @java.lang.Override @@ -2502,39 +2805,57 @@ public boolean hasMetastore() { return metastore_ != null; } /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metastore. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.Metastore getMetastore() { - return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; + return metastore_ == null + ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() + : metastore_; } /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder() { - return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; + return metastore_ == null + ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() + : metastore_; } public static final int ASSET_STATUS_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ @java.lang.Override @@ -2542,37 +2863,55 @@ public boolean hasAssetStatus() { return assetStatus_ != null; } /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } public static final int METASTORE_STATUS_FIELD_NUMBER = 104; private com.google.cloud.dataplex.v1.Lake.MetastoreStatus metastoreStatus_; /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metastoreStatus field is set. */ @java.lang.Override @@ -2580,30 +2919,44 @@ public boolean hasMetastoreStatus() { return metastoreStatus_ != null; } /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metastoreStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus() { - return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; + return metastoreStatus_ == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() + : metastoreStatus_; } /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder() { - return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; + return metastoreStatus_ == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() + : metastoreStatus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2615,8 +2968,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2632,12 +2984,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -2675,44 +3023,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (metastore_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(102, getMetastore()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(102, getMetastore()); } if (assetStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(103, getAssetStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getAssetStatus()); } if (metastoreStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(104, getMetastoreStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(104, getMetastoreStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2722,50 +3064,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Lake)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Lake other = (com.google.cloud.dataplex.v1.Lake) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasMetastore() != other.hasMetastore()) return false; if (hasMetastore()) { - if (!getMetastore() - .equals(other.getMetastore())) return false; + if (!getMetastore().equals(other.getMetastore())) return false; } if (hasAssetStatus() != other.hasAssetStatus()) return false; if (hasAssetStatus()) { - if (!getAssetStatus() - .equals(other.getAssetStatus())) return false; + if (!getAssetStatus().equals(other.getAssetStatus())) return false; } if (hasMetastoreStatus() != other.hasMetastoreStatus()) return false; if (hasMetastoreStatus()) { - if (!getMetastoreStatus() - .equals(other.getMetastoreStatus())) return false; + if (!getMetastoreStatus().equals(other.getMetastoreStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2819,99 +3150,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Lake parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Lake parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Lake parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Lake parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Lake parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Lake parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Lake prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lake is a centralized repository for managing enterprise data across the
    * organization distributed across many cloud projects, and stored in a variety
@@ -2925,55 +3260,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Lake}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Lake)
       com.google.cloud.dataplex.v1.LakeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Lake_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Lake.class, com.google.cloud.dataplex.v1.Lake.Builder.class);
+              com.google.cloud.dataplex.v1.Lake.class,
+              com.google.cloud.dataplex.v1.Lake.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Lake.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3014,9 +3346,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Lake_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Lake_descriptor;
     }
 
     @java.lang.Override
@@ -3036,7 +3368,9 @@ public com.google.cloud.dataplex.v1.Lake build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Lake buildPartial() {
       com.google.cloud.dataplex.v1.Lake result = new com.google.cloud.dataplex.v1.Lake(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -3053,14 +3387,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -3076,19 +3406,15 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
         result.serviceAccount_ = serviceAccount_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.metastore_ = metastoreBuilder_ == null
-            ? metastore_
-            : metastoreBuilder_.build();
+        result.metastore_ = metastoreBuilder_ == null ? metastore_ : metastoreBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.assetStatus_ = assetStatusBuilder_ == null
-            ? assetStatus_
-            : assetStatusBuilder_.build();
+        result.assetStatus_ =
+            assetStatusBuilder_ == null ? assetStatus_ : assetStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.metastoreStatus_ = metastoreStatusBuilder_ == null
-            ? metastoreStatus_
-            : metastoreStatusBuilder_.build();
+        result.metastoreStatus_ =
+            metastoreStatusBuilder_ == null ? metastoreStatus_ : metastoreStatusBuilder_.build();
       }
     }
 
@@ -3096,38 +3422,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Lake result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Lake) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Lake)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Lake) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3157,8 +3484,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Lake other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -3208,112 +3534,122 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 74: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 818: {
-              input.readMessage(
-                  getMetastoreFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 818
-            case 826: {
-              input.readMessage(
-                  getAssetStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 826
-            case 834: {
-              input.readMessage(
-                  getMetastoreStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 834
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
-          } // switch (tag)
-        } // while (!done)
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.unwrapIOException();
-      } finally {
-        onChanged();
-      } // finally
-      return this;
-    }
-    private int bitField0_;
-
-    private java.lang.Object name_ = "";
-    /**
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 74:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 818:
+              {
+                input.readMessage(getMetastoreFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 818
+            case 826:
+              {
+                input.readMessage(getAssetStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 826
+            case 834:
+              {
+                input.readMessage(getMetastoreStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 834
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
+          } // switch (tag)
+        } // while (!done)
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.unwrapIOException();
+      } finally {
+        onChanged();
+      } // finally
+      return this;
+    }
+
+    private int bitField0_;
+
+    private java.lang.Object name_ = "";
+    /**
+     *
+     *
      * 
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -3322,21 +3658,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -3344,30 +3683,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -3377,18 +3727,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the lake, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3398,18 +3754,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -3418,20 +3776,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -3439,28 +3798,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3470,17 +3836,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3490,19 +3860,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3511,21 +3883,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3533,30 +3906,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3566,18 +3946,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the lake. This ID will
      * be different if the lake is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3587,39 +3971,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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 time when the lake was created.
      * 
* - * .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) { @@ -3635,14 +4038,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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(); } else { @@ -3653,17 +4059,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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 (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3676,11 +4086,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3693,11 +4107,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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() { bitField0_ |= 0x00000008; @@ -3705,36 +4123,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the lake was created.
      * 
* - * .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 time when the lake was created.
      * 
* - * .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_; @@ -3742,39 +4172,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 time when the lake was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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 time when the lake was last updated.
      * 
* - * .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) { @@ -3790,14 +4239,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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(); } else { @@ -3808,17 +4260,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3831,11 +4287,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3848,11 +4308,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000010; @@ -3860,56 +4324,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the lake was last updated.
      * 
* - * .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 time when the lake was last updated.
      * 
* - * .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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3918,10 +4392,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
@@ -3929,20 +4406,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
@@ -3954,6 +4432,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
@@ -3961,17 +4441,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
@@ -3979,91 +4461,95 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User-defined labels for the lake.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -4072,20 +4558,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -4093,28 +4580,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4124,17 +4618,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the lake.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -4144,22 +4642,31 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4170,24 +4677,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -4201,11 +4717,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the lake.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -4217,6 +4737,8 @@ public Builder clearState() { private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4224,13 +4746,13 @@ public Builder clearState() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -4239,6 +4761,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4246,15 +4770,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -4262,6 +4785,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4269,18 +4794,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4288,6 +4817,7 @@ public Builder setServiceAccount(
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -4297,6 +4827,8 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Output only. Service account associated with this lake. This service
      * account must be authorized to access or operate on resources managed by the
@@ -4304,12 +4836,14 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000100; @@ -4319,42 +4853,61 @@ public Builder setServiceAccountBytes( private com.google.cloud.dataplex.v1.Lake.Metastore metastore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> metastoreBuilder_; + com.google.cloud.dataplex.v1.Lake.Metastore, + com.google.cloud.dataplex.v1.Lake.Metastore.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> + metastoreBuilder_; /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the metastore field is set. */ public boolean hasMetastore() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metastore. */ public com.google.cloud.dataplex.v1.Lake.Metastore getMetastore() { if (metastoreBuilder_ == null) { - return metastore_ == null ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; + return metastore_ == null + ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() + : metastore_; } else { return metastoreBuilder_.getMessage(); } } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { if (metastoreBuilder_ == null) { @@ -4370,12 +4923,16 @@ public Builder setMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { return this; } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMetastore( com.google.cloud.dataplex.v1.Lake.Metastore.Builder builderForValue) { @@ -4389,18 +4946,22 @@ public Builder setMetastore( return this; } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) { if (metastoreBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - metastore_ != null && - metastore_ != com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && metastore_ != null + && metastore_ != com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance()) { getMetastoreBuilder().mergeFrom(value); } else { metastore_ = value; @@ -4413,12 +4974,16 @@ public Builder mergeMetastore(com.google.cloud.dataplex.v1.Lake.Metastore value) return this; } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMetastore() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4431,12 +4996,16 @@ public Builder clearMetastore() { return this; } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Lake.Metastore.Builder getMetastoreBuilder() { bitField0_ |= 0x00000200; @@ -4444,38 +5013,50 @@ public com.google.cloud.dataplex.v1.Lake.Metastore.Builder getMetastoreBuilder() return getMetastoreFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder() { if (metastoreBuilder_ != null) { return metastoreBuilder_.getMessageOrBuilder(); } else { - return metastore_ == null ? - com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() : metastore_; + return metastore_ == null + ? com.google.cloud.dataplex.v1.Lake.Metastore.getDefaultInstance() + : metastore_; } } /** + * + * *
      * Optional. Settings to manage lake and Dataproc Metastore service instance
      * association.
      * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> + com.google.cloud.dataplex.v1.Lake.Metastore, + com.google.cloud.dataplex.v1.Lake.Metastore.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder> getMetastoreFieldBuilder() { if (metastoreBuilder_ == null) { - metastoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.Metastore, com.google.cloud.dataplex.v1.Lake.Metastore.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder>( - getMetastore(), - getParentForChildren(), - isClean()); + metastoreBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake.Metastore, + com.google.cloud.dataplex.v1.Lake.Metastore.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder>( + getMetastore(), getParentForChildren(), isClean()); metastore_ = null; } return metastoreBuilder_; @@ -4483,39 +5064,58 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilde private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> assetStatusBuilder_; + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + assetStatusBuilder_; /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ public boolean hasAssetStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { if (assetStatusBuilder_ == null) { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } else { return assetStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { @@ -4531,11 +5131,15 @@ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAssetStatus( com.google.cloud.dataplex.v1.AssetStatus.Builder builderForValue) { @@ -4549,17 +5153,21 @@ public Builder setAssetStatus( return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - assetStatus_ != null && - assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && assetStatus_ != null + && assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { getAssetStatusBuilder().mergeFrom(value); } else { assetStatus_ = value; @@ -4572,11 +5180,15 @@ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAssetStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -4589,11 +5201,15 @@ public Builder clearAssetStatus() { return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() { bitField0_ |= 0x00000400; @@ -4601,36 +5217,48 @@ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() return getAssetStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { if (assetStatusBuilder_ != null) { return assetStatusBuilder_.getMessageOrBuilder(); } else { - return assetStatus_ == null ? - com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the lake.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder> getAssetStatusFieldBuilder() { if (assetStatusBuilder_ == null) { - assetStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( - getAssetStatus(), - getParentForChildren(), - isClean()); + assetStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( + getAssetStatus(), getParentForChildren(), isClean()); assetStatus_ = null; } return assetStatusBuilder_; @@ -4638,39 +5266,58 @@ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder private com.google.cloud.dataplex.v1.Lake.MetastoreStatus metastoreStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> metastoreStatusBuilder_; + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> + metastoreStatusBuilder_; /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metastoreStatus field is set. */ public boolean hasMetastoreStatus() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metastoreStatus. */ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus() { if (metastoreStatusBuilder_ == null) { - return metastoreStatus_ == null ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; + return metastoreStatus_ == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() + : metastoreStatus_; } else { return metastoreStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreStatus value) { if (metastoreStatusBuilder_ == null) { @@ -4686,11 +5333,15 @@ public Builder setMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreSta return this; } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetastoreStatus( com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder builderForValue) { @@ -4704,17 +5355,22 @@ public Builder setMetastoreStatus( return this; } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreStatus value) { if (metastoreStatusBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - metastoreStatus_ != null && - metastoreStatus_ != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && metastoreStatus_ != null + && metastoreStatus_ + != com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance()) { getMetastoreStatusBuilder().mergeFrom(value); } else { metastoreStatus_ = value; @@ -4727,11 +5383,15 @@ public Builder mergeMetastoreStatus(com.google.cloud.dataplex.v1.Lake.MetastoreS return this; } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetastoreStatus() { bitField0_ = (bitField0_ & ~0x00000800); @@ -4744,11 +5404,15 @@ public Builder clearMetastoreStatus() { return this; } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder getMetastoreStatusBuilder() { bitField0_ |= 0x00000800; @@ -4756,43 +5420,56 @@ public com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder getMetastoreSta return getMetastoreStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder + getMetastoreStatusOrBuilder() { if (metastoreStatusBuilder_ != null) { return metastoreStatusBuilder_.getMessageOrBuilder(); } else { - return metastoreStatus_ == null ? - com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() : metastoreStatus_; + return metastoreStatus_ == null + ? com.google.cloud.dataplex.v1.Lake.MetastoreStatus.getDefaultInstance() + : metastoreStatus_; } } /** + * + * *
      * Output only. Metastore status of the lake.
      * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder> getMetastoreStatusFieldBuilder() { if (metastoreStatusBuilder_ == null) { - metastoreStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake.MetastoreStatus, com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder>( - getMetastoreStatus(), - getParentForChildren(), - isClean()); + metastoreStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake.MetastoreStatus, + com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder, + com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder>( + getMetastoreStatus(), getParentForChildren(), isClean()); metastoreStatus_ = null; } return metastoreStatusBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4802,12 +5479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Lake) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Lake) private static final com.google.cloud.dataplex.v1.Lake DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Lake(); } @@ -4816,27 +5493,27 @@ public static com.google.cloud.dataplex.v1.Lake getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Lake parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Lake parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4851,6 +5528,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Lake getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java index d3b4ac6cafd5..758bc7b2d851 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LakeOrBuilder.java @@ -1,131 +1,190 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface LakeOrBuilder extends +public interface LakeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Lake) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the lake, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the lake. This ID will
    * be different if the lake is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the lake was created.
    * 
* - * .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 time when the lake was created.
    * 
* - * .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 time when the lake was created.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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 time when the lake was last updated.
    * 
* - * .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(); /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -134,30 +193,31 @@ public interface LakeOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
@@ -165,60 +225,76 @@ boolean containsLabels( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the lake.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the lake.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the lake.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -226,10 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Output only. Service account associated with this lake. This service
    * account must be authorized to access or operate on resources managed by the
@@ -237,92 +316,134 @@ java.lang.String getLabelsOrThrow(
    * 
* * string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the metastore field is set. */ boolean hasMetastore(); /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The metastore. */ com.google.cloud.dataplex.v1.Lake.Metastore getMetastore(); /** + * + * *
    * Optional. Settings to manage lake and Dataproc Metastore service instance
    * association.
    * 
* - * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Lake.MetastoreOrBuilder getMetastoreOrBuilder(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ boolean hasAssetStatus(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ com.google.cloud.dataplex.v1.AssetStatus getAssetStatus(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the lake.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder(); /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metastoreStatus field is set. */ boolean hasMetastoreStatus(); /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metastoreStatus. */ com.google.cloud.dataplex.v1.Lake.MetastoreStatus getMetastoreStatus(); /** + * + * *
    * Output only. Metastore status of the lake.
    * 
* - * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java index c7e09af56700..70dae719803b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List actions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListActionsResponse} */ -public final class ListActionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListActionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListActionsResponse) ListActionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListActionsResponse.newBuilder() to construct. private ListActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListActionsResponse() { actions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListActionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListActionsResponse.class, com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListActionsResponse.class, + com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List actions_; /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -59,6 +81,8 @@ public java.util.List getActionsList() { return actions_; } /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -66,11 +90,13 @@ public java.util.List getActionsList() { * repeated .google.cloud.dataplex.v1.Action actions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getActionsOrBuilderList() { return actions_; } /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -82,6 +108,8 @@ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { return actions_.get(index); } /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { * repeated .google.cloud.dataplex.v1.Action actions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index) { return actions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < actions_.size(); i++) { output.writeMessage(1, actions_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, actions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListActionsResponse other = (com.google.cloud.dataplex.v1.ListActionsResponse) obj; + com.google.cloud.dataplex.v1.ListActionsResponse other = + (com.google.cloud.dataplex.v1.ListActionsResponse) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,132 +262,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListActionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 actions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListActionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListActionsResponse) com.google.cloud.dataplex.v1.ListActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListActionsResponse.class, com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListActionsResponse.class, + com.google.cloud.dataplex.v1.ListActionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListActionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListActionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListActionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListActionsResponse result = new com.google.cloud.dataplex.v1.ListActionsResponse(this); + com.google.cloud.dataplex.v1.ListActionsResponse result = + new com.google.cloud.dataplex.v1.ListActionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListActionsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListActionsResponse result) { if (actionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListActionsResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListActionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListActionsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListActionsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListActionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance()) + return this; if (actionsBuilder_ == null) { if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListActionsResponse 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_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Action m = - input.readMessage( - com.google.cloud.dataplex.v1.Action.parser(), - extensionRegistry); - if (actionsBuilder_ == null) { - ensureActionsIsMutable(); - actions_.add(m); - } else { - actionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Action m = + input.readMessage( + com.google.cloud.dataplex.v1.Action.parser(), extensionRegistry); + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.add(m); + } else { + actionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder> actionsBuilder_; + com.google.cloud.dataplex.v1.Action, + com.google.cloud.dataplex.v1.Action.Builder, + com.google.cloud.dataplex.v1.ActionOrBuilder> + actionsBuilder_; /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -583,6 +634,8 @@ public java.util.List getActionsList() { } } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -597,6 +650,8 @@ public int getActionsCount() { } } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Action getActions(int index) { } } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder setActions( - int index, com.google.cloud.dataplex.v1.Action value) { + public Builder setActions(int index, com.google.cloud.dataplex.v1.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -650,6 +708,8 @@ public Builder setActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -670,14 +730,15 @@ public Builder addActions(com.google.cloud.dataplex.v1.Action value) { return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder addActions( - int index, com.google.cloud.dataplex.v1.Action value) { + public Builder addActions(int index, com.google.cloud.dataplex.v1.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public Builder addActions( - com.google.cloud.dataplex.v1.Action.Builder builderForValue) { + public Builder addActions(com.google.cloud.dataplex.v1.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -727,6 +791,8 @@ public Builder addActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -737,8 +803,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); @@ -746,6 +811,8 @@ public Builder addAllActions( return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -763,6 +830,8 @@ public Builder clearActions() { return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -780,39 +849,44 @@ public Builder removeActions(int index) { return this; } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.Action.Builder getActionsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Action.Builder getActionsBuilder(int index) { return getActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index) { if (actionsBuilder_ == null) { - return actions_.get(index); } else { + return actions_.get(index); + } else { return actionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public java.util.List - getActionsOrBuilderList() { + public java.util.List + getActionsOrBuilderList() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( } } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
@@ -827,42 +903,47 @@ public com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( * repeated .google.cloud.dataplex.v1.Action actions = 1; */ public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder() { - return getActionsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Action.getDefaultInstance()); + return getActionsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Action.getDefaultInstance()); } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder( - int index) { - return getActionsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Action.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder(int index) { + return getActionsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Action.getDefaultInstance()); } /** + * + * *
      * Actions under the given parent lake/zone/asset.
      * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - public java.util.List - getActionsBuilderList() { + public java.util.List getActionsBuilderList() { return getActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder> + com.google.cloud.dataplex.v1.Action, + com.google.cloud.dataplex.v1.Action.Builder, + com.google.cloud.dataplex.v1.ActionOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { - actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Action, com.google.cloud.dataplex.v1.Action.Builder, com.google.cloud.dataplex.v1.ActionOrBuilder>( - actions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + actionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Action, + com.google.cloud.dataplex.v1.Action.Builder, + com.google.cloud.dataplex.v1.ActionOrBuilder>( + actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); actions_ = null; } return actionsBuilder_; @@ -870,19 +951,21 @@ public com.google.cloud.dataplex.v1.Action.Builder addActionsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListActionsResponse) private static final com.google.cloud.dataplex.v1.ListActionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListActionsResponse(); } @@ -990,27 +1085,27 @@ public static com.google.cloud.dataplex.v1.ListActionsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListActionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java index 5960241b4a20..384cbfb70f17 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListActionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListActionsResponseOrBuilder extends +public interface ListActionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListActionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -25,6 +44,8 @@ public interface ListActionsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Action getActions(int index); /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
@@ -33,43 +54,50 @@ public interface ListActionsResponseOrBuilder extends */ int getActionsCount(); /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - java.util.List - getActionsOrBuilderList(); + java.util.List getActionsOrBuilderList(); /** + * + * *
    * Actions under the given parent lake/zone/asset.
    * 
* * repeated .google.cloud.dataplex.v1.Action actions = 1; */ - com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder( - int index); + com.google.cloud.dataplex.v1.ActionOrBuilder getActionsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java index c464abe99a76..012b53f60f47 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List asset actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetActionsRequest} */ -public final class ListAssetActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetActionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetActionsRequest) ListAssetActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetActionsRequest.newBuilder() to construct. private ListAssetActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListAssetActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, + com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -213,19 +246,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetActionsRequest other = (com.google.cloud.dataplex.v1.ListAssetActionsRequest) obj; + com.google.cloud.dataplex.v1.ListAssetActionsRequest other = + (com.google.cloud.dataplex.v1.ListAssetActionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,131 +280,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List asset actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetActionsRequest) com.google.cloud.dataplex.v1.ListAssetActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, + com.google.cloud.dataplex.v1.ListAssetActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetActionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; } @java.lang.Override @@ -406,8 +441,11 @@ public com.google.cloud.dataplex.v1.ListAssetActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListAssetActionsRequest result = new com.google.cloud.dataplex.v1.ListAssetActionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListAssetActionsRequest result = + new com.google.cloud.dataplex.v1.ListAssetActionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +467,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetActionsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetActionsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetActionsRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,27 +548,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,23 +582,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +612,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,30 +637,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -618,18 +681,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent asset:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -637,8 +706,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -646,6 +717,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +725,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -660,6 +734,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +746,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -678,6 +755,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +767,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -697,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -720,15 +802,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +817,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -744,18 +827,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -764,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListAssetActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -781,21 +871,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetActionsRequest) private static final com.google.cloud.dataplex.v1.ListAssetActionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetActionsRequest(); } @@ -819,27 +911,27 @@ public static com.google.cloud.dataplex.v1.ListAssetActionsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java index b429ff5cdffa..3893b4da7b46 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetActionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetActionsRequestOrBuilder extends +public interface ListAssetActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent asset:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -37,11 +64,14 @@ public interface ListAssetActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -50,10 +80,13 @@ public interface ListAssetActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListAssetActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -62,8 +95,8 @@ public interface ListAssetActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java index b1c862c9c643..6362349e69ea 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List assets request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsRequest} */ -public final class ListAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetsRequest) ListAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsRequest.class, com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsRequest.class, + com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of asset to return. The service may return fewer
    * than this value. If unspecified, at most 10 assets will be returned. The
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,14 +200,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -182,29 +220,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -213,14 +251,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -229,29 +271,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -260,6 +302,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -301,8 +343,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -321,23 +362,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetsRequest other = (com.google.cloud.dataplex.v1.ListAssetsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListAssetsRequest other = + (com.google.cloud.dataplex.v1.ListAssetsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,132 +401,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List assets request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetsRequest) com.google.cloud.dataplex.v1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsRequest.class, com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsRequest.class, + com.google.cloud.dataplex.v1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -524,8 +565,11 @@ public com.google.cloud.dataplex.v1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListAssetsRequest result = new com.google.cloud.dataplex.v1.ListAssetsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListAssetsRequest result = + new com.google.cloud.dataplex.v1.ListAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -553,38 +597,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetsRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -642,37 +687,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,23 +733,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -707,21 +763,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -729,30 +788,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -762,18 +832,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -781,8 +857,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -790,6 +868,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -797,6 +876,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -804,6 +885,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -815,6 +897,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of asset to return. The service may return fewer
      * than this value. If unspecified, at most 10 assets will be returned. The
@@ -822,6 +906,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -833,6 +918,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -841,13 +928,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -856,6 +943,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -864,15 +953,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -880,6 +968,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -888,18 +978,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -908,6 +1002,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -917,6 +1012,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListAssets` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -925,12 +1022,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -940,18 +1039,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -960,20 +1061,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -981,28 +1083,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1012,17 +1121,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1032,18 +1145,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1052,20 +1167,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1073,28 +1189,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1104,26 +1227,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1133,12 +1260,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetsRequest) private static final com.google.cloud.dataplex.v1.ListAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetsRequest(); } @@ -1147,27 +1274,27 @@ public static com.google.cloud.dataplex.v1.ListAssetsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java index 806085f9e281..6b7adb8d5694 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetsRequestOrBuilder extends +public interface ListAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of asset to return. The service may return fewer
    * than this value. If unspecified, at most 10 assets will be returned. The
@@ -37,11 +64,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -50,10 +80,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListAssets` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -62,48 +95,58 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java index 9a9689acf9c7..a590e0b8eb2a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List assets response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsResponse} */ -public final class ListAssetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListAssetsResponse) ListAssetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsResponse.class, com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsResponse.class, + com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); } public static final int ASSETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -59,6 +81,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -66,11 +90,13 @@ public java.util.List getAssetsList() { * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -82,6 +108,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < assets_.size(); i++) { output.writeMessage(1, assets_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListAssetsResponse other = (com.google.cloud.dataplex.v1.ListAssetsResponse) obj; + com.google.cloud.dataplex.v1.ListAssetsResponse other = + (com.google.cloud.dataplex.v1.ListAssetsResponse) obj; - if (!getAssetsList() - .equals(other.getAssetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,132 +262,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List assets response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListAssetsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListAssetsResponse) com.google.cloud.dataplex.v1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListAssetsResponse.class, com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListAssetsResponse.class, + com.google.cloud.dataplex.v1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListAssetsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListAssetsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListAssetsResponse result = new com.google.cloud.dataplex.v1.ListAssetsResponse(this); + com.google.cloud.dataplex.v1.ListAssetsResponse result = + new com.google.cloud.dataplex.v1.ListAssetsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListAssetsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListAssetsResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListAssetsResponse resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListAssetsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance()) + return this; if (assetsBuilder_ == null) { if (!other.assets_.isEmpty()) { if (assets_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListAssetsResponse other) assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Asset m = - input.readMessage( - com.google.cloud.dataplex.v1.Asset.parser(), - extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Asset m = + input.readMessage( + com.google.cloud.dataplex.v1.Asset.parser(), extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetsBuilder_; + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> + assetsBuilder_; /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -583,6 +634,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -597,6 +650,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Asset getAssets(int index) { } } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder setAssets( - int index, com.google.cloud.dataplex.v1.Asset value) { + public Builder setAssets(int index, com.google.cloud.dataplex.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -650,6 +708,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -670,14 +730,15 @@ public Builder addAssets(com.google.cloud.dataplex.v1.Asset value) { return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder addAssets( - int index, com.google.cloud.dataplex.v1.Asset value) { + public Builder addAssets(int index, com.google.cloud.dataplex.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public Builder addAssets( - com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder addAssets(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -727,6 +791,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -737,8 +803,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -746,6 +811,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -763,6 +830,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -780,39 +849,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.Asset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Asset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Asset under the given parent zone.
      * 
@@ -827,42 +903,47 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Asset.getDefaultInstance()); } /** + * + * *
      * Asset under the given parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; @@ -870,19 +951,21 @@ public com.google.cloud.dataplex.v1.Asset.Builder addAssetsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListAssetsResponse) private static final com.google.cloud.dataplex.v1.ListAssetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListAssetsResponse(); } @@ -990,27 +1085,27 @@ public static com.google.cloud.dataplex.v1.ListAssetsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java index 6cabd4ea125b..e959aedf42d3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListAssetsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListAssetsResponseOrBuilder extends +public interface ListAssetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -25,6 +44,8 @@ public interface ListAssetsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Asset getAssets(int index); /** + * + * *
    * Asset under the given parent zone.
    * 
@@ -33,43 +54,50 @@ public interface ListAssetsResponseOrBuilder extends */ int getAssetsCount(); /** + * + * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - java.util.List - getAssetsOrBuilderList(); + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * Asset under the given parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Asset assets = 1; */ - com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.dataplex.v1.AssetOrBuilder getAssetsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java index 427ce43d9e0a..dcd31371f42f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List content request. Returns the BASIC Content view.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentRequest} */ -public final class ListContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListContentRequest) ListContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListContentRequest.newBuilder() to construct. private ListContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListContentRequest() { parent_ = ""; pageToken_ = ""; @@ -27,34 +45,41 @@ private ListContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentRequest.class, com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); + com.google.cloud.dataplex.v1.ListContentRequest.class, + com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of content to return. The service may return fewer
    * than this value. If unspecified, at most 10 content will be returned. The
@@ -104,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +142,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -147,16 +182,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -165,9 +199,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -181,6 +218,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -189,14 +227,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -210,16 +249,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -228,6 +266,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -266,8 +304,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -283,21 +320,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListContentRequest other = (com.google.cloud.dataplex.v1.ListContentRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListContentRequest other = + (com.google.cloud.dataplex.v1.ListContentRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,132 +356,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 content request. Returns the BASIC Content view.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListContentRequest) com.google.cloud.dataplex.v1.ListContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentRequest.class, com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); + com.google.cloud.dataplex.v1.ListContentRequest.class, + com.google.cloud.dataplex.v1.ListContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListContentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -460,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; } @java.lang.Override @@ -481,8 +519,11 @@ public com.google.cloud.dataplex.v1.ListContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListContentRequest buildPartial() { - com.google.cloud.dataplex.v1.ListContentRequest result = new com.google.cloud.dataplex.v1.ListContentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListContentRequest result = + new com.google.cloud.dataplex.v1.ListContentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -507,38 +548,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListContentRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListContentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListContentRequest) other); } else { super.mergeFrom(other); return this; @@ -546,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentRequest other) { - if (other == com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListContentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -591,32 +634,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,23 +674,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -651,21 +704,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -673,30 +729,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -706,18 +773,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -725,8 +798,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -734,6 +809,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -741,6 +817,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -748,6 +826,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -759,6 +838,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of content to return. The service may return fewer
      * than this value. If unspecified, at most 10 content will be returned. The
@@ -766,6 +847,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -777,6 +859,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -785,13 +869,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -800,6 +884,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -808,15 +894,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -824,6 +909,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -832,18 +919,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -852,6 +943,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -861,6 +953,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListContent` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -869,12 +963,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -884,6 +980,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -897,13 +995,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -912,6 +1010,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -925,15 +1025,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -941,6 +1040,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -954,18 +1055,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -979,6 +1084,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -988,6 +1094,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request. Filters are case-sensitive.
      * The following formats are supported:
@@ -1001,21 +1109,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1025,12 +1135,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListContentRequest) private static final com.google.cloud.dataplex.v1.ListContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListContentRequest(); } @@ -1039,27 +1149,27 @@ public static com.google.cloud.dataplex.v1.ListContentRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,6 +1184,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java index d198aa29ca46..40db66e9356e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface ListContentRequestOrBuilder extends +public interface ListContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of content to return. The service may return fewer
    * than this value. If unspecified, at most 10 content will be returned. The
@@ -37,11 +64,14 @@ public interface ListContentRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -50,10 +80,13 @@ public interface ListContentRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListContent` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -62,12 +95,14 @@ public interface ListContentRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -81,10 +116,13 @@ public interface ListContentRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request. Filters are case-sensitive.
    * The following formats are supported:
@@ -98,8 +136,8 @@ public interface ListContentRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java index 4e69eabf8e31..3aecd311f59a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List content response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentResponse} */ -public final class ListContentResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListContentResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListContentResponse) ListContentResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListContentResponse.newBuilder() to construct. private ListContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListContentResponse() { content_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListContentResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListContentResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentResponse.class, com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); + com.google.cloud.dataplex.v1.ListContentResponse.class, + com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); } public static final int CONTENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List content_; /** + * + * *
    * Content under the given parent lake.
    * 
@@ -59,6 +81,8 @@ public java.util.List getContentList() { return content_; } /** + * + * *
    * Content under the given parent lake.
    * 
@@ -66,11 +90,13 @@ public java.util.List getContentList() { * repeated .google.cloud.dataplex.v1.Content content = 1; */ @java.lang.Override - public java.util.List + public java.util.List getContentOrBuilderList() { return content_; } /** + * + * *
    * Content under the given parent lake.
    * 
@@ -82,6 +108,8 @@ public int getContentCount() { return content_.size(); } /** + * + * *
    * Content under the given parent lake.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { return content_.get(index); } /** + * + * *
    * Content under the given parent lake.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { * repeated .google.cloud.dataplex.v1.Content content = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index) { return content_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < content_.size(); i++) { output.writeMessage(1, content_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < content_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, content_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, content_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListContentResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListContentResponse other = (com.google.cloud.dataplex.v1.ListContentResponse) obj; + com.google.cloud.dataplex.v1.ListContentResponse other = + (com.google.cloud.dataplex.v1.ListContentResponse) obj; - if (!getContentList() - .equals(other.getContentList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getContentList().equals(other.getContentList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,132 +262,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListContentResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 content response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListContentResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListContentResponse) com.google.cloud.dataplex.v1.ListContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListContentResponse.class, com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); + com.google.cloud.dataplex.v1.ListContentResponse.class, + com.google.cloud.dataplex.v1.ListContentResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListContentResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListContentResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListContentResponse buildPartial() { - com.google.cloud.dataplex.v1.ListContentResponse result = new com.google.cloud.dataplex.v1.ListContentResponse(this); + com.google.cloud.dataplex.v1.ListContentResponse result = + new com.google.cloud.dataplex.v1.ListContentResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListContentResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListContentResponse result) { if (contentBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { content_ = java.util.Collections.unmodifiableList(content_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListContentResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListContentResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListContentResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListContentResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentResponse other) { - if (other == com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListContentResponse.getDefaultInstance()) + return this; if (contentBuilder_ == null) { if (!other.content_.isEmpty()) { if (content_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListContentResponse other) contentBuilder_ = null; content_ = other.content_; bitField0_ = (bitField0_ & ~0x00000001); - contentBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getContentFieldBuilder() : null; + contentBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getContentFieldBuilder() + : null; } else { contentBuilder_.addAllMessages(other.content_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Content m = - input.readMessage( - com.google.cloud.dataplex.v1.Content.parser(), - extensionRegistry); - if (contentBuilder_ == null) { - ensureContentIsMutable(); - content_.add(m); - } else { - contentBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Content m = + input.readMessage( + com.google.cloud.dataplex.v1.Content.parser(), extensionRegistry); + if (contentBuilder_ == null) { + ensureContentIsMutable(); + content_.add(m); + } else { + contentBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List content_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureContentIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { content_ = new java.util.ArrayList(content_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> + contentBuilder_; /** + * + * *
      * Content under the given parent lake.
      * 
@@ -583,6 +634,8 @@ public java.util.List getContentList() { } } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -597,6 +650,8 @@ public int getContentCount() { } } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Content getContent(int index) { } } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder setContent( - int index, com.google.cloud.dataplex.v1.Content value) { + public Builder setContent(int index, com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -650,6 +708,8 @@ public Builder setContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -670,14 +730,15 @@ public Builder addContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder addContent( - int index, com.google.cloud.dataplex.v1.Content value) { + public Builder addContent(int index, com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public Builder addContent( - com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder addContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { ensureContentIsMutable(); content_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -727,6 +791,8 @@ public Builder addContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -737,8 +803,7 @@ public Builder addAllContent( java.lang.Iterable values) { if (contentBuilder_ == null) { ensureContentIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, content_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, content_); onChanged(); } else { contentBuilder_.addAllMessages(values); @@ -746,6 +811,8 @@ public Builder addAllContent( return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -763,6 +830,8 @@ public Builder clearContent() { return this; } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -780,39 +849,44 @@ public Builder removeContent(int index) { return this; } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder( - int index) { + public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder(int index) { return getContentFieldBuilder().getBuilder(index); } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index) { if (contentBuilder_ == null) { - return content_.get(index); } else { + return content_.get(index); + } else { return contentBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public java.util.List - getContentOrBuilderList() { + public java.util.List + getContentOrBuilderList() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( } } /** + * + * *
      * Content under the given parent lake.
      * 
@@ -827,42 +903,47 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( * repeated .google.cloud.dataplex.v1.Content content = 1; */ public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder() { - return getContentFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Content.getDefaultInstance()); + return getContentFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Content.getDefaultInstance()); } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder( - int index) { - return getContentFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Content.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder(int index) { + return getContentFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Content.getDefaultInstance()); } /** + * + * *
      * Content under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - public java.util.List - getContentBuilderList() { + public java.util.List getContentBuilderList() { return getContentFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( - content_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + contentBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder>( + content_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; @@ -870,19 +951,21 @@ public com.google.cloud.dataplex.v1.Content.Builder addContentBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListContentResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListContentResponse) private static final com.google.cloud.dataplex.v1.ListContentResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListContentResponse(); } @@ -990,27 +1085,27 @@ public static com.google.cloud.dataplex.v1.ListContentResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java index 2daa3615a519..f7806d28fbe2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListContentResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface ListContentResponseOrBuilder extends +public interface ListContentResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListContentResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - java.util.List - getContentList(); + java.util.List getContentList(); /** + * + * *
    * Content under the given parent lake.
    * 
@@ -25,6 +44,8 @@ public interface ListContentResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Content getContent(int index); /** + * + * *
    * Content under the given parent lake.
    * 
@@ -33,43 +54,50 @@ public interface ListContentResponseOrBuilder extends */ int getContentCount(); /** + * + * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - java.util.List - getContentOrBuilderList(); + java.util.List getContentOrBuilderList(); /** + * + * *
    * Content under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Content content = 1; */ - com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder( - int index); + com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java index d90c643e7193..20dfb9357ad3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataAttributeBindings request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsRequest} */ -public final class ListDataAttributeBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataAttributeBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) ListDataAttributeBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataAttributeBindingsRequest.newBuilder() to construct. - private ListDataAttributeBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDataAttributeBindingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataAttributeBindingsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +47,41 @@ private ListDataAttributeBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataAttributeBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +90,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of DataAttributeBindings to return. The service
    * may return fewer than this value. If unspecified, at most 10
@@ -106,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -125,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -149,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,9 +202,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -179,6 +217,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -187,14 +226,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -204,16 +244,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -222,14 +261,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -238,29 +281,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -269,6 +312,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +324,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -310,8 +353,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -330,23 +372,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other = (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other = + (com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,131 +412,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributeBindings request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,13 +555,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance(); } @@ -533,13 +577,17 @@ public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result = + new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -562,38 +610,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBinding public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) other); } else { super.mergeFrom(other); return this; @@ -601,7 +650,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -651,37 +702,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -691,23 +748,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -716,21 +778,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -738,30 +803,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -771,18 +847,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the Location:
      * projects/{project_number}/locations/{location_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -790,8 +872,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -800,6 +884,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -807,6 +892,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -815,6 +902,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -826,6 +914,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of DataAttributeBindings to return. The service
      * may return fewer than this value. If unspecified, at most 10
@@ -834,6 +924,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -845,6 +936,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -853,13 +946,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -868,6 +961,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -876,15 +971,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -892,6 +986,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -900,18 +996,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -920,6 +1020,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -929,6 +1030,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributeBindings`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -937,12 +1040,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -952,6 +1057,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -961,13 +1068,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -976,6 +1083,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -985,15 +1094,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1001,6 +1109,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1010,18 +1120,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1031,6 +1145,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1040,6 +1155,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * Filter using resource: filter=resource:"resource-name"
@@ -1049,12 +1166,14 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1064,18 +1183,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1084,20 +1205,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1105,28 +1227,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1136,26 +1265,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1165,12 +1298,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) - private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest(); } @@ -1179,27 +1313,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributeBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributeBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1214,6 +1348,4 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java index 0a569c571d6e..619fd3bf4435 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributeBindingsRequestOrBuilder extends +public interface ListDataAttributeBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the Location:
    * projects/{project_number}/locations/{location_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of DataAttributeBindings to return. The service
    * may return fewer than this value. If unspecified, at most 10
@@ -38,11 +65,14 @@ public interface ListDataAttributeBindingsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -51,10 +81,13 @@ public interface ListDataAttributeBindingsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributeBindings`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -63,12 +96,14 @@ public interface ListDataAttributeBindingsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -78,10 +113,13 @@ public interface ListDataAttributeBindingsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * Filter using resource: filter=resource:"resource-name"
@@ -91,28 +129,33 @@ public interface ListDataAttributeBindingsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java index f36b6db64394..67c593aea6bb 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponse.java @@ -1,122 +1,162 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataAttributeBindings response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsResponse} */ -public final class ListDataAttributeBindingsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataAttributeBindingsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) ListDataAttributeBindingsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataAttributeBindingsResponse.newBuilder() to construct. - private ListDataAttributeBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDataAttributeBindingsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataAttributeBindingsResponse() { dataAttributeBindings_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataAttributeBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); } public static final int DATA_ATTRIBUTE_BINDINGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataAttributeBindings_; /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ @java.lang.Override - public java.util.List getDataAttributeBindingsList() { + public java.util.List + getDataAttributeBindingsList() { return dataAttributeBindings_; } /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getDataAttributeBindingsOrBuilderList() { return dataAttributeBindings_; } /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ @java.lang.Override public int getDataAttributeBindingsCount() { return dataAttributeBindings_.size(); } /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index) { return dataAttributeBindings_.get(index); } /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingsOrBuilder(int index) { return dataAttributeBindings_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +165,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +197,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { return unreachableLocations_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -196,20 +245,23 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataAttributeBindings_.size(); i++) { output.writeMessage(1, dataAttributeBindings_.get(i)); } @@ -230,7 +281,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -242,8 +294,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataAttributeBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataAttributeBindings_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, dataAttributeBindings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +317,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other = (com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) obj; + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other = + (com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) obj; - if (!getDataAttributeBindingsList() - .equals(other.getDataAttributeBindingsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList() - .equals(other.getUnreachableLocationsList())) return false; + if (!getDataAttributeBindingsList().equals(other.getDataAttributeBindingsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +355,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributeBindings response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributeBindingsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,19 +497,19 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance(); } @@ -468,14 +524,18 @@ public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(this); + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result = + new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { if (dataAttributeBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataAttributeBindings_ = java.util.Collections.unmodifiableList(dataAttributeBindings_); @@ -487,7 +547,8 @@ private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataAtt } } - private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -502,38 +563,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributeBinding public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +603,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance()) + return this; if (dataAttributeBindingsBuilder_ == null) { if (!other.dataAttributeBindings_.isEmpty()) { if (dataAttributeBindings_.isEmpty()) { @@ -560,9 +624,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributeBindingsR dataAttributeBindingsBuilder_ = null; dataAttributeBindings_ = other.dataAttributeBindings_; bitField0_ = (bitField0_ & ~0x00000001); - dataAttributeBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataAttributeBindingsFieldBuilder() : null; + dataAttributeBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataAttributeBindingsFieldBuilder() + : null; } else { dataAttributeBindingsBuilder_.addAllMessages(other.dataAttributeBindings_); } @@ -609,36 +674,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataAttributeBinding m = - input.readMessage( - com.google.cloud.dataplex.v1.DataAttributeBinding.parser(), - extensionRegistry); - if (dataAttributeBindingsBuilder_ == null) { - ensureDataAttributeBindingsIsMutable(); - dataAttributeBindings_.add(m); - } else { - dataAttributeBindingsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataAttributeBinding m = + input.readMessage( + com.google.cloud.dataplex.v1.DataAttributeBinding.parser(), + extensionRegistry); + if (dataAttributeBindingsBuilder_ == null) { + ensureDataAttributeBindingsIsMutable(); + dataAttributeBindings_.add(m); + } else { + dataAttributeBindingsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,28 +717,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List dataAttributeBindings_ = - java.util.Collections.emptyList(); + private java.util.List + dataAttributeBindings_ = java.util.Collections.emptyList(); + private void ensureDataAttributeBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataAttributeBindings_ = new java.util.ArrayList(dataAttributeBindings_); + dataAttributeBindings_ = + new java.util.ArrayList( + dataAttributeBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingsBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + dataAttributeBindingsBuilder_; /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public java.util.List getDataAttributeBindingsList() { + public java.util.List + getDataAttributeBindingsList() { if (dataAttributeBindingsBuilder_ == null) { return java.util.Collections.unmodifiableList(dataAttributeBindings_); } else { @@ -677,11 +757,14 @@ public java.util.List getData } } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public int getDataAttributeBindingsCount() { if (dataAttributeBindingsBuilder_ == null) { @@ -691,11 +774,14 @@ public int getDataAttributeBindingsCount() { } } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index) { if (dataAttributeBindingsBuilder_ == null) { @@ -705,11 +791,14 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding } } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder setDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding value) { @@ -726,11 +815,14 @@ public Builder setDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder setDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -744,13 +836,17 @@ public Builder setDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public Builder addDataAttributeBindings(com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder addDataAttributeBindings( + com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -764,11 +860,14 @@ public Builder addDataAttributeBindings(com.google.cloud.dataplex.v1.DataAttribu return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder addDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding value) { @@ -785,11 +884,14 @@ public Builder addDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder addDataAttributeBindings( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -803,11 +905,14 @@ public Builder addDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder addDataAttributeBindings( int index, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -821,18 +926,20 @@ public Builder addDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder addAllDataAttributeBindings( java.lang.Iterable values) { if (dataAttributeBindingsBuilder_ == null) { ensureDataAttributeBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataAttributeBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataAttributeBindings_); onChanged(); } else { dataAttributeBindingsBuilder_.addAllMessages(values); @@ -840,11 +947,14 @@ public Builder addAllDataAttributeBindings( return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder clearDataAttributeBindings() { if (dataAttributeBindingsBuilder_ == null) { @@ -857,11 +967,14 @@ public Builder clearDataAttributeBindings() { return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ public Builder removeDataAttributeBindings(int index) { if (dataAttributeBindingsBuilder_ == null) { @@ -874,39 +987,49 @@ public Builder removeDataAttributeBindings(int index) { return this; } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingsBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder + getDataAttributeBindingsBuilder(int index) { return getDataAttributeBindingsFieldBuilder().getBuilder(index); } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingsOrBuilder(int index) { if (dataAttributeBindingsBuilder_ == null) { - return dataAttributeBindings_.get(index); } else { + return dataAttributeBindings_.get(index); + } else { return dataAttributeBindingsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public java.util.List - getDataAttributeBindingsOrBuilderList() { + public java.util.List + getDataAttributeBindingsOrBuilderList() { if (dataAttributeBindingsBuilder_ != null) { return dataAttributeBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -914,45 +1037,62 @@ public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttribu } } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder addDataAttributeBindingsBuilder() { - return getDataAttributeBindingsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder + addDataAttributeBindingsBuilder() { + return getDataAttributeBindingsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder addDataAttributeBindingsBuilder( - int index) { - return getDataAttributeBindingsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder + addDataAttributeBindingsBuilder(int index) { + return getDataAttributeBindingsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()); } /** + * + * *
      * DataAttributeBindings under the given parent Location.
      * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - public java.util.List - getDataAttributeBindingsBuilderList() { + public java.util.List + getDataAttributeBindingsBuilderList() { return getDataAttributeBindingsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingsFieldBuilder() { if (dataAttributeBindingsBuilder_ == null) { - dataAttributeBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + dataAttributeBindingsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( dataAttributeBindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1104,21 @@ public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder addDataAttribut private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1127,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1150,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1190,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1215,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1068,35 +1223,43 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1104,31 +1267,37 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachableLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1305,21 @@ public Builder setUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1327,58 @@ public Builder addUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations( - java.lang.Iterable values) { + public Builder addAllUnreachableLocations(java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1205,9 +1386,9 @@ public Builder addUnreachableLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,41 +1398,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) - private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse(); } - public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstance() { + public static com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributeBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributeBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1263,9 +1446,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java index 34e7d5b26a36..78114259130e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributeBindingsResponseOrBuilder.java @@ -1,116 +1,161 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributeBindingsResponseOrBuilder extends +public interface ListDataAttributeBindingsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributeBindingsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - java.util.List - getDataAttributeBindingsList(); + java.util.List getDataAttributeBindingsList(); /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBindings(int index); /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ int getDataAttributeBindingsCount(); /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ - java.util.List + java.util.List getDataAttributeBindingsOrBuilderList(); /** + * + * *
    * DataAttributeBindings under the given parent Location.
    * 
* - * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * repeated .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_bindings = 1; + * */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingsOrBuilder( int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - java.util.List - getUnreachableLocationsList(); + java.util.List getUnreachableLocationsList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java index 4eee5a086b16..67383b8c5ed5 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataAttributes request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesRequest} */ -public final class ListDataAttributesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataAttributesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributesRequest) ListDataAttributesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataAttributesRequest.newBuilder() to construct. private ListDataAttributesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataAttributesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListDataAttributesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataAttributesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, + com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of DataAttributes to return. The service may
    * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,14 +201,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,29 +221,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -214,14 +252,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -230,29 +272,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +303,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +344,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -322,23 +363,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributesRequest other = (com.google.cloud.dataplex.v1.ListDataAttributesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataAttributesRequest other = + (com.google.cloud.dataplex.v1.ListDataAttributesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,131 +403,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataAttributesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributes request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributesRequest) com.google.cloud.dataplex.v1.ListDataAttributesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, + com.google.cloud.dataplex.v1.ListDataAttributesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; } @java.lang.Override @@ -525,8 +567,11 @@ public com.google.cloud.dataplex.v1.ListDataAttributesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributesRequest result = new com.google.cloud.dataplex.v1.ListDataAttributesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListDataAttributesRequest result = + new com.google.cloud.dataplex.v1.ListDataAttributesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,38 +599,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributesReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +639,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,37 +690,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,23 +736,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -708,21 +766,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -730,30 +791,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -763,18 +835,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy:
      * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -782,8 +860,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -792,6 +872,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -799,6 +880,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -807,6 +890,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -818,6 +902,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of DataAttributes to return. The service may
      * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -826,6 +912,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,6 +924,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -845,13 +934,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -860,6 +949,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -868,15 +959,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -884,6 +974,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -892,18 +984,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -912,6 +1008,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -921,6 +1018,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataAttributes` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -929,12 +1028,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -944,18 +1045,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -964,20 +1067,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -985,28 +1089,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1016,17 +1127,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1036,18 +1151,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1056,20 +1173,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1077,28 +1195,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1108,26 +1233,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,12 +1266,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributesRequest) private static final com.google.cloud.dataplex.v1.ListDataAttributesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributesRequest(); } @@ -1151,27 +1280,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributesRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataAttributesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java index 75adca989721..5f9a51a113e9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributesRequestOrBuilder extends +public interface ListDataAttributesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the DataTaxonomy:
    * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of DataAttributes to return. The service may
    * return fewer than this value. If unspecified, at most 10 dataAttributes
@@ -38,11 +65,14 @@ public interface ListDataAttributesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -51,10 +81,13 @@ public interface ListDataAttributesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListDataAttributes` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -63,48 +96,58 @@ public interface ListDataAttributesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java index f6c9e2405e61..071837389be9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataAttributes response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesResponse} */ -public final class ListDataAttributesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataAttributesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataAttributesResponse) ListDataAttributesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataAttributesResponse.newBuilder() to construct. private ListDataAttributesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataAttributesResponse() { dataAttributes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataAttributesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, + com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); } public static final int DATA_ATTRIBUTES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataAttributes_; /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -61,6 +82,8 @@ public java.util.List getDataAttribu return dataAttributes_; } /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -68,11 +91,13 @@ public java.util.List getDataAttribu * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataAttributesOrBuilderList() { return dataAttributes_; } /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -84,6 +109,8 @@ public int getDataAttributesCount() { return dataAttributes_.size(); } /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { return dataAttributes_.get(index); } /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder(int index) { return dataAttributes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { return unreachableLocations_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataAttributes_.size(); i++) { output.writeMessage(1, dataAttributes_.get(i)); } @@ -230,7 +273,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -242,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataAttributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataAttributes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataAttributes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +307,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataAttributesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataAttributesResponse other = (com.google.cloud.dataplex.v1.ListDataAttributesResponse) obj; + com.google.cloud.dataplex.v1.ListDataAttributesResponse other = + (com.google.cloud.dataplex.v1.ListDataAttributesResponse) obj; - if (!getDataAttributesList() - .equals(other.getDataAttributesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList() - .equals(other.getUnreachableLocationsList())) return false; + if (!getDataAttributesList().equals(other.getDataAttributesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +345,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataAttributesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataAttributesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataAttributesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataAttributes response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataAttributesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataAttributesResponse) com.google.cloud.dataplex.v1.ListDataAttributesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, + com.google.cloud.dataplex.v1.ListDataAttributesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataAttributesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +487,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; } @java.lang.Override @@ -468,14 +513,18 @@ public com.google.cloud.dataplex.v1.ListDataAttributesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataAttributesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataAttributesResponse result = new com.google.cloud.dataplex.v1.ListDataAttributesResponse(this); + com.google.cloud.dataplex.v1.ListDataAttributesResponse result = + new com.google.cloud.dataplex.v1.ListDataAttributesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataAttributesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListDataAttributesResponse result) { if (dataAttributesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataAttributes_ = java.util.Collections.unmodifiableList(dataAttributes_); @@ -502,38 +551,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataAttributesRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataAttributesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataAttributesResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance()) + return this; if (dataAttributesBuilder_ == null) { if (!other.dataAttributes_.isEmpty()) { if (dataAttributes_.isEmpty()) { @@ -560,9 +611,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataAttributesResponse dataAttributesBuilder_ = null; dataAttributes_ = other.dataAttributes_; bitField0_ = (bitField0_ & ~0x00000001); - dataAttributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataAttributesFieldBuilder() : null; + dataAttributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataAttributesFieldBuilder() + : null; } else { dataAttributesBuilder_.addAllMessages(other.dataAttributes_); } @@ -609,36 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataAttribute m = - input.readMessage( - com.google.cloud.dataplex.v1.DataAttribute.parser(), - extensionRegistry); - if (dataAttributesBuilder_ == null) { - ensureDataAttributesIsMutable(); - dataAttributes_.add(m); - } else { - dataAttributesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataAttribute m = + input.readMessage( + com.google.cloud.dataplex.v1.DataAttribute.parser(), extensionRegistry); + if (dataAttributesBuilder_ == null) { + ensureDataAttributesIsMutable(); + dataAttributes_.add(m); + } else { + dataAttributesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +703,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataAttributes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataAttributes_ = new java.util.ArrayList(dataAttributes_); + dataAttributes_ = + new java.util.ArrayList(dataAttributes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributesBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + dataAttributesBuilder_; /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -677,6 +740,8 @@ public java.util.List getDataAttribu } } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -691,6 +756,8 @@ public int getDataAttributesCount() { } } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -705,14 +772,15 @@ public com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index) { } } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public Builder setDataAttributes( - int index, com.google.cloud.dataplex.v1.DataAttribute value) { + public Builder setDataAttributes(int index, com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +794,8 @@ public Builder setDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -744,6 +814,8 @@ public Builder setDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -764,14 +836,15 @@ public Builder addDataAttributes(com.google.cloud.dataplex.v1.DataAttribute valu return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public Builder addDataAttributes( - int index, com.google.cloud.dataplex.v1.DataAttribute value) { + public Builder addDataAttributes(int index, com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,6 +858,8 @@ public Builder addDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -803,6 +878,8 @@ public Builder addDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -821,6 +898,8 @@ public Builder addDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -831,8 +910,7 @@ public Builder addAllDataAttributes( java.lang.Iterable values) { if (dataAttributesBuilder_ == null) { ensureDataAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataAttributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataAttributes_); onChanged(); } else { dataAttributesBuilder_.addAllMessages(values); @@ -840,6 +918,8 @@ public Builder addAllDataAttributes( return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -857,6 +937,8 @@ public Builder clearDataAttributes() { return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -874,17 +956,20 @@ public Builder removeDataAttributes(int index) { return this; } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuilder(int index) { return getDataAttributesFieldBuilder().getBuilder(index); } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -894,19 +979,22 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributesBuild public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( int index) { if (dataAttributesBuilder_ == null) { - return dataAttributes_.get(index); } else { + return dataAttributes_.get(index); + } else { return dataAttributesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public java.util.List - getDataAttributesOrBuilderList() { + public java.util.List + getDataAttributesOrBuilderList() { if (dataAttributesBuilder_ != null) { return dataAttributesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1002,8 @@ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBu } } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
@@ -921,38 +1011,47 @@ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBu * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder() { - return getDataAttributesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); + return getDataAttributesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder( - int index) { - return getDataAttributesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuilder(int index) { + return getDataAttributesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()); } /** + * + * *
      * DataAttributes under the given parent DataTaxonomy.
      * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - public java.util.List - getDataAttributesBuilderList() { + public java.util.List + getDataAttributesBuilderList() { return getDataAttributesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributesFieldBuilder() { if (dataAttributesBuilder_ == null) { - dataAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + dataAttributesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( dataAttributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1063,21 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder addDataAttributesBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1086,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1109,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1149,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1174,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1068,35 +1182,43 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1104,31 +1226,37 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachableLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1264,21 @@ public Builder setUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1286,58 @@ public Builder addUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations( - java.lang.Iterable values) { + public Builder addAllUnreachableLocations(java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1205,9 +1345,9 @@ public Builder addUnreachableLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1357,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataAttributesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataAttributesResponse) private static final com.google.cloud.dataplex.v1.ListDataAttributesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataAttributesResponse(); } @@ -1231,27 +1371,27 @@ public static com.google.cloud.dataplex.v1.ListDataAttributesResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataAttributesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataAttributesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1406,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataAttributesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java index b03504e30d23..e2911a87108b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataAttributesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataAttributesResponseOrBuilder extends +public interface ListDataAttributesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataAttributesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - java.util.List - getDataAttributesList(); + java.util.List getDataAttributesList(); /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -25,6 +44,8 @@ public interface ListDataAttributesResponseOrBuilder extends */ com.google.cloud.dataplex.v1.DataAttribute getDataAttributes(int index); /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
@@ -33,84 +54,102 @@ public interface ListDataAttributesResponseOrBuilder extends */ int getDataAttributesCount(); /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - java.util.List + java.util.List getDataAttributesOrBuilderList(); /** + * + * *
    * DataAttributes under the given parent DataTaxonomy.
    * 
* * repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1; */ - com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - java.util.List - getUnreachableLocationsList(); + java.util.List getUnreachableLocationsList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java similarity index 73% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java index 9ef3a09a52c0..3fe683a12926 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataScanJobs request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsRequest} */ -public final class ListDataScanJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataScanJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScanJobsRequest) ListDataScanJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataScanJobsRequest.newBuilder() to construct. private ListDataScanJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataScanJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,28 +45,32 @@ private ListDataScanJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataScanJobsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -80,17 +106,18 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 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 { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of DataScanJobs to return. The service may return
    * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -109,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -152,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -170,9 +204,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -194,6 +231,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -202,14 +240,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -231,16 +270,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -249,6 +287,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +299,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -287,8 +325,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -304,21 +341,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScanJobsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScanJobsRequest other = (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListDataScanJobsRequest other = + (com.google.cloud.dataplex.v1.ListDataScanJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,131 +378,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScanJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJobs request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScanJobsRequest) com.google.cloud.dataplex.v1.ListDataScanJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, + com.google.cloud.dataplex.v1.ListDataScanJobsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScanJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; } @java.lang.Override @@ -502,8 +540,11 @@ public com.google.cloud.dataplex.v1.ListDataScanJobsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScanJobsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataScanJobsRequest result = new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListDataScanJobsRequest result = + new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -528,38 +569,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScanJobsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScanJobsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -612,32 +655,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,10 +695,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -658,14 +709,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -674,6 +727,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -681,16 +736,17 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -698,6 +754,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -705,19 +763,25 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -725,7 +789,10 @@ public Builder setParent(
      * `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -735,6 +802,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -742,13 +811,17 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -756,8 +829,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -766,6 +841,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -773,6 +849,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -781,6 +859,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -792,6 +871,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of DataScanJobs to return. The service may return
      * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -800,6 +881,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -811,6 +893,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -819,13 +903,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -834,6 +918,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -842,15 +928,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -858,6 +943,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -866,18 +953,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -886,6 +977,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -895,6 +987,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataScanJobs` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -903,12 +997,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -918,6 +1014,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -939,13 +1037,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -954,6 +1052,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -975,15 +1075,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -991,6 +1090,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1012,18 +1113,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1045,6 +1150,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1054,6 +1160,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. An expression for filtering the results of the ListDataScanJobs
      * request.
@@ -1075,21 +1183,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +1209,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScanJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScanJobsRequest) private static final com.google.cloud.dataplex.v1.ListDataScanJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScanJobsRequest(); } @@ -1113,27 +1223,27 @@ public static com.google.cloud.dataplex.v1.ListDataScanJobsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScanJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScanJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,6 +1258,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScanJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java index b44a8e001382..50bc7f0b7644 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScanJobsRequestOrBuilder extends +public interface ListDataScanJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScanJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -15,11 +33,16 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
@@ -27,13 +50,17 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of DataScanJobs to return. The service may return
    * fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -42,11 +69,14 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -55,10 +85,13 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListDataScanJobs` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -67,12 +100,14 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -94,10 +129,13 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. An expression for filtering the results of the ListDataScanJobs
    * request.
@@ -119,8 +157,8 @@ public interface ListDataScanJobsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java index febd6b2c6100..2921691abaac 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataScanJobs response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsResponse} */ -public final class ListDataScanJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataScanJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScanJobsResponse) ListDataScanJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataScanJobsResponse.newBuilder() to construct. private ListDataScanJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataScanJobsResponse() { dataScanJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListDataScanJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataScanJobsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); } public static final int DATA_SCAN_JOBS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataScanJobs_; /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -59,6 +81,8 @@ public java.util.List getDataScanJobsL return dataScanJobs_; } /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -66,11 +90,13 @@ public java.util.List getDataScanJobsL * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataScanJobsOrBuilderList() { return dataScanJobs_; } /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -82,6 +108,8 @@ public int getDataScanJobsCount() { return dataScanJobs_.size(); } /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { return dataScanJobs_.get(index); } /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index) { return dataScanJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataScanJobs_.size(); i++) { output.writeMessage(1, dataScanJobs_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataScanJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataScanJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataScanJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScanJobsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScanJobsResponse other = (com.google.cloud.dataplex.v1.ListDataScanJobsResponse) obj; + com.google.cloud.dataplex.v1.ListDataScanJobsResponse other = + (com.google.cloud.dataplex.v1.ListDataScanJobsResponse) obj; - if (!getDataScanJobsList() - .equals(other.getDataScanJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDataScanJobsList().equals(other.getDataScanJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +263,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScanJobsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataScanJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataScanJobs response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScanJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScanJobsResponse) com.google.cloud.dataplex.v1.ListDataScanJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, + com.google.cloud.dataplex.v1.ListDataScanJobsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScanJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; } @java.lang.Override @@ -394,14 +430,18 @@ public com.google.cloud.dataplex.v1.ListDataScanJobsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScanJobsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataScanJobsResponse result = new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(this); + com.google.cloud.dataplex.v1.ListDataScanJobsResponse result = + new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataScanJobsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListDataScanJobsResponse result) { if (dataScanJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataScanJobs_ = java.util.Collections.unmodifiableList(dataScanJobs_); @@ -424,38 +464,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScanJobsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScanJobsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScanJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +504,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance()) + return this; if (dataScanJobsBuilder_ == null) { if (!other.dataScanJobs_.isEmpty()) { if (dataScanJobs_.isEmpty()) { @@ -482,9 +524,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScanJobsResponse o dataScanJobsBuilder_ = null; dataScanJobs_ = other.dataScanJobs_; bitField0_ = (bitField0_ & ~0x00000001); - dataScanJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataScanJobsFieldBuilder() : null; + dataScanJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataScanJobsFieldBuilder() + : null; } else { dataScanJobsBuilder_.addAllMessages(other.dataScanJobs_); } @@ -521,30 +564,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataScanJob m = - input.readMessage( - com.google.cloud.dataplex.v1.DataScanJob.parser(), - extensionRegistry); - if (dataScanJobsBuilder_ == null) { - ensureDataScanJobsIsMutable(); - dataScanJobs_.add(m); - } else { - dataScanJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataScanJob m = + input.readMessage( + com.google.cloud.dataplex.v1.DataScanJob.parser(), extensionRegistry); + if (dataScanJobsBuilder_ == null) { + ensureDataScanJobsIsMutable(); + dataScanJobs_.add(m); + } else { + dataScanJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +599,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataScanJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataScanJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataScanJobs_ = new java.util.ArrayList(dataScanJobs_); + dataScanJobs_ = + new java.util.ArrayList(dataScanJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> dataScanJobsBuilder_; + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + dataScanJobsBuilder_; /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -583,6 +636,8 @@ public java.util.List getDataScanJobsL } } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -597,6 +652,8 @@ public int getDataScanJobsCount() { } } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -611,14 +668,15 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { } } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public Builder setDataScanJobs( - int index, com.google.cloud.dataplex.v1.DataScanJob value) { + public Builder setDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJob value) { if (dataScanJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +690,8 @@ public Builder setDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -650,6 +710,8 @@ public Builder setDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -670,14 +732,15 @@ public Builder addDataScanJobs(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public Builder addDataScanJobs( - int index, com.google.cloud.dataplex.v1.DataScanJob value) { + public Builder addDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJob value) { if (dataScanJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,6 +754,8 @@ public Builder addDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -709,6 +774,8 @@ public Builder addDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -727,6 +794,8 @@ public Builder addDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -737,8 +806,7 @@ public Builder addAllDataScanJobs( java.lang.Iterable values) { if (dataScanJobsBuilder_ == null) { ensureDataScanJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataScanJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataScanJobs_); onChanged(); } else { dataScanJobsBuilder_.addAllMessages(values); @@ -746,6 +814,8 @@ public Builder addAllDataScanJobs( return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -763,6 +833,8 @@ public Builder clearDataScanJobs() { return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -780,39 +852,44 @@ public Builder removeDataScanJobs(int index) { return this; } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJob.Builder getDataScanJobsBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScanJob.Builder getDataScanJobsBuilder(int index) { return getDataScanJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index) { if (dataScanJobsBuilder_ == null) { - return dataScanJobs_.get(index); } else { + return dataScanJobs_.get(index); + } else { return dataScanJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public java.util.List - getDataScanJobsOrBuilderList() { + public java.util.List + getDataScanJobsOrBuilderList() { if (dataScanJobsBuilder_ != null) { return dataScanJobsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +897,8 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde } } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
@@ -827,42 +906,48 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder() { - return getDataScanJobsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); + return getDataScanJobsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder( - int index) { - return getDataScanJobsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder(int index) { + return getDataScanJobsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()); } /** + * + * *
      * DataScanJobs (`BASIC` view only) under a given dataScan.
      * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - public java.util.List - getDataScanJobsBuilderList() { + public java.util.List + getDataScanJobsBuilderList() { return getDataScanJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder> getDataScanJobsFieldBuilder() { if (dataScanJobsBuilder_ == null) { - dataScanJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( - dataScanJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataScanJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( + dataScanJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataScanJobs_ = null; } return dataScanJobsBuilder_; @@ -870,19 +955,21 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +978,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +1001,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1041,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScanJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScanJobsResponse) private static final com.google.cloud.dataplex.v1.ListDataScanJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScanJobsResponse(); } @@ -990,27 +1089,27 @@ public static com.google.cloud.dataplex.v1.ListDataScanJobsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScanJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScanJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScanJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java index c0494a420171..2eac958994ae 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScanJobsResponseOrBuilder extends +public interface ListDataScanJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScanJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - java.util.List - getDataScanJobsList(); + java.util.List getDataScanJobsList(); /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -25,6 +44,8 @@ public interface ListDataScanJobsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index); /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
@@ -33,43 +54,51 @@ public interface ListDataScanJobsResponseOrBuilder extends */ int getDataScanJobsCount(); /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - java.util.List + java.util.List getDataScanJobsOrBuilderList(); /** + * + * *
    * DataScanJobs (`BASIC` view only) under a given dataScan.
    * 
* * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; */ - com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java index 65032af690dd..b6460a980123 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List dataScans request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansRequest} */ -public final class ListDataScansRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataScansRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScansRequest) ListDataScansRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataScansRequest.newBuilder() to construct. private ListDataScansRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataScansRequest() { parent_ = ""; pageToken_ = ""; @@ -28,28 +46,32 @@ private ListDataScansRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataScansRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansRequest.class, com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansRequest.class, + com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 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 @@ -66,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -81,17 +107,18 @@ public java.lang.String getParent() {
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +129,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of dataScans to return. The service may return
    * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -109,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -152,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -170,14 +204,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -186,29 +224,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -217,15 +255,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -234,30 +276,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -266,6 +308,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,8 +320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -307,8 +349,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -327,23 +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.cloud.dataplex.v1.ListDataScansRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScansRequest other = (com.google.cloud.dataplex.v1.ListDataScansRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataScansRequest other = + (com.google.cloud.dataplex.v1.ListDataScansRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,131 +408,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScansRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScansRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScansRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dataScans request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScansRequest) com.google.cloud.dataplex.v1.ListDataScansRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansRequest.class, com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansRequest.class, + com.google.cloud.dataplex.v1.ListDataScansRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScansRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -509,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; } @java.lang.Override @@ -530,8 +571,11 @@ public com.google.cloud.dataplex.v1.ListDataScansRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScansRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataScansRequest result = new com.google.cloud.dataplex.v1.ListDataScansRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListDataScansRequest result = + new com.google.cloud.dataplex.v1.ListDataScansRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,38 +603,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScansRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScansRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansRequest) other); } else { super.mergeFrom(other); return this; @@ -598,7 +643,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -648,37 +694,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,10 +740,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -699,14 +754,16 @@ public Builder mergeFrom(
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -715,6 +772,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -722,16 +781,17 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -739,6 +799,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -746,19 +808,25 @@ public java.lang.String getParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -766,7 +834,10 @@ public Builder setParent(
      * `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -776,6 +847,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent location:
      * `projects/{project}/locations/{location_id}`
@@ -783,13 +856,17 @@ public Builder clearParent() {
      * `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -797,8 +874,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -806,6 +885,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -813,6 +893,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -820,6 +902,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -831,6 +914,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of dataScans to return. The service may return
      * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -838,6 +923,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -849,6 +935,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -857,13 +945,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -872,6 +960,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -880,15 +970,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -896,6 +985,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -904,18 +995,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -924,6 +1019,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -933,6 +1029,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListDataScans` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -941,12 +1039,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -956,18 +1056,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -976,20 +1078,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -997,28 +1100,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1028,17 +1138,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1048,19 +1162,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1069,21 +1185,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1091,30 +1208,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1124,27 +1248,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields (`name` or `create_time`) for the result.
      * If not specified, the ordering is undefined.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1154,12 +1282,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScansRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScansRequest) private static final com.google.cloud.dataplex.v1.ListDataScansRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScansRequest(); } @@ -1168,27 +1296,27 @@ public static com.google.cloud.dataplex.v1.ListDataScansRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScansRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScansRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,6 +1331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScansRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java index 9531e3f97e60..f2d45390b583 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScansRequestOrBuilder extends +public interface ListDataScansRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScansRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -15,11 +33,16 @@ public interface ListDataScansRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent location:
    * `projects/{project}/locations/{location_id}`
@@ -27,13 +50,17 @@ public interface ListDataScansRequestOrBuilder extends
    * `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of dataScans to return. The service may return
    * fewer than this value. If unspecified, at most 500 scans will be returned.
@@ -41,11 +68,14 @@ public interface ListDataScansRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -54,10 +84,13 @@ public interface ListDataScansRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListDataScans` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -66,50 +99,60 @@ public interface ListDataScansRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields (`name` or `create_time`) for the result.
    * If not specified, the ordering is undefined.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java index 86fdcabeef64..50d5384bff9e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List dataScans response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansResponse} */ -public final class ListDataScansResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataScansResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataScansResponse) ListDataScansResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataScansResponse.newBuilder() to construct. private ListDataScansResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataScansResponse() { dataScans_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataScansResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansResponse.class, com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansResponse.class, + com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); } public static final int DATA_SCANS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataScans_; /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -61,6 +82,8 @@ public java.util.List getDataScansList() return dataScans_; } /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -68,11 +91,13 @@ public java.util.List getDataScansList() * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataScansOrBuilderList() { return dataScans_; } /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -84,6 +109,8 @@ public int getDataScansCount() { return dataScans_.size(); } /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { return dataScans_.get(index); } /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index) { return dataScans_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataScans_.size(); i++) { output.writeMessage(1, dataScans_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataScans_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataScans_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataScans_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataScansResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataScansResponse other = (com.google.cloud.dataplex.v1.ListDataScansResponse) obj; + com.google.cloud.dataplex.v1.ListDataScansResponse other = + (com.google.cloud.dataplex.v1.ListDataScansResponse) obj; - if (!getDataScansList() - .equals(other.getDataScansList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getDataScansList().equals(other.getDataScansList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +344,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataScansResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataScansResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataScansResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dataScans response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataScansResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataScansResponse) com.google.cloud.dataplex.v1.ListDataScansResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataScansResponse.class, com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataScansResponse.class, + com.google.cloud.dataplex.v1.ListDataScansResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataScansResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; } @java.lang.Override @@ -468,14 +511,18 @@ public com.google.cloud.dataplex.v1.ListDataScansResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataScansResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataScansResponse result = new com.google.cloud.dataplex.v1.ListDataScansResponse(this); + com.google.cloud.dataplex.v1.ListDataScansResponse result = + new com.google.cloud.dataplex.v1.ListDataScansResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataScansResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListDataScansResponse result) { if (dataScansBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataScans_ = java.util.Collections.unmodifiableList(dataScans_); @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataScansResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataScansResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataScansResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +589,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance()) + return this; if (dataScansBuilder_ == null) { if (!other.dataScans_.isEmpty()) { if (dataScans_.isEmpty()) { @@ -560,9 +609,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataScansResponse othe dataScansBuilder_ = null; dataScans_ = other.dataScans_; bitField0_ = (bitField0_ & ~0x00000001); - dataScansBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataScansFieldBuilder() : null; + dataScansBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataScansFieldBuilder() + : null; } else { dataScansBuilder_.addAllMessages(other.dataScans_); } @@ -609,36 +659,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataScan m = - input.readMessage( - com.google.cloud.dataplex.v1.DataScan.parser(), - extensionRegistry); - if (dataScansBuilder_ == null) { - ensureDataScansIsMutable(); - dataScans_.add(m); - } else { - dataScansBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataScan m = + input.readMessage( + com.google.cloud.dataplex.v1.DataScan.parser(), extensionRegistry); + if (dataScansBuilder_ == null) { + ensureDataScansIsMutable(); + dataScans_.add(m); + } else { + dataScansBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +701,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataScans_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataScansIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataScans_ = new java.util.ArrayList(dataScans_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScansBuilder_; + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> + dataScansBuilder_; /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -677,6 +737,8 @@ public java.util.List getDataScansList() } } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -691,6 +753,8 @@ public int getDataScansCount() { } } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -705,14 +769,15 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { } } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder setDataScans( - int index, com.google.cloud.dataplex.v1.DataScan value) { + public Builder setDataScans(int index, com.google.cloud.dataplex.v1.DataScan value) { if (dataScansBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +791,8 @@ public Builder setDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -744,6 +811,8 @@ public Builder setDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -764,14 +833,15 @@ public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder addDataScans( - int index, com.google.cloud.dataplex.v1.DataScan value) { + public Builder addDataScans(int index, com.google.cloud.dataplex.v1.DataScan value) { if (dataScansBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +855,15 @@ public Builder addDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public Builder addDataScans( - com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScansBuilder_ == null) { ensureDataScansIsMutable(); dataScans_.add(builderForValue.build()); @@ -803,6 +874,8 @@ public Builder addDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -821,6 +894,8 @@ public Builder addDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -831,8 +906,7 @@ public Builder addAllDataScans( java.lang.Iterable values) { if (dataScansBuilder_ == null) { ensureDataScansIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataScans_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataScans_); onChanged(); } else { dataScansBuilder_.addAllMessages(values); @@ -840,6 +914,8 @@ public Builder addAllDataScans( return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -857,6 +933,8 @@ public Builder clearDataScans() { return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -874,39 +952,44 @@ public Builder removeDataScans(int index) { return this; } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScan.Builder getDataScansBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScan.Builder getDataScansBuilder(int index) { return getDataScansFieldBuilder().getBuilder(index); } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index) { if (dataScansBuilder_ == null) { - return dataScans_.get(index); } else { + return dataScans_.get(index); + } else { return dataScansBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public java.util.List - getDataScansOrBuilderList() { + public java.util.List + getDataScansOrBuilderList() { if (dataScansBuilder_ != null) { return dataScansBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +997,8 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( } } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
@@ -921,42 +1006,47 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder() { - return getDataScansFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); + return getDataScansFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder( - int index) { - return getDataScansFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder(int index) { + return getDataScansFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()); } /** + * + * *
      * DataScans (`BASIC` view only) under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - public java.util.List - getDataScansBuilderList() { + public java.util.List getDataScansBuilderList() { return getDataScansFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScansFieldBuilder() { if (dataScansBuilder_ == null) { - dataScansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( - dataScans_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataScansBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder>( + dataScans_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataScans_ = null; } return dataScansBuilder_; @@ -964,19 +1054,21 @@ public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1077,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1100,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1140,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1165,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1173,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1217,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1255,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1277,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1336,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataScansResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataScansResponse) private static final com.google.cloud.dataplex.v1.ListDataScansResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataScansResponse(); } @@ -1231,27 +1362,27 @@ public static com.google.cloud.dataplex.v1.ListDataScansResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataScansResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataScansResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1397,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListDataScansResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java index ec10c5955440..a443345d13d1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface ListDataScansResponseOrBuilder extends +public interface ListDataScansResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataScansResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - java.util.List - getDataScansList(); + java.util.List getDataScansList(); /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -25,6 +44,8 @@ public interface ListDataScansResponseOrBuilder extends */ com.google.cloud.dataplex.v1.DataScan getDataScans(int index); /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
@@ -33,84 +54,102 @@ public interface ListDataScansResponseOrBuilder extends */ int getDataScansCount(); /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - java.util.List + java.util.List getDataScansOrBuilderList(); /** + * + * *
    * DataScans (`BASIC` view only) under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; */ - com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java index cd06dda720f0..fe9de6b8c494 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataTaxonomies request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesRequest} */ -public final class ListDataTaxonomiesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) ListDataTaxonomiesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataTaxonomiesRequest.newBuilder() to construct. private ListDataTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataTaxonomiesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListDataTaxonomiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataTaxonomiesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of DataTaxonomies to return. The service may
    * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -127,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +169,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,14 +203,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -185,29 +223,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -216,14 +254,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -232,29 +274,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -263,6 +305,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +317,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -304,8 +346,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -324,23 +365,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other = (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other = + (com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -368,131 +405,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataTaxonomies request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) com.google.cloud.dataplex.v1.ListDataTaxonomiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; } @java.lang.Override @@ -527,8 +569,11 @@ public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest result = new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest result = + new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -556,38 +601,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataTaxonomiesReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +641,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -645,37 +692,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,24 +738,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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; @@ -711,22 +769,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -734,32 +795,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -769,19 +841,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the DataTaxonomy location, of the form:
      * projects/{project_number}/locations/{location_id}
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -789,8 +867,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -799,6 +879,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -806,6 +887,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -814,6 +897,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -825,6 +909,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of DataTaxonomies to return. The service may
      * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -833,6 +919,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -844,6 +931,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -852,13 +941,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -867,6 +956,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -875,15 +966,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -891,6 +981,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -899,18 +991,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -919,6 +1015,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -928,6 +1025,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous ` ListDataTaxonomies` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -936,12 +1035,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -951,18 +1052,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -971,20 +1074,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -992,28 +1096,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1023,17 +1134,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1043,18 +1158,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1063,20 +1180,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1084,28 +1202,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1115,26 +1240,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1144,12 +1273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) private static final com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest(); } @@ -1158,27 +1287,27 @@ public static com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1193,6 +1322,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java index ba8c103a83e7..ab714c286b16 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataTaxonomiesRequestOrBuilder extends +public interface ListDataTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the DataTaxonomy location, of the form:
    * projects/{project_number}/locations/{location_id}
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of DataTaxonomies to return. The service may
    * return fewer than this value. If unspecified, at most 10 DataTaxonomies
@@ -40,11 +67,14 @@ public interface ListDataTaxonomiesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -53,10 +83,13 @@ public interface ListDataTaxonomiesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous ` ListDataTaxonomies` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -65,48 +98,58 @@ public interface ListDataTaxonomiesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java index 37e3bd52b910..499015b05747 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List DataTaxonomies response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesResponse} */ -public final class ListDataTaxonomiesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) ListDataTaxonomiesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataTaxonomiesResponse.newBuilder() to construct. private ListDataTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataTaxonomiesResponse() { dataTaxonomies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataTaxonomiesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); } public static final int DATA_TAXONOMIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataTaxonomies_; /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -61,6 +82,8 @@ public java.util.List getDataTaxonomi return dataTaxonomies_; } /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -68,11 +91,13 @@ public java.util.List getDataTaxonomi * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataTaxonomiesOrBuilderList() { return dataTaxonomies_; } /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -84,6 +109,8 @@ public int getDataTaxonomiesCount() { return dataTaxonomies_.size(); } /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { return dataTaxonomies_.get(index); } /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder(int index) { return dataTaxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { return unreachableLocations_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataTaxonomies_.size(); i++) { output.writeMessage(1, dataTaxonomies_.get(i)); } @@ -230,7 +273,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -242,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataTaxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataTaxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataTaxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +307,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other = (com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) obj; + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other = + (com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) obj; - if (!getDataTaxonomiesList() - .equals(other.getDataTaxonomiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList() - .equals(other.getUnreachableLocationsList())) return false; + if (!getDataTaxonomiesList().equals(other.getDataTaxonomiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +345,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 DataTaxonomies response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListDataTaxonomiesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) com.google.cloud.dataplex.v1.ListDataTaxonomiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +487,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; } @java.lang.Override @@ -468,14 +513,18 @@ public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result = new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(this); + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result = + new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse result) { if (dataTaxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataTaxonomies_ = java.util.Collections.unmodifiableList(dataTaxonomies_); @@ -502,38 +551,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListDataTaxonomiesRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance()) + return this; if (dataTaxonomiesBuilder_ == null) { if (!other.dataTaxonomies_.isEmpty()) { if (dataTaxonomies_.isEmpty()) { @@ -560,9 +611,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse dataTaxonomiesBuilder_ = null; dataTaxonomies_ = other.dataTaxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - dataTaxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataTaxonomiesFieldBuilder() : null; + dataTaxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataTaxonomiesFieldBuilder() + : null; } else { dataTaxonomiesBuilder_.addAllMessages(other.dataTaxonomies_); } @@ -609,36 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.DataTaxonomy m = - input.readMessage( - com.google.cloud.dataplex.v1.DataTaxonomy.parser(), - extensionRegistry); - if (dataTaxonomiesBuilder_ == null) { - ensureDataTaxonomiesIsMutable(); - dataTaxonomies_.add(m); - } else { - dataTaxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.DataTaxonomy m = + input.readMessage( + com.google.cloud.dataplex.v1.DataTaxonomy.parser(), extensionRegistry); + if (dataTaxonomiesBuilder_ == null) { + ensureDataTaxonomiesIsMutable(); + dataTaxonomies_.add(m); + } else { + dataTaxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +703,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataTaxonomies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataTaxonomies_ = new java.util.ArrayList(dataTaxonomies_); + dataTaxonomies_ = + new java.util.ArrayList(dataTaxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomiesBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + dataTaxonomiesBuilder_; /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -677,6 +740,8 @@ public java.util.List getDataTaxonomi } } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -691,6 +756,8 @@ public int getDataTaxonomiesCount() { } } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -705,14 +772,15 @@ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index) { } } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public Builder setDataTaxonomies( - int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { + public Builder setDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +794,8 @@ public Builder setDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -744,6 +814,8 @@ public Builder setDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -764,14 +836,15 @@ public Builder addDataTaxonomies(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public Builder addDataTaxonomies( - int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { + public Builder addDataTaxonomies(int index, com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,6 +858,8 @@ public Builder addDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -803,6 +878,8 @@ public Builder addDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -821,6 +898,8 @@ public Builder addDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -831,8 +910,7 @@ public Builder addAllDataTaxonomies( java.lang.Iterable values) { if (dataTaxonomiesBuilder_ == null) { ensureDataTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataTaxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataTaxonomies_); onChanged(); } else { dataTaxonomiesBuilder_.addAllMessages(values); @@ -840,6 +918,8 @@ public Builder addAllDataTaxonomies( return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -857,6 +937,8 @@ public Builder clearDataTaxonomies() { return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -874,17 +956,20 @@ public Builder removeDataTaxonomies(int index) { return this; } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilder( - int index) { + public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilder(int index) { return getDataTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -894,19 +979,22 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomiesBuilde public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( int index) { if (dataTaxonomiesBuilder_ == null) { - return dataTaxonomies_.get(index); } else { + return dataTaxonomies_.get(index); + } else { return dataTaxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public java.util.List - getDataTaxonomiesOrBuilderList() { + public java.util.List + getDataTaxonomiesOrBuilderList() { if (dataTaxonomiesBuilder_ != null) { return dataTaxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1002,8 @@ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBui } } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
@@ -921,38 +1011,47 @@ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBui * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder() { - return getDataTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); + return getDataTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder( - int index) { - return getDataTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); + public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilder(int index) { + return getDataTaxonomiesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()); } /** + * + * *
      * DataTaxonomies under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - public java.util.List - getDataTaxonomiesBuilderList() { + public java.util.List + getDataTaxonomiesBuilderList() { return getDataTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomiesFieldBuilder() { if (dataTaxonomiesBuilder_ == null) { - dataTaxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + dataTaxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( dataTaxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1063,21 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder addDataTaxonomiesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1086,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1109,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1149,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1174,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1068,35 +1182,43 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1104,31 +1226,37 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachableLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1264,21 @@ public Builder setUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1286,58 @@ public Builder addUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations( - java.lang.Iterable values) { + public Builder addAllUnreachableLocations(java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1205,9 +1345,9 @@ public Builder addUnreachableLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1357,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) private static final com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse(); } @@ -1231,27 +1371,27 @@ public static com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1406,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java index 3df988a2e490..170641f225f4 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataTaxonomiesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface ListDataTaxonomiesResponseOrBuilder extends +public interface ListDataTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListDataTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - java.util.List - getDataTaxonomiesList(); + java.util.List getDataTaxonomiesList(); /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -25,6 +44,8 @@ public interface ListDataTaxonomiesResponseOrBuilder extends */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomies(int index); /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
@@ -33,84 +54,102 @@ public interface ListDataTaxonomiesResponseOrBuilder extends */ int getDataTaxonomiesCount(); /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - java.util.List + java.util.List getDataTaxonomiesOrBuilderList(); /** + * + * *
    * DataTaxonomies under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.DataTaxonomy data_taxonomies = 1; */ - com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder( - int index); + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomiesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - java.util.List - getUnreachableLocationsList(); + java.util.List getUnreachableLocationsList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java index c551c8bbae5a..1c963115f8af 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List metadata entities request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesRequest} */ -public final class ListEntitiesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEntitiesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEntitiesRequest) ListEntitiesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEntitiesRequest.newBuilder() to construct. private ListEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEntitiesRequest() { parent_ = ""; view_ = 0; @@ -28,34 +46,38 @@ private ListEntitiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEntitiesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesRequest.class, com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesRequest.class, + com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); } /** + * + * *
    * Entity views.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.ListEntitiesRequest.EntityView} */ - public enum EntityView - implements com.google.protobuf.ProtocolMessageEnum { + public enum EntityView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default unset value. Return both table and fileset entities
      * if unspecified.
@@ -65,6 +87,8 @@ public enum EntityView
      */
     ENTITY_VIEW_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Only list table entities.
      * 
@@ -73,6 +97,8 @@ public enum EntityView */ TABLES(1), /** + * + * *
      * Only list fileset entities.
      * 
@@ -84,6 +110,8 @@ public enum EntityView ; /** + * + * *
      * The default unset value. Return both table and fileset entities
      * if unspecified.
@@ -93,6 +121,8 @@ public enum EntityView
      */
     public static final int ENTITY_VIEW_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Only list table entities.
      * 
@@ -101,6 +131,8 @@ public enum EntityView */ public static final int TABLES_VALUE = 1; /** + * + * *
      * Only list fileset entities.
      * 
@@ -109,7 +141,6 @@ public enum EntityView */ public static final int FILESETS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static EntityView valueOf(int value) { */ public static EntityView forNumber(int value) { switch (value) { - case 0: return ENTITY_VIEW_UNSPECIFIED; - case 1: return TABLES; - case 2: return FILESETS; - default: return null; + case 0: + return ENTITY_VIEW_UNSPECIFIED; + case 1: + return TABLES; + case 2: + return FILESETS; + 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< - EntityView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityView findValueByNumber(int number) { - return EntityView.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 EntityView findValueByNumber(int number) { + return EntityView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.ListEntitiesRequest.getDescriptor().getEnumTypes().get(0); } private static final EntityView[] VALUES = values(); - public static EntityView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityView 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; @@ -194,15 +225,21 @@ private EntityView(int value) { } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -211,30 +248,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -245,32 +284,49 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED + : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of entities to return. The service may return
    * fewer than this value. If unspecified, 100 entities will be returned by
@@ -279,6 +335,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -287,9 +344,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -298,6 +358,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -306,14 +367,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -322,16 +384,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -340,9 +401,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -355,6 +419,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -363,14 +428,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -383,16 +449,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -401,6 +466,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,12 +478,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -441,13 +508,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.ENTITY_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -463,22 +530,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEntitiesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEntitiesRequest other = (com.google.cloud.dataplex.v1.ListEntitiesRequest) obj; + com.google.cloud.dataplex.v1.ListEntitiesRequest other = + (com.google.cloud.dataplex.v1.ListEntitiesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -505,132 +569,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEntitiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEntitiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata entities request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEntitiesRequest) com.google.cloud.dataplex.v1.ListEntitiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesRequest.class, com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesRequest.class, + com.google.cloud.dataplex.v1.ListEntitiesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEntitiesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; } @java.lang.Override @@ -665,8 +733,11 @@ public com.google.cloud.dataplex.v1.ListEntitiesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListEntitiesRequest result = new com.google.cloud.dataplex.v1.ListEntitiesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListEntitiesRequest result = + new com.google.cloud.dataplex.v1.ListEntitiesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -694,38 +765,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEntitiesRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEntitiesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesRequest) other); } else { super.mergeFrom(other); return this; @@ -733,7 +805,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesRequest other) { - if (other == com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -781,37 +854,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -821,23 +900,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -846,21 +930,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -868,30 +955,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -901,18 +999,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -922,22 +1026,33 @@ public Builder setParentBytes( private int view_ = 0; /** + * + * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -948,24 +1063,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView() { - com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); - return result == null ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView result = + com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.forNumber(view_); + return result == null + ? com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -979,11 +1107,16 @@ public Builder setView(com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityVi return this; } /** + * + * *
      * Required. Specify the entity view to make a partial list request.
      * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -993,8 +1126,10 @@ public Builder clearView() { return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1003,6 +1138,7 @@ public Builder clearView() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1010,6 +1146,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1018,6 +1156,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1029,6 +1168,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of entities to return. The service may return
      * fewer than this value. If unspecified, 100 entities will be returned by
@@ -1037,6 +1178,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1048,6 +1190,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1056,13 +1200,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1071,6 +1215,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1079,15 +1225,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1095,6 +1240,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1103,18 +1250,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1123,6 +1274,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1132,6 +1284,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListEntities` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -1140,12 +1294,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1155,6 +1311,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1167,13 +1325,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1182,6 +1340,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1194,15 +1354,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1210,6 +1369,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1222,18 +1383,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1246,6 +1411,7 @@ public Builder setFilter(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1255,6 +1421,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. The following filter parameters can be added to the URL to limit
      * the entities returned by the API:
@@ -1267,21 +1435,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1291,12 +1461,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEntitiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEntitiesRequest) private static final com.google.cloud.dataplex.v1.ListEntitiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEntitiesRequest(); } @@ -1305,27 +1475,27 @@ public static com.google.cloud.dataplex.v1.ListEntitiesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1340,6 +1510,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEntitiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java index 7754600fdad3..02689ae27f4a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesRequestOrBuilder.java @@ -1,54 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListEntitiesRequestOrBuilder extends +public interface ListEntitiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEntitiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Required. Specify the entity view to make a partial list request.
    * 
* - * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.ListEntitiesRequest.EntityView view = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ com.google.cloud.dataplex.v1.ListEntitiesRequest.EntityView getView(); /** + * + * *
    * Optional. Maximum number of entities to return. The service may return
    * fewer than this value. If unspecified, 100 entities will be returned by
@@ -57,11 +94,14 @@ public interface ListEntitiesRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -70,10 +110,13 @@ public interface ListEntitiesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListEntities` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -82,12 +125,14 @@ public interface ListEntitiesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -100,10 +145,13 @@ public interface ListEntitiesRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The following filter parameters can be added to the URL to limit
    * the entities returned by the API:
@@ -116,8 +164,8 @@ public interface ListEntitiesRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java index f751b4bd8160..29b9ac50c3aa 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List metadata entities response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesResponse} */ -public final class ListEntitiesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEntitiesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEntitiesResponse) ListEntitiesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEntitiesResponse.newBuilder() to construct. private ListEntitiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEntitiesResponse() { entities_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListEntitiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEntitiesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesResponse.class, com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesResponse.class, + com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); } public static final int ENTITIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List entities_; /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -59,6 +81,8 @@ public java.util.List getEntitiesList() { return entities_; } /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -66,11 +90,13 @@ public java.util.List getEntitiesList() { * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitiesOrBuilderList() { return entities_; } /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -82,6 +108,8 @@ public int getEntitiesCount() { return entities_.size(); } /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { return entities_.get(index); } /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index) { return entities_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entities_.size(); i++) { output.writeMessage(1, entities_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entities_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEntitiesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEntitiesResponse other = (com.google.cloud.dataplex.v1.ListEntitiesResponse) obj; + com.google.cloud.dataplex.v1.ListEntitiesResponse other = + (com.google.cloud.dataplex.v1.ListEntitiesResponse) obj; - if (!getEntitiesList() - .equals(other.getEntitiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntitiesList().equals(other.getEntitiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +263,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEntitiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEntitiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata entities response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEntitiesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEntitiesResponse) com.google.cloud.dataplex.v1.ListEntitiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEntitiesResponse.class, com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEntitiesResponse.class, + com.google.cloud.dataplex.v1.ListEntitiesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEntitiesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListEntitiesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEntitiesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListEntitiesResponse result = new com.google.cloud.dataplex.v1.ListEntitiesResponse(this); + com.google.cloud.dataplex.v1.ListEntitiesResponse result = + new com.google.cloud.dataplex.v1.ListEntitiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListEntitiesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListEntitiesResponse result) { if (entitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEntitiesResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEntitiesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEntitiesResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesResponse other) { - if (other == com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance()) + return this; if (entitiesBuilder_ == null) { if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEntitiesResponse other entitiesBuilder_ = null; entities_ = other.entities_; bitField0_ = (bitField0_ & ~0x00000001); - entitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntitiesFieldBuilder() : null; + entitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntitiesFieldBuilder() + : null; } else { entitiesBuilder_.addAllMessages(other.entities_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Entity m = - input.readMessage( - com.google.cloud.dataplex.v1.Entity.parser(), - extensionRegistry); - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(m); - } else { - entitiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Entity m = + input.readMessage( + com.google.cloud.dataplex.v1.Entity.parser(), extensionRegistry); + if (entitiesBuilder_ == null) { + ensureEntitiesIsMutable(); + entities_.add(m); + } else { + entitiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List entities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(entities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entitiesBuilder_; + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder> + entitiesBuilder_; /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -583,6 +634,8 @@ public java.util.List getEntitiesList() { } } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -597,6 +650,8 @@ public int getEntitiesCount() { } } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Entity getEntities(int index) { } } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder setEntities( - int index, com.google.cloud.dataplex.v1.Entity value) { + public Builder setEntities(int index, com.google.cloud.dataplex.v1.Entity value) { if (entitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -650,6 +708,8 @@ public Builder setEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -670,14 +730,15 @@ public Builder addEntities(com.google.cloud.dataplex.v1.Entity value) { return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder addEntities( - int index, com.google.cloud.dataplex.v1.Entity value) { + public Builder addEntities(int index, com.google.cloud.dataplex.v1.Entity value) { if (entitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public Builder addEntities( - com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder addEntities(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); entities_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -727,6 +791,8 @@ public Builder addEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -737,8 +803,7 @@ public Builder addAllEntities( java.lang.Iterable values) { if (entitiesBuilder_ == null) { ensureEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entities_); onChanged(); } else { entitiesBuilder_.addAllMessages(values); @@ -746,6 +811,8 @@ public Builder addAllEntities( return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -763,6 +830,8 @@ public Builder clearEntities() { return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -780,39 +849,44 @@ public Builder removeEntities(int index) { return this; } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.Entity.Builder getEntitiesBuilder( - int index) { + public com.google.cloud.dataplex.v1.Entity.Builder getEntitiesBuilder(int index) { return getEntitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index) { if (entitiesBuilder_ == null) { - return entities_.get(index); } else { + return entities_.get(index); + } else { return entitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public java.util.List - getEntitiesOrBuilderList() { + public java.util.List + getEntitiesOrBuilderList() { if (entitiesBuilder_ != null) { return entitiesBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( } } /** + * + * *
      * Entities in the specified parent zone.
      * 
@@ -827,42 +903,47 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder() { - return getEntitiesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); + return getEntitiesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder(int index) { + return getEntitiesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Entity.getDefaultInstance()); } /** + * + * *
      * Entities in the specified parent zone.
      * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - public java.util.List - getEntitiesBuilderList() { + public java.util.List getEntitiesBuilderList() { return getEntitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder> getEntitiesFieldBuilder() { if (entitiesBuilder_ == null) { - entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( - entities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder>( + entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entities_ = null; } return entitiesBuilder_; @@ -870,19 +951,21 @@ public com.google.cloud.dataplex.v1.Entity.Builder addEntitiesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEntitiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEntitiesResponse) private static final com.google.cloud.dataplex.v1.ListEntitiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEntitiesResponse(); } @@ -990,27 +1085,27 @@ public static com.google.cloud.dataplex.v1.ListEntitiesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEntitiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java index 4297e1e7f526..46a2032a6ca0 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEntitiesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListEntitiesResponseOrBuilder extends +public interface ListEntitiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEntitiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - java.util.List - getEntitiesList(); + java.util.List getEntitiesList(); /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -25,6 +44,8 @@ public interface ListEntitiesResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Entity getEntities(int index); /** + * + * *
    * Entities in the specified parent zone.
    * 
@@ -33,43 +54,50 @@ public interface ListEntitiesResponseOrBuilder extends */ int getEntitiesCount(); /** + * + * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - java.util.List - getEntitiesOrBuilderList(); + java.util.List getEntitiesOrBuilderList(); /** + * + * *
    * Entities in the specified parent zone.
    * 
* * repeated .google.cloud.dataplex.v1.Entity entities = 1; */ - com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder( - int index); + com.google.cloud.dataplex.v1.EntityOrBuilder getEntitiesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java index 71b908229d21..5e87564af98b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List environments request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of environments to return. The service may return
    * fewer than this value. If unspecified, at most 10 environments will be
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,14 +201,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,29 +221,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -214,14 +252,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -230,29 +272,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +303,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +344,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -322,23 +363,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEnvironmentsRequest other = (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListEnvironmentsRequest other = + (com.google.cloud.dataplex.v1.ListEnvironmentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,131 +403,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEnvironmentsRequest) com.google.cloud.dataplex.v1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, + com.google.cloud.dataplex.v1.ListEnvironmentsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEnvironmentsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override @@ -525,8 +566,11 @@ public com.google.cloud.dataplex.v1.ListEnvironmentsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEnvironmentsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListEnvironmentsRequest result = new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListEnvironmentsRequest result = + new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,38 +598,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEnvironmentsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEnvironmentsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +638,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,23 +735,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -708,21 +765,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -730,30 +790,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -763,18 +834,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -782,8 +859,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -792,6 +871,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -799,6 +879,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -807,6 +889,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -818,6 +901,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of environments to return. The service may return
      * fewer than this value. If unspecified, at most 10 environments will be
@@ -826,6 +911,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,6 +923,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -845,13 +933,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -860,6 +948,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -868,15 +958,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -884,6 +973,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -892,18 +983,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -912,6 +1007,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -921,6 +1017,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListEnvironments` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -929,12 +1027,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -944,18 +1044,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -964,20 +1066,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -985,28 +1088,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1016,17 +1126,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1036,18 +1150,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1056,20 +1172,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1077,28 +1194,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1108,26 +1232,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,12 +1265,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEnvironmentsRequest) private static final com.google.cloud.dataplex.v1.ListEnvironmentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEnvironmentsRequest(); } @@ -1151,27 +1279,27 @@ public static com.google.cloud.dataplex.v1.ListEnvironmentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,6 +1314,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEnvironmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java index 834fdacbaf60..1fe52a5edd66 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListEnvironmentsRequestOrBuilder extends +public interface ListEnvironmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of environments to return. The service may return
    * fewer than this value. If unspecified, at most 10 environments will be
@@ -38,11 +65,14 @@ public interface ListEnvironmentsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -51,10 +81,13 @@ public interface ListEnvironmentsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListEnvironments` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -63,48 +96,58 @@ public interface ListEnvironmentsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java index d9a10ee71cde..900334f90aac 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List environments response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List environments_; /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -59,6 +81,8 @@ public java.util.List getEnvironmentsL return environments_; } /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -66,11 +90,13 @@ public java.util.List getEnvironmentsL * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEnvironmentsOrBuilderList() { return environments_; } /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -82,6 +108,8 @@ public int getEnvironmentsCount() { return environments_.size(); } /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { return environments_.get(index); } /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListEnvironmentsResponse other = (com.google.cloud.dataplex.v1.ListEnvironmentsResponse) obj; + com.google.cloud.dataplex.v1.ListEnvironmentsResponse other = + (com.google.cloud.dataplex.v1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList() - .equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +263,136 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ListEnvironmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListEnvironmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListEnvironmentsResponse) com.google.cloud.dataplex.v1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, + com.google.cloud.dataplex.v1.ListEnvironmentsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListEnvironmentsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override @@ -394,14 +430,18 @@ public com.google.cloud.dataplex.v1.ListEnvironmentsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListEnvironmentsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListEnvironmentsResponse result = new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(this); + com.google.cloud.dataplex.v1.ListEnvironmentsResponse result = + new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListEnvironmentsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListEnvironmentsResponse result) { if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -424,38 +464,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListEnvironmentsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListEnvironmentsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListEnvironmentsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +504,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance()) + return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -482,9 +524,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListEnvironmentsResponse o environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEnvironmentsFieldBuilder() : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEnvironmentsFieldBuilder() + : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -521,30 +564,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Environment m = - input.readMessage( - com.google.cloud.dataplex.v1.Environment.parser(), - extensionRegistry); - if (environmentsBuilder_ == null) { - ensureEnvironmentsIsMutable(); - environments_.add(m); - } else { - environmentsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Environment m = + input.readMessage( + com.google.cloud.dataplex.v1.Environment.parser(), extensionRegistry); + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(m); + } else { + environmentsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +599,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List environments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = new java.util.ArrayList(environments_); + environments_ = + new java.util.ArrayList(environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentsBuilder_; + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + environmentsBuilder_; /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -583,6 +636,8 @@ public java.util.List getEnvironmentsL } } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -597,6 +652,8 @@ public int getEnvironmentsCount() { } } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -611,14 +668,15 @@ public com.google.cloud.dataplex.v1.Environment getEnvironments(int index) { } } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public Builder setEnvironments( - int index, com.google.cloud.dataplex.v1.Environment value) { + public Builder setEnvironments(int index, com.google.cloud.dataplex.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +690,8 @@ public Builder setEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -650,6 +710,8 @@ public Builder setEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -670,14 +732,15 @@ public Builder addEnvironments(com.google.cloud.dataplex.v1.Environment value) { return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public Builder addEnvironments( - int index, com.google.cloud.dataplex.v1.Environment value) { + public Builder addEnvironments(int index, com.google.cloud.dataplex.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,6 +754,8 @@ public Builder addEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -709,6 +774,8 @@ public Builder addEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -727,6 +794,8 @@ public Builder addEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -737,8 +806,7 @@ public Builder addAllEnvironments( java.lang.Iterable values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -746,6 +814,8 @@ public Builder addAllEnvironments( return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -763,6 +833,8 @@ public Builder clearEnvironments() { return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -780,39 +852,44 @@ public Builder removeEnvironments(int index) { return this; } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentsBuilder(int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); } else { + return environments_.get(index); + } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsOrBuilderList() { + public java.util.List + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +897,8 @@ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilde } } /** + * + * *
      * Environments under the given parent lake.
      * 
@@ -827,42 +906,48 @@ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilde * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); + return getEnvironmentsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder( - int index) { - return getEnvironmentsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder(int index) { + return getEnvironmentsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Environment.getDefaultInstance()); } /** + * + * *
      * Environments under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsBuilderList() { + public java.util.List + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - environments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + environmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); environments_ = null; } return environmentsBuilder_; @@ -870,19 +955,21 @@ public com.google.cloud.dataplex.v1.Environment.Builder addEnvironmentsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +978,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +1001,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1041,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListEnvironmentsResponse) private static final com.google.cloud.dataplex.v1.ListEnvironmentsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListEnvironmentsResponse(); } @@ -990,27 +1089,27 @@ public static com.google.cloud.dataplex.v1.ListEnvironmentsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListEnvironmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java index fccea6288177..e19cfc207fc2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListEnvironmentsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListEnvironmentsResponseOrBuilder extends +public interface ListEnvironmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - java.util.List - getEnvironmentsList(); + java.util.List getEnvironmentsList(); /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -25,6 +44,8 @@ public interface ListEnvironmentsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Environment getEnvironments(int index); /** + * + * *
    * Environments under the given parent lake.
    * 
@@ -33,43 +54,51 @@ public interface ListEnvironmentsResponseOrBuilder extends */ int getEnvironmentsCount(); /** + * + * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - java.util.List + java.util.List getEnvironmentsOrBuilderList(); /** + * + * *
    * Environments under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Environment environments = 1; */ - com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index); + com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java index b96980e9d9ef..d9d95c8dce07 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsRequest.class, com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListJobsRequest.class, + com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of jobs to return. The service may return fewer
    * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -213,19 +246,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListJobsRequest other = (com.google.cloud.dataplex.v1.ListJobsRequest) obj; + com.google.cloud.dataplex.v1.ListJobsRequest other = + (com.google.cloud.dataplex.v1.ListJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,132 +279,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 jobs request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListJobsRequest) com.google.cloud.dataplex.v1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsRequest.class, com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListJobsRequest.class, + com.google.cloud.dataplex.v1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; } @java.lang.Override @@ -406,8 +441,11 @@ public com.google.cloud.dataplex.v1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListJobsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListJobsRequest result = new com.google.cloud.dataplex.v1.ListJobsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListJobsRequest result = + new com.google.cloud.dataplex.v1.ListJobsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +467,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListJobsRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListJobsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListJobsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -508,27 +547,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,23 +581,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +611,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,30 +636,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -618,18 +680,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -637,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -646,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -660,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of jobs to return. The service may return fewer
      * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -678,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -697,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -720,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -744,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -764,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListJobs` call. Provide this
      * to retrieve the subsequent page. When paginating, all other parameters
@@ -781,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListJobsRequest) private static final com.google.cloud.dataplex.v1.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListJobsRequest(); } @@ -819,27 +910,27 @@ public static com.google.cloud.dataplex.v1.ListJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java index 33d18753b1b5..4c1a67d33c26 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of jobs to return. The service may return fewer
    * than this value. If unspecified, at most 10 jobs will be returned. The
@@ -37,11 +64,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -50,10 +80,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListJobs` call. Provide this
    * to retrieve the subsequent page. When paginating, all other parameters
@@ -62,8 +95,8 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java index 5f839ed84e1a..e971864cda19 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsResponse.class, com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListJobsResponse.class, + com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List jobs_; /** + * + * *
    * Jobs under a given task.
    * 
@@ -59,6 +81,8 @@ public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Jobs under a given task.
    * 
@@ -66,11 +90,13 @@ public java.util.List getJobsList() { * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Jobs under a given task.
    * 
@@ -82,6 +108,8 @@ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Jobs under a given task.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Jobs under a given task.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -184,8 +217,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_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListJobsResponse other = (com.google.cloud.dataplex.v1.ListJobsResponse) obj; + com.google.cloud.dataplex.v1.ListJobsResponse other = + (com.google.cloud.dataplex.v1.ListJobsResponse) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,132 +262,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 jobs response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListJobsResponse) com.google.cloud.dataplex.v1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListJobsResponse.class, com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListJobsResponse.class, + com.google.cloud.dataplex.v1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; } @java.lang.Override @@ -394,9 +429,12 @@ public com.google.cloud.dataplex.v1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListJobsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListJobsResponse result = new com.google.cloud.dataplex.v1.ListJobsResponse(this); + com.google.cloud.dataplex.v1.ListJobsResponse result = + new com.google.cloud.dataplex.v1.ListJobsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -424,38 +462,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListJobsResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListJobsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListJobsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -482,9 +521,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListJobsResponse 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_); } @@ -521,30 +561,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Job m = - input.readMessage( - com.google.cloud.dataplex.v1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Job m = + input.readMessage(com.google.cloud.dataplex.v1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +595,28 @@ public Builder mergeFrom( } // finally 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.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> jobsBuilder_; + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Jobs under a given task.
      * 
@@ -583,6 +631,8 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Jobs under a given task.
      * 
@@ -597,6 +647,8 @@ public int getJobsCount() { } } /** + * + * *
      * Jobs under a given task.
      * 
@@ -611,14 +663,15 @@ public com.google.cloud.dataplex.v1.Job getJobs(int index) { } } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder setJobs( - int index, com.google.cloud.dataplex.v1.Job value) { + public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,14 +685,15 @@ public Builder setJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder setJobs( - int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -650,6 +704,8 @@ public Builder setJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
@@ -670,14 +726,15 @@ public Builder addJobs(com.google.cloud.dataplex.v1.Job value) { return this; } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs( - int index, com.google.cloud.dataplex.v1.Job value) { + public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +748,15 @@ public Builder addJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs( - com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -709,14 +767,15 @@ public Builder addJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public Builder addJobs( - int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -727,6 +786,8 @@ public Builder addJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
@@ -737,8 +798,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); @@ -746,6 +806,8 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Jobs under a given task.
      * 
@@ -763,6 +825,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Jobs under a given task.
      * 
@@ -780,39 +844,44 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +889,8 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Jobs under a given task.
      * 
@@ -827,42 +898,47 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Job.getDefaultInstance()); } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Job.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Job.getDefaultInstance()); } /** + * + * *
      * Jobs under a given task.
      * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -870,19 +946,21 @@ public com.google.cloud.dataplex.v1.Job.Builder addJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +969,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +992,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1032,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListJobsResponse) private static final com.google.cloud.dataplex.v1.ListJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListJobsResponse(); } @@ -990,27 +1080,27 @@ public static com.google.cloud.dataplex.v1.ListJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1115,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java index 8819b4128350..30a55784c94b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListJobsResponseOrBuilder extends +public interface ListJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Jobs under a given task.
    * 
@@ -25,6 +44,8 @@ public interface ListJobsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Job getJobs(int index); /** + * + * *
    * Jobs under a given task.
    * 
@@ -33,43 +54,50 @@ public interface ListJobsResponseOrBuilder extends */ int getJobsCount(); /** + * + * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Jobs under a given task.
    * 
* * repeated .google.cloud.dataplex.v1.Job jobs = 1; */ - com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.dataplex.v1.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java index 56dafdc0f050..27a6508695b9 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List lake actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakeActionsRequest} */ -public final class ListLakeActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLakeActionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakeActionsRequest) ListLakeActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLakeActionsRequest.newBuilder() to construct. private ListLakeActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLakeActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListLakeActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLakeActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, + com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -213,19 +246,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakeActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakeActionsRequest other = (com.google.cloud.dataplex.v1.ListLakeActionsRequest) obj; + com.google.cloud.dataplex.v1.ListLakeActionsRequest other = + (com.google.cloud.dataplex.v1.ListLakeActionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,131 +280,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakeActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakeActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lake actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakeActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakeActionsRequest) com.google.cloud.dataplex.v1.ListLakeActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, + com.google.cloud.dataplex.v1.ListLakeActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakeActionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; } @java.lang.Override @@ -406,8 +441,11 @@ public com.google.cloud.dataplex.v1.ListLakeActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakeActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListLakeActionsRequest result = new com.google.cloud.dataplex.v1.ListLakeActionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListLakeActionsRequest result = + new com.google.cloud.dataplex.v1.ListLakeActionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +467,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakeActionsRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakeActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakeActionsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakeActionsRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListLakeActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,27 +548,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,23 +582,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +612,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,30 +637,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -618,18 +681,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -637,8 +706,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -646,6 +717,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +725,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -660,6 +734,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +746,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -678,6 +755,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +767,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -697,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -720,15 +802,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +817,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -744,18 +827,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -764,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListLakeActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -781,21 +871,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakeActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakeActionsRequest) private static final com.google.cloud.dataplex.v1.ListLakeActionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakeActionsRequest(); } @@ -819,27 +911,27 @@ public static com.google.cloud.dataplex.v1.ListLakeActionsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakeActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakeActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakeActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java index 4ddba642668a..c6acf1b39d24 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakeActionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakeActionsRequestOrBuilder extends +public interface ListLakeActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakeActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -37,11 +64,14 @@ public interface ListLakeActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -50,10 +80,13 @@ public interface ListLakeActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListLakeActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -62,8 +95,8 @@ public interface ListLakeActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java index e0289231a5a7..3675586c7b50 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List lakes request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesRequest} */ -public final class ListLakesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLakesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakesRequest) ListLakesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLakesRequest.newBuilder() to construct. private ListLakesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLakesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListLakesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLakesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesRequest.class, com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakesRequest.class, + com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of Lakes to return. The service may return fewer
    * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -107,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,14 +200,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -182,29 +220,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -213,14 +251,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -229,29 +271,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -260,6 +302,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -301,8 +343,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -321,23 +362,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakesRequest other = (com.google.cloud.dataplex.v1.ListLakesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListLakesRequest other = + (com.google.cloud.dataplex.v1.ListLakesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,132 +401,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lakes request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakesRequest) com.google.cloud.dataplex.v1.ListLakesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesRequest.class, com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListLakesRequest.class, + com.google.cloud.dataplex.v1.ListLakesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; } @java.lang.Override @@ -524,8 +565,11 @@ public com.google.cloud.dataplex.v1.ListLakesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListLakesRequest result = new com.google.cloud.dataplex.v1.ListLakesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListLakesRequest result = + new com.google.cloud.dataplex.v1.ListLakesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -553,38 +597,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakesRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakesRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakesRequest) other); } else { super.mergeFrom(other); return this; @@ -642,37 +687,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,24 +733,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -708,22 +764,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 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 { @@ -731,32 +790,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * string 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() { @@ -766,19 +836,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the lake location, of the form:
      * `projects/{project_number}/locations/{location_id}`
      * where `location_id` refers to a GCP region.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -786,8 +862,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -795,6 +873,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -802,6 +881,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -809,6 +890,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -820,6 +902,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of Lakes to return. The service may return fewer
      * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -827,6 +911,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -838,6 +923,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -845,13 +932,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -860,6 +947,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -867,15 +956,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -883,6 +971,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -890,18 +980,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -909,6 +1003,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -918,6 +1013,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListLakes` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -925,12 +1022,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -940,18 +1039,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -960,20 +1061,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -981,28 +1083,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1012,17 +1121,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1032,18 +1145,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1052,20 +1167,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1073,28 +1189,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1104,26 +1227,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1133,12 +1260,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakesRequest) private static final com.google.cloud.dataplex.v1.ListLakesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakesRequest(); } @@ -1147,27 +1274,27 @@ public static com.google.cloud.dataplex.v1.ListLakesRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java index 185628a57dac..cbc0d478896a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakesRequestOrBuilder extends +public interface ListLakesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the lake location, of the form:
    * `projects/{project_number}/locations/{location_id}`
    * where `location_id` refers to a GCP region.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of Lakes to return. The service may return fewer
    * than this value. If unspecified, at most 10 lakes will be returned. The
@@ -39,11 +66,14 @@ public interface ListLakesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -51,10 +81,13 @@ public interface ListLakesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListLakes` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -62,48 +95,58 @@ public interface ListLakesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java index 48ce500e0271..7510e1e8f92f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List lakes response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesResponse} */ -public final class ListLakesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLakesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListLakesResponse) ListLakesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLakesResponse.newBuilder() to construct. private ListLakesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLakesResponse() { lakes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLakesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesResponse.class, com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListLakesResponse.class, + com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); } public static final int LAKES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List lakes_; /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -61,6 +82,8 @@ public java.util.List getLakesList() { return lakes_; } /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -68,11 +91,13 @@ public java.util.List getLakesList() { * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLakesOrBuilderList() { return lakes_; } /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -84,6 +109,8 @@ public int getLakesCount() { return lakes_.size(); } /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { return lakes_.get(index); } /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { return lakes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { return unreachableLocations_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lakes_.size(); i++) { output.writeMessage(1, lakes_.get(i)); } @@ -230,7 +273,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -242,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < lakes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, lakes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, lakes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +307,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListLakesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListLakesResponse other = (com.google.cloud.dataplex.v1.ListLakesResponse) obj; + com.google.cloud.dataplex.v1.ListLakesResponse other = + (com.google.cloud.dataplex.v1.ListLakesResponse) obj; - if (!getLakesList() - .equals(other.getLakesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList() - .equals(other.getUnreachableLocationsList())) return false; + if (!getLakesList().equals(other.getLakesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +344,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListLakesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListLakesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListLakesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 lakes response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListLakesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListLakesResponse) com.google.cloud.dataplex.v1.ListLakesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListLakesResponse.class, com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListLakesResponse.class, + com.google.cloud.dataplex.v1.ListLakesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListLakesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +486,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; } @java.lang.Override @@ -468,9 +512,12 @@ public com.google.cloud.dataplex.v1.ListLakesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListLakesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListLakesResponse result = new com.google.cloud.dataplex.v1.ListLakesResponse(this); + com.google.cloud.dataplex.v1.ListLakesResponse result = + new com.google.cloud.dataplex.v1.ListLakesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListLakesResponse result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListLakesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListLakesResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListLakesResponse) other); } else { super.mergeFrom(other); return this; @@ -560,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListLakesResponse other) { lakesBuilder_ = null; lakes_ = other.lakes_; bitField0_ = (bitField0_ & ~0x00000001); - lakesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLakesFieldBuilder() : null; + lakesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLakesFieldBuilder() + : null; } else { lakesBuilder_.addAllMessages(other.lakes_); } @@ -609,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Lake m = - input.readMessage( - com.google.cloud.dataplex.v1.Lake.parser(), - extensionRegistry); - if (lakesBuilder_ == null) { - ensureLakesIsMutable(); - lakes_.add(m); - } else { - lakesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Lake m = + input.readMessage( + com.google.cloud.dataplex.v1.Lake.parser(), extensionRegistry); + if (lakesBuilder_ == null) { + ensureLakesIsMutable(); + lakes_.add(m); + } else { + lakesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List lakes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLakesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { lakes_ = new java.util.ArrayList(lakes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakesBuilder_; + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> + lakesBuilder_; /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -677,6 +736,8 @@ public java.util.List getLakesList() { } } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -691,6 +752,8 @@ public int getLakesCount() { } } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -705,14 +768,15 @@ public com.google.cloud.dataplex.v1.Lake getLakes(int index) { } } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder setLakes( - int index, com.google.cloud.dataplex.v1.Lake value) { + public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake value) { if (lakesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,14 +790,15 @@ public Builder setLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder setLakes( - int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.set(index, builderForValue.build()); @@ -744,6 +809,8 @@ public Builder setLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -764,14 +831,15 @@ public Builder addLakes(com.google.cloud.dataplex.v1.Lake value) { return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes( - int index, com.google.cloud.dataplex.v1.Lake value) { + public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake value) { if (lakesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +853,15 @@ public Builder addLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes( - com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder addLakes(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.add(builderForValue.build()); @@ -803,14 +872,15 @@ public Builder addLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public Builder addLakes( - int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder addLakes(int index, com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); lakes_.add(index, builderForValue.build()); @@ -821,6 +891,8 @@ public Builder addLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -831,8 +903,7 @@ public Builder addAllLakes( java.lang.Iterable values) { if (lakesBuilder_ == null) { ensureLakesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, lakes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lakes_); onChanged(); } else { lakesBuilder_.addAllMessages(values); @@ -840,6 +911,8 @@ public Builder addAllLakes( return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -857,6 +930,8 @@ public Builder clearLakes() { return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -874,39 +949,44 @@ public Builder removeLakes(int index) { return this; } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.Lake.Builder getLakesBuilder( - int index) { + public com.google.cloud.dataplex.v1.Lake.Builder getLakesBuilder(int index) { return getLakesFieldBuilder().getBuilder(index); } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index) { if (lakesBuilder_ == null) { - return lakes_.get(index); } else { + return lakes_.get(index); + } else { return lakesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public java.util.List - getLakesOrBuilderList() { + public java.util.List + getLakesOrBuilderList() { if (lakesBuilder_ != null) { return lakesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +994,8 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( } } /** + * + * *
      * Lakes under the given parent location.
      * 
@@ -921,42 +1003,47 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder() { - return getLakesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); + return getLakesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder( - int index) { - return getLakesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder(int index) { + return getLakesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Lake.getDefaultInstance()); } /** + * + * *
      * Lakes under the given parent location.
      * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - public java.util.List - getLakesBuilderList() { + public java.util.List getLakesBuilderList() { return getLakesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> getLakesFieldBuilder() { if (lakesBuilder_ == null) { - lakesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( - lakes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + lakesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder>( + lakes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); lakes_ = null; } return lakesBuilder_; @@ -964,19 +1051,21 @@ public com.google.cloud.dataplex.v1.Lake.Builder addLakesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1074,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1097,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1137,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1162,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1068,35 +1170,43 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1104,31 +1214,37 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachableLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1252,21 @@ public Builder setUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1274,58 @@ public Builder addUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations( - java.lang.Iterable values) { + public Builder addAllUnreachableLocations(java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1205,9 +1333,9 @@ public Builder addUnreachableLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1345,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListLakesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListLakesResponse) private static final com.google.cloud.dataplex.v1.ListLakesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListLakesResponse(); } @@ -1231,27 +1359,27 @@ public static com.google.cloud.dataplex.v1.ListLakesResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLakesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLakesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1394,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListLakesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java index 8946bbc59810..4816f726f306 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListLakesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListLakesResponseOrBuilder extends +public interface ListLakesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListLakesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - java.util.List - getLakesList(); + java.util.List getLakesList(); /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -25,6 +44,8 @@ public interface ListLakesResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Lake getLakes(int index); /** + * + * *
    * Lakes under the given parent location.
    * 
@@ -33,84 +54,101 @@ public interface ListLakesResponseOrBuilder extends */ int getLakesCount(); /** + * + * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - java.util.List - getLakesOrBuilderList(); + java.util.List getLakesOrBuilderList(); /** + * + * *
    * Lakes under the given parent location.
    * 
* * repeated .google.cloud.dataplex.v1.Lake lakes = 1; */ - com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder( - int index); + com.google.cloud.dataplex.v1.LakeOrBuilder getLakesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - java.util.List - getUnreachableLocationsList(); + java.util.List getUnreachableLocationsList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java similarity index 74% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java index 1e474d618a9f..c1c7e066e0f2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List metadata partitions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsRequest} */ -public final class ListPartitionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPartitionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListPartitionsRequest) ListPartitionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPartitionsRequest.newBuilder() to construct. private ListPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPartitionsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,34 +45,41 @@ private ListPartitionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPartitionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsRequest.class, com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsRequest.class, + com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of partitions to return. The service may return
    * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,9 +200,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -192,6 +229,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -200,14 +238,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -231,16 +270,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -249,6 +287,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +299,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -287,8 +325,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -304,21 +341,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListPartitionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListPartitionsRequest other = (com.google.cloud.dataplex.v1.ListPartitionsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListPartitionsRequest other = + (com.google.cloud.dataplex.v1.ListPartitionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,131 +378,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata partitions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListPartitionsRequest) com.google.cloud.dataplex.v1.ListPartitionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsRequest.class, com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsRequest.class, + com.google.cloud.dataplex.v1.ListPartitionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListPartitionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; } @java.lang.Override @@ -502,8 +540,11 @@ public com.google.cloud.dataplex.v1.ListPartitionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListPartitionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListPartitionsRequest result = new com.google.cloud.dataplex.v1.ListPartitionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListPartitionsRequest result = + new com.google.cloud.dataplex.v1.ListPartitionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -528,38 +569,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListPartitionsRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListPartitionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -612,32 +655,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,23 +695,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -672,21 +725,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -694,30 +750,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -727,18 +794,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent entity:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -746,8 +819,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -756,6 +831,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -763,6 +839,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -771,6 +849,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -782,6 +861,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of partitions to return. The service may return
      * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -790,6 +871,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -801,6 +883,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -809,13 +893,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -824,6 +908,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -832,15 +918,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -848,6 +933,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -856,18 +943,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -876,6 +967,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -885,6 +977,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListPartitions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -893,12 +987,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,6 +1004,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -931,13 +1029,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -946,6 +1044,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -969,15 +1069,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -985,6 +1084,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1008,18 +1109,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1043,6 +1148,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1052,6 +1158,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter the partitions returned to the caller using a key value
      * pair expression. Supported operators and syntax:
@@ -1075,21 +1183,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +1209,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListPartitionsRequest) private static final com.google.cloud.dataplex.v1.ListPartitionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListPartitionsRequest(); } @@ -1113,27 +1223,27 @@ public static com.google.cloud.dataplex.v1.ListPartitionsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,6 +1258,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java index 050eb9be1181..7501a560369c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListPartitionsRequestOrBuilder extends +public interface ListPartitionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent entity:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of partitions to return. The service may return
    * fewer than this value. If unspecified, 100 partitions will be returned by
@@ -38,11 +65,14 @@ public interface ListPartitionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -51,10 +81,13 @@ public interface ListPartitionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListPartitions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -63,12 +96,14 @@ public interface ListPartitionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -92,10 +127,13 @@ public interface ListPartitionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter the partitions returned to the caller using a key value
    * pair expression. Supported operators and syntax:
@@ -119,8 +157,8 @@ public interface ListPartitionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java index f1d9ac9352f0..b9db406402b3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List metadata partitions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsResponse} */ -public final class ListPartitionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPartitionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListPartitionsResponse) ListPartitionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPartitionsResponse.newBuilder() to construct. private ListPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPartitionsResponse() { partitions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListPartitionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPartitionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsResponse.class, com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsResponse.class, + com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); } public static final int PARTITIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List partitions_; /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -59,6 +81,8 @@ public java.util.List getPartitionsList( return partitions_; } /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -66,11 +90,13 @@ public java.util.List getPartitionsList( * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -82,6 +108,8 @@ public int getPartitionsCount() { return partitions_.size(); } /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { return partitions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListPartitionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListPartitionsResponse other = (com.google.cloud.dataplex.v1.ListPartitionsResponse) obj; + com.google.cloud.dataplex.v1.ListPartitionsResponse other = + (com.google.cloud.dataplex.v1.ListPartitionsResponse) obj; - if (!getPartitionsList() - .equals(other.getPartitionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPartitionsList().equals(other.getPartitionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +263,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metadata partitions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListPartitionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListPartitionsResponse) com.google.cloud.dataplex.v1.ListPartitionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListPartitionsResponse.class, com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListPartitionsResponse.class, + com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListPartitionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListPartitionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListPartitionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListPartitionsResponse result = new com.google.cloud.dataplex.v1.ListPartitionsResponse(this); + com.google.cloud.dataplex.v1.ListPartitionsResponse result = + new com.google.cloud.dataplex.v1.ListPartitionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListPartitionsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListPartitionsResponse result) { if (partitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitions_ = java.util.Collections.unmodifiableList(partitions_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListPartitionsResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListPartitionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListPartitionsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance()) + return this; if (partitionsBuilder_ == null) { if (!other.partitions_.isEmpty()) { if (partitions_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListPartitionsResponse oth partitionsBuilder_ = null; partitions_ = other.partitions_; bitField0_ = (bitField0_ & ~0x00000001); - partitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartitionsFieldBuilder() : null; + partitionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartitionsFieldBuilder() + : null; } else { partitionsBuilder_.addAllMessages(other.partitions_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Partition m = - input.readMessage( - com.google.cloud.dataplex.v1.Partition.parser(), - extensionRegistry); - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.add(m); - } else { - partitionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Partition m = + input.readMessage( + com.google.cloud.dataplex.v1.Partition.parser(), extensionRegistry); + if (partitionsBuilder_ == null) { + ensurePartitionsIsMutable(); + partitions_.add(m); + } else { + partitionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List partitions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePartitionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { partitions_ = new java.util.ArrayList(partitions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> partitionsBuilder_; + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder> + partitionsBuilder_; /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -583,6 +634,8 @@ public java.util.List getPartitionsList( } } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -597,6 +650,8 @@ public int getPartitionsCount() { } } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Partition getPartitions(int index) { } } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder setPartitions( - int index, com.google.cloud.dataplex.v1.Partition value) { + public Builder setPartitions(int index, com.google.cloud.dataplex.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -650,6 +708,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -670,14 +730,15 @@ public Builder addPartitions(com.google.cloud.dataplex.v1.Partition value) { return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder addPartitions( - int index, com.google.cloud.dataplex.v1.Partition value) { + public Builder addPartitions(int index, com.google.cloud.dataplex.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public Builder addPartitions( - com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { + public Builder addPartitions(com.google.cloud.dataplex.v1.Partition.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -727,6 +791,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -737,8 +803,7 @@ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); @@ -746,6 +811,8 @@ public Builder addAllPartitions( return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -763,6 +830,8 @@ public Builder clearPartitions() { return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -780,39 +849,44 @@ public Builder removePartitions(int index) { return this; } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.Partition.Builder getPartitionsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Partition.Builder getPartitionsBuilder(int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { if (partitionsBuilder_ == null) { - return partitions_.get(index); } else { + return partitions_.get(index); + } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsOrBuilderList() { + public java.util.List + getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( } } /** + * + * *
      * Partitions under the specified parent entity.
      * 
@@ -827,42 +903,48 @@ public com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); + return getPartitionsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder( - int index) { - return getPartitionsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder(int index) { + return getPartitionsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Partition.getDefaultInstance()); } /** + * + * *
      * Partitions under the specified parent entity.
      * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsBuilderList() { + public java.util.List + getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder> + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { - partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Partition, com.google.cloud.dataplex.v1.Partition.Builder, com.google.cloud.dataplex.v1.PartitionOrBuilder>( - partitions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + partitionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Partition, + com.google.cloud.dataplex.v1.Partition.Builder, + com.google.cloud.dataplex.v1.PartitionOrBuilder>( + partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); partitions_ = null; } return partitionsBuilder_; @@ -870,19 +952,21 @@ public com.google.cloud.dataplex.v1.Partition.Builder addPartitionsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +975,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +998,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1038,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no
      * remaining results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListPartitionsResponse) private static final com.google.cloud.dataplex.v1.ListPartitionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListPartitionsResponse(); } @@ -990,27 +1086,27 @@ public static com.google.cloud.dataplex.v1.ListPartitionsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1121,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListPartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java index c5d9f5cfa9ec..5f8ef1d7b8f1 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListPartitionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface ListPartitionsResponseOrBuilder extends +public interface ListPartitionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - java.util.List - getPartitionsList(); + java.util.List getPartitionsList(); /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -25,6 +44,8 @@ public interface ListPartitionsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Partition getPartitions(int index); /** + * + * *
    * Partitions under the specified parent entity.
    * 
@@ -33,43 +54,51 @@ public interface ListPartitionsResponseOrBuilder extends */ int getPartitionsCount(); /** + * + * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - java.util.List + java.util.List getPartitionsOrBuilderList(); /** + * + * *
    * Partitions under the specified parent entity.
    * 
* * repeated .google.cloud.dataplex.v1.Partition partitions = 1; */ - com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index); + com.google.cloud.dataplex.v1.PartitionOrBuilder getPartitionsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no
    * remaining results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java index 54f37f2418b6..c5e8571d1f91 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List sessions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsRequest} */ -public final class ListSessionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSessionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListSessionsRequest) ListSessionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSessionsRequest.newBuilder() to construct. private ListSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSessionsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,34 +45,41 @@ private ListSessionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSessionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsRequest.class, com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsRequest.class, + com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of sessions to return. The service may return
    * fewer than this value. If unspecified, at most 10 sessions will be
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,9 +200,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -181,6 +218,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -189,14 +227,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -209,16 +248,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -227,6 +265,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -265,8 +303,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -282,21 +319,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListSessionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListSessionsRequest other = (com.google.cloud.dataplex.v1.ListSessionsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataplex.v1.ListSessionsRequest other = + (com.google.cloud.dataplex.v1.ListSessionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,132 +355,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sessions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListSessionsRequest) com.google.cloud.dataplex.v1.ListSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsRequest.class, com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsRequest.class, + com.google.cloud.dataplex.v1.ListSessionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListSessionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; } @java.lang.Override @@ -480,8 +518,11 @@ public com.google.cloud.dataplex.v1.ListSessionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListSessionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListSessionsRequest result = new com.google.cloud.dataplex.v1.ListSessionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListSessionsRequest result = + new com.google.cloud.dataplex.v1.ListSessionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -506,38 +547,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListSessionsRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListSessionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsRequest) other); } else { super.mergeFrom(other); return this; @@ -545,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -590,32 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,23 +673,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -650,21 +703,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -672,30 +728,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -705,18 +772,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent environment:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -724,8 +797,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -734,6 +809,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -741,6 +817,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -749,6 +827,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -760,6 +839,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of sessions to return. The service may return
      * fewer than this value. If unspecified, at most 10 sessions will be
@@ -768,6 +849,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -779,6 +861,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -787,13 +871,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -802,6 +886,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -810,15 +896,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -826,6 +911,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -834,18 +921,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -854,6 +945,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,6 +955,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListSessions` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -871,12 +965,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -886,6 +982,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -898,13 +996,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -913,6 +1011,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -925,15 +1025,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -941,6 +1040,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -953,18 +1054,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -977,6 +1082,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -986,6 +1092,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request. The following `mode` filter is supported to
      * return only the sessions belonging to the requester when the mode is USER
@@ -998,21 +1106,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1022,12 +1132,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListSessionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListSessionsRequest) private static final com.google.cloud.dataplex.v1.ListSessionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListSessionsRequest(); } @@ -1036,27 +1146,27 @@ public static com.google.cloud.dataplex.v1.ListSessionsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1071,6 +1181,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java index 4a16f4ebd09d..9adef9718491 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListSessionsRequestOrBuilder extends +public interface ListSessionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListSessionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent environment:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of sessions to return. The service may return
    * fewer than this value. If unspecified, at most 10 sessions will be
@@ -38,11 +65,14 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -51,10 +81,13 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListSessions` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -63,12 +96,14 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -81,10 +116,13 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request. The following `mode` filter is supported to
    * return only the sessions belonging to the requester when the mode is USER
@@ -97,8 +135,8 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java index 2e278adb5c33..76d9d7d850df 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List sessions response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsResponse} */ -public final class ListSessionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSessionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListSessionsResponse) ListSessionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSessionsResponse.newBuilder() to construct. private ListSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSessionsResponse() { sessions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListSessionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSessionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsResponse.class, com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsResponse.class, + com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); } public static final int SESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List sessions_; /** + * + * *
    * Sessions under a given environment.
    * 
@@ -59,6 +81,8 @@ public java.util.List getSessionsList() { return sessions_; } /** + * + * *
    * Sessions under a given environment.
    * 
@@ -66,11 +90,13 @@ public java.util.List getSessionsList() { * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionsOrBuilderList() { return sessions_; } /** + * + * *
    * Sessions under a given environment.
    * 
@@ -82,6 +108,8 @@ public int getSessionsCount() { return sessions_.size(); } /** + * + * *
    * Sessions under a given environment.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { return sessions_.get(index); } /** + * + * *
    * Sessions under a given environment.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index) { return sessions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sessions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sessions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sessions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListSessionsResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListSessionsResponse other = (com.google.cloud.dataplex.v1.ListSessionsResponse) obj; + com.google.cloud.dataplex.v1.ListSessionsResponse other = + (com.google.cloud.dataplex.v1.ListSessionsResponse) obj; - if (!getSessionsList() - .equals(other.getSessionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSessionsList().equals(other.getSessionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +263,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sessions response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListSessionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListSessionsResponse) com.google.cloud.dataplex.v1.ListSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListSessionsResponse.class, com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); + com.google.cloud.dataplex.v1.ListSessionsResponse.class, + com.google.cloud.dataplex.v1.ListSessionsResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListSessionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; } @java.lang.Override @@ -394,14 +429,18 @@ public com.google.cloud.dataplex.v1.ListSessionsResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListSessionsResponse buildPartial() { - com.google.cloud.dataplex.v1.ListSessionsResponse result = new com.google.cloud.dataplex.v1.ListSessionsResponse(this); + com.google.cloud.dataplex.v1.ListSessionsResponse result = + new com.google.cloud.dataplex.v1.ListSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.ListSessionsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.ListSessionsResponse result) { if (sessionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { sessions_ = java.util.Collections.unmodifiableList(sessions_); @@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListSessionsResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListSessionsResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListSessionsResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsResponse other) { - if (other == com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance()) + return this; if (sessionsBuilder_ == null) { if (!other.sessions_.isEmpty()) { if (sessions_.isEmpty()) { @@ -482,9 +523,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListSessionsResponse other sessionsBuilder_ = null; sessions_ = other.sessions_; bitField0_ = (bitField0_ & ~0x00000001); - sessionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSessionsFieldBuilder() : null; + sessionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSessionsFieldBuilder() + : null; } else { sessionsBuilder_.addAllMessages(other.sessions_); } @@ -521,30 +563,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Session m = - input.readMessage( - com.google.cloud.dataplex.v1.Session.parser(), - extensionRegistry); - if (sessionsBuilder_ == null) { - ensureSessionsIsMutable(); - sessions_.add(m); - } else { - sessionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Session m = + input.readMessage( + com.google.cloud.dataplex.v1.Session.parser(), extensionRegistry); + if (sessionsBuilder_ == null) { + ensureSessionsIsMutable(); + sessions_.add(m); + } else { + sessionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List sessions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSessionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sessions_ = new java.util.ArrayList(sessions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder> sessionsBuilder_; + com.google.cloud.dataplex.v1.Session, + com.google.cloud.dataplex.v1.Session.Builder, + com.google.cloud.dataplex.v1.SessionOrBuilder> + sessionsBuilder_; /** + * + * *
      * Sessions under a given environment.
      * 
@@ -583,6 +634,8 @@ public java.util.List getSessionsList() { } } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -597,6 +650,8 @@ public int getSessionsCount() { } } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -611,14 +666,15 @@ public com.google.cloud.dataplex.v1.Session getSessions(int index) { } } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder setSessions( - int index, com.google.cloud.dataplex.v1.Session value) { + public Builder setSessions(int index, com.google.cloud.dataplex.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,6 +688,8 @@ public Builder setSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -650,6 +708,8 @@ public Builder setSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -670,14 +730,15 @@ public Builder addSessions(com.google.cloud.dataplex.v1.Session value) { return this; } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder addSessions( - int index, com.google.cloud.dataplex.v1.Session value) { + public Builder addSessions(int index, com.google.cloud.dataplex.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +752,15 @@ public Builder addSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public Builder addSessions( - com.google.cloud.dataplex.v1.Session.Builder builderForValue) { + public Builder addSessions(com.google.cloud.dataplex.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(builderForValue.build()); @@ -709,6 +771,8 @@ public Builder addSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -727,6 +791,8 @@ public Builder addSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -737,8 +803,7 @@ public Builder addAllSessions( java.lang.Iterable values) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sessions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sessions_); onChanged(); } else { sessionsBuilder_.addAllMessages(values); @@ -746,6 +811,8 @@ public Builder addAllSessions( return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -763,6 +830,8 @@ public Builder clearSessions() { return this; } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -780,39 +849,44 @@ public Builder removeSessions(int index) { return this; } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.Session.Builder getSessionsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Session.Builder getSessionsBuilder(int index) { return getSessionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index) { if (sessionsBuilder_ == null) { - return sessions_.get(index); } else { + return sessions_.get(index); + } else { return sessionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public java.util.List - getSessionsOrBuilderList() { + public java.util.List + getSessionsOrBuilderList() { if (sessionsBuilder_ != null) { return sessionsBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +894,8 @@ public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( } } /** + * + * *
      * Sessions under a given environment.
      * 
@@ -827,42 +903,47 @@ public com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder() { - return getSessionsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Session.getDefaultInstance()); + return getSessionsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Session.getDefaultInstance()); } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder( - int index) { - return getSessionsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Session.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder(int index) { + return getSessionsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Session.getDefaultInstance()); } /** + * + * *
      * Sessions under a given environment.
      * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - public java.util.List - getSessionsBuilderList() { + public java.util.List getSessionsBuilderList() { return getSessionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder> + com.google.cloud.dataplex.v1.Session, + com.google.cloud.dataplex.v1.Session.Builder, + com.google.cloud.dataplex.v1.SessionOrBuilder> getSessionsFieldBuilder() { if (sessionsBuilder_ == null) { - sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Session, com.google.cloud.dataplex.v1.Session.Builder, com.google.cloud.dataplex.v1.SessionOrBuilder>( - sessions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + sessionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Session, + com.google.cloud.dataplex.v1.Session.Builder, + com.google.cloud.dataplex.v1.SessionOrBuilder>( + sessions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); sessions_ = null; } return sessionsBuilder_; @@ -870,19 +951,21 @@ public com.google.cloud.dataplex.v1.Session.Builder addSessionsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListSessionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListSessionsResponse) private static final com.google.cloud.dataplex.v1.ListSessionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListSessionsResponse(); } @@ -990,27 +1085,27 @@ public static com.google.cloud.dataplex.v1.ListSessionsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java index 5a288cbc915b..1a74dc13f60c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListSessionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListSessionsResponseOrBuilder extends +public interface ListSessionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListSessionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - java.util.List - getSessionsList(); + java.util.List getSessionsList(); /** + * + * *
    * Sessions under a given environment.
    * 
@@ -25,6 +44,8 @@ public interface ListSessionsResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Session getSessions(int index); /** + * + * *
    * Sessions under a given environment.
    * 
@@ -33,43 +54,51 @@ public interface ListSessionsResponseOrBuilder extends */ int getSessionsCount(); /** + * + * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - java.util.List + java.util.List getSessionsOrBuilderList(); /** + * + * *
    * Sessions under a given environment.
    * 
* * repeated .google.cloud.dataplex.v1.Session sessions = 1; */ - com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder( - int index); + com.google.cloud.dataplex.v1.SessionOrBuilder getSessionsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java index 0c7423180485..55b5360aaf25 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List tasks request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksRequest} */ -public final class ListTasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListTasksRequest) ListTasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTasksRequest.newBuilder() to construct. private ListTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTasksRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTasksRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksRequest.class, com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); + com.google.cloud.dataplex.v1.ListTasksRequest.class, + com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of tasks to return. The service may return fewer
    * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,14 +198,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -180,29 +218,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -211,14 +249,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -227,29 +269,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -258,6 +300,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -299,8 +341,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -319,23 +360,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListTasksRequest other = (com.google.cloud.dataplex.v1.ListTasksRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListTasksRequest other = + (com.google.cloud.dataplex.v1.ListTasksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,132 +399,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListTasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListTasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tasks request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListTasksRequest) com.google.cloud.dataplex.v1.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksRequest.class, com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); + com.google.cloud.dataplex.v1.ListTasksRequest.class, + com.google.cloud.dataplex.v1.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListTasksRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; } @java.lang.Override @@ -522,8 +563,11 @@ public com.google.cloud.dataplex.v1.ListTasksRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListTasksRequest buildPartial() { - com.google.cloud.dataplex.v1.ListTasksRequest result = new com.google.cloud.dataplex.v1.ListTasksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListTasksRequest result = + new com.google.cloud.dataplex.v1.ListTasksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -551,38 +595,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListTasksRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListTasksRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListTasksRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -640,37 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,23 +731,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -705,21 +761,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -727,30 +786,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -760,18 +830,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -779,8 +855,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -788,6 +866,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -795,6 +874,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -802,6 +883,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -813,6 +895,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of tasks to return. The service may return fewer
      * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -820,6 +904,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -831,6 +916,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -838,13 +925,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -853,6 +940,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -860,15 +949,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -876,6 +964,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -883,18 +973,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -902,6 +996,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -911,6 +1006,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -918,12 +1015,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -933,18 +1032,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -953,20 +1054,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -974,28 +1076,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1005,17 +1114,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1025,18 +1138,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1045,20 +1160,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1066,28 +1182,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1097,26 +1220,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1253,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListTasksRequest) private static final com.google.cloud.dataplex.v1.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListTasksRequest(); } @@ -1140,27 +1267,27 @@ public static com.google.cloud.dataplex.v1.ListTasksRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,6 +1302,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java index a22fbe4d27ba..c35ed2fc06cb 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of tasks to return. The service may return fewer
    * than this value. If unspecified, at most 10 tasks will be returned. The
@@ -37,11 +64,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -49,10 +79,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -60,48 +93,58 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java similarity index 72% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java index 74e110658aaa..40edf9c0d583 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List tasks response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksResponse} */ -public final class ListTasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListTasksResponse) ListTasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTasksResponse.newBuilder() to construct. private ListTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTasksResponse() { tasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTasksResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksResponse.class, com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); + com.google.cloud.dataplex.v1.ListTasksResponse.class, + com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List tasks_; /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -61,6 +82,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -68,11 +91,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -84,6 +109,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { return tasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { return unreachableLocations_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -230,7 +273,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, unreachableLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -242,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tasks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +307,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListTasksResponse other = (com.google.cloud.dataplex.v1.ListTasksResponse) obj; + com.google.cloud.dataplex.v1.ListTasksResponse other = + (com.google.cloud.dataplex.v1.ListTasksResponse) obj; - if (!getTasksList() - .equals(other.getTasksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableLocationsList() - .equals(other.getUnreachableLocationsList())) return false; + if (!getTasksList().equals(other.getTasksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableLocationsList().equals(other.getUnreachableLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +344,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListTasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tasks response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListTasksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListTasksResponse) com.google.cloud.dataplex.v1.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListTasksResponse.class, com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); + com.google.cloud.dataplex.v1.ListTasksResponse.class, + com.google.cloud.dataplex.v1.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListTasksResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +486,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; } @java.lang.Override @@ -468,9 +512,12 @@ public com.google.cloud.dataplex.v1.ListTasksResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListTasksResponse buildPartial() { - com.google.cloud.dataplex.v1.ListTasksResponse result = new com.google.cloud.dataplex.v1.ListTasksResponse(this); + com.google.cloud.dataplex.v1.ListTasksResponse result = + new com.google.cloud.dataplex.v1.ListTasksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListTasksResponse result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListTasksResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListTasksResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -560,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListTasksResponse other) { tasksBuilder_ = null; tasks_ = other.tasks_; bitField0_ = (bitField0_ & ~0x00000001); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTasksFieldBuilder() : null; + tasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTasksFieldBuilder() + : null; } else { tasksBuilder_.addAllMessages(other.tasks_); } @@ -609,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Task m = - input.readMessage( - com.google.cloud.dataplex.v1.Task.parser(), - extensionRegistry); - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(m); - } else { - tasksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableLocationsIsMutable(); - unreachableLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Task m = + input.readMessage( + com.google.cloud.dataplex.v1.Task.parser(), extensionRegistry); + if (tasksBuilder_ == null) { + ensureTasksIsMutable(); + tasks_.add(m); + } else { + tasksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableLocationsIsMutable(); + unreachableLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> tasksBuilder_; + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -677,6 +736,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -691,6 +752,8 @@ public int getTasksCount() { } } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -705,14 +768,15 @@ public com.google.cloud.dataplex.v1.Task getTasks(int index) { } } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.dataplex.v1.Task value) { + public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,14 +790,15 @@ public Builder setTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTasks(int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -744,6 +809,8 @@ public Builder setTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -764,14 +831,15 @@ public Builder addTasks(com.google.cloud.dataplex.v1.Task value) { return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.dataplex.v1.Task value) { + public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +853,15 @@ public Builder addTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -803,14 +872,15 @@ public Builder addTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder addTasks(int index, com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -821,6 +891,8 @@ public Builder addTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -831,8 +903,7 @@ public Builder addAllTasks( java.lang.Iterable values) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tasks_); onChanged(); } else { tasksBuilder_.addAllMessages(values); @@ -840,6 +911,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -857,6 +930,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -874,39 +949,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.dataplex.v1.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +994,8 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * Tasks under the given parent lake.
      * 
@@ -921,42 +1003,47 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Task.getDefaultInstance()); } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Task.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Task.getDefaultInstance()); } /** + * + * *
      * Tasks under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -964,19 +1051,21 @@ public com.google.cloud.dataplex.v1.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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; @@ -985,21 +1074,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * 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 { @@ -1007,30 +1097,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1137,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1162,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableLocationsIsMutable() { if (!unreachableLocations_.isModifiable()) { unreachableLocations_ = new com.google.protobuf.LazyStringArrayList(unreachableLocations_); @@ -1068,35 +1170,43 @@ private void ensureUnreachableLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - public com.google.protobuf.ProtocolStringList - getUnreachableLocationsList() { + public com.google.protobuf.ProtocolStringList getUnreachableLocationsList() { unreachableLocations_.makeImmutable(); return unreachableLocations_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ public int getUnreachableLocationsCount() { return unreachableLocations_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ @@ -1104,31 +1214,37 @@ public java.lang.String getUnreachableLocations(int index) { return unreachableLocations_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - public com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index) { + public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) { return unreachableLocations_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param index The index to set the value at. * @param value The unreachableLocations to set. * @return This builder for chaining. */ - public Builder setUnreachableLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachableLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1252,21 @@ public Builder setUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1274,58 @@ public Builder addUnreachableLocations( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param values The unreachableLocations to add. * @return This builder for chaining. */ - public Builder addAllUnreachableLocations( - java.lang.Iterable values) { + public Builder addAllUnreachableLocations(java.lang.Iterable values) { ensureUnreachableLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachableLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachableLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @return This builder for chaining. */ public Builder clearUnreachableLocations() { - unreachableLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachableLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable_locations = 3; + * * @param value The bytes of the unreachableLocations to add. * @return This builder for chaining. */ - public Builder addUnreachableLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableLocationsIsMutable(); unreachableLocations_.add(value); @@ -1205,9 +1333,9 @@ public Builder addUnreachableLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1345,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListTasksResponse) private static final com.google.cloud.dataplex.v1.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListTasksResponse(); } @@ -1231,27 +1359,27 @@ public static com.google.cloud.dataplex.v1.ListTasksResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1394,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java index ff67481ba294..0e8a296664ea 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Task getTasks(int index); /** + * + * *
    * Tasks under the given parent lake.
    * 
@@ -33,84 +54,101 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * Tasks under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Task tasks = 1; */ - com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.dataplex.v1.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return A list containing the unreachableLocations. */ - java.util.List - getUnreachableLocationsList(); + java.util.List getUnreachableLocationsList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @return The count of unreachableLocations. */ int getUnreachableLocationsCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the element to return. * @return The unreachableLocations at the given index. */ java.lang.String getUnreachableLocations(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable_locations = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachableLocations at the given index. */ - com.google.protobuf.ByteString - getUnreachableLocationsBytes(int index); + com.google.protobuf.ByteString getUnreachableLocationsBytes(int index); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java index b5a586f16310..1d2f786d0aa6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List zone actions request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZoneActionsRequest} */ -public final class ListZoneActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListZoneActionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZoneActionsRequest) ListZoneActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListZoneActionsRequest.newBuilder() to construct. private ListZoneActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListZoneActionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListZoneActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListZoneActionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, + com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -213,19 +246,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZoneActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZoneActionsRequest other = (com.google.cloud.dataplex.v1.ListZoneActionsRequest) obj; + com.google.cloud.dataplex.v1.ListZoneActionsRequest other = + (com.google.cloud.dataplex.v1.ListZoneActionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,131 +280,135 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZoneActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZoneActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zone actions request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZoneActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZoneActionsRequest) com.google.cloud.dataplex.v1.ListZoneActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, + com.google.cloud.dataplex.v1.ListZoneActionsRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZoneActionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; } @java.lang.Override @@ -406,8 +441,11 @@ public com.google.cloud.dataplex.v1.ListZoneActionsRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZoneActionsRequest buildPartial() { - com.google.cloud.dataplex.v1.ListZoneActionsRequest result = new com.google.cloud.dataplex.v1.ListZoneActionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListZoneActionsRequest result = + new com.google.cloud.dataplex.v1.ListZoneActionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +467,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZoneActionsRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZoneActionsRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZoneActionsRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZoneActionsRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ListZoneActionsRequest other) { - if (other == com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,27 +548,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,23 +582,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +612,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,30 +637,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -618,18 +681,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent zone:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -637,8 +706,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -646,6 +717,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +725,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -660,6 +734,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +746,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of actions to return. The service may return fewer
      * than this value. If unspecified, at most 10 actions will be returned. The
@@ -678,6 +755,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +767,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -697,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -720,15 +802,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +817,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -744,18 +827,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -764,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZoneActions` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -781,21 +871,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZoneActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZoneActionsRequest) private static final com.google.cloud.dataplex.v1.ListZoneActionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZoneActionsRequest(); } @@ -819,27 +911,27 @@ public static com.google.cloud.dataplex.v1.ListZoneActionsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZoneActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZoneActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZoneActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java index cad29af6a1bb..c40dfe833f1c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZoneActionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZoneActionsRequestOrBuilder extends +public interface ListZoneActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZoneActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent zone:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of actions to return. The service may return fewer
    * than this value. If unspecified, at most 10 actions will be returned. The
@@ -37,11 +64,14 @@ public interface ListZoneActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -50,10 +80,13 @@ public interface ListZoneActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListZoneActions` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -62,8 +95,8 @@ public interface ListZoneActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java index 930809ea98e9..a78d8bb693cb 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List zones request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesRequest} */ -public final class ListZonesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListZonesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZonesRequest) ListZonesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListZonesRequest.newBuilder() to construct. private ListZonesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListZonesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListZonesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListZonesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesRequest.class, com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZonesRequest.class, + com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Maximum number of zones to return. The service may return fewer
    * than this value. If unspecified, at most 10 zones will be returned. The
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -146,16 +181,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,14 +198,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -180,29 +218,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -211,14 +249,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -227,29 +269,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -258,6 +300,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -299,8 +341,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -319,23 +360,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZonesRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZonesRequest other = (com.google.cloud.dataplex.v1.ListZonesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.dataplex.v1.ListZonesRequest other = + (com.google.cloud.dataplex.v1.ListZonesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,132 +399,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZonesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZonesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZonesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zones request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZonesRequest) com.google.cloud.dataplex.v1.ListZonesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesRequest.class, com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); + com.google.cloud.dataplex.v1.ListZonesRequest.class, + com.google.cloud.dataplex.v1.ListZonesRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZonesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; } @java.lang.Override @@ -522,8 +563,11 @@ public com.google.cloud.dataplex.v1.ListZonesRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZonesRequest buildPartial() { - com.google.cloud.dataplex.v1.ListZonesRequest result = new com.google.cloud.dataplex.v1.ListZonesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ListZonesRequest result = + new com.google.cloud.dataplex.v1.ListZonesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -551,38 +595,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZonesRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZonesRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZonesRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZonesRequest) other); } else { super.mergeFrom(other); return this; @@ -640,37 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,23 +731,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -705,21 +761,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -727,30 +786,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -760,18 +830,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent lake:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -779,8 +855,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -788,6 +866,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -795,6 +874,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -802,6 +883,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -813,6 +895,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Maximum number of zones to return. The service may return fewer
      * than this value. If unspecified, at most 10 zones will be returned. The
@@ -820,6 +904,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -831,6 +916,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -838,13 +925,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -853,6 +940,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -860,15 +949,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -876,6 +964,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -883,18 +973,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -902,6 +996,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -911,6 +1006,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Page token received from a previous `ListZones` call. Provide
      * this to retrieve the subsequent page. When paginating, all other parameters
@@ -918,12 +1015,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -933,18 +1032,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -953,20 +1054,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -974,28 +1076,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1005,17 +1114,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1025,18 +1138,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1045,20 +1160,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1066,28 +1182,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1097,26 +1220,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1253,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZonesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZonesRequest) private static final com.google.cloud.dataplex.v1.ListZonesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZonesRequest(); } @@ -1140,27 +1267,27 @@ public static com.google.cloud.dataplex.v1.ListZonesRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,6 +1302,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZonesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java index 8eec515ab3b3..c2849a2a0897 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZonesRequestOrBuilder extends +public interface ListZonesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZonesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent lake:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of zones to return. The service may return fewer
    * than this value. If unspecified, at most 10 zones will be returned. The
@@ -37,11 +64,14 @@ public interface ListZonesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -49,10 +79,13 @@ public interface ListZonesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListZones` call. Provide
    * this to retrieve the subsequent page. When paginating, all other parameters
@@ -60,48 +93,58 @@ public interface ListZonesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java index f2db5b4618b8..4a13060faa0a 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * List zones response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesResponse} */ -public final class ListZonesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListZonesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ListZonesResponse) ListZonesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListZonesResponse.newBuilder() to construct. private ListZonesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListZonesResponse() { zones_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListZonesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListZonesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesResponse.class, com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListZonesResponse.class, + com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); } public static final int ZONES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List zones_; /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -59,6 +81,8 @@ public java.util.List getZonesList() { return zones_; } /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -66,11 +90,13 @@ public java.util.List getZonesList() { * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ @java.lang.Override - public java.util.List + public java.util.List getZonesOrBuilderList() { return zones_; } /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -82,6 +108,8 @@ public int getZonesCount() { return zones_.size(); } /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { return zones_.get(index); } /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -100,21 +130,24 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { return zones_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -123,30 +156,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < zones_.size(); i++) { output.writeMessage(1, zones_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < zones_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, zones_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, zones_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ListZonesResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ListZonesResponse other = (com.google.cloud.dataplex.v1.ListZonesResponse) obj; + com.google.cloud.dataplex.v1.ListZonesResponse other = + (com.google.cloud.dataplex.v1.ListZonesResponse) obj; - if (!getZonesList() - .equals(other.getZonesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getZonesList().equals(other.getZonesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,132 +262,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ListZonesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ListZonesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ListZonesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zones response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ListZonesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ListZonesResponse) com.google.cloud.dataplex.v1.ListZonesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ListZonesResponse.class, com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); + com.google.cloud.dataplex.v1.ListZonesResponse.class, + com.google.cloud.dataplex.v1.ListZonesResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ListZonesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; } @java.lang.Override @@ -394,9 +429,12 @@ public com.google.cloud.dataplex.v1.ListZonesResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.ListZonesResponse buildPartial() { - com.google.cloud.dataplex.v1.ListZonesResponse result = new com.google.cloud.dataplex.v1.ListZonesResponse(this); + com.google.cloud.dataplex.v1.ListZonesResponse result = + new com.google.cloud.dataplex.v1.ListZonesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -424,38 +462,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ListZonesResponse result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ListZonesResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.ListZonesResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.ListZonesResponse) other); } else { super.mergeFrom(other); return this; @@ -482,9 +521,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.ListZonesResponse other) { zonesBuilder_ = null; zones_ = other.zones_; bitField0_ = (bitField0_ & ~0x00000001); - zonesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getZonesFieldBuilder() : null; + zonesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getZonesFieldBuilder() + : null; } else { zonesBuilder_.addAllMessages(other.zones_); } @@ -521,30 +561,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.dataplex.v1.Zone m = - input.readMessage( - com.google.cloud.dataplex.v1.Zone.parser(), - extensionRegistry); - if (zonesBuilder_ == null) { - ensureZonesIsMutable(); - zones_.add(m); - } else { - zonesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.dataplex.v1.Zone m = + input.readMessage( + com.google.cloud.dataplex.v1.Zone.parser(), extensionRegistry); + if (zonesBuilder_ == null) { + ensureZonesIsMutable(); + zones_.add(m); + } else { + zonesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,21 +596,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List zones_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { zones_ = new java.util.ArrayList(zones_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zonesBuilder_; + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> + zonesBuilder_; /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -583,6 +632,8 @@ public java.util.List getZonesList() { } } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -597,6 +648,8 @@ public int getZonesCount() { } } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -611,14 +664,15 @@ public com.google.cloud.dataplex.v1.Zone getZones(int index) { } } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder setZones( - int index, com.google.cloud.dataplex.v1.Zone value) { + public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -632,14 +686,15 @@ public Builder setZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder setZones( - int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZones(int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.set(index, builderForValue.build()); @@ -650,6 +705,8 @@ public Builder setZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -670,14 +727,15 @@ public Builder addZones(com.google.cloud.dataplex.v1.Zone value) { return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones( - int index, com.google.cloud.dataplex.v1.Zone value) { + public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +749,15 @@ public Builder addZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones( - com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder addZones(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.add(builderForValue.build()); @@ -709,14 +768,15 @@ public Builder addZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public Builder addZones( - int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder addZones(int index, com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.add(index, builderForValue.build()); @@ -727,6 +787,8 @@ public Builder addZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -737,8 +799,7 @@ public Builder addAllZones( java.lang.Iterable values) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); onChanged(); } else { zonesBuilder_.addAllMessages(values); @@ -746,6 +807,8 @@ public Builder addAllZones( return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -763,6 +826,8 @@ public Builder clearZones() { return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -780,39 +845,44 @@ public Builder removeZones(int index) { return this; } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.Zone.Builder getZonesBuilder( - int index) { + public com.google.cloud.dataplex.v1.Zone.Builder getZonesBuilder(int index) { return getZonesFieldBuilder().getBuilder(index); } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index) { if (zonesBuilder_ == null) { - return zones_.get(index); } else { + return zones_.get(index); + } else { return zonesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public java.util.List - getZonesOrBuilderList() { + public java.util.List + getZonesOrBuilderList() { if (zonesBuilder_ != null) { return zonesBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +890,8 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( } } /** + * + * *
      * Zones under the given parent lake.
      * 
@@ -827,42 +899,47 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder() { - return getZonesFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); + return getZonesFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder( - int index) { - return getZonesFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder(int index) { + return getZonesFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Zone.getDefaultInstance()); } /** + * + * *
      * Zones under the given parent lake.
      * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - public java.util.List - getZonesBuilderList() { + public java.util.List getZonesBuilderList() { return getZonesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> getZonesFieldBuilder() { if (zonesBuilder_ == null) { - zonesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( - zones_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + zonesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder>( + zones_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); zones_ = null; } return zonesBuilder_; @@ -870,19 +947,21 @@ public com.google.cloud.dataplex.v1.Zone.Builder addZonesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -891,21 +970,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,30 +993,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -946,27 +1033,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ListZonesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ListZonesResponse) private static final com.google.cloud.dataplex.v1.ListZonesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ListZonesResponse(); } @@ -990,27 +1081,27 @@ public static com.google.cloud.dataplex.v1.ListZonesResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,6 +1116,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ListZonesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java index b176eafa6f26..03ce4797663f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListZonesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface ListZonesResponseOrBuilder extends +public interface ListZonesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ListZonesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - java.util.List - getZonesList(); + java.util.List getZonesList(); /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -25,6 +44,8 @@ public interface ListZonesResponseOrBuilder extends */ com.google.cloud.dataplex.v1.Zone getZones(int index); /** + * + * *
    * Zones under the given parent lake.
    * 
@@ -33,43 +54,50 @@ public interface ListZonesResponseOrBuilder extends */ int getZonesCount(); /** + * + * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - java.util.List - getZonesOrBuilderList(); + java.util.List getZonesOrBuilderList(); /** + * + * *
    * Zones under the given parent lake.
    * 
* * repeated .google.cloud.dataplex.v1.Zone zones = 1; */ - com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder( - int index); + com.google.cloud.dataplex.v1.ZoneOrBuilder getZonesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LocationName.java diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java new file mode 100644 index 000000000000..6d4595261eae --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java @@ -0,0 +1,566 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/logs.proto + +package com.google.cloud.dataplex.v1; + +public final class LogsProto { + private LogsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/dataplex/v1/logs.proto\022\030g" + + "oogle.cloud.dataplex.v1\032\031google/api/reso" + + "urce.proto\032\036google/protobuf/duration.pro" + + "to\032\037google/protobuf/timestamp.proto\"\240\t\n\016" + + "DiscoveryEvent\022\017\n\007message\030\001 \001(\t\022\017\n\007lake_" + + "id\030\002 \001(\t\022\017\n\007zone_id\030\003 \001(\t\022\020\n\010asset_id\030\004 " + + "\001(\t\022\025\n\rdata_location\030\005 \001(\t\022@\n\004type\030\n \001(\016" + + "22.google.cloud.dataplex.v1.DiscoveryEve" + + "nt.EventType\022H\n\006config\030\024 \001(\01326.google.cl" + + "oud.dataplex.v1.DiscoveryEvent.ConfigDet" + + "ailsH\000\022H\n\006entity\030\025 \001(\01326.google.cloud.da" + + "taplex.v1.DiscoveryEvent.EntityDetailsH\000" + + "\022N\n\tpartition\030\026 \001(\01329.google.cloud.datap" + + "lex.v1.DiscoveryEvent.PartitionDetailsH\000" + + "\022H\n\006action\030\027 \001(\01326.google.cloud.dataplex" + + ".v1.DiscoveryEvent.ActionDetailsH\000\032\236\001\n\rC" + + "onfigDetails\022Z\n\nparameters\030\001 \003(\0132F.googl" + + "e.cloud.dataplex.v1.DiscoveryEvent.Confi" + + "gDetails.ParametersEntry\0321\n\017ParametersEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032b\n\rE" + + "ntityDetails\022\016\n\006entity\030\001 \001(\t\022A\n\004type\030\002 \001" + + "(\01623.google.cloud.dataplex.v1.DiscoveryE" + + "vent.EntityType\032\230\001\n\020PartitionDetails\022\021\n\t" + + "partition\030\001 \001(\t\022\016\n\006entity\030\002 \001(\t\022A\n\004type\030" + + "\003 \001(\01623.google.cloud.dataplex.v1.Discove" + + "ryEvent.EntityType\022\036\n\026sampled_data_locat" + + "ions\030\004 \003(\t\032\035\n\rActionDetails\022\014\n\004type\030\001 \001(" + + "\t\"\264\001\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006CONFIG\020\001\022\022\n\016ENTITY_CREATED\020\002\022\022\n\016E" + + "NTITY_UPDATED\020\003\022\022\n\016ENTITY_DELETED\020\004\022\025\n\021P" + + "ARTITION_CREATED\020\005\022\025\n\021PARTITION_UPDATED\020" + + "\006\022\025\n\021PARTITION_DELETED\020\007\"A\n\nEntityType\022\033" + + "\n\027ENTITY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\013" + + "\n\007FILESET\020\002B\t\n\007details\"\305\005\n\010JobEvent\022\017\n\007m" + + "essage\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t\022.\n\nstart_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + + "end_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mp\0227\n\005state\030\005 \001(\0162(.google.cloud.dataple" + + "x.v1.JobEvent.State\022\017\n\007retries\030\006 \001(\005\0225\n\004" + + "type\030\007 \001(\0162\'.google.cloud.dataplex.v1.Jo" + + "bEvent.Type\022;\n\007service\030\010 \001(\0162*.google.cl" + + "oud.dataplex.v1.JobEvent.Service\022\023\n\013serv" + + "ice_job\030\t \001(\t\022N\n\021execution_trigger\030\013 \001(\016" + + "23.google.cloud.dataplex.v1.JobEvent.Exe" + + "cutionTrigger\"5\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\t\n\005SPARK\020\001\022\014\n\010NOTEBOOK\020\002\"U\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006F" + + "AILED\020\002\022\r\n\tCANCELLED\020\003\022\013\n\007ABORTED\020\004\"0\n\007S" + + "ervice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAP" + + "ROC\020\001\"W\n\020ExecutionTrigger\022!\n\035EXECUTION_T" + + "RIGGER_UNSPECIFIED\020\000\022\017\n\013TASK_CONFIG\020\001\022\017\n" + + "\013RUN_REQUEST\020\002\"\275\005\n\014SessionEvent\022\017\n\007messa" + + "ge\030\001 \001(\t\022\017\n\007user_id\030\002 \001(\t\022\022\n\nsession_id\030" + + "\003 \001(\t\022>\n\004type\030\004 \001(\01620.google.cloud.datap" + + "lex.v1.SessionEvent.EventType\022C\n\005query\030\005" + + " \001(\01322.google.cloud.dataplex.v1.SessionE" + + "vent.QueryDetailH\000\022\027\n\017event_succeeded\030\006 " + + "\001(\010\022\034\n\024fast_startup_enabled\030\007 \001(\010\0226\n\023una" + + "ssigned_duration\030\010 \001(\0132\031.google.protobuf" + + ".Duration\032\243\002\n\013QueryDetail\022\020\n\010query_id\030\001 " + + "\001(\t\022\022\n\nquery_text\030\002 \001(\t\022I\n\006engine\030\003 \001(\0162" + + "9.google.cloud.dataplex.v1.SessionEvent." + + "QueryDetail.Engine\022+\n\010duration\030\004 \001(\0132\031.g" + + "oogle.protobuf.Duration\022\031\n\021result_size_b" + + "ytes\030\005 \001(\003\022\034\n\024data_processed_bytes\030\006 \001(\003" + + "\"=\n\006Engine\022\026\n\022ENGINE_UNSPECIFIED\020\000\022\r\n\tSP" + + "ARK_SQL\020\001\022\014\n\010BIGQUERY\020\002\"S\n\tEventType\022\032\n\026" + + "EVENT_TYPE_UNSPECIFIED\020\000\022\t\n\005START\020\001\022\010\n\004S" + + "TOP\020\002\022\t\n\005QUERY\020\003\022\n\n\006CREATE\020\004B\010\n\006detail\"\232" + + "\007\n\017GovernanceEvent\022\017\n\007message\030\001 \001(\t\022G\n\ne" + + "vent_type\030\002 \001(\01623.google.cloud.dataplex." + + "v1.GovernanceEvent.EventType\022E\n\006entity\030\003" + + " \001(\01320.google.cloud.dataplex.v1.Governan" + + "ceEvent.EntityH\000\210\001\001\032\322\001\n\006Entity\0223\n\006entity" + + "\030\001 \001(\tB#\372A \n\036dataplex.googleapis.com/Ent" + + "ity\022P\n\013entity_type\030\002 \001(\0162;.google.cloud." + + "dataplex.v1.GovernanceEvent.Entity.Entit" + + "yType\"A\n\nEntityType\022\033\n\027ENTITY_TYPE_UNSPE" + + "CIFIED\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002\"\205\004\n\tEve" + + "ntType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032RE" + + "SOURCE_IAM_POLICY_UPDATE\020\001\022\031\n\025BIGQUERY_T" + + "ABLE_CREATE\020\002\022\031\n\025BIGQUERY_TABLE_UPDATE\020\003" + + "\022\031\n\025BIGQUERY_TABLE_DELETE\020\004\022\036\n\032BIGQUERY_" + + "CONNECTION_CREATE\020\005\022\036\n\032BIGQUERY_CONNECTI" + + "ON_UPDATE\020\006\022\036\n\032BIGQUERY_CONNECTION_DELET" + + "E\020\007\022\034\n\030BIGQUERY_TAXONOMY_CREATE\020\n\022\036\n\032BIG" + + "QUERY_POLICY_TAG_CREATE\020\013\022\036\n\032BIGQUERY_PO" + + "LICY_TAG_DELETE\020\014\022&\n\"BIGQUERY_POLICY_TAG" + + "_SET_IAM_POLICY\020\r\022\030\n\024ACCESS_POLICY_UPDAT" + + "E\020\016\022%\n!GOVERNANCE_RULE_MATCHED_RESOURCES" + + "\020\017\022(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEE" + + "DS\020\020\022\032\n\026GOVERNANCE_RULE_ERRORS\020\021B\t\n\007_ent" + + "ity\"\363\022\n\rDataScanEvent\022\023\n\013data_source\030\001 \001" + + "(\t\022\016\n\006job_id\030\002 \001(\t\022/\n\013create_time\030\014 \001(\0132" + + "\032.google.protobuf.Timestamp\022.\n\nstart_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "p\022>\n\004type\030\005 \001(\01620.google.cloud.dataplex." + + "v1.DataScanEvent.ScanType\022<\n\005state\030\006 \001(\016" + + "2-.google.cloud.dataplex.v1.DataScanEven" + + "t.State\022\017\n\007message\030\007 \001(\t\022\024\n\014spec_version" + + "\030\010 \001(\t\022@\n\007trigger\030\t \001(\0162/.google.cloud.d" + + "ataplex.v1.DataScanEvent.Trigger\022<\n\005scop" + + "e\030\n \001(\0162-.google.cloud.dataplex.v1.DataS" + + "canEvent.Scope\022Q\n\014data_profile\030e \001(\01329.g" + + "oogle.cloud.dataplex.v1.DataScanEvent.Da" + + "taProfileResultH\000\022Q\n\014data_quality\030f \001(\0132" + + "9.google.cloud.dataplex.v1.DataScanEvent" + + ".DataQualityResultH\000\022b\n\024data_profile_con" + + "figs\030\311\001 \001(\0132A.google.cloud.dataplex.v1.D" + + "ataScanEvent.DataProfileAppliedConfigsH\001" + + "\022b\n\024data_quality_configs\030\312\001 \001(\0132A.google" + + ".cloud.dataplex.v1.DataScanEvent.DataQua" + + "lityAppliedConfigsH\001\022_\n\030post_scan_action" + + "s_result\030\013 \001(\0132=.google.cloud.dataplex.v" + + "1.DataScanEvent.PostScanActionsResult\032&\n" + + "\021DataProfileResult\022\021\n\trow_count\030\001 \001(\003\032\234\004" + + "\n\021DataQualityResult\022\021\n\trow_count\030\001 \001(\003\022\016" + + "\n\006passed\030\002 \001(\010\022h\n\020dimension_passed\030\003 \003(\013" + + "2N.google.cloud.dataplex.v1.DataScanEven" + + "t.DataQualityResult.DimensionPassedEntry" + + "\022\r\n\005score\030\004 \001(\002\022f\n\017dimension_score\030\005 \003(\013" + + "2M.google.cloud.dataplex.v1.DataScanEven" + + "t.DataQualityResult.DimensionScoreEntry\022" + + "`\n\014column_score\030\006 \003(\0132J.google.cloud.dat" + + "aplex.v1.DataScanEvent.DataQualityResult" + + ".ColumnScoreEntry\0326\n\024DimensionPassedEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\0325\n\023Dim" + + "ensionScoreEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\002:\0028\001\0322\n\020ColumnScoreEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\002:\0028\001\032p\n\031DataProfileAppli" + + "edConfigs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022r" + + "ow_filter_applied\030\002 \001(\010\022\035\n\025column_filter" + + "_applied\030\003 \001(\010\032Q\n\031DataQualityAppliedConf" + + "igs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022row_fil" + + "ter_applied\030\002 \001(\010\032\346\002\n\025PostScanActionsRes" + + "ult\022r\n\026bigquery_export_result\030\001 \001(\0132R.go" + + "ogle.cloud.dataplex.v1.DataScanEvent.Pos" + + "tScanActionsResult.BigQueryExportResult\032" + + "\330\001\n\024BigQueryExportResult\022g\n\005state\030\001 \001(\0162" + + "X.google.cloud.dataplex.v1.DataScanEvent" + + ".PostScanActionsResult.BigQueryExportRes" + + "ult.State\022\017\n\007message\030\002 \001(\t\"F\n\005State\022\025\n\021S" + + "TATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAI" + + "LED\020\002\022\013\n\007SKIPPED\020\003\"I\n\010ScanType\022\031\n\025SCAN_T" + + "YPE_UNSPECIFIED\020\000\022\020\n\014DATA_PROFILE\020\001\022\020\n\014D" + + "ATA_QUALITY\020\002\"b\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\013\n\007STARTED\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAI" + + "LED\020\003\022\r\n\tCANCELLED\020\004\022\013\n\007CREATED\020\005\"?\n\007Tri" + + "gger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\r\n\tON_DEMA" + + "ND\020\001\022\014\n\010SCHEDULE\020\002\"9\n\005Scope\022\025\n\021SCOPE_UNS" + + "PECIFIED\020\000\022\010\n\004FULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n" + + "\006resultB\020\n\016appliedConfigs\"\351\006\n\031DataQualit" + + "yScanRuleResult\022\016\n\006job_id\030\001 \001(\t\022\023\n\013data_" + + "source\030\002 \001(\t\022\016\n\006column\030\003 \001(\t\022\021\n\trule_nam" + + "e\030\004 \001(\t\022O\n\trule_type\030\005 \001(\0162<.google.clou" + + "d.dataplex.v1.DataQualityScanRuleResult." + + "RuleType\022Z\n\016evalution_type\030\006 \001(\0162B.googl" + + "e.cloud.dataplex.v1.DataQualityScanRuleR" + + "esult.EvaluationType\022\026\n\016rule_dimension\030\007" + + " \001(\t\022\031\n\021threshold_percent\030\010 \001(\001\022J\n\006resul" + + "t\030\t \001(\0162:.google.cloud.dataplex.v1.DataQ" + + "ualityScanRuleResult.Result\022\033\n\023evaluated" + + "_row_count\030\n \001(\003\022\030\n\020passed_row_count\030\013 \001" + + "(\003\022\026\n\016null_row_count\030\014 \001(\003\"\377\001\n\010RuleType\022" + + "\031\n\025RULE_TYPE_UNSPECIFIED\020\000\022\030\n\024NON_NULL_E" + + "XPECTATION\020\001\022\025\n\021RANGE_EXPECTATION\020\002\022\025\n\021R" + + "EGEX_EXPECTATION\020\003\022\035\n\031ROW_CONDITION_EXPE" + + "CTATION\020\004\022\023\n\017SET_EXPECTATION\020\005\022\037\n\033STATIS" + + "TIC_RANGE_EXPECTATION\020\006\022\037\n\033TABLE_CONDITI" + + "ON_EXPECTATION\020\007\022\032\n\026UNIQUENESS_EXPECTATI" + + "ON\020\010\"M\n\016EvaluationType\022\037\n\033EVALUATION_TYP" + + "E_UNSPECIFIED\020\000\022\013\n\007PER_ROW\020\001\022\r\n\tAGGREGAT" + + "E\020\002\"8\n\006Result\022\026\n\022RESULT_UNSPECIFIED\020\000\022\n\n" + + "\006PASSED\020\001\022\n\n\006FAILED\020\002Be\n\034com.google.clou" + + "d.dataplex.v1B\tLogsProtoP\001Z8cloud.google" + + ".com/go/dataplex/apiv1/dataplexpb;datapl" + + "expbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor, + new java.lang.String[] { + "Message", + "LakeId", + "ZoneId", + "AssetId", + "DataLocation", + "Type", + "Config", + "Entity", + "Partition", + "Action", + "Details", + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor, + new java.lang.String[] { + "Parameters", + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor, + new java.lang.String[] { + "Entity", "Type", + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor, + new java.lang.String[] { + "Partition", "Entity", "Type", "SampledDataLocations", + }); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor = + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor, + new java.lang.String[] { + "Type", + }); + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_JobEvent_descriptor, + new java.lang.String[] { + "Message", + "JobId", + "StartTime", + "EndTime", + "State", + "Retries", + "Type", + "Service", + "ServiceJob", + "ExecutionTrigger", + }); + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor, + new java.lang.String[] { + "Message", + "UserId", + "SessionId", + "Type", + "Query", + "EventSucceeded", + "FastStartupEnabled", + "UnassignedDuration", + "Detail", + }); + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor = + internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor, + new java.lang.String[] { + "QueryId", "QueryText", "Engine", "Duration", "ResultSizeBytes", "DataProcessedBytes", + }); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor, + new java.lang.String[] { + "Message", "EventType", "Entity", "Entity", + }); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor = + internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor, + new java.lang.String[] { + "Entity", "EntityType", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor, + new java.lang.String[] { + "DataSource", + "JobId", + "CreateTime", + "StartTime", + "EndTime", + "Type", + "State", + "Message", + "SpecVersion", + "Trigger", + "Scope", + "DataProfile", + "DataQuality", + "DataProfileConfigs", + "DataQualityConfigs", + "PostScanActionsResult", + "Result", + "AppliedConfigs", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor, + new java.lang.String[] { + "RowCount", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor, + new java.lang.String[] { + "RowCount", "Passed", "DimensionPassed", "Score", "DimensionScore", "ColumnScore", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor, + new java.lang.String[] { + "SamplingPercent", "RowFilterApplied", "ColumnFilterApplied", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor, + new java.lang.String[] { + "SamplingPercent", "RowFilterApplied", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor, + new java.lang.String[] { + "BigqueryExportResult", + }); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor = + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor, + new java.lang.String[] { + "State", "Message", + }); + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor, + new java.lang.String[] { + "JobId", + "DataSource", + "Column", + "RuleName", + "RuleType", + "EvalutionType", + "RuleDimension", + "ThresholdPercent", + "Result", + "EvaluatedRowCount", + "PassedRowCount", + "NullRowCount", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java new file mode 100644 index 000000000000..973179045c6f --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java @@ -0,0 +1,552 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public final class MetadataProto { + private MetadataProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Partition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/dataplex/v1/metadata.prot" + + "o\022\030google.cloud.dataplex.v1\032\034google/api/" + + "annotations.proto\032\027google/api/client.pro" + + "to\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\032\033google/protobuf/" + + "empty.proto\032\037google/protobuf/timestamp.p" + + "roto\"\241\001\n\023CreateEntityRequest\0225\n\006parent\030\001" + + " \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Z" + + "one\0226\n\006entity\030\003 \001(\0132 .google.cloud.datap" + + "lex.v1.EntityB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"j\n\023UpdateEntityRequest\0226\n\006entit" + + "y\030\002 \001(\0132 .google.cloud.dataplex.v1.Entit" + + "yB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"`\n\023" + + "DeleteEntityRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372" + + "A \n\036dataplex.googleapis.com/Entity\022\022\n\004et" + + "ag\030\002 \001(\tB\004\342A\001\002\"\250\002\n\023ListEntitiesRequest\0225" + + "\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.google" + + "apis.com/Zone\022L\n\004view\030\002 \001(\01628.google.clo" + + "ud.dataplex.v1.ListEntitiesRequest.Entit" + + "yViewB\004\342A\001\002\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" + + "page_token\030\004 \001(\tB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004" + + "\342A\001\001\"C\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPEC" + + "IFIED\020\000\022\n\n\006TABLES\020\001\022\014\n\010FILESETS\020\002\"c\n\024Lis" + + "tEntitiesResponse\0222\n\010entities\030\001 \003(\0132 .go" + + "ogle.cloud.dataplex.v1.Entity\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\340\001\n\020GetEntityRequest\0225\n\004n" + + "ame\030\001 \001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis." + + "com/Entity\022I\n\004view\030\002 \001(\01625.google.cloud." + + "dataplex.v1.GetEntityRequest.EntityViewB" + + "\004\342A\001\001\"J\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPE" + + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\n\n\006SCHEMA\020\002\022\010\n\004FULL\020" + + "\004\"\231\001\n\025ListPartitionsRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis.com/En" + + "tity\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_to" + + "ken\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"\254\001" + + "\n\026CreatePartitionRequest\0227\n\006parent\030\001 \001(\t" + + "B\'\342A\001\002\372A \n\036dataplex.googleapis.com/Entit" + + "y\022<\n\tpartition\030\003 \001(\0132#.google.cloud.data" + + "plex.v1.PartitionB\004\342A\001\002\022\033\n\rvalidate_only" + + "\030\004 \001(\010B\004\342A\001\001\"h\n\026DeletePartitionRequest\0228" + + "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!dataplex.googleap" + + "is.com/Partition\022\024\n\004etag\030\002 \001(\tB\006\030\001\342A\001\001\"j" + + "\n\026ListPartitionsResponse\0227\n\npartitions\030\001" + + " \003(\0132#.google.cloud.dataplex.v1.Partitio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"O\n\023GetPartiti" + + "onRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!datapl" + + "ex.googleapis.com/Partition\"\327\t\n\006Entity\0225" + + "\n\004name\030\001 \001(\tB\'\342A\001\003\372A \n\036dataplex.googleap" + + "is.com/Entity\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" + + "\001\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" + + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022\020\n\002id\030\007 \001(\tB\004\342A\001\002\022\022\n\004" + + "etag\030\010 \001(\tB\004\342A\001\001\022:\n\004type\030\n \001(\0162%.google." + + "cloud.dataplex.v1.Entity.TypeB\005\342A\002\002\005\022\024\n\005" + + "asset\030\013 \001(\tB\005\342A\002\002\005\022\030\n\tdata_path\030\014 \001(\tB\005\342" + + "A\002\002\005\022\037\n\021data_path_pattern\030\r \001(\tB\004\342A\001\001\022\033\n" + + "\rcatalog_entry\030\016 \001(\tB\004\342A\001\003\022>\n\006system\030\017 \001" + + "(\0162\'.google.cloud.dataplex.v1.StorageSys" + + "temB\005\342A\002\002\005\022=\n\006format\030\020 \001(\0132\'.google.clou" + + "d.dataplex.v1.StorageFormatB\004\342A\001\002\022Q\n\rcom" + + "patibility\030\023 \001(\01324.google.cloud.dataplex" + + ".v1.Entity.CompatibilityStatusB\004\342A\001\003\022=\n\006" + + "access\030\025 \001(\0132\'.google.cloud.dataplex.v1." + + "StorageAccessB\004\342A\001\003\022\021\n\003uid\030\026 \001(\tB\004\342A\001\003\0226" + + "\n\006schema\0302 \001(\0132 .google.cloud.dataplex.v" + + "1.SchemaB\004\342A\001\002\032\224\002\n\023CompatibilityStatus\022`" + + "\n\016hive_metastore\030\001 \001(\0132B.google.cloud.da" + + "taplex.v1.Entity.CompatibilityStatus.Com" + + "patibilityB\004\342A\001\003\022Z\n\010bigquery\030\002 \001(\0132B.goo" + + "gle.cloud.dataplex.v1.Entity.Compatibili" + + "tyStatus.CompatibilityB\004\342A\001\003\032?\n\rCompatib" + + "ility\022\030\n\ncompatible\030\001 \001(\010B\004\342A\001\003\022\024\n\006reaso" + + "n\030\002 \001(\tB\004\342A\001\003\"4\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002:x\352Au\n\036datapl" + + "ex.googleapis.com/Entity\022Sprojects/{proj" + + "ect}/locations/{location}/lakes/{lake}/z" + + "ones/{zone}/entities/{entity}\"\241\002\n\tPartit" + + "ion\0228\n\004name\030\001 \001(\tB*\342A\001\003\372A#\n!dataplex.goo" + + "gleapis.com/Partition\022\025\n\006values\030\002 \003(\tB\005\342" + + "A\002\002\005\022\027\n\010location\030\003 \001(\tB\005\342A\002\002\005\022\024\n\004etag\030\004 " + + "\001(\tB\006\030\001\342A\001\001:\223\001\352A\217\001\n!dataplex.googleapis." + + "com/Partition\022jprojects/{project}/locati" + + "ons/{location}/lakes/{lake}/zones/{zone}" + + "/entities/{entity}/partitions/{partition" + + "}\"\300\007\n\006Schema\022\032\n\014user_managed\030\001 \001(\010B\004\342A\001\002" + + "\022B\n\006fields\030\002 \003(\0132,.google.cloud.dataplex" + + ".v1.Schema.SchemaFieldB\004\342A\001\001\022O\n\020partitio" + + "n_fields\030\003 \003(\0132/.google.cloud.dataplex.v" + + "1.Schema.PartitionFieldB\004\342A\001\001\022N\n\017partiti" + + "on_style\030\004 \001(\0162/.google.cloud.dataplex.v" + + "1.Schema.PartitionStyleB\004\342A\001\001\032\366\001\n\013Schema" + + "Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description" + + "\030\002 \001(\tB\004\342A\001\001\0229\n\004type\030\003 \001(\0162%.google.clou" + + "d.dataplex.v1.Schema.TypeB\004\342A\001\002\0229\n\004mode\030" + + "\004 \001(\0162%.google.cloud.dataplex.v1.Schema." + + "ModeB\004\342A\001\002\022B\n\006fields\030\n \003(\0132,.google.clou" + + "d.dataplex.v1.Schema.SchemaFieldB\004\342A\001\001\032`" + + "\n\016PartitionField\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022:\n\004" + + "type\030\002 \001(\0162%.google.cloud.dataplex.v1.Sc" + + "hema.TypeB\005\342A\002\002\005\"\311\001\n\004Type\022\024\n\020TYPE_UNSPEC" + + "IFIED\020\000\022\013\n\007BOOLEAN\020\001\022\010\n\004BYTE\020\002\022\t\n\005INT16\020" + + "\003\022\t\n\005INT32\020\004\022\t\n\005INT64\020\005\022\t\n\005FLOAT\020\006\022\n\n\006DO" + + "UBLE\020\007\022\013\n\007DECIMAL\020\010\022\n\n\006STRING\020\t\022\n\n\006BINAR" + + "Y\020\n\022\r\n\tTIMESTAMP\020\013\022\010\n\004DATE\020\014\022\010\n\004TIME\020\r\022\n" + + "\n\006RECORD\020\016\022\010\n\004NULL\020d\"F\n\004Mode\022\024\n\020MODE_UNS" + + "PECIFIED\020\000\022\014\n\010REQUIRED\020\001\022\014\n\010NULLABLE\020\002\022\014" + + "\n\010REPEATED\020\003\"F\n\016PartitionStyle\022\037\n\033PARTIT" + + "ION_STYLE_UNSPECIFIED\020\000\022\023\n\017HIVE_COMPATIB" + + "LE\020\001\"\200\007\n\rStorageFormat\022D\n\006format\030\001 \001(\0162." + + ".google.cloud.dataplex.v1.StorageFormat." + + "FormatB\004\342A\001\003\022[\n\022compression_format\030\002 \001(\016" + + "29.google.cloud.dataplex.v1.StorageForma" + + "t.CompressionFormatB\004\342A\001\001\022\027\n\tmime_type\030\003" + + " \001(\tB\004\342A\001\002\022G\n\003csv\030\n \001(\01322.google.cloud.d" + + "ataplex.v1.StorageFormat.CsvOptionsB\004\342A\001" + + "\001H\000\022I\n\004json\030\013 \001(\01323.google.cloud.dataple" + + "x.v1.StorageFormat.JsonOptionsB\004\342A\001\001H\000\022O" + + "\n\007iceberg\030\014 \001(\01326.google.cloud.dataplex." + + "v1.StorageFormat.IcebergOptionsB\004\342A\001\001H\000\032" + + "m\n\nCsvOptions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\022\031\n" + + "\013header_rows\030\002 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\003 " + + "\001(\tB\004\342A\001\001\022\023\n\005quote\030\004 \001(\tB\004\342A\001\001\032%\n\013JsonOp" + + "tions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\0321\n\016Iceberg" + + "Options\022\037\n\021metadata_location\030\001 \001(\tB\004\342A\001\001" + + "\"\253\001\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\013\n\007P" + + "ARQUET\020\001\022\010\n\004AVRO\020\002\022\007\n\003ORC\020\003\022\007\n\003CSV\020d\022\010\n\004" + + "JSON\020e\022\n\n\005IMAGE\020\310\001\022\n\n\005AUDIO\020\311\001\022\n\n\005VIDEO\020" + + "\312\001\022\t\n\004TEXT\020\313\001\022\r\n\010TFRECORD\020\314\001\022\n\n\005OTHER\020\350\007" + + "\022\014\n\007UNKNOWN\020\351\007\"L\n\021CompressionFormat\022\"\n\036C" + + "OMPRESSION_FORMAT_UNSPECIFIED\020\000\022\010\n\004GZIP\020" + + "\002\022\t\n\005BZIP2\020\003B\t\n\007options\"\233\001\n\rStorageAcces" + + "s\022F\n\004read\030\025 \001(\01622.google.cloud.dataplex." + + "v1.StorageAccess.AccessModeB\004\342A\001\003\"B\n\nAcc" + + "essMode\022\033\n\027ACCESS_MODE_UNSPECIFIED\020\000\022\n\n\006" + + "DIRECT\020\001\022\013\n\007MANAGED\020\002*P\n\rStorageSystem\022\036" + + "\n\032STORAGE_SYSTEM_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + + "STORAGE\020\001\022\014\n\010BIGQUERY\020\0022\211\016\n\017MetadataServ" + + "ice\022\275\001\n\014CreateEntity\022-.google.cloud.data" + + "plex.v1.CreateEntityRequest\032 .google.clo" + + "ud.dataplex.v1.Entity\"\\\332A\rparent,entity\202" + + "\323\344\223\002F\"*\022\022 * Represents the metadata of a long-running operation. *
* * Protobuf type {@code google.cloud.dataplex.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,32 +46,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.OperationMetadata.class, com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); + com.google.cloud.dataplex.v1.OperationMetadata.class, + com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -61,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -73,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -87,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -99,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -111,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -123,14 +164,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -139,29 +184,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -170,14 +215,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -186,29 +235,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -217,14 +266,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -233,29 +286,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -266,6 +319,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -275,6 +330,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -283,14 +339,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -299,29 +359,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -330,6 +390,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +402,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -374,12 +434,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -391,8 +449,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -405,33 +462,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.OperationMetadata other = (com.google.cloud.dataplex.v1.OperationMetadata) obj; + com.google.cloud.dataplex.v1.OperationMetadata other = + (com.google.cloud.dataplex.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,8 +509,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -467,132 +517,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of a long-running operation.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.OperationMetadata) com.google.cloud.dataplex.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.OperationMetadata.class, com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); + com.google.cloud.dataplex.v1.OperationMetadata.class, + com.google.cloud.dataplex.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.dataplex.v1.OperationMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +670,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -637,8 +691,11 @@ public com.google.cloud.dataplex.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.dataplex.v1.OperationMetadata buildPartial() { - com.google.cloud.dataplex.v1.OperationMetadata result = new com.google.cloud.dataplex.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.OperationMetadata result = + new com.google.cloud.dataplex.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -646,14 +703,10 @@ public com.google.cloud.dataplex.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -676,38 +729,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.OperationMetadata result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.dataplex.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.dataplex.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -771,51 +825,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,43 +883,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -877,14 +955,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -895,17 +976,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -918,11 +1003,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -935,11 +1024,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -947,36 +1040,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -984,24 +1089,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1012,11 +1128,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1032,14 +1151,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1050,17 +1171,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1073,11 +1197,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1090,11 +1217,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1102,36 +1232,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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> 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_; @@ -1139,18 +1277,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1159,20 +1299,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1180,28 +1321,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1211,17 +1359,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1231,18 +1383,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1251,20 +1405,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1272,28 +1427,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1303,17 +1465,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1323,18 +1489,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1343,20 +1511,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1364,28 +1533,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1395,17 +1571,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1413,8 +1593,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1424,6 +1606,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1431,6 +1614,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1440,6 +1625,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1451,6 +1637,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1460,6 +1648,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1471,18 +1660,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1491,20 +1682,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1512,28 +1704,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1543,26 +1742,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1572,12 +1775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.OperationMetadata) private static final com.google.cloud.dataplex.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.OperationMetadata(); } @@ -1586,27 +1789,27 @@ public static com.google.cloud.dataplex.v1.OperationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1621,6 +1824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java index 14baa7a35e59..f62cad39f065 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/OperationMetadataOrBuilder.java @@ -1,127 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -131,27 +186,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java index 4b99e9bc8906..cb74529d72bd 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Partition.java @@ -1,56 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Represents partition metadata contained within entity instances.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Partition} */ -public final class Partition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Partition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Partition) PartitionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Partition.newBuilder() to construct. private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Partition() { name_ = ""; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; etag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Partition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Partition.class, com.google.cloud.dataplex.v1.Partition.Builder.class); + com.google.cloud.dataplex.v1.Partition.class, + com.google.cloud.dataplex.v1.Partition.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * The name field in the response retains the encoded format.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +92,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. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -84,17 +109,18 @@ public java.lang.String getName() {
    * The name field in the response retains the encoded format.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -103,41 +129,56 @@ public java.lang.String getName() { } public static final int VALUES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -145,31 +186,41 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The location. */ @java.lang.Override @@ -178,31 +229,33 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -211,49 +264,55 @@ public java.lang.String getLocation() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getEtag() { + @java.lang.Deprecated + public java.lang.String getEtag() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getEtagBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -262,6 +321,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +333,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -321,21 +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.cloud.dataplex.v1.Partition)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Partition other = (com.google.cloud.dataplex.v1.Partition) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getValuesList() - .equals(other.getValuesList())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,148 +417,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Partition parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Partition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Partition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Partition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Partition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Partition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Partition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Partition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 partition metadata contained within entity instances.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Partition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Partition) com.google.cloud.dataplex.v1.PartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Partition.class, com.google.cloud.dataplex.v1.Partition.Builder.class); + com.google.cloud.dataplex.v1.Partition.class, + com.google.cloud.dataplex.v1.Partition.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Partition.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; etag_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Partition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Partition_descriptor; } @java.lang.Override @@ -522,8 +580,11 @@ public com.google.cloud.dataplex.v1.Partition build() { @java.lang.Override public com.google.cloud.dataplex.v1.Partition buildPartial() { - com.google.cloud.dataplex.v1.Partition result = new com.google.cloud.dataplex.v1.Partition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Partition result = + new com.google.cloud.dataplex.v1.Partition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -549,38 +610,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Partition result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Partition) { - return mergeFrom((com.google.cloud.dataplex.v1.Partition)other); + return mergeFrom((com.google.cloud.dataplex.v1.Partition) other); } else { super.mergeFrom(other); return this; @@ -640,33 +702,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValuesIsMutable(); - values_.add(s); - break; - } // case 18 - case 26: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValuesIsMutable(); + values_.add(s); + break; + } // case 18 + case 26: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -676,10 +743,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -688,14 +758,16 @@ public Builder mergeFrom(
      * The name field in the response retains the encoded format.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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,6 +776,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -712,16 +786,17 @@ public java.lang.String getName() {
      * The name field in the response retains the encoded format.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -729,6 +804,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -737,19 +814,25 @@ public java.lang.String getName() {
      * The name field in the response retains the encoded format.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -758,7 +841,10 @@ public Builder setName(
      * The name field in the response retains the encoded format.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -768,6 +854,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Partition values used in the HTTP URL must be
      * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -776,13 +864,17 @@ public Builder clearName() {
      * The name field in the response retains the encoded format.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -792,6 +884,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -799,38 +892,52 @@ private void ensureValuesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { values_.makeImmutable(); return values_; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -838,33 +945,43 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.set(index, value); bitField0_ |= 0x00000002; @@ -872,18 +989,24 @@ public Builder setValues( return this; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.add(value); bitField0_ |= 0x00000002; @@ -891,53 +1014,67 @@ public Builder addValues( return this; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The set of values representing the partition, which
      * correspond to the partition schema defined in the parent entity.
      * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -948,20 +1085,24 @@ public Builder addValuesBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -970,22 +1111,25 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -993,32 +1137,43 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -1028,19 +1183,25 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Required. Immutable. The location of the entity data within the partition,
      * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
      * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
      * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000004; @@ -1050,20 +1211,23 @@ public Builder setLocationBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ - @java.lang.Deprecated public java.lang.String getEtag() { + @java.lang.Deprecated + public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1072,22 +1236,24 @@ public Builder setLocationBytes( } } /** + * + * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getEtagBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1095,63 +1261,77 @@ public Builder setLocationBytes( } } /** + * + * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @param value The etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearEtag() { + @java.lang.Deprecated + public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** + * + * *
      * Optional. The etag for this partition.
      * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @param value The bytes for etag to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Partition) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Partition) private static final com.google.cloud.dataplex.v1.Partition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Partition(); } @@ -1175,27 +1355,27 @@ public static com.google.cloud.dataplex.v1.Partition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1210,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Partition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java index 553910bd0f15..3979c0a3c995 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/PartitionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface PartitionOrBuilder extends +public interface PartitionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Partition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -16,11 +34,16 @@ public interface PartitionOrBuilder extends
    * The name field in the response retains the encoded format.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Partition values used in the HTTP URL must be
    * double encoded. For example, `url_encode(url_encode(value))` can be used
@@ -29,102 +52,138 @@ public interface PartitionOrBuilder extends
    * The name field in the response retains the encoded format.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The count of values. */ int getValuesCount(); /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
    * Required. Immutable. The set of values representing the partition, which
    * correspond to the partition schema defined in the parent entity.
    * 
* - * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); /** + * + * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. Immutable. The location of the entity data within the partition,
    * for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
    * `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
    * 
* - * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The etag. */ - @java.lang.Deprecated java.lang.String getEtag(); + @java.lang.Deprecated + java.lang.String getEtag(); /** + * + * *
    * Optional. The etag for this partition.
    * 
* * string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. - * See google/cloud/dataplex/v1/metadata.proto;l=513 + * + * @deprecated google.cloud.dataplex.v1.Partition.etag is deprecated. See + * google/cloud/dataplex/v1/metadata.proto;l=513 * @return The bytes for etag. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getEtagBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java new file mode 100644 index 000000000000..f07591c9cdb8 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java @@ -0,0 +1,147 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/processing.proto + +package com.google.cloud.dataplex.v1; + +public final class ProcessingProto { + private ProcessingProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/dataplex/v1/processing.pr" + + "oto\022\030google.cloud.dataplex.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\276\001\n\007Trigger\022?\n\ton_demand\030d \001(\013" + + "2*.google.cloud.dataplex.v1.Trigger.OnDe" + + "mandH\000\022>\n\010schedule\030e \001(\0132*.google.cloud." + + "dataplex.v1.Trigger.ScheduleH\000\032\n\n\010OnDema" + + "nd\032\036\n\010Schedule\022\022\n\004cron\030\001 \001(\tB\004\342A\001\002B\006\n\004mo" + + "de\"k\n\nDataSource\0229\n\006entity\030d \001(\tB\'\342A\001\005\372A" + + " \n\036dataplex.googleapis.com/EntityH\000\022\030\n\010r" + + "esource\030e \001(\tB\004\342A\001\005H\000B\010\n\006source\"\257\001\n\013Scan" + + "nedData\022S\n\021incremental_field\030\001 \001(\01326.goo" + + "gle.cloud.dataplex.v1.ScannedData.Increm" + + "entalFieldH\000\032=\n\020IncrementalField\022\r\n\005fiel" + + "d\030\001 \001(\t\022\r\n\005start\030\002 \001(\t\022\013\n\003end\030\003 \001(\tB\014\n\nd" + + "ata_rangeBk\n\034com.google.cloud.dataplex.v" + + "1B\017ProcessingProtoP\001Z8cloud.google.com/g" + + "o/dataplex/apiv1/dataplexpb;dataplexpbb\006" + + "proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Trigger_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_descriptor, + new java.lang.String[] { + "OnDemand", "Schedule", "Mode", + }); + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor = + internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor = + internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor, + new java.lang.String[] { + "Cron", + }); + internal_static_google_cloud_dataplex_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataSource_descriptor, + new java.lang.String[] { + "Entity", "Resource", "Source", + }); + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor, + new java.lang.String[] { + "IncrementalField", "DataRange", + }); + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor = + internal_static_google_cloud_dataplex_v1_ScannedData_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor, + new java.lang.String[] { + "Field", "Start", "End", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java similarity index 74% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java index c136f5cb1428..499452ba92ac 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpec.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * ResourceAccessSpec holds the access control configuration to be enforced
  * on the resources, for example, Cloud Storage bucket, BigQuery dataset,
@@ -12,49 +29,51 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.ResourceAccessSpec}
  */
-public final class ResourceAccessSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceAccessSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ResourceAccessSpec)
     ResourceAccessSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceAccessSpec.newBuilder() to construct.
   private ResourceAccessSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ResourceAccessSpec() {
-    readers_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    writers_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    owners_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    writers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    owners_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceAccessSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.SecurityProto
+        .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.SecurityProto
+        .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.ResourceAccessSpec.class, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
+            com.google.cloud.dataplex.v1.ResourceAccessSpec.class,
+            com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
   }
 
   public static final int READERS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList readers_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -62,13 +81,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList - getReadersList() { + public com.google.protobuf.ProtocolStringList getReadersList() { return readers_; } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -76,12 +97,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -89,6 +113,7 @@ public int getReadersCount() {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -96,6 +121,8 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -103,47 +130,56 @@ public java.lang.String getReaders(int index) {
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString - getReadersBytes(int index) { + public com.google.protobuf.ByteString getReadersBytes(int index) { return readers_.getByteString(index); } public static final int WRITERS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the writers. */ - public com.google.protobuf.ProtocolStringList - getWritersList() { + public com.google.protobuf.ProtocolStringList getWritersList() { return writers_; } /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of writers. */ public int getWritersCount() { return writers_.size(); } /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The writers at the given index. */ @@ -151,52 +187,63 @@ public java.lang.String getWriters(int index) { return writers_.get(index); } /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - public com.google.protobuf.ByteString - getWritersBytes(int index) { + public com.google.protobuf.ByteString getWritersBytes(int index) { return writers_.getByteString(index); } public static final int OWNERS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the owners. */ - public com.google.protobuf.ProtocolStringList - getOwnersList() { + public com.google.protobuf.ProtocolStringList getOwnersList() { return owners_; } /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of owners. */ public int getOwnersCount() { return owners_.size(); } /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The owners at the given index. */ @@ -204,20 +251,23 @@ public java.lang.String getOwners(int index) { return owners_.get(index); } /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - public com.google.protobuf.ByteString - getOwnersBytes(int index) { + public com.google.protobuf.ByteString getOwnersBytes(int index) { return owners_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +279,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < readers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readers_.getRaw(i)); } @@ -281,19 +330,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ResourceAccessSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ResourceAccessSpec other = (com.google.cloud.dataplex.v1.ResourceAccessSpec) obj; - - if (!getReadersList() - .equals(other.getReadersList())) return false; - if (!getWritersList() - .equals(other.getWritersList())) return false; - if (!getOwnersList() - .equals(other.getOwnersList())) return false; + com.google.cloud.dataplex.v1.ResourceAccessSpec other = + (com.google.cloud.dataplex.v1.ResourceAccessSpec) obj; + + if (!getReadersList().equals(other.getReadersList())) return false; + if (!getWritersList().equals(other.getWritersList())) return false; + if (!getOwnersList().equals(other.getOwnersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,99 +369,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ResourceAccessSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ResourceAccessSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ResourceAccessSpec holds the access control configuration to be enforced
    * on the resources, for example, Cloud Storage bucket, BigQuery dataset,
@@ -423,50 +475,46 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.ResourceAccessSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ResourceAccessSpec)
       com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.ResourceAccessSpec.class, com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
+              com.google.cloud.dataplex.v1.ResourceAccessSpec.class,
+              com.google.cloud.dataplex.v1.ResourceAccessSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.ResourceAccessSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      readers_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      writers_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      owners_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      readers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      writers_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      owners_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.SecurityProto.internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.SecurityProto
+          .internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor;
     }
 
     @java.lang.Override
@@ -485,8 +533,11 @@ public com.google.cloud.dataplex.v1.ResourceAccessSpec build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.ResourceAccessSpec buildPartial() {
-      com.google.cloud.dataplex.v1.ResourceAccessSpec result = new com.google.cloud.dataplex.v1.ResourceAccessSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.ResourceAccessSpec result =
+          new com.google.cloud.dataplex.v1.ResourceAccessSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -511,38 +562,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ResourceAccessSpec resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.ResourceAccessSpec) {
-        return mergeFrom((com.google.cloud.dataplex.v1.ResourceAccessSpec)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.ResourceAccessSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -550,7 +602,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.ResourceAccessSpec other) {
-      if (other == com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.ResourceAccessSpec.getDefaultInstance())
+        return this;
       if (!other.readers_.isEmpty()) {
         if (readers_.isEmpty()) {
           readers_ = other.readers_;
@@ -607,30 +660,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureReadersIsMutable();
-              readers_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureWritersIsMutable();
-              writers_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureOwnersIsMutable();
-              owners_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureReadersIsMutable();
+                readers_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureWritersIsMutable();
+                writers_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureOwnersIsMutable();
+                owners_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -640,10 +697,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList readers_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureReadersIsMutable() {
       if (!readers_.isModifiable()) {
         readers_ = new com.google.protobuf.LazyStringArrayList(readers_);
@@ -651,6 +710,8 @@ private void ensureReadersIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -658,14 +719,16 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - public com.google.protobuf.ProtocolStringList - getReadersList() { + public com.google.protobuf.ProtocolStringList getReadersList() { readers_.makeImmutable(); return readers_; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -673,12 +736,15 @@ private void ensureReadersIsMutable() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ public int getReadersCount() { return readers_.size(); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -686,6 +752,7 @@ public int getReadersCount() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ @@ -693,6 +760,8 @@ public java.lang.String getReaders(int index) { return readers_.get(index); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -700,14 +769,16 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - public com.google.protobuf.ByteString - getReadersBytes(int index) { + public com.google.protobuf.ByteString getReadersBytes(int index) { return readers_.getByteString(index); } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -715,13 +786,15 @@ public java.lang.String getReaders(int index) {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The readers to set. * @return This builder for chaining. */ - public Builder setReaders( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReaders(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReadersIsMutable(); readers_.set(index, value); bitField0_ |= 0x00000001; @@ -729,6 +802,8 @@ public Builder setReaders( return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -736,12 +811,14 @@ public Builder setReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The readers to add. * @return This builder for chaining. */ - public Builder addReaders( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReaders(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReadersIsMutable(); readers_.add(value); bitField0_ |= 0x00000001; @@ -749,6 +826,8 @@ public Builder addReaders( return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -756,19 +835,20 @@ public Builder addReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The readers to add. * @return This builder for chaining. */ - public Builder addAllReaders( - java.lang.Iterable values) { + public Builder addAllReaders(java.lang.Iterable values) { ensureReadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, readers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, readers_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -776,16 +856,19 @@ public Builder addAllReaders(
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearReaders() { - readers_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + readers_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Optional. The format of strings follows the pattern followed by IAM in the
      * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -793,12 +876,14 @@ public Builder clearReaders() {
      * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the readers to add. * @return This builder for chaining. */ - public Builder addReadersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReadersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureReadersIsMutable(); readers_.add(value); @@ -809,6 +894,7 @@ public Builder addReadersBytes( private com.google.protobuf.LazyStringArrayList writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureWritersIsMutable() { if (!writers_.isModifiable()) { writers_ = new com.google.protobuf.LazyStringArrayList(writers_); @@ -816,35 +902,43 @@ private void ensureWritersIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the writers. */ - public com.google.protobuf.ProtocolStringList - getWritersList() { + public com.google.protobuf.ProtocolStringList getWritersList() { writers_.makeImmutable(); return writers_; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of writers. */ public int getWritersCount() { return writers_.size(); } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The writers at the given index. */ @@ -852,31 +946,37 @@ public java.lang.String getWriters(int index) { return writers_.get(index); } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - public com.google.protobuf.ByteString - getWritersBytes(int index) { + public com.google.protobuf.ByteString getWritersBytes(int index) { return writers_.getByteString(index); } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The writers to set. * @return This builder for chaining. */ - public Builder setWriters( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriters(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWritersIsMutable(); writers_.set(index, value); bitField0_ |= 0x00000002; @@ -884,17 +984,21 @@ public Builder setWriters( return this; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The writers to add. * @return This builder for chaining. */ - public Builder addWriters( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWriters(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWritersIsMutable(); writers_.add(value); bitField0_ |= 0x00000002; @@ -902,50 +1006,58 @@ public Builder addWriters( return this; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The writers to add. * @return This builder for chaining. */ - public Builder addAllWriters( - java.lang.Iterable values) { + public Builder addAllWriters(java.lang.Iterable values) { ensureWritersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, writers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writers_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWriters() { - writers_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + writers_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. The set of principals to be granted writer role on the resource.
      * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the writers to add. * @return This builder for chaining. */ - public Builder addWritersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWritersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureWritersIsMutable(); writers_.add(value); @@ -956,6 +1068,7 @@ public Builder addWritersBytes( private com.google.protobuf.LazyStringArrayList owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureOwnersIsMutable() { if (!owners_.isModifiable()) { owners_ = new com.google.protobuf.LazyStringArrayList(owners_); @@ -963,35 +1076,43 @@ private void ensureOwnersIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the owners. */ - public com.google.protobuf.ProtocolStringList - getOwnersList() { + public com.google.protobuf.ProtocolStringList getOwnersList() { owners_.makeImmutable(); return owners_; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of owners. */ public int getOwnersCount() { return owners_.size(); } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The owners at the given index. */ @@ -999,31 +1120,37 @@ public java.lang.String getOwners(int index) { return owners_.get(index); } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - public com.google.protobuf.ByteString - getOwnersBytes(int index) { + public com.google.protobuf.ByteString getOwnersBytes(int index) { return owners_.getByteString(index); } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The owners to set. * @return This builder for chaining. */ - public Builder setOwners( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOwners(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureOwnersIsMutable(); owners_.set(index, value); bitField0_ |= 0x00000004; @@ -1031,17 +1158,21 @@ public Builder setOwners( return this; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The owners to add. * @return This builder for chaining. */ - public Builder addOwners( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addOwners(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureOwnersIsMutable(); owners_.add(value); bitField0_ |= 0x00000004; @@ -1049,50 +1180,58 @@ public Builder addOwners( return this; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The owners to add. * @return This builder for chaining. */ - public Builder addAllOwners( - java.lang.Iterable values) { + public Builder addAllOwners(java.lang.Iterable values) { ensureOwnersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, owners_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, owners_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOwners() { - owners_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. The set of principals to be granted owner role on the resource.
      * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the owners to add. * @return This builder for chaining. */ - public Builder addOwnersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addOwnersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureOwnersIsMutable(); owners_.add(value); @@ -1100,9 +1239,9 @@ public Builder addOwnersBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ResourceAccessSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ResourceAccessSpec) private static final com.google.cloud.dataplex.v1.ResourceAccessSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ResourceAccessSpec(); } @@ -1126,27 +1265,27 @@ public static com.google.cloud.dataplex.v1.ResourceAccessSpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceAccessSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceAccessSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,6 +1300,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ResourceAccessSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java similarity index 78% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java index c14ec3192418..3bcb9bd52428 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourceAccessSpecOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/security.proto package com.google.cloud.dataplex.v1; -public interface ResourceAccessSpecOrBuilder extends +public interface ResourceAccessSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ResourceAccessSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -15,11 +33,13 @@ public interface ResourceAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the readers. */ - java.util.List - getReadersList(); + java.util.List getReadersList(); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -27,10 +47,13 @@ public interface ResourceAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of readers. */ int getReadersCount(); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -38,11 +61,14 @@ public interface ResourceAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The readers at the given index. */ java.lang.String getReaders(int index); /** + * + * *
    * Optional. The format of strings follows the pattern followed by IAM in the
    * bindings. user:{email}, serviceAccount:{email} group:{email}.
@@ -50,91 +76,111 @@ public interface ResourceAccessSpecOrBuilder extends
    * 
* * repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the readers at the given index. */ - com.google.protobuf.ByteString - getReadersBytes(int index); + com.google.protobuf.ByteString getReadersBytes(int index); /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the writers. */ - java.util.List - getWritersList(); + java.util.List getWritersList(); /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of writers. */ int getWritersCount(); /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The writers at the given index. */ java.lang.String getWriters(int index); /** + * + * *
    * Optional. The set of principals to be granted writer role on the resource.
    * 
* * repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the writers at the given index. */ - com.google.protobuf.ByteString - getWritersBytes(int index); + com.google.protobuf.ByteString getWritersBytes(int index); /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the owners. */ - java.util.List - getOwnersList(); + java.util.List getOwnersList(); /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of owners. */ int getOwnersCount(); /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The owners at the given index. */ java.lang.String getOwners(int index); /** + * + * *
    * Optional. The set of principals to be granted owner role on the resource.
    * 
* * repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the owners at the given index. */ - com.google.protobuf.ByteString - getOwnersBytes(int index); + com.google.protobuf.ByteString getOwnersBytes(int index); } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java new file mode 100644 index 000000000000..5530c85e9495 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java @@ -0,0 +1,690 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/resources.proto + +package com.google.cloud.dataplex.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/dataplex/v1/resources.pro" + + "to\022\030google.cloud.dataplex.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\207\010\n\004La" + + "ke\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.goog" + + "leapis.com/Lake\022\032\n\014display_name\030\002 \001(\tB\004\342" + + "A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google.cl" + + "oud.dataplex.v1.Lake.LabelsEntryB\004\342A\001\001\022\031" + + "\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001(\016" + + "2\037.google.cloud.dataplex.v1.StateB\004\342A\001\003\022" + + "\035\n\017service_account\030\t \001(\tB\004\342A\001\003\022A\n\tmetast" + + "ore\030f \001(\0132(.google.cloud.dataplex.v1.Lak" + + "e.MetastoreB\004\342A\001\001\022A\n\014asset_status\030g \001(\0132" + + "%.google.cloud.dataplex.v1.AssetStatusB\004" + + "\342A\001\003\022N\n\020metastore_status\030h \001(\0132..google." + + "cloud.dataplex.v1.Lake.MetastoreStatusB\004" + + "\342A\001\003\032\"\n\tMetastore\022\025\n\007service\030\001 \001(\tB\004\342A\001\001" + + "\032\370\001\n\017MetastoreStatus\022C\n\005state\030\001 \001(\01624.go" + + "ogle.cloud.dataplex.v1.Lake.MetastoreSta" + + "tus.State\022\017\n\007message\030\002 \001(\t\022/\n\013update_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022\020\n\010e" + + "ndpoint\030\004 \001(\t\"L\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\010\n\004NONE\020\001\022\t\n\005READY\020\002\022\014\n\010UPDATING\020\003" + + "\022\t\n\005ERROR\020\004\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001:W\352AT\n\034dataplex.google" + + "apis.com/Lake\0224projects/{project}/locati" + + "ons/{location}/lakes/{lake}\"~\n\013AssetStat" + + "us\022/\n\013update_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022\025\n\ractive_assets\030\002 \001(\005\022\'\n\037se" + + "curity_policy_applying_assets\030\003 \001(\005\"\211\014\n\004" + + "Zone\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.go" + + "ogleapis.com/Zone\022\032\n\014display_name\030\002 \001(\tB" + + "\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google." + + "cloud.dataplex.v1.Zone.LabelsEntryB\004\342A\001\001" + + "\022\031\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001" + + "(\0162\037.google.cloud.dataplex.v1.StateB\004\342A\001" + + "\003\0228\n\004type\030\t \001(\0162#.google.cloud.dataplex." + + "v1.Zone.TypeB\005\342A\002\002\005\022J\n\016discovery_spec\030g " + + "\001(\0132,.google.cloud.dataplex.v1.Zone.Disc" + + "overySpecB\004\342A\001\001\022H\n\rresource_spec\030h \001(\0132+" + + ".google.cloud.dataplex.v1.Zone.ResourceS" + + "pecB\004\342A\001\002\022A\n\014asset_status\030i \001(\0132%.google" + + ".cloud.dataplex.v1.AssetStatusB\004\342A\001\003\032\272\001\n" + + "\014ResourceSpec\022V\n\rlocation_type\030\001 \001(\01628.g" + + "oogle.cloud.dataplex.v1.Zone.ResourceSpe" + + "c.LocationTypeB\005\342A\002\002\005\"R\n\014LocationType\022\035\n" + + "\031LOCATION_TYPE_UNSPECIFIED\020\000\022\021\n\rSINGLE_R" + + "EGION\020\001\022\020\n\014MULTI_REGION\020\002\032\202\004\n\rDiscoveryS" + + "pec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\002\022\036\n\020include_pa" + + "tterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patterns\030\003" + + " \003(\tB\004\342A\001\001\022R\n\013csv_options\030\004 \001(\01327.google" + + ".cloud.dataplex.v1.Zone.DiscoverySpec.Cs" + + "vOptionsB\004\342A\001\001\022T\n\014json_options\030\005 \001(\01328.g" + + "oogle.cloud.dataplex.v1.Zone.DiscoverySp" + + "ec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule\030\n \001(\tB\004" + + "\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_rows\030\001 \001(" + + "\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001\022\026\n\010enco" + + "ding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type_inferen" + + "ce\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n\010encodin" + + "g\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_inference\030" + + "\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"2\n\004Type\022\024\n" + + "\020TYPE_UNSPECIFIED\020\000\022\007\n\003RAW\020\001\022\013\n\007CURATED\020" + + "\002:d\352Aa\n\034dataplex.googleapis.com/Zone\022Apr" + + "ojects/{project}/locations/{location}/la" + + "kes/{lake}/zones/{zone}\"\257\021\n\006Action\022;\n\010ca" + + "tegory\030\001 \001(\0162).google.cloud.dataplex.v1." + + "Action.Category\022\r\n\005issue\030\002 \001(\t\022/\n\013detect" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + + "5\n\004name\030\005 \001(\tB\'\342A\001\003\372A \n\036dataplex.googlea" + + "pis.com/Action\0223\n\004lake\030\006 \001(\tB%\342A\001\003\372A\036\n\034d" + + "ataplex.googleapis.com/Lake\0223\n\004zone\030\007 \001(" + + "\tB%\342A\001\003\372A\036\n\034dataplex.googleapis.com/Zone" + + "\0225\n\005asset\030\010 \001(\tB&\342A\001\003\372A\037\n\035dataplex.googl" + + "eapis.com/Asset\022\026\n\016data_locations\030\t \003(\t\022" + + "Q\n\023invalid_data_format\030\n \001(\01322.google.cl" + + "oud.dataplex.v1.Action.InvalidDataFormat" + + "H\000\022[\n\030incompatible_data_schema\030\013 \001(\01327.g" + + "oogle.cloud.dataplex.v1.Action.Incompati" + + "bleDataSchemaH\000\022W\n\026invalid_data_partitio" + + "n\030\014 \001(\01325.google.cloud.dataplex.v1.Actio" + + "n.InvalidDataPartitionH\000\022D\n\014missing_data" + + "\030\r \001(\0132,.google.cloud.dataplex.v1.Action" + + ".MissingDataH\000\022L\n\020missing_resource\030\016 \001(\013" + + "20.google.cloud.dataplex.v1.Action.Missi" + + "ngResourceH\000\022V\n\025unauthorized_resource\030\017 " + + "\001(\01325.google.cloud.dataplex.v1.Action.Un" + + "authorizedResourceH\000\022b\n\034failed_security_" + + "policy_apply\030\025 \001(\0132:.google.cloud.datapl" + + "ex.v1.Action.FailedSecurityPolicyApplyH\000" + + "\022]\n\031invalid_data_organization\030\026 \001(\01328.go" + + "ogle.cloud.dataplex.v1.Action.InvalidDat" + + "aOrganizationH\000\032\021\n\017MissingResource\032\026\n\024Un" + + "authorizedResource\032*\n\031FailedSecurityPoli" + + "cyApply\022\r\n\005asset\030\001 \001(\t\032`\n\021InvalidDataFor" + + "mat\022\036\n\026sampled_data_locations\030\001 \003(\t\022\027\n\017e" + + "xpected_format\030\002 \001(\t\022\022\n\nnew_format\030\003 \001(\t" + + "\032\240\002\n\026IncompatibleDataSchema\022\r\n\005table\030\001 \001" + + "(\t\022\027\n\017existing_schema\030\002 \001(\t\022\022\n\nnew_schem" + + "a\030\003 \001(\t\022\036\n\026sampled_data_locations\030\004 \003(\t\022" + + "[\n\rschema_change\030\005 \001(\0162D.google.cloud.da" + + "taplex.v1.Action.IncompatibleDataSchema." + + "SchemaChange\"M\n\014SchemaChange\022\035\n\031SCHEMA_C" + + "HANGE_UNSPECIFIED\020\000\022\020\n\014INCOMPATIBLE\020\001\022\014\n" + + "\010MODIFIED\020\002\032\341\001\n\024InvalidDataPartition\022d\n\022" + + "expected_structure\030\001 \001(\0162H.google.cloud." + + "dataplex.v1.Action.InvalidDataPartition." + + "PartitionStructure\"c\n\022PartitionStructure" + + "\022#\n\037PARTITION_STRUCTURE_UNSPECIFIED\020\000\022\023\n" + + "\017CONSISTENT_KEYS\020\001\022\023\n\017HIVE_STYLE_KEYS\020\002\032" + + "\r\n\013MissingData\032\031\n\027InvalidDataOrganizatio" + + "n\"f\n\010Category\022\030\n\024CATEGORY_UNSPECIFIED\020\000\022" + + "\027\n\023RESOURCE_MANAGEMENT\020\001\022\023\n\017SECURITY_POL" + + "ICY\020\002\022\022\n\016DATA_DISCOVERY\020\003:\242\002\352A\236\002\n\036datapl" + + "ex.googleapis.com/Action\022Eprojects/{proj" + + "ect}/locations/{location}/lakes/{lake}/a" + + "ctions/{action}\022Rprojects/{project}/loca" + + "tions/{location}/lakes/{lake}/zones/{zon" + + "e}/actions/{action}\022aprojects/{project}/" + + "locations/{location}/lakes/{lake}/zones/" + + "{zone}/assets/{asset}/actions/{action}B\t" + + "\n\007details\"\277\025\n\005Asset\0224\n\004name\030\001 \001(\tB&\342A\001\003\372" + + "A\037\n\035dataplex.googleapis.com/Asset\022\032\n\014dis" + + "play_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003" + + "\0225\n\013create_time\030\004 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels" + + "\030\006 \003(\0132+.google.cloud.dataplex.v1.Asset." + + "LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\tB\004" + + "\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.datap" + + "lex.v1.StateB\004\342A\001\003\022I\n\rresource_spec\030d \001(" + + "\0132,.google.cloud.dataplex.v1.Asset.Resou" + + "rceSpecB\004\342A\001\002\022M\n\017resource_status\030e \001(\0132." + + ".google.cloud.dataplex.v1.Asset.Resource" + + "StatusB\004\342A\001\003\022M\n\017security_status\030g \001(\0132.." + + "google.cloud.dataplex.v1.Asset.SecurityS" + + "tatusB\004\342A\001\003\022K\n\016discovery_spec\030j \001(\0132-.go" + + "ogle.cloud.dataplex.v1.Asset.DiscoverySp" + + "ecB\004\342A\001\001\022O\n\020discovery_status\030k \001(\0132/.goo" + + "gle.cloud.dataplex.v1.Asset.DiscoverySta" + + "tusB\004\342A\001\003\032\333\001\n\016SecurityStatus\022C\n\005state\030\001 " + + "\001(\01624.google.cloud.dataplex.v1.Asset.Sec" + + "urityStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\"B\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005R" + + "EADY\020\001\022\014\n\010APPLYING\020\002\022\t\n\005ERROR\020\003\032\204\004\n\rDisc" + + "overySpec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\001\022\036\n\020incl" + + "ude_patterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patt" + + "erns\030\003 \003(\tB\004\342A\001\001\022S\n\013csv_options\030\004 \001(\01328." + + "google.cloud.dataplex.v1.Asset.Discovery" + + "Spec.CsvOptionsB\004\342A\001\001\022U\n\014json_options\030\005 " + + "\001(\01329.google.cloud.dataplex.v1.Asset.Dis" + + "coverySpec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule" + + "\030\n \001(\tB\004\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_r" + + "ows\030\001 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001" + + "\022\026\n\010encoding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type" + + "_inference\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n" + + "\010encoding\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_in" + + "ference\030\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032\317\002\n\014Resou" + + "rceSpec\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022F\n\004type\030\002 \001(" + + "\01621.google.cloud.dataplex.v1.Asset.Resou" + + "rceSpec.TypeB\005\342A\002\002\005\022W\n\020read_access_mode\030" + + "\005 \001(\01627.google.cloud.dataplex.v1.Asset.R" + + "esourceSpec.AccessModeB\004\342A\001\001\"F\n\004Type\022\024\n\020" + + "TYPE_UNSPECIFIED\020\000\022\022\n\016STORAGE_BUCKET\020\001\022\024" + + "\n\020BIGQUERY_DATASET\020\002\"B\n\nAccessMode\022\033\n\027AC" + + "CESS_MODE_UNSPECIFIED\020\000\022\n\n\006DIRECT\020\001\022\013\n\007M" + + "ANAGED\020\002\032\364\001\n\016ResourceStatus\022C\n\005state\030\001 \001" + + "(\01624.google.cloud.dataplex.v1.Asset.Reso" + + "urceStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013upd" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022%\n\027managed_access_identity\030\004 \001(\tB\004\342A\001" + + "\003\"4\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005REA" + + "DY\020\001\022\t\n\005ERROR\020\002\032\364\003\n\017DiscoveryStatus\022D\n\005s" + + "tate\030\001 \001(\01625.google.cloud.dataplex.v1.As" + + "set.DiscoveryStatus.State\022\017\n\007message\030\002 \001" + + "(\t\022/\n\013update_time\030\003 \001(\0132\032.google.protobu" + + "f.Timestamp\0221\n\rlast_run_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022D\n\005stats\030\006 \001(\01325." + + "google.cloud.dataplex.v1.Asset.Discovery" + + "Status.Stats\0224\n\021last_run_duration\030\007 \001(\0132" + + "\031.google.protobuf.Duration\032P\n\005Stats\022\022\n\nd" + + "ata_items\030\001 \001(\003\022\021\n\tdata_size\030\002 \001(\003\022\016\n\006ta" + + "bles\030\003 \001(\003\022\020\n\010filesets\030\004 \001(\003\"X\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\017\n\013I" + + "N_PROGRESS\020\002\022\n\n\006PAUSED\020\003\022\014\n\010DISABLED\020\005\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001:t\352Aq\n\035dataplex.googleapis.com/Asse" + + "t\022Pprojects/{project}/locations/{locatio" + + "n}/lakes/{lake}/zones/{zone}/assets/{ass" + + "et}*[\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" + + "CTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010DELETING\020\003\022\023\n\017A" + + "CTION_REQUIRED\020\004Bj\n\034com.google.cloud.dat" + + "aplex.v1B\016ResourcesProtoP\001Z8cloud.google" + + ".com/go/dataplex/apiv1/dataplexpb;datapl" + + "expbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Lake_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "State", + "ServiceAccount", + "Metastore", + "AssetStatus", + "MetastoreStatus", + }); + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor, + new java.lang.String[] { + "Service", + }); + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor, + new java.lang.String[] { + "State", "Message", "UpdateTime", "Endpoint", + }); + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor, + new java.lang.String[] { + "UpdateTime", "ActiveAssets", "SecurityPolicyApplyingAssets", + }); + internal_static_google_cloud_dataplex_v1_Zone_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "State", + "Type", + "DiscoverySpec", + "ResourceSpec", + "AssetStatus", + }); + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor, + new java.lang.String[] { + "LocationType", + }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor, + new java.lang.String[] { + "Enabled", + "IncludePatterns", + "ExcludePatterns", + "CsvOptions", + "JsonOptions", + "Schedule", + "Trigger", + }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor, + new java.lang.String[] { + "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", + }); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor, + new java.lang.String[] { + "Encoding", "DisableTypeInference", + }); + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Action_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_descriptor, + new java.lang.String[] { + "Category", + "Issue", + "DetectTime", + "Name", + "Lake", + "Zone", + "Asset", + "DataLocations", + "InvalidDataFormat", + "IncompatibleDataSchema", + "InvalidDataPartition", + "MissingData", + "MissingResource", + "UnauthorizedResource", + "FailedSecurityPolicyApply", + "InvalidDataOrganization", + "Details", + }); + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor, + new java.lang.String[] { + "Asset", + }); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor, + new java.lang.String[] { + "SampledDataLocations", "ExpectedFormat", "NewFormat", + }); + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor, + new java.lang.String[] { + "Table", "ExistingSchema", "NewSchema", "SampledDataLocations", "SchemaChange", + }); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor, + new java.lang.String[] { + "ExpectedStructure", + }); + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor = + internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataplex_v1_Asset_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "State", + "ResourceSpec", + "ResourceStatus", + "SecurityStatus", + "DiscoverySpec", + "DiscoveryStatus", + }); + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor, + new java.lang.String[] { + "State", "Message", "UpdateTime", + }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor, + new java.lang.String[] { + "Enabled", + "IncludePatterns", + "ExcludePatterns", + "CsvOptions", + "JsonOptions", + "Schedule", + "Trigger", + }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor, + new java.lang.String[] { + "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", + }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor, + new java.lang.String[] { + "Encoding", "DisableTypeInference", + }); + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor, + new java.lang.String[] { + "Name", "Type", "ReadAccessMode", + }); + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor, + new java.lang.String[] { + "State", "Message", "UpdateTime", "ManagedAccessIdentity", + }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor, + new java.lang.String[] { + "State", "Message", "UpdateTime", "LastRunTime", "Stats", "LastRunDuration", + }); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor, + new java.lang.String[] { + "DataItems", "DataSize", "Tables", "Filesets", + }); + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java index 2296f87034ee..95aba55bc6bc 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Run DataScan Request
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanRequest} */ -public final class RunDataScanRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunDataScanRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunDataScanRequest) RunDataScanRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunDataScanRequest.newBuilder() to construct. private RunDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunDataScanRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanRequest.class, com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanRequest.class, + com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * Only **OnDemand** data scans are allowed.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -82,17 +108,18 @@ public java.lang.String getName() {
    * Only **OnDemand** data scans are allowed.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunDataScanRequest other = (com.google.cloud.dataplex.v1.RunDataScanRequest) obj; + com.google.cloud.dataplex.v1.RunDataScanRequest other = + (com.google.cloud.dataplex.v1.RunDataScanRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,132 +191,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunDataScanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.RunDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Run DataScan Request
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunDataScanRequest) com.google.cloud.dataplex.v1.RunDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanRequest.class, com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanRequest.class, + com.google.cloud.dataplex.v1.RunDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunDataScanRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -299,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; } @java.lang.Override @@ -320,8 +351,11 @@ public com.google.cloud.dataplex.v1.RunDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.RunDataScanRequest result = new com.google.cloud.dataplex.v1.RunDataScanRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.RunDataScanRequest result = + new com.google.cloud.dataplex.v1.RunDataScanRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -337,38 +371,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanRequest) other); } else { super.mergeFrom(other); return this; @@ -376,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.RunDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -408,17 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -428,10 +466,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -441,14 +482,16 @@ public Builder mergeFrom(
      * Only **OnDemand** data scans are allowed.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -457,6 +500,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -466,16 +511,17 @@ public java.lang.String getName() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -483,6 +529,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -492,19 +540,25 @@ public java.lang.String getName() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -514,7 +568,10 @@ public Builder setName(
      * Only **OnDemand** data scans are allowed.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -524,6 +581,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the DataScan:
      * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -533,22 +592,26 @@ public Builder clearName() {
      * Only **OnDemand** data scans are allowed.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -558,12 +621,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunDataScanRequest) private static final com.google.cloud.dataplex.v1.RunDataScanRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunDataScanRequest(); } @@ -572,27 +635,27 @@ public static com.google.cloud.dataplex.v1.RunDataScanRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -607,6 +670,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java index fc042b6bf1ab..98afca2f8d1d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface RunDataScanRequestOrBuilder extends +public interface RunDataScanRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunDataScanRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -17,11 +35,16 @@ public interface RunDataScanRequestOrBuilder extends
    * Only **OnDemand** data scans are allowed.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the DataScan:
    * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
@@ -31,9 +54,11 @@ public interface RunDataScanRequestOrBuilder extends
    * Only **OnDemand** data scans are allowed.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java index 985ceb02dfd1..89d4f146c32b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Run DataScan Response.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanResponse} */ -public final class RunDataScanResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunDataScanResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunDataScanResponse) RunDataScanResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunDataScanResponse.newBuilder() to construct. private RunDataScanResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunDataScanResponse() { - } + + private RunDataScanResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunDataScanResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanResponse.class, com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanResponse.class, + com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataScanJob job_; /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -57,11 +78,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return The job. */ @java.lang.Override @@ -69,6 +93,8 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { return job_ == null ? com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; } /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
@@ -81,6 +107,7 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,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 { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -107,8 +133,7 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +143,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunDataScanResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunDataScanResponse other = (com.google.cloud.dataplex.v1.RunDataScanResponse) obj; + com.google.cloud.dataplex.v1.RunDataScanResponse other = + (com.google.cloud.dataplex.v1.RunDataScanResponse) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,132 +175,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunDataScanResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunDataScanResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.RunDataScanResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Run DataScan Response.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.RunDataScanResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunDataScanResponse) com.google.cloud.dataplex.v1.RunDataScanResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunDataScanResponse.class, com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); + com.google.cloud.dataplex.v1.RunDataScanResponse.class, + com.google.cloud.dataplex.v1.RunDataScanResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunDataScanResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; } @java.lang.Override @@ -310,8 +339,11 @@ public com.google.cloud.dataplex.v1.RunDataScanResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunDataScanResponse buildPartial() { - com.google.cloud.dataplex.v1.RunDataScanResponse result = new com.google.cloud.dataplex.v1.RunDataScanResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.RunDataScanResponse result = + new com.google.cloud.dataplex.v1.RunDataScanResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +351,7 @@ public com.google.cloud.dataplex.v1.RunDataScanResponse buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.job_ = jobBuilder_ == null - ? job_ - : jobBuilder_.build(); + result.job_ = jobBuilder_ == null ? job_ : jobBuilder_.build(); } } @@ -329,38 +359,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunDataScanResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunDataScanResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.RunDataScanResponse) other); } else { super.mergeFrom(other); return this; @@ -368,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.RunDataScanResponse other) { - if (other == com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -398,19 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,28 +452,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.dataplex.v1.DataScanJob job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> jobBuilder_; + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + jobBuilder_; /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return The job. */ public com.google.cloud.dataplex.v1.DataScanJob getJob() { @@ -452,6 +494,8 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { } } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -472,14 +516,15 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; */ - public Builder setJob( - com.google.cloud.dataplex.v1.DataScanJob.Builder builderForValue) { + public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); } else { @@ -490,6 +535,8 @@ public Builder setJob( return this; } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -498,9 +545,9 @@ public Builder setJob( */ public Builder mergeJob(com.google.cloud.dataplex.v1.DataScanJob value) { if (jobBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - job_ != null && - job_ != com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && job_ != null + && job_ != com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance()) { getJobBuilder().mergeFrom(value); } else { job_ = value; @@ -513,6 +560,8 @@ public Builder mergeJob(com.google.cloud.dataplex.v1.DataScanJob value) { return this; } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -530,6 +579,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -542,6 +593,8 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -552,11 +605,12 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance() : job_; } } /** + * + * *
      * DataScanJob created by RunDataScan request.
      * 
@@ -564,21 +618,24 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { * .google.cloud.dataplex.v1.DataScanJob job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder> + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScanJob, com.google.cloud.dataplex.v1.DataScanJob.Builder, com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScanJob, + com.google.cloud.dataplex.v1.DataScanJob.Builder, + com.google.cloud.dataplex.v1.DataScanJobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +645,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunDataScanResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunDataScanResponse) private static final com.google.cloud.dataplex.v1.RunDataScanResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunDataScanResponse(); } @@ -602,27 +659,27 @@ public static com.google.cloud.dataplex.v1.RunDataScanResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunDataScanResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunDataScanResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,6 +694,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunDataScanResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java index b680420617da..242b218b4f48 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface RunDataScanResponseOrBuilder extends +public interface RunDataScanResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunDataScanResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
* * .google.cloud.dataplex.v1.DataScanJob job = 1; + * * @return The job. */ com.google.cloud.dataplex.v1.DataScanJob getJob(); /** + * + * *
    * DataScanJob created by RunDataScan request.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java index d8483e946eef..0cafcbe8dc62 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequest.java @@ -1,68 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -/** - * Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} - */ -public final class RunTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} */ +public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunTaskRequest) RunTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunTaskRequest.newBuilder() to construct. private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskRequest_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(); case 4: return internalGetArgs(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunTaskRequest.class, com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.RunTaskRequest.class, + com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -71,30 +91,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. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,32 +125,34 @@ public java.lang.String getName() { } 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.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -142,20 +166,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @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();
   }
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -173,6 +198,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -186,17 +213,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -210,11 +239,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @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();
     }
@@ -222,32 +251,34 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ARGS_FIELD_NUMBER = 4;
+
   private static final class ArgsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.dataplex.v1.ServiceProto
+                .internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> args_;
-  private com.google.protobuf.MapField
-  internalGetArgs() {
+  private com.google.protobuf.MapField args_;
+
+  private com.google.protobuf.MapField internalGetArgs() {
     if (args_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          ArgsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry);
     }
     return args_;
   }
+
   public int getArgsCount() {
     return internalGetArgs().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -261,20 +292,21 @@ public int getArgsCount() {
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsArgs(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsArgs(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetArgs().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getArgsMap()} instead.
-   */
+  /** Use {@link #getArgsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getArgs() {
     return getArgsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -292,6 +324,8 @@ public java.util.Map getArgsMap() {
     return internalGetArgs().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -305,17 +339,19 @@ public java.util.Map getArgsMap() {
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getArgsOrDefault(
+  public /* nullable */ java.lang.String getArgsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetArgs().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetArgs().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -329,11 +365,11 @@ java.lang.String getArgsOrDefault(
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getArgsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetArgs().getMap();
+  public java.lang.String getArgsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetArgs().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -341,6 +377,7 @@ public java.lang.String getArgsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -352,23 +389,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        3);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetArgs(),
-        ArgsDefaultEntryHolder.defaultEntry,
-        4);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetArgs(), ArgsDefaultEntryHolder.defaultEntry, 4);
     getUnknownFields().writeTo(output);
   }
 
@@ -381,25 +409,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    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
-         : internalGetArgs().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      args__ = ArgsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, args__);
+    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 :
+        internalGetArgs().getMap().entrySet()) {
+      com.google.protobuf.MapEntry args__ =
+          ArgsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -409,19 +437,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.dataplex.v1.RunTaskRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.dataplex.v1.RunTaskRequest other = (com.google.cloud.dataplex.v1.RunTaskRequest) obj;
+    com.google.cloud.dataplex.v1.RunTaskRequest other =
+        (com.google.cloud.dataplex.v1.RunTaskRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!internalGetArgs().equals(
-        other.internalGetArgs())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetArgs().equals(other.internalGetArgs())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -448,154 +474,152 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.dataplex.v1.RunTaskRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.dataplex.v1.RunTaskRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
-  /**
-   * Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest}
-   */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  /** Protobuf type {@code google.cloud.dataplex.v1.RunTaskRequest} */
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunTaskRequest)
       com.google.cloud.dataplex.v1.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ServiceProto
+          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_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();
         case 4:
           return internalGetArgs();
         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();
         case 4:
           return internalGetMutableArgs();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ServiceProto
+          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.RunTaskRequest.class, com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class);
+              com.google.cloud.dataplex.v1.RunTaskRequest.class,
+              com.google.cloud.dataplex.v1.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.RunTaskRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -607,9 +631,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ServiceProto
+          .internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -628,8 +652,11 @@ public com.google.cloud.dataplex.v1.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.RunTaskRequest buildPartial() {
-      com.google.cloud.dataplex.v1.RunTaskRequest result = new com.google.cloud.dataplex.v1.RunTaskRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.RunTaskRequest result =
+          new com.google.cloud.dataplex.v1.RunTaskRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -653,38 +680,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskRequest result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.dataplex.v1.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -698,11 +726,9 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.RunTaskRequest other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000002;
-      internalGetMutableArgs().mergeFrom(
-          other.internalGetArgs());
+      internalGetMutableArgs().mergeFrom(other.internalGetArgs());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -730,35 +756,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              args__ = input.readMessage(
-                  ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableArgs().getMutableMap().put(
-                  args__.getKey(), args__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry args__ =
+                    input.readMessage(
+                        ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutableArgs().getMutableMap().put(args__.getKey(), args__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,23 +799,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -793,21 +829,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -815,30 +854,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -848,18 +898,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the task:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -867,21 +923,19 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -890,10 +944,13 @@ public Builder setNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -907,20 +964,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @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();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -938,6 +996,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -951,17 +1011,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -975,23 +1037,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1004,23 +1068,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1033,17 +1096,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined labels for the task. If the map is left empty, the
      * task will run with existing labels from task definition. If the map
@@ -1056,29 +1122,25 @@ public Builder putLabels(
      *
      * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> args_;
-    private com.google.protobuf.MapField
-        internalGetArgs() {
+    private com.google.protobuf.MapField args_;
+
+    private com.google.protobuf.MapField internalGetArgs() {
       if (args_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            ArgsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry);
       }
       return args_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableArgs() {
       if (args_ == null) {
-        args_ = com.google.protobuf.MapField.newMapField(
-            ArgsDefaultEntryHolder.defaultEntry);
+        args_ = com.google.protobuf.MapField.newMapField(ArgsDefaultEntryHolder.defaultEntry);
       }
       if (!args_.isMutable()) {
         args_ = args_.copy();
@@ -1087,10 +1149,13 @@ public Builder putAllLabels(
       onChanged();
       return args_;
     }
+
     public int getArgsCount() {
       return internalGetArgs().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1104,20 +1169,21 @@ public int getArgsCount() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsArgs(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsArgs(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetArgs().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getArgsMap()} instead.
-     */
+    /** Use {@link #getArgsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getArgs() {
       return getArgsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1135,6 +1201,8 @@ public java.util.Map getArgsMap() {
       return internalGetArgs().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1148,17 +1216,19 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getArgsOrDefault(
+    public /* nullable */ java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetArgs().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetArgs().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1172,23 +1242,25 @@ java.lang.String getArgsOrDefault(
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getArgsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetArgs().getMap();
+    public java.lang.String getArgsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetArgs().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearArgs() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableArgs().getMutableMap()
-          .clear();
+      internalGetMutableArgs().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1201,23 +1273,22 @@ public Builder clearArgs() {
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeArgs(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableArgs().getMutableMap()
-          .remove(key);
+    public Builder removeArgs(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableArgs().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableArgs() {
+    public java.util.Map getMutableArgs() {
       bitField0_ |= 0x00000004;
       return internalGetMutableArgs().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1230,17 +1301,20 @@ public Builder removeArgs(
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putArgs(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableArgs().getMutableMap()
-          .put(key, value);
+    public Builder putArgs(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableArgs().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Execution spec arguments. If the map is left empty, the task will
      * run with existing execution spec args from task definition. If the map
@@ -1253,16 +1327,14 @@ public Builder putArgs(
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllArgs(
-        java.util.Map values) {
-      internalGetMutableArgs().getMutableMap()
-          .putAll(values);
+    public Builder putAllArgs(java.util.Map values) {
+      internalGetMutableArgs().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1272,12 +1344,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunTaskRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunTaskRequest)
   private static final com.google.cloud.dataplex.v1.RunTaskRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunTaskRequest();
   }
@@ -1286,27 +1358,27 @@ public static com.google.cloud.dataplex.v1.RunTaskRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunTaskRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunTaskRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1321,6 +1393,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.dataplex.v1.RunTaskRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
index a9b1e24a3a60..8d081df16956 100644
--- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
+++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskRequestOrBuilder.java
@@ -1,35 +1,62 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/service.proto
 
 package com.google.cloud.dataplex.v1;
 
-public interface RunTaskRequestOrBuilder extends
+public interface RunTaskRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunTaskRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the task:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -44,6 +71,8 @@ public interface RunTaskRequestOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -56,15 +85,13 @@ public interface RunTaskRequestOrBuilder extends
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  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();
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -77,9 +104,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -93,11 +121,13 @@ boolean containsLabels(
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. User-defined labels for the task. If the map is left empty, the
    * task will run with existing labels from task definition. If the map
@@ -110,10 +140,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -128,6 +159,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getArgsCount();
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -140,15 +173,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsArgs(
-      java.lang.String key);
-  /**
-   * Use {@link #getArgsMap()} instead.
-   */
+  boolean containsArgs(java.lang.String key);
+  /** Use {@link #getArgsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getArgs();
+  java.util.Map getArgs();
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -161,9 +192,10 @@ boolean containsArgs(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getArgsMap();
+  java.util.Map getArgsMap();
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -177,11 +209,13 @@ boolean containsArgs(
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getArgsOrDefault(
+  java.lang.String getArgsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. Execution spec arguments. If the map is left empty, the task will
    * run with existing execution spec args from task definition. If the map
@@ -194,6 +228,5 @@ java.lang.String getArgsOrDefault(
    *
    * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getArgsOrThrow(
-      java.lang.String key);
+  java.lang.String getArgsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
similarity index 65%
rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
index d8c82f470268..7746b4d02641 100644
--- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
+++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponse.java
@@ -1,51 +1,68 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/dataplex/v1/service.proto
 
 package com.google.cloud.dataplex.v1;
 
-/**
- * Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse}
- */
-public final class RunTaskResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+/** Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} */
+public final class RunTaskResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.RunTaskResponse)
     RunTaskResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskResponse.newBuilder() to construct.
   private RunTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RunTaskResponse() {
-  }
+
+  private RunTaskResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.ServiceProto
+        .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ServiceProto
+        .internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.RunTaskResponse.class, com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class);
+            com.google.cloud.dataplex.v1.RunTaskResponse.class,
+            com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class);
   }
 
   public static final int JOB_FIELD_NUMBER = 1;
   private com.google.cloud.dataplex.v1.Job job_;
   /**
+   *
+   *
    * 
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -53,11 +70,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -65,6 +85,8 @@ public com.google.cloud.dataplex.v1.Job getJob() { return job_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Jobs created by RunTask API.
    * 
@@ -77,6 +99,7 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -88,8 +111,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -103,8 +125,7 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -114,17 +135,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.RunTaskResponse)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.RunTaskResponse other = (com.google.cloud.dataplex.v1.RunTaskResponse) obj; + com.google.cloud.dataplex.v1.RunTaskResponse other = + (com.google.cloud.dataplex.v1.RunTaskResponse) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -146,128 +167,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.RunTaskResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.RunTaskResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.RunTaskResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.dataplex.v1.RunTaskResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.RunTaskResponse) com.google.cloud.dataplex.v1.RunTaskResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.RunTaskResponse.class, com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class); + com.google.cloud.dataplex.v1.RunTaskResponse.class, + com.google.cloud.dataplex.v1.RunTaskResponse.Builder.class); } // Construct using com.google.cloud.dataplex.v1.RunTaskResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -281,9 +302,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; } @java.lang.Override @@ -302,8 +323,11 @@ public com.google.cloud.dataplex.v1.RunTaskResponse build() { @java.lang.Override public com.google.cloud.dataplex.v1.RunTaskResponse buildPartial() { - com.google.cloud.dataplex.v1.RunTaskResponse result = new com.google.cloud.dataplex.v1.RunTaskResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.RunTaskResponse result = + new com.google.cloud.dataplex.v1.RunTaskResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -311,9 +335,7 @@ public com.google.cloud.dataplex.v1.RunTaskResponse buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.job_ = jobBuilder_ == null - ? job_ - : jobBuilder_.build(); + result.job_ = jobBuilder_ == null ? job_ : jobBuilder_.build(); } } @@ -321,38 +343,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.RunTaskResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.RunTaskResponse) { - return mergeFrom((com.google.cloud.dataplex.v1.RunTaskResponse)other); + return mergeFrom((com.google.cloud.dataplex.v1.RunTaskResponse) other); } else { super.mergeFrom(other); return this; @@ -390,19 +413,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,28 +435,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.dataplex.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> jobBuilder_; + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return The job. */ public com.google.cloud.dataplex.v1.Job getJob() { @@ -444,6 +477,8 @@ public com.google.cloud.dataplex.v1.Job getJob() { } } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -464,14 +499,15 @@ public Builder setJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** + * + * *
      * Jobs created by RunTask API.
      * 
* * .google.cloud.dataplex.v1.Job job = 1; */ - public Builder setJob( - com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); } else { @@ -482,6 +518,8 @@ public Builder setJob( return this; } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -490,9 +528,9 @@ public Builder setJob( */ public Builder mergeJob(com.google.cloud.dataplex.v1.Job value) { if (jobBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - job_ != null && - job_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && job_ != null + && job_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { getJobBuilder().mergeFrom(value); } else { job_ = value; @@ -505,6 +543,8 @@ public Builder mergeJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -522,6 +562,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -534,6 +576,8 @@ public com.google.cloud.dataplex.v1.Job.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -544,11 +588,12 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Jobs created by RunTask API.
      * 
@@ -556,21 +601,24 @@ public com.google.cloud.dataplex.v1.JobOrBuilder getJobOrBuilder() { * .google.cloud.dataplex.v1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +628,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.RunTaskResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.RunTaskResponse) private static final com.google.cloud.dataplex.v1.RunTaskResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.RunTaskResponse(); } @@ -594,27 +642,27 @@ public static com.google.cloud.dataplex.v1.RunTaskResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,6 +677,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.RunTaskResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java index f713a5ee702a..159622b240f3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunTaskResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface RunTaskResponseOrBuilder extends +public interface RunTaskResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.RunTaskResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Jobs created by RunTask API.
    * 
* * .google.cloud.dataplex.v1.Job job = 1; + * * @return The job. */ com.google.cloud.dataplex.v1.Job getJob(); /** + * + * *
    * Jobs created by RunTask API.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java index fbda9a2f1fc4..9e4cfff68d50 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedData.java @@ -1,129 +1,166 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * The data scanned during processing (e.g. in incremental DataScan)
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData} */ -public final class ScannedData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ScannedData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ScannedData) ScannedDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ScannedData.newBuilder() to construct. private ScannedData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ScannedData() { - } + + private ScannedData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ScannedData(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.class, com.google.cloud.dataplex.v1.ScannedData.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.class, + com.google.cloud.dataplex.v1.ScannedData.Builder.class); } - public interface IncrementalFieldOrBuilder extends + public interface IncrementalFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ScannedData.IncrementalField) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; + * * @return The field. */ java.lang.String getField(); /** + * + * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; + * * @return The bytes for field. */ - com.google.protobuf.ByteString - getFieldBytes(); + com.google.protobuf.ByteString getFieldBytes(); /** + * + * *
      * Value that marks the start of the range.
      * 
* * string start = 2; + * * @return The start. */ java.lang.String getStart(); /** + * + * *
      * Value that marks the start of the range.
      * 
* * string start = 2; + * * @return The bytes for start. */ - com.google.protobuf.ByteString - getStartBytes(); + com.google.protobuf.ByteString getStartBytes(); /** + * + * *
      * Value that marks the end of the range.
      * 
* * string end = 3; + * * @return The end. */ java.lang.String getEnd(); /** + * + * *
      * Value that marks the end of the range.
      * 
* * string end = 3; + * * @return The bytes for end. */ - com.google.protobuf.ByteString - getEndBytes(); + com.google.protobuf.ByteString getEndBytes(); } /** + * + * *
    * A data range denoted by a pair of start/end values of a field.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData.IncrementalField} */ - public static final class IncrementalField extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IncrementalField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.ScannedData.IncrementalField) IncrementalFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncrementalField.newBuilder() to construct. private IncrementalField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IncrementalField() { field_ = ""; start_ = ""; @@ -132,34 +169,39 @@ private IncrementalField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IncrementalField(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object field_ = ""; /** + * + * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; + * * @return The field. */ @java.lang.Override @@ -168,30 +210,30 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** + * + * *
      * The field that contains values which monotonically increases over time
      * (e.g. a timestamp column).
      * 
* * string field = 1; + * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -200,14 +242,18 @@ public java.lang.String getField() { } public static final int START_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object start_ = ""; /** + * + * *
      * Value that marks the start of the range.
      * 
* * string start = 2; + * * @return The start. */ @java.lang.Override @@ -216,29 +262,29 @@ public java.lang.String getStart() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); start_ = s; return s; } } /** + * + * *
      * Value that marks the start of the range.
      * 
* * string start = 2; + * * @return The bytes for start. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartBytes() { + public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); start_ = b; return b; } else { @@ -247,14 +293,18 @@ public java.lang.String getStart() { } public static final int END_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object end_ = ""; /** + * + * *
      * Value that marks the end of the range.
      * 
* * string end = 3; + * * @return The end. */ @java.lang.Override @@ -263,29 +313,29 @@ public java.lang.String getEnd() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); end_ = s; return s; } } /** + * + * *
      * Value that marks the end of the range.
      * 
* * string end = 3; + * * @return The bytes for end. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndBytes() { + public com.google.protobuf.ByteString getEndBytes() { java.lang.Object ref = end_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); end_ = b; return b; } else { @@ -294,6 +344,7 @@ public java.lang.String getEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,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(field_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_); } @@ -342,19 +392,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ScannedData.IncrementalField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.ScannedData.IncrementalField other = (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) obj; + com.google.cloud.dataplex.v1.ScannedData.IncrementalField other = + (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) obj; - if (!getField() - .equals(other.getField())) return false; - if (!getStart() - .equals(other.getStart())) return false; - if (!getEnd() - .equals(other.getEnd())) return false; + if (!getField().equals(other.getField())) return false; + if (!getStart().equals(other.getStart())) return false; + if (!getEnd().equals(other.getEnd())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,89 +426,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.ScannedData.IncrementalField prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.ScannedData.IncrementalField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -470,39 +523,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A data range denoted by a pair of start/end values of a field.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData.IncrementalField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ScannedData.IncrementalField) com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.class, + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor; } @java.lang.Override @@ -535,8 +590,11 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField build() { @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData.IncrementalField buildPartial() { - com.google.cloud.dataplex.v1.ScannedData.IncrementalField result = new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ScannedData.IncrementalField result = + new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,38 +616,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ScannedData.IncrementalF public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ScannedData.IncrementalField) { - return mergeFrom((com.google.cloud.dataplex.v1.ScannedData.IncrementalField)other); + return mergeFrom((com.google.cloud.dataplex.v1.ScannedData.IncrementalField) other); } else { super.mergeFrom(other); return this; @@ -597,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.ScannedData.IncrementalField other) { - if (other == com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) + return this; if (!other.getField().isEmpty()) { field_ = other.field_; bitField0_ |= 0x00000001; @@ -639,27 +701,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - field_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - start_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - end_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + field_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + start_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + end_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,23 +735,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object field_ = ""; /** + * + * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; + * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -694,21 +763,22 @@ public java.lang.String getField() { } } /** + * + * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; + * * @return The bytes for field. */ - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -716,30 +786,37 @@ public java.lang.String getField() { } } /** + * + * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; + * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } field_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; + * * @return This builder for chaining. */ public Builder clearField() { @@ -749,18 +826,22 @@ public Builder clearField() { return this; } /** + * + * *
        * The field that contains values which monotonically increases over time
        * (e.g. a timestamp column).
        * 
* * string field = 1; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000001; @@ -770,18 +851,20 @@ public Builder setFieldBytes( private java.lang.Object start_ = ""; /** + * + * *
        * Value that marks the start of the range.
        * 
* * string start = 2; + * * @return The start. */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); start_ = s; return s; @@ -790,20 +873,21 @@ public java.lang.String getStart() { } } /** + * + * *
        * Value that marks the start of the range.
        * 
* * string start = 2; + * * @return The bytes for start. */ - public com.google.protobuf.ByteString - getStartBytes() { + public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); start_ = b; return b; } else { @@ -811,28 +895,35 @@ public java.lang.String getStart() { } } /** + * + * *
        * Value that marks the start of the range.
        * 
* * string start = 2; + * * @param value The start to set. * @return This builder for chaining. */ - public Builder setStart( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStart(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } start_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Value that marks the start of the range.
        * 
* * string start = 2; + * * @return This builder for chaining. */ public Builder clearStart() { @@ -842,17 +933,21 @@ public Builder clearStart() { return this; } /** + * + * *
        * Value that marks the start of the range.
        * 
* * string start = 2; + * * @param value The bytes for start to set. * @return This builder for chaining. */ - public Builder setStartBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); start_ = value; bitField0_ |= 0x00000002; @@ -862,18 +957,20 @@ public Builder setStartBytes( private java.lang.Object end_ = ""; /** + * + * *
        * Value that marks the end of the range.
        * 
* * string end = 3; + * * @return The end. */ public java.lang.String getEnd() { java.lang.Object ref = end_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); end_ = s; return s; @@ -882,20 +979,21 @@ public java.lang.String getEnd() { } } /** + * + * *
        * Value that marks the end of the range.
        * 
* * string end = 3; + * * @return The bytes for end. */ - public com.google.protobuf.ByteString - getEndBytes() { + public com.google.protobuf.ByteString getEndBytes() { java.lang.Object ref = end_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); end_ = b; return b; } else { @@ -903,28 +1001,35 @@ public java.lang.String getEnd() { } } /** + * + * *
        * Value that marks the end of the range.
        * 
* * string end = 3; + * * @param value The end to set. * @return This builder for chaining. */ - public Builder setEnd( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEnd(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } end_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Value that marks the end of the range.
        * 
* * string end = 3; + * * @return This builder for chaining. */ public Builder clearEnd() { @@ -934,23 +1039,28 @@ public Builder clearEnd() { return this; } /** + * + * *
        * Value that marks the end of the range.
        * 
* * string end = 3; + * * @param value The bytes for end to set. * @return This builder for chaining. */ - public Builder setEndBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); end_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -963,12 +1073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ScannedData.IncrementalField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ScannedData.IncrementalField) private static final com.google.cloud.dataplex.v1.ScannedData.IncrementalField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ScannedData.IncrementalField(); } @@ -977,27 +1087,28 @@ public static com.google.cloud.dataplex.v1.ScannedData.IncrementalField getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncrementalField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,18 +1123,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int dataRangeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object dataRange_; + public enum DataRangeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INCREMENTAL_FIELD(1), DATARANGE_NOT_SET(0); private final int value; + private DataRangeCase(int value) { this.value = value; } @@ -1039,29 +1153,34 @@ public static DataRangeCase valueOf(int value) { public static DataRangeCase forNumber(int value) { switch (value) { - case 1: return INCREMENTAL_FIELD; - case 0: return DATARANGE_NOT_SET; - default: return null; + case 1: + return INCREMENTAL_FIELD; + case 0: + return DATARANGE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataRangeCase - getDataRangeCase() { - return DataRangeCase.forNumber( - dataRangeCase_); + public DataRangeCase getDataRangeCase() { + return DataRangeCase.forNumber(dataRangeCase_); } public static final int INCREMENTAL_FIELD_FIELD_NUMBER = 1; /** + * + * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return Whether the incrementalField field is set. */ @java.lang.Override @@ -1069,21 +1188,26 @@ public boolean hasIncrementalField() { return dataRangeCase_ == 1; } /** + * + * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return The incrementalField. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalField() { if (dataRangeCase_ == 1) { - return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; + return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; } return com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } /** + * + * *
    * The range denoted by values of an incremental field
    * 
@@ -1091,14 +1215,16 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalF * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getIncrementalFieldOrBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder + getIncrementalFieldOrBuilder() { if (dataRangeCase_ == 1) { - return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; + return (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_; } return com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1110,10 +1236,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 (dataRangeCase_ == 1) { - output.writeMessage(1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); + output.writeMessage( + 1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); } getUnknownFields().writeTo(output); } @@ -1125,8 +1251,9 @@ public int getSerializedSize() { size = 0; if (dataRangeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1136,7 +1263,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.ScannedData)) { return super.equals(obj); @@ -1146,8 +1273,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDataRangeCase().equals(other.getDataRangeCase())) return false; switch (dataRangeCase_) { case 1: - if (!getIncrementalField() - .equals(other.getIncrementalField())) return false; + if (!getIncrementalField().equals(other.getIncrementalField())) return false; break; case 0: default: @@ -1176,132 +1302,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.ScannedData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.ScannedData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.ScannedData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.ScannedData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 scanned during processing (e.g. in incremental DataScan)
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.ScannedData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.ScannedData) com.google.cloud.dataplex.v1.ScannedDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.ScannedData.class, com.google.cloud.dataplex.v1.ScannedData.Builder.class); + com.google.cloud.dataplex.v1.ScannedData.class, + com.google.cloud.dataplex.v1.ScannedData.Builder.class); } // Construct using com.google.cloud.dataplex.v1.ScannedData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1315,9 +1445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_ScannedData_descriptor; } @java.lang.Override @@ -1336,8 +1466,11 @@ public com.google.cloud.dataplex.v1.ScannedData build() { @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData buildPartial() { - com.google.cloud.dataplex.v1.ScannedData result = new com.google.cloud.dataplex.v1.ScannedData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.ScannedData result = + new com.google.cloud.dataplex.v1.ScannedData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1350,8 +1483,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.ScannedData result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.ScannedData result) { result.dataRangeCase_ = dataRangeCase_; result.dataRange_ = this.dataRange_; - if (dataRangeCase_ == 1 && - incrementalFieldBuilder_ != null) { + if (dataRangeCase_ == 1 && incrementalFieldBuilder_ != null) { result.dataRange_ = incrementalFieldBuilder_.build(); } } @@ -1360,38 +1492,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.ScannedData result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.ScannedData) { - return mergeFrom((com.google.cloud.dataplex.v1.ScannedData)other); + return mergeFrom((com.google.cloud.dataplex.v1.ScannedData) other); } else { super.mergeFrom(other); return this; @@ -1401,13 +1534,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.ScannedData other) { if (other == com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) return this; switch (other.getDataRangeCase()) { - case INCREMENTAL_FIELD: { - mergeIncrementalField(other.getIncrementalField()); - break; - } - case DATARANGE_NOT_SET: { - break; - } + case INCREMENTAL_FIELD: + { + mergeIncrementalField(other.getIncrementalField()); + break; + } + case DATARANGE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1435,19 +1570,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIncrementalFieldFieldBuilder().getBuilder(), - extensionRegistry); - dataRangeCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getIncrementalFieldFieldBuilder().getBuilder(), extensionRegistry); + dataRangeCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1457,12 +1593,12 @@ public Builder mergeFrom( } // finally return this; } + private int dataRangeCase_ = 0; private java.lang.Object dataRange_; - public DataRangeCase - getDataRangeCase() { - return DataRangeCase.forNumber( - dataRangeCase_); + + public DataRangeCase getDataRangeCase() { + return DataRangeCase.forNumber(dataRangeCase_); } public Builder clearDataRange() { @@ -1475,13 +1611,19 @@ public Builder clearDataRange() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> incrementalFieldBuilder_; + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, + com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> + incrementalFieldBuilder_; /** + * + * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return Whether the incrementalField field is set. */ @java.lang.Override @@ -1489,11 +1631,14 @@ public boolean hasIncrementalField() { return dataRangeCase_ == 1; } /** + * + * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return The incrementalField. */ @java.lang.Override @@ -1511,13 +1656,16 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalF } } /** + * + * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public Builder setIncrementalField(com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { + public Builder setIncrementalField( + com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { if (incrementalFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1531,6 +1679,8 @@ public Builder setIncrementalField(com.google.cloud.dataplex.v1.ScannedData.Incr return this; } /** + * + * *
      * The range denoted by values of an incremental field
      * 
@@ -1549,18 +1699,25 @@ public Builder setIncrementalField( return this; } /** + * + * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public Builder mergeIncrementalField(com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { + public Builder mergeIncrementalField( + com.google.cloud.dataplex.v1.ScannedData.IncrementalField value) { if (incrementalFieldBuilder_ == null) { - if (dataRangeCase_ == 1 && - dataRange_ != com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) { - dataRange_ = com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder((com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_) - .mergeFrom(value).buildPartial(); + if (dataRangeCase_ == 1 + && dataRange_ + != com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance()) { + dataRange_ = + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.newBuilder( + (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_) + .mergeFrom(value) + .buildPartial(); } else { dataRange_ = value; } @@ -1576,6 +1733,8 @@ public Builder mergeIncrementalField(com.google.cloud.dataplex.v1.ScannedData.In return this; } /** + * + * *
      * The range denoted by values of an incremental field
      * 
@@ -1599,16 +1758,21 @@ public Builder clearIncrementalField() { return this; } /** + * + * *
      * The range denoted by values of an incremental field
      * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ - public com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder getIncrementalFieldBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder + getIncrementalFieldBuilder() { return getIncrementalFieldFieldBuilder().getBuilder(); } /** + * + * *
      * The range denoted by values of an incremental field
      * 
@@ -1616,7 +1780,8 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder getIncr * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ @java.lang.Override - public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getIncrementalFieldOrBuilder() { + public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder + getIncrementalFieldOrBuilder() { if ((dataRangeCase_ == 1) && (incrementalFieldBuilder_ != null)) { return incrementalFieldBuilder_.getMessageOrBuilder(); } else { @@ -1627,6 +1792,8 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getInc } } /** + * + * *
      * The range denoted by values of an incremental field
      * 
@@ -1634,14 +1801,20 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getInc * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, + com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder> getIncrementalFieldFieldBuilder() { if (incrementalFieldBuilder_ == null) { if (!(dataRangeCase_ == 1)) { - dataRange_ = com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); + dataRange_ = + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.getDefaultInstance(); } - incrementalFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.ScannedData.IncrementalField, com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder>( + incrementalFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.ScannedData.IncrementalField, + com.google.cloud.dataplex.v1.ScannedData.IncrementalField.Builder, + com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder>( (com.google.cloud.dataplex.v1.ScannedData.IncrementalField) dataRange_, getParentForChildren(), isClean()); @@ -1651,9 +1824,9 @@ public com.google.cloud.dataplex.v1.ScannedData.IncrementalFieldOrBuilder getInc onChanged(); return incrementalFieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1663,12 +1836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.ScannedData) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.ScannedData) private static final com.google.cloud.dataplex.v1.ScannedData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.ScannedData(); } @@ -1677,27 +1850,27 @@ public static com.google.cloud.dataplex.v1.ScannedData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScannedData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScannedData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,6 +1885,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.ScannedData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java index 8b1cf09d9240..3c428a1aa13f 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ScannedDataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface ScannedDataOrBuilder extends +public interface ScannedDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.ScannedData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return Whether the incrementalField field is set. */ boolean hasIncrementalField(); /** + * + * *
    * The range denoted by values of an incremental field
    * 
* * .google.cloud.dataplex.v1.ScannedData.IncrementalField incremental_field = 1; + * * @return The incrementalField. */ com.google.cloud.dataplex.v1.ScannedData.IncrementalField getIncrementalField(); /** + * + * *
    * The range denoted by values of an incremental field
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java index a5e9da684f35..a20528c3fad2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Schema.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Schema information describing the structure and layout of the data.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema} */ -public final class Schema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Schema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema) SchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Schema.newBuilder() to construct. private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Schema() { fields_ = java.util.Collections.emptyList(); partitionFields_ = java.util.Collections.emptyList(); @@ -27,34 +45,38 @@ private Schema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.class, com.google.cloud.dataplex.v1.Schema.Builder.class); + com.google.cloud.dataplex.v1.Schema.class, + com.google.cloud.dataplex.v1.Schema.Builder.class); } /** + * + * *
    * Type information for fields in schemas and partition schemas.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * SchemaType unspecified.
      * 
@@ -63,6 +85,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Boolean field.
      * 
@@ -71,6 +95,8 @@ public enum Type */ BOOLEAN(1), /** + * + * *
      * Single byte numeric field.
      * 
@@ -79,6 +105,8 @@ public enum Type */ BYTE(2), /** + * + * *
      * 16-bit numeric field.
      * 
@@ -87,6 +115,8 @@ public enum Type */ INT16(3), /** + * + * *
      * 32-bit numeric field.
      * 
@@ -95,6 +125,8 @@ public enum Type */ INT32(4), /** + * + * *
      * 64-bit numeric field.
      * 
@@ -103,6 +135,8 @@ public enum Type */ INT64(5), /** + * + * *
      * Floating point numeric field.
      * 
@@ -111,6 +145,8 @@ public enum Type */ FLOAT(6), /** + * + * *
      * Double precision numeric field.
      * 
@@ -119,6 +155,8 @@ public enum Type */ DOUBLE(7), /** + * + * *
      * Real value numeric field.
      * 
@@ -127,6 +165,8 @@ public enum Type */ DECIMAL(8), /** + * + * *
      * Sequence of characters field.
      * 
@@ -135,6 +175,8 @@ public enum Type */ STRING(9), /** + * + * *
      * Sequence of bytes field.
      * 
@@ -143,6 +185,8 @@ public enum Type */ BINARY(10), /** + * + * *
      * Date and time field.
      * 
@@ -151,6 +195,8 @@ public enum Type */ TIMESTAMP(11), /** + * + * *
      * Date field.
      * 
@@ -159,6 +205,8 @@ public enum Type */ DATE(12), /** + * + * *
      * Time field.
      * 
@@ -167,6 +215,8 @@ public enum Type */ TIME(13), /** + * + * *
      * Structured field. Nested fields that define the structure of the map.
      * If all nested fields are nullable, this field represents a union.
@@ -176,6 +226,8 @@ public enum Type
      */
     RECORD(14),
     /**
+     *
+     *
      * 
      * Null field that does not have values.
      * 
@@ -187,6 +239,8 @@ public enum Type ; /** + * + * *
      * SchemaType unspecified.
      * 
@@ -195,6 +249,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Boolean field.
      * 
@@ -203,6 +259,8 @@ public enum Type */ public static final int BOOLEAN_VALUE = 1; /** + * + * *
      * Single byte numeric field.
      * 
@@ -211,6 +269,8 @@ public enum Type */ public static final int BYTE_VALUE = 2; /** + * + * *
      * 16-bit numeric field.
      * 
@@ -219,6 +279,8 @@ public enum Type */ public static final int INT16_VALUE = 3; /** + * + * *
      * 32-bit numeric field.
      * 
@@ -227,6 +289,8 @@ public enum Type */ public static final int INT32_VALUE = 4; /** + * + * *
      * 64-bit numeric field.
      * 
@@ -235,6 +299,8 @@ public enum Type */ public static final int INT64_VALUE = 5; /** + * + * *
      * Floating point numeric field.
      * 
@@ -243,6 +309,8 @@ public enum Type */ public static final int FLOAT_VALUE = 6; /** + * + * *
      * Double precision numeric field.
      * 
@@ -251,6 +319,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 7; /** + * + * *
      * Real value numeric field.
      * 
@@ -259,6 +329,8 @@ public enum Type */ public static final int DECIMAL_VALUE = 8; /** + * + * *
      * Sequence of characters field.
      * 
@@ -267,6 +339,8 @@ public enum Type */ public static final int STRING_VALUE = 9; /** + * + * *
      * Sequence of bytes field.
      * 
@@ -275,6 +349,8 @@ public enum Type */ public static final int BINARY_VALUE = 10; /** + * + * *
      * Date and time field.
      * 
@@ -283,6 +359,8 @@ public enum Type */ public static final int TIMESTAMP_VALUE = 11; /** + * + * *
      * Date field.
      * 
@@ -291,6 +369,8 @@ public enum Type */ public static final int DATE_VALUE = 12; /** + * + * *
      * Time field.
      * 
@@ -299,6 +379,8 @@ public enum Type */ public static final int TIME_VALUE = 13; /** + * + * *
      * Structured field. Nested fields that define the structure of the map.
      * If all nested fields are nullable, this field represents a union.
@@ -308,6 +390,8 @@ public enum Type
      */
     public static final int RECORD_VALUE = 14;
     /**
+     *
+     *
      * 
      * Null field that does not have values.
      * 
@@ -316,7 +400,6 @@ public enum Type */ public static final int NULL_VALUE = 100; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -341,62 +424,75 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return BOOLEAN; - case 2: return BYTE; - case 3: return INT16; - case 4: return INT32; - case 5: return INT64; - case 6: return FLOAT; - case 7: return DOUBLE; - case 8: return DECIMAL; - case 9: return STRING; - case 10: return BINARY; - case 11: return TIMESTAMP; - case 12: return DATE; - case 13: return TIME; - case 14: return RECORD; - case 100: return NULL; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return TYPE_UNSPECIFIED; + case 1: + return BOOLEAN; + case 2: + return BYTE; + case 3: + return INT16; + case 4: + return INT32; + case 5: + return INT64; + case 6: + return FLOAT; + case 7: + return DOUBLE; + case 8: + return DECIMAL; + case 9: + return STRING; + case 10: + return BINARY; + case 11: + return TIMESTAMP; + case 12: + return DATE; + case 13: + return TIME; + case 14: + return RECORD; + case 100: + return NULL; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -414,15 +510,18 @@ private Type(int value) { } /** + * + * *
    * Additional qualifiers to define field semantics.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Mode unspecified.
      * 
@@ -431,6 +530,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * The field has required semantics.
      * 
@@ -439,6 +540,8 @@ public enum Mode */ REQUIRED(1), /** + * + * *
      * The field has optional semantics, and may be null.
      * 
@@ -447,6 +550,8 @@ public enum Mode */ NULLABLE(2), /** + * + * *
      * The field has repeated (0 or more) semantics, and is a list of values.
      * 
@@ -458,6 +563,8 @@ public enum Mode ; /** + * + * *
      * Mode unspecified.
      * 
@@ -466,6 +573,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The field has required semantics.
      * 
@@ -474,6 +583,8 @@ public enum Mode */ public static final int REQUIRED_VALUE = 1; /** + * + * *
      * The field has optional semantics, and may be null.
      * 
@@ -482,6 +593,8 @@ public enum Mode */ public static final int NULLABLE_VALUE = 2; /** + * + * *
      * The field has repeated (0 or more) semantics, and is a list of values.
      * 
@@ -490,7 +603,6 @@ public enum Mode */ public static final int REPEATED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -515,50 +627,51 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return REQUIRED; - case 2: return NULLABLE; - case 3: return REPEATED; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return REQUIRED; + case 2: + return NULLABLE; + case 3: + return REPEATED; + 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< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.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 Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode 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; @@ -576,15 +689,18 @@ private Mode(int value) { } /** + * + * *
    * The structure of paths within the entity, which represent partitions.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Schema.PartitionStyle} */ - public enum PartitionStyle - implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionStyle implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * PartitionStyle unspecified
      * 
@@ -593,6 +709,8 @@ public enum PartitionStyle */ PARTITION_STYLE_UNSPECIFIED(0), /** + * + * *
      * Partitions are hive-compatible.
      * Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`,
@@ -606,6 +724,8 @@ public enum PartitionStyle
     ;
 
     /**
+     *
+     *
      * 
      * PartitionStyle unspecified
      * 
@@ -614,6 +734,8 @@ public enum PartitionStyle */ public static final int PARTITION_STYLE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Partitions are hive-compatible.
      * Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`,
@@ -624,7 +746,6 @@ public enum PartitionStyle
      */
     public static final int HIVE_COMPATIBLE_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -649,48 +770,47 @@ public static PartitionStyle valueOf(int value) {
      */
     public static PartitionStyle forNumber(int value) {
       switch (value) {
-        case 0: return PARTITION_STYLE_UNSPECIFIED;
-        case 1: return HIVE_COMPATIBLE;
-        default: return null;
+        case 0:
+          return PARTITION_STYLE_UNSPECIFIED;
+        case 1:
+          return HIVE_COMPATIBLE;
+        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<
-        PartitionStyle> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PartitionStyle findValueByNumber(int number) {
-              return PartitionStyle.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 PartitionStyle findValueByNumber(int number) {
+            return PartitionStyle.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.dataplex.v1.Schema.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final PartitionStyle[] VALUES = values();
 
-    public static PartitionStyle valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionStyle 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;
@@ -707,11 +827,14 @@ private PartitionStyle(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Schema.PartitionStyle)
   }
 
-  public interface SchemaFieldOrBuilder extends
+  public interface SchemaFieldOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema.SchemaField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -719,10 +842,13 @@ public interface SchemaFieldOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -730,131 +856,177 @@ public interface SchemaFieldOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Required. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Required. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Schema.Type getType(); /** + * + * *
      * Required. Additional field semantics.
      * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Required. Additional field semantics.
      * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ com.google.cloud.dataplex.v1.Schema.Mode getMode(); /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index); /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getFieldsCount(); /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index); } /** + * + * *
    * Represents a column field within a table schema.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema.SchemaField} */ - public static final class SchemaField extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SchemaField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema.SchemaField) SchemaFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SchemaField.newBuilder() to construct. private SchemaField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SchemaField() { name_ = ""; description_ = ""; @@ -865,28 +1037,32 @@ private SchemaField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SchemaField(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.SchemaField.class, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); + com.google.cloud.dataplex.v1.Schema.SchemaField.class, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -894,6 +1070,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -902,14 +1079,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the field. Must contain only letters, numbers and
      * underscores, with a maximum length of 767 characters,
@@ -917,16 +1095,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 { @@ -935,15 +1112,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -952,30 +1133,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; } } /** + * + * *
      * Optional. User friendly field description. Must be less than or equal to
      * 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -986,117 +1167,164 @@ public java.lang.String getDescription() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
      * Required. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Schema.Type getType() { + com.google.cloud.dataplex.v1.Schema.Type result = + com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 4; private int mode_ = 0; /** + * + * *
      * Required. Additional field semantics.
      * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Required. Additional field semantics.
      * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Mode getMode() { - com.google.cloud.dataplex.v1.Schema.Mode result = com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Schema.Mode getMode() { + com.google.cloud.dataplex.v1.Schema.Mode result = + com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); return result == null ? com.google.cloud.dataplex.v1.Schema.Mode.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { return fields_.get(index); } /** + * + * *
      * Optional. Any nested field for complex types.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { return fields_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1108,8 +1336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1141,16 +1368,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (type_ != com.google.cloud.dataplex.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } if (mode_ != com.google.cloud.dataplex.v1.Schema.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, mode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1160,21 +1384,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema.SchemaField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Schema.SchemaField other = (com.google.cloud.dataplex.v1.Schema.SchemaField) obj; + com.google.cloud.dataplex.v1.Schema.SchemaField other = + (com.google.cloud.dataplex.v1.Schema.SchemaField) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (type_ != other.type_) return false; if (mode_ != other.mode_) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1204,89 +1426,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema.SchemaField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema.SchemaField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1296,39 +1522,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a column field within a table schema.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema.SchemaField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema.SchemaField) com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.SchemaField.class, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); + com.google.cloud.dataplex.v1.Schema.SchemaField.class, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Schema.SchemaField.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1348,9 +1576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; } @java.lang.Override @@ -1369,14 +1597,18 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField build() { @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField buildPartial() { - com.google.cloud.dataplex.v1.Schema.SchemaField result = new com.google.cloud.dataplex.v1.Schema.SchemaField(this); + com.google.cloud.dataplex.v1.Schema.SchemaField result = + new com.google.cloud.dataplex.v1.Schema.SchemaField(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.Schema.SchemaField result) { + private void buildPartialRepeatedFields( + com.google.cloud.dataplex.v1.Schema.SchemaField result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1408,38 +1640,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema.SchemaField resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Schema.SchemaField) { - return mergeFrom((com.google.cloud.dataplex.v1.Schema.SchemaField)other); + return mergeFrom((com.google.cloud.dataplex.v1.Schema.SchemaField) other); } else { super.mergeFrom(other); return this; @@ -1447,7 +1682,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.SchemaField other) { - if (other == com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1482,9 +1718,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.SchemaField other) fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000010); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1516,45 +1753,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 82: { - com.google.cloud.dataplex.v1.Schema.SchemaField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 82: + { + com.google.cloud.dataplex.v1.Schema.SchemaField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1564,10 +1807,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1575,13 +1821,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; @@ -1590,6 +1836,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1597,15 +1845,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 { @@ -1613,6 +1860,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1620,18 +1869,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1639,6 +1892,7 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1648,6 +1902,8 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The name of the field. Must contain only letters, numbers and
        * underscores, with a maximum length of 767 characters,
@@ -1655,12 +1911,14 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1670,19 +1928,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1691,21 +1951,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1713,30 +1974,37 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1746,18 +2014,22 @@ public Builder clearDescription() { return this; } /** + * + * *
        * Optional. User friendly field description. Must be less than or equal to
        * 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -1767,22 +2039,33 @@ public Builder setDescriptionBytes( private int type_ = 0; /** + * + * *
        * Required. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Required. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1793,24 +2076,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * Required. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Schema.Type result = + com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } /** + * + * *
        * Required. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1824,11 +2118,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Schema.Type value) { return this; } /** + * + * *
        * Required. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1840,22 +2139,33 @@ public Builder clearType() { private int mode_ = 0; /** + * + * *
        * Required. Additional field semantics.
        * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Required. Additional field semantics.
        * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1866,24 +2176,35 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
        * Required. Additional field semantics.
        * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Mode getMode() { - com.google.cloud.dataplex.v1.Schema.Mode result = com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); + com.google.cloud.dataplex.v1.Schema.Mode result = + com.google.cloud.dataplex.v1.Schema.Mode.forNumber(mode_); return result == null ? com.google.cloud.dataplex.v1.Schema.Mode.UNRECOGNIZED : result; } /** + * + * *
        * Required. Additional field semantics.
        * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The mode to set. * @return This builder for chaining. */ @@ -1897,11 +2218,16 @@ public Builder setMode(com.google.cloud.dataplex.v1.Schema.Mode value) { return this; } /** + * + * *
        * Required. Additional field semantics.
        * 
* - * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1912,23 +2238,32 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList(fields_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> fieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + fieldsBuilder_; /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -1938,11 +2273,15 @@ public java.util.List getFields } } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -1952,11 +2291,15 @@ public int getFieldsCount() { } } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { if (fieldsBuilder_ == null) { @@ -1966,14 +2309,17 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { } } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setFields( - int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1987,11 +2333,15 @@ public Builder setFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2005,11 +2355,15 @@ public Builder setFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { @@ -2025,14 +2379,17 @@ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addFields( - int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2046,11 +2403,15 @@ public Builder addFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2064,11 +2425,15 @@ public Builder addFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -2082,18 +2447,21 @@ public Builder addFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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); @@ -2101,11 +2469,15 @@ public Builder addAllFields( return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -2118,11 +2490,15 @@ public Builder clearFields() { return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -2135,39 +2511,51 @@ public Builder removeFields(int index) { return this; } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder(int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2175,53 +2563,69 @@ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuild } } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder(int index) { + return getFieldsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** + * + * *
        * Optional. Any nested field for complex types.
        * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( - fields_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( + fields_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2234,12 +2638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema.SchemaField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema.SchemaField) private static final com.google.cloud.dataplex.v1.Schema.SchemaField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema.SchemaField(); } @@ -2248,27 +2652,28 @@ public static com.google.cloud.dataplex.v1.Schema.SchemaField getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchemaField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchemaField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2283,14 +2688,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema.SchemaField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PartitionFieldOrBuilder extends + public interface PartitionFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema.PartitionField) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2298,10 +2705,13 @@ public interface PartitionFieldOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2309,31 +2719,43 @@ public interface PartitionFieldOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Required. Immutable. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Required. Immutable. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Schema.Type getType(); } /** + * + * *
    * Represents a key field within the entity's partition structure. You could
    * have up to 20 partition fields, but only the first 10 partitions have the
@@ -2343,15 +2765,16 @@ public interface PartitionFieldOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Schema.PartitionField}
    */
-  public static final class PartitionField extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PartitionField extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Schema.PartitionField)
       PartitionFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PartitionField.newBuilder() to construct.
     private PartitionField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PartitionField() {
       name_ = "";
       type_ = 0;
@@ -2359,28 +2782,32 @@ private PartitionField() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PartitionField();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.MetadataProto
+          .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.MetadataProto
+          .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Schema.PartitionField.class, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
+              com.google.cloud.dataplex.v1.Schema.PartitionField.class,
+              com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2388,6 +2815,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -2396,14 +2824,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. Partition field name must consist of letters, numbers, and
      * underscores only, with a maximum of length of 256 characters, and must
@@ -2411,16 +2840,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 { @@ -2431,30 +2859,44 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
      * Required. Immutable. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. The type of field.
      * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Schema.Type getType() { + com.google.cloud.dataplex.v1.Schema.Type result = + com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2466,8 +2908,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2487,8 +2928,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.cloud.dataplex.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2498,15 +2938,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema.PartitionField)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Schema.PartitionField other = (com.google.cloud.dataplex.v1.Schema.PartitionField) obj; + com.google.cloud.dataplex.v1.Schema.PartitionField other = + (com.google.cloud.dataplex.v1.Schema.PartitionField) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2529,89 +2969,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema.PartitionField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema.PartitionField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema.PartitionField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2621,6 +3065,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a key field within the entity's partition structure. You could
      * have up to 20 partition fields, but only the first 10 partitions have the
@@ -2630,33 +3076,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataplex.v1.Schema.PartitionField}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema.PartitionField)
         com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataplex.v1.MetadataProto
+            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
+        return com.google.cloud.dataplex.v1.MetadataProto
+            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataplex.v1.Schema.PartitionField.class, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
+                com.google.cloud.dataplex.v1.Schema.PartitionField.class,
+                com.google.cloud.dataplex.v1.Schema.PartitionField.Builder.class);
       }
 
       // Construct using com.google.cloud.dataplex.v1.Schema.PartitionField.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2667,9 +3113,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataplex.v1.MetadataProto
+            .internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor;
       }
 
       @java.lang.Override
@@ -2688,8 +3134,11 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField build() {
 
       @java.lang.Override
       public com.google.cloud.dataplex.v1.Schema.PartitionField buildPartial() {
-        com.google.cloud.dataplex.v1.Schema.PartitionField result = new com.google.cloud.dataplex.v1.Schema.PartitionField(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.dataplex.v1.Schema.PartitionField result =
+            new com.google.cloud.dataplex.v1.Schema.PartitionField(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2708,38 +3157,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema.PartitionField re
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataplex.v1.Schema.PartitionField) {
-          return mergeFrom((com.google.cloud.dataplex.v1.Schema.PartitionField)other);
+          return mergeFrom((com.google.cloud.dataplex.v1.Schema.PartitionField) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2747,7 +3199,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema.PartitionField other) {
-        if (other == com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()) return this;
+        if (other == com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -2782,22 +3235,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  type_ = input.readEnum();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2807,10 +3263,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -2818,13 +3277,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; @@ -2833,6 +3292,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -2840,15 +3301,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 { @@ -2856,6 +3316,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -2863,18 +3325,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -2882,6 +3348,7 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2891,6 +3358,8 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. Partition field name must consist of letters, numbers, and
        * underscores only, with a maximum of length of 256 characters, and must
@@ -2898,12 +3367,14 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2913,22 +3384,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
        * Required. Immutable. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Required. Immutable. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2939,24 +3421,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * Required. Immutable. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.Type getType() { - com.google.cloud.dataplex.v1.Schema.Type result = com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Schema.Type result = + com.google.cloud.dataplex.v1.Schema.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Schema.Type.UNRECOGNIZED : result; } /** + * + * *
        * Required. Immutable. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -2970,11 +3463,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Schema.Type value) { return this; } /** + * + * *
        * Required. Immutable. The type of field.
        * 
* - * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -2983,6 +3481,7 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2995,12 +3494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema.PartitionField) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema.PartitionField) private static final com.google.cloud.dataplex.v1.Schema.PartitionField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema.PartitionField(); } @@ -3009,27 +3508,28 @@ public static com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3044,12 +3544,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int USER_MANAGED_FIELD_NUMBER = 1; private boolean userManaged_ = false; /** + * + * *
    * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
    * The default is `false` (managed by Dataplex).
@@ -3067,6 +3568,7 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField getDefaultInstanceForT
    * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userManaged. */ @java.lang.Override @@ -3075,130 +3577,172 @@ public boolean getUserManaged() { } public static final int FIELDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { return fields_.get(index); } /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { return fields_.get(index); } public static final int PARTITION_FIELDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List partitionFields_; /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getPartitionFieldsList() { + public java.util.List + getPartitionFieldsList() { return partitionFields_; } /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPartitionFieldsOrBuilderList() { return partitionFields_; } /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getPartitionFieldsCount() { return partitionFields_.size(); } /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index) { return partitionFields_.get(index); } /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( @@ -3209,32 +3753,48 @@ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionF public static final int PARTITION_STYLE_FIELD_NUMBER = 4; private int partitionStyle_ = 0; /** + * + * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for partitionStyle. */ - @java.lang.Override public int getPartitionStyleValue() { + @java.lang.Override + public int getPartitionStyleValue() { return partitionStyle_; } /** + * + * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The partitionStyle. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { - com.google.cloud.dataplex.v1.Schema.PartitionStyle result = com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); - return result == null ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { + com.google.cloud.dataplex.v1.Schema.PartitionStyle result = + com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); + return result == null + ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3246,8 +3806,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (userManaged_ != false) { output.writeBool(1, userManaged_); } @@ -3257,7 +3816,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < partitionFields_.size(); i++) { output.writeMessage(3, partitionFields_.get(i)); } - if (partitionStyle_ != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED.getNumber()) { + if (partitionStyle_ + != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, partitionStyle_); } getUnknownFields().writeTo(output); @@ -3270,20 +3831,18 @@ public int getSerializedSize() { size = 0; if (userManaged_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, userManaged_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, userManaged_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); } for (int i = 0; i < partitionFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, partitionFields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, partitionFields_.get(i)); } - if (partitionStyle_ != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, partitionStyle_); + if (partitionStyle_ + != com.google.cloud.dataplex.v1.Schema.PartitionStyle.PARTITION_STYLE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, partitionStyle_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3293,19 +3852,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Schema)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Schema other = (com.google.cloud.dataplex.v1.Schema) obj; - if (getUserManaged() - != other.getUserManaged()) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getPartitionFieldsList() - .equals(other.getPartitionFieldsList())) return false; + if (getUserManaged() != other.getUserManaged()) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getPartitionFieldsList().equals(other.getPartitionFieldsList())) return false; if (partitionStyle_ != other.partitionStyle_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3319,8 +3875,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USER_MANAGED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUserManaged()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUserManaged()); if (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); @@ -3336,132 +3891,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Schema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Schema parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Schema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Schema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Schema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Schema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Schema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Schema information describing the structure and layout of the data.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Schema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Schema) com.google.cloud.dataplex.v1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Schema.class, com.google.cloud.dataplex.v1.Schema.Builder.class); + com.google.cloud.dataplex.v1.Schema.class, + com.google.cloud.dataplex.v1.Schema.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Schema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3486,9 +4044,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_Schema_descriptor; } @java.lang.Override @@ -3509,7 +4067,9 @@ public com.google.cloud.dataplex.v1.Schema build() { public com.google.cloud.dataplex.v1.Schema buildPartial() { com.google.cloud.dataplex.v1.Schema result = new com.google.cloud.dataplex.v1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3549,38 +4109,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Schema result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Schema) { - return mergeFrom((com.google.cloud.dataplex.v1.Schema)other); + return mergeFrom((com.google.cloud.dataplex.v1.Schema) other); } else { super.mergeFrom(other); return this; @@ -3610,9 +4171,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000002); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -3636,9 +4198,10 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Schema other) { partitionFieldsBuilder_ = null; partitionFields_ = other.partitionFields_; bitField0_ = (bitField0_ & ~0x00000004); - partitionFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartitionFieldsFieldBuilder() : null; + partitionFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartitionFieldsFieldBuilder() + : null; } else { partitionFieldsBuilder_.addAllMessages(other.partitionFields_); } @@ -3673,48 +4236,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - userManaged_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.google.cloud.dataplex.v1.Schema.SchemaField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.cloud.dataplex.v1.Schema.PartitionField m = - input.readMessage( - com.google.cloud.dataplex.v1.Schema.PartitionField.parser(), - extensionRegistry); - if (partitionFieldsBuilder_ == null) { - ensurePartitionFieldsIsMutable(); - partitionFields_.add(m); - } else { - partitionFieldsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - partitionStyle_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + userManaged_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.cloud.dataplex.v1.Schema.SchemaField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.SchemaField.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.cloud.dataplex.v1.Schema.PartitionField m = + input.readMessage( + com.google.cloud.dataplex.v1.Schema.PartitionField.parser(), + extensionRegistry); + if (partitionFieldsBuilder_ == null) { + ensurePartitionFieldsIsMutable(); + partitionFields_.add(m); + } else { + partitionFieldsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + partitionStyle_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3724,10 +4292,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean userManaged_ ; + private boolean userManaged_; /** + * + * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -3745,6 +4316,7 @@ public Builder mergeFrom(
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userManaged. */ @java.lang.Override @@ -3752,6 +4324,8 @@ public boolean getUserManaged() { return userManaged_; } /** + * + * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -3769,6 +4343,7 @@ public boolean getUserManaged() {
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The userManaged to set. * @return This builder for chaining. */ @@ -3780,6 +4355,8 @@ public Builder setUserManaged(boolean value) { return this; } /** + * + * *
      * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
      * The default is `false` (managed by Dataplex).
@@ -3797,6 +4374,7 @@ public Builder setUserManaged(boolean value) {
      * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUserManaged() { @@ -3807,24 +4385,32 @@ public Builder clearUserManaged() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> fieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + fieldsBuilder_; /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -3834,12 +4420,16 @@ public java.util.List getFields } } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -3849,12 +4439,16 @@ public int getFieldsCount() { } } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { if (fieldsBuilder_ == null) { @@ -3864,15 +4458,18 @@ public com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index) { } } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setFields( - int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder setFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3886,12 +4483,16 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -3905,12 +4506,16 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { @@ -3926,15 +4531,18 @@ public Builder addFields(com.google.cloud.dataplex.v1.Schema.SchemaField value) return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addFields( - int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { + public Builder addFields(int index, com.google.cloud.dataplex.v1.Schema.SchemaField value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3948,12 +4556,16 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -3967,12 +4579,16 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( int index, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder builderForValue) { @@ -3986,19 +4602,22 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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); @@ -4006,12 +4625,16 @@ public Builder addAllFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -4024,12 +4647,16 @@ public Builder clearFields() { return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -4042,42 +4669,53 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder( - int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder getFieldsBuilder(int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -4085,78 +4723,103 @@ public com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuild } } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); + public com.google.cloud.dataplex.v1.Schema.SchemaField.Builder addFieldsBuilder(int index) { + return getFieldsFieldBuilder() + .addBuilder(index, com.google.cloud.dataplex.v1.Schema.SchemaField.getDefaultInstance()); } /** + * + * *
      * Optional. The sequence of fields describing data in table entities.
      * **Note:** BigQuery SchemaFields are immutable.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.SchemaField, com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( - fields_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.SchemaField, + com.google.cloud.dataplex.v1.Schema.SchemaField.Builder, + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder>( + fields_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } private java.util.List partitionFields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePartitionFieldsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - partitionFields_ = new java.util.ArrayList(partitionFields_); + partitionFields_ = + new java.util.ArrayList( + partitionFields_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> partitionFieldsBuilder_; + com.google.cloud.dataplex.v1.Schema.PartitionField, + com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, + com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> + partitionFieldsBuilder_; /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getPartitionFieldsList() { + public java.util.List + getPartitionFieldsList() { if (partitionFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionFields_); } else { @@ -4164,12 +4827,16 @@ public java.util.List getPar } } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getPartitionFieldsCount() { if (partitionFieldsBuilder_ == null) { @@ -4179,12 +4846,16 @@ public int getPartitionFieldsCount() { } } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index) { if (partitionFieldsBuilder_ == null) { @@ -4194,12 +4865,16 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int } } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField value) { @@ -4216,12 +4891,16 @@ public Builder setPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -4235,12 +4914,16 @@ public Builder setPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPartitionFields(com.google.cloud.dataplex.v1.Schema.PartitionField value) { if (partitionFieldsBuilder_ == null) { @@ -4256,12 +4939,16 @@ public Builder addPartitionFields(com.google.cloud.dataplex.v1.Schema.PartitionF return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField value) { @@ -4278,12 +4965,16 @@ public Builder addPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPartitionFields( com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -4297,12 +4988,16 @@ public Builder addPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPartitionFields( int index, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder builderForValue) { @@ -4316,19 +5011,22 @@ public Builder addPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllPartitionFields( java.lang.Iterable values) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partitionFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitionFields_); onChanged(); } else { partitionFieldsBuilder_.addAllMessages(values); @@ -4336,12 +5034,16 @@ public Builder addAllPartitionFields( return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPartitionFields() { if (partitionFieldsBuilder_ == null) { @@ -4354,12 +5056,16 @@ public Builder clearPartitionFields() { return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removePartitionFields(int index) { if (partitionFieldsBuilder_ == null) { @@ -4372,42 +5078,55 @@ public Builder removePartitionFields(int index) { return this; } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder getPartitionFieldsBuilder( int index) { return getPartitionFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( int index) { if (partitionFieldsBuilder_ == null) { - return partitionFields_.get(index); } else { + return partitionFields_.get(index); + } else { return partitionFieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPartitionFieldsOrBuilderList() { + public java.util.List + getPartitionFieldsOrBuilderList() { if (partitionFieldsBuilder_ != null) { return partitionFieldsBuilder_.getMessageOrBuilderList(); } else { @@ -4415,48 +5134,67 @@ public com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionF } } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFieldsBuilder() { - return getPartitionFieldsFieldBuilder().addBuilder( - com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); + return getPartitionFieldsFieldBuilder() + .addBuilder(com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFieldsBuilder( int index) { - return getPartitionFieldsFieldBuilder().addBuilder( - index, com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); + return getPartitionFieldsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataplex.v1.Schema.PartitionField.getDefaultInstance()); } /** + * + * *
      * Optional. The sequence of fields describing the partition structure in
      * entities. If this field is empty, there are no partitions within the data.
      * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPartitionFieldsBuilderList() { + public java.util.List + getPartitionFieldsBuilderList() { return getPartitionFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> + com.google.cloud.dataplex.v1.Schema.PartitionField, + com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, + com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> getPartitionFieldsFieldBuilder() { if (partitionFieldsBuilder_ == null) { - partitionFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataplex.v1.Schema.PartitionField, com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder>( + partitionFieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataplex.v1.Schema.PartitionField, + com.google.cloud.dataplex.v1.Schema.PartitionField.Builder, + com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder>( partitionFields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4468,24 +5206,35 @@ public com.google.cloud.dataplex.v1.Schema.PartitionField.Builder addPartitionFi private int partitionStyle_ = 0; /** + * + * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for partitionStyle. */ - @java.lang.Override public int getPartitionStyleValue() { + @java.lang.Override + public int getPartitionStyleValue() { return partitionStyle_; } /** + * + * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for partitionStyle to set. * @return This builder for chaining. */ @@ -4496,26 +5245,39 @@ public Builder setPartitionStyleValue(int value) { return this; } /** + * + * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The partitionStyle. */ @java.lang.Override public com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle() { - com.google.cloud.dataplex.v1.Schema.PartitionStyle result = com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); - return result == null ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Schema.PartitionStyle result = + com.google.cloud.dataplex.v1.Schema.PartitionStyle.forNumber(partitionStyle_); + return result == null + ? com.google.cloud.dataplex.v1.Schema.PartitionStyle.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The partitionStyle to set. * @return This builder for chaining. */ @@ -4529,12 +5291,17 @@ public Builder setPartitionStyle(com.google.cloud.dataplex.v1.Schema.PartitionSt return this; } /** + * + * *
      * Optional. The structure of paths containing partition data within the
      * entity.
      * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPartitionStyle() { @@ -4543,9 +5310,9 @@ public Builder clearPartitionStyle() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4555,12 +5322,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Schema) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Schema) private static final com.google.cloud.dataplex.v1.Schema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Schema(); } @@ -4569,27 +5336,27 @@ public static com.google.cloud.dataplex.v1.Schema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Schema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Schema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4604,6 +5371,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Schema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java similarity index 61% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java index 4361b4e4c6ee..623f63b84070 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SchemaOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface SchemaOrBuilder extends +public interface SchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Schema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Set to `true` if user-managed or `false` if managed by Dataplex.
    * The default is `false` (managed by Dataplex).
@@ -25,125 +43,173 @@ public interface SchemaOrBuilder extends
    * 
* * bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userManaged. */ boolean getUserManaged(); /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Schema.SchemaField getFields(int index); /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getFieldsCount(); /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Optional. The sequence of fields describing data in table entities.
    * **Note:** BigQuery SchemaFields are immutable.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index); /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getPartitionFieldsList(); + java.util.List getPartitionFieldsList(); /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Schema.PartitionField getPartitionFields(int index); /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPartitionFieldsCount(); /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getPartitionFieldsOrBuilderList(); /** + * + * *
    * Optional. The sequence of fields describing the partition structure in
    * entities. If this field is empty, there are no partitions within the data.
    * 
* - * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder( int index); /** + * + * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for partitionStyle. */ int getPartitionStyleValue(); /** + * + * *
    * Optional. The structure of paths containing partition data within the
    * entity.
    * 
* - * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The partitionStyle. */ com.google.cloud.dataplex.v1.Schema.PartitionStyle getPartitionStyle(); diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java new file mode 100644 index 000000000000..1f7be5f8cccc --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java @@ -0,0 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/security.proto + +package com.google.cloud.dataplex.v1; + +public final class SecurityProto { + private SecurityProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/dataplex/v1/security.prot" + + "o\022\030google.cloud.dataplex.v1\032\037google/api/" + + "field_behavior.proto\"X\n\022ResourceAccessSp" + + "ec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001\022\025\n\007writers\030\002 \003" + + "(\tB\004\342A\001\001\022\024\n\006owners\030\003 \003(\tB\004\342A\001\001\"\'\n\016DataAc" + + "cessSpec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001Bi\n\034com.g" + + "oogle.cloud.dataplex.v1B\rSecurityProtoP\001" + + "Z8cloud.google.com/go/dataplex/apiv1/dat" + + "aplexpb;dataplexpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor, + new java.lang.String[] { + "Readers", "Writers", "Owners", + }); + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor, + new java.lang.String[] { + "Readers", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java new file mode 100644 index 000000000000..36932bbbe8d7 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java @@ -0,0 +1,945 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/service.proto + +package com.google.cloud.dataplex.v1; + +public final class ServiceProto { + private ServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/dataplex/v1/service.proto" + + "\022\030google.cloud.dataplex.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032&google/cloud/data" + + "plex/v1/analyze.proto\032(google/cloud/data" + + "plex/v1/resources.proto\032$google/cloud/da" + + "taplex/v1/tasks.proto\032#google/longrunnin" + + "g/operations.proto\032\033google/protobuf/empt" + + "y.proto\032 google/protobuf/field_mask.prot" + + "o\032\037google/protobuf/timestamp.proto\"\267\001\n\021C" + + "reateLakeRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A" + + "#\n!locations.googleapis.com/Location\022\025\n\007" + + "lake_id\030\002 \001(\tB\004\342A\001\002\0222\n\004lake\030\003 \001(\0132\036.goog" + + "le.cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalid" + + "ate_only\030\004 \001(\010B\004\342A\001\001\"\233\001\n\021UpdateLakeReque" + + "st\0225\n\013update_mask\030\001 \001(\0132\032.google.protobu" + + "f.FieldMaskB\004\342A\001\002\0222\n\004lake\030\002 \001(\0132\036.google" + + ".cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalidat" + + "e_only\030\003 \001(\010B\004\342A\001\001\"H\n\021DeleteLakeRequest\022" + + "3\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googlea" + + "pis.com/Lake\"\257\001\n\020ListLakesRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis" + + ".com/Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + + "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + + "B\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"z\n\021ListLa" + + "kesResponse\022-\n\005lakes\030\001 \003(\0132\036.google.clou" + + "d.dataplex.v1.Lake\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\035\n\025unreachable_locations\030\003 \003(\t\"\202\001\n\026L" + + "istLakeActionsRequest\0225\n\006parent\030\001 \001(\tB%\342" + + "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\"a\n\023ListActionsResponse\0221\n\007action" + + "s\030\001 \003(\0132 .google.cloud.dataplex.v1.Actio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"E\n\016GetLakeReq" + + "uest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + + "ogleapis.com/Lake\"\262\001\n\021CreateZoneRequest\022" + + "5\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googl" + + "eapis.com/Lake\022\025\n\007zone_id\030\002 \001(\tB\004\342A\001\002\0222\n" + + "\004zone\030\003 \001(\0132\036.google.cloud.dataplex.v1.Z" + + "oneB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\233" + + "\001\n\021UpdateZoneRequest\0225\n\013update_mask\030\001 \001(" + + "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\0222\n\004z" + + "one\030\002 \001(\0132\036.google.cloud.dataplex.v1.Zon" + + "eB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"H\n\021" + + "DeleteZoneRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" + + "\n\034dataplex.googleapis.com/Zone\"\252\001\n\020ListZ" + + "onesRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034da" + + "taplex.googleapis.com/Lake\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + + "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + + "A\001\001\"[\n\021ListZonesResponse\022-\n\005zones\030\001 \003(\0132" + + "\036.google.cloud.dataplex.v1.Zone\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\202\001\n\026ListZoneActionsRequ" + + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + + "oogleapis.com/Zone\022\027\n\tpage_size\030\002 \001(\005B\004\342" + + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"E\n\016GetZone" + + "Request\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex" + + ".googleapis.com/Zone\"\266\001\n\022CreateAssetRequ" + + "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + + "oogleapis.com/Zone\022\026\n\010asset_id\030\002 \001(\tB\004\342A" + + "\001\002\0224\n\005asset\030\003 \001(\0132\037.google.cloud.dataple" + + "x.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B" + + "\004\342A\001\001\"\236\001\n\022UpdateAssetRequest\0225\n\013update_m" + + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + + "A\001\002\0224\n\005asset\030\002 \001(\0132\037.google.cloud.datapl" + + "ex.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + + "B\004\342A\001\001\"J\n\022DeleteAssetRequest\0224\n\004name\030\001 \001" + + "(\tB&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Ass" + + "et\"\253\001\n\021ListAssetsRequest\0225\n\006parent\030\001 \001(\t" + + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Zone\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010orde" + + "r_by\030\005 \001(\tB\004\342A\001\001\"^\n\022ListAssetsResponse\022/" + + "\n\006assets\030\001 \003(\0132\037.google.cloud.dataplex.v" + + "1.Asset\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\027Lis" + + "tAssetActionsRequest\0226\n\006parent\030\001 \001(\tB&\342A" + + "\001\002\372A\037\n\035dataplex.googleapis.com/Asset\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\"G\n\017GetAssetRequest\0224\n\004name\030\001 \001(\t" + + "B&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Asset" + + "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" + + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" + + "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" + + "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" + + "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"\262\001\n\021CreateTas" + + "kRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datap" + + "lex.googleapis.com/Lake\022\025\n\007task_id\030\002 \001(\t" + + "B\004\342A\001\002\0222\n\004task\030\003 \001(\0132\036.google.cloud.data" + + "plex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(" + + "\010B\004\342A\001\001\"\233\001\n\021UpdateTaskRequest\0225\n\013update_" + + "mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004" + + "\342A\001\002\0222\n\004task\030\002 \001(\0132\036.google.cloud.datapl" + + "ex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B" + + "\004\342A\001\001\"H\n\021DeleteTaskRequest\0223\n\004name\030\001 \001(\t" + + "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Task\"" + + "\252\001\n\020ListTasksRequest\0225\n\006parent\030\001 \001(\tB%\342A" + + "\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\tp" + + "age_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\t" + + "B\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by" + + "\030\005 \001(\tB\004\342A\001\001\"z\n\021ListTasksResponse\022-\n\005tas" + + "ks\030\001 \003(\0132\036.google.cloud.dataplex.v1.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachable" + + "_locations\030\003 \003(\t\"E\n\016GetTaskRequest\0223\n\004na" + + "me\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.c" + + "om/Task\"C\n\rGetJobRequest\0222\n\004name\030\001 \001(\tB$" + + "\342A\001\002\372A\035\n\033dataplex.googleapis.com/Job\"\265\002\n" + + "\016RunTaskRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034" + + "dataplex.googleapis.com/Task\022J\n\006labels\030\003" + + " \003(\01324.google.cloud.dataplex.v1.RunTaskR" + + "equest.LabelsEntryB\004\342A\001\001\022F\n\004args\030\004 \003(\01322" + + ".google.cloud.dataplex.v1.RunTaskRequest" + + ".ArgsEntryB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+\n\tArgsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"=\n\017RunTaskR" + + "esponse\022*\n\003job\030\001 \001(\0132\035.google.cloud.data" + + "plex.v1.Job\"{\n\017ListJobsRequest\0225\n\006parent" + + "\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com" + + "/Task\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t" + + "oken\030\003 \001(\tB\004\342A\001\001\"X\n\020ListJobsResponse\022+\n\004" + + "jobs\030\001 \003(\0132\035.google.cloud.dataplex.v1.Jo" + + "b\022\027\n\017next_page_token\030\002 \001(\t\"F\n\020CancelJobR" + + "equest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033dataplex." + + "googleapis.com/Job\"\316\001\n\030CreateEnvironment" + + "Request\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datapl" + + "ex.googleapis.com/Lake\022\034\n\016environment_id" + + "\030\002 \001(\tB\004\342A\001\002\022@\n\013environment\030\003 \001(\0132%.goog" + + "le.cloud.dataplex.v1.EnvironmentB\004\342A\001\002\022\033" + + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\260\001\n\030UpdateEn" + + "vironmentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + + "google.protobuf.FieldMaskB\004\342A\001\002\022@\n\013envir" + + "onment\030\002 \001(\0132%.google.cloud.dataplex.v1." + + "EnvironmentB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + + "B\004\342A\001\001\"V\n\030DeleteEnvironmentRequest\022:\n\004na" + + "me\030\001 \001(\tB,\342A\001\002\372A%\n#dataplex.googleapis.c" + + "om/Environment\"\261\001\n\027ListEnvironmentsReque" + + "st\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + + "ogleapis.com/Lake\022\027\n\tpage_size\030\002 \001(\005B\004\342A" + + "\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004" + + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"p\n\030Li" + + "stEnvironmentsResponse\022;\n\014environments\030\001" + + " \003(\0132%.google.cloud.dataplex.v1.Environm" + + "ent\022\027\n\017next_page_token\030\002 \001(\t\"S\n\025GetEnvir" + + "onmentRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#da" + + "taplex.googleapis.com/Environment\"\234\001\n\023Li" + + "stSessionsRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372" + + "A%\n#dataplex.googleapis.com/Environment\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + + " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"d\n\024List" + + "SessionsResponse\0223\n\010sessions\030\001 \003(\0132!.goo" + + "gle.cloud.dataplex.v1.Session\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t2\2542\n\017DataplexService\022\303\001\n\nC" + + "reateLake\022+.google.cloud.dataplex.v1.Cre" + + "ateLakeRequest\032\035.google.longrunning.Oper" + + "ation\"i\312A\031\n\004Lake\022\021OperationMetadata\332A\023pa" + + "rent,lake,lake_id\202\323\344\223\0021\")/v1/{parent=pro" + + "jects/*/locations/*}/lakes:\004lake\022\305\001\n\nUpd" + + "ateLake\022+.google.cloud.dataplex.v1.Updat" + + "eLakeRequest\032\035.google.longrunning.Operat" + + "ion\"k\312A\031\n\004Lake\022\021OperationMetadata\332A\020lake" + + ",update_mask\202\323\344\223\00262./v1/{lake.name=proje" + + "cts/*/locations/*/lakes/*}:\004lake\022\277\001\n\nDel" + + "eteLake\022+.google.cloud.dataplex.v1.Delet" + + "eLakeRequest\032\035.google.longrunning.Operat" + + "ion\"e\312A*\n\025google.protobuf.Empty\022\021Operati" + + "onMetadata\332A\004name\202\323\344\223\002+*)/v1/{name=proje" + + "cts/*/locations/*/lakes/*}\022\240\001\n\tListLakes" + + "\022*.google.cloud.dataplex.v1.ListLakesReq" + + "uest\032+.google.cloud.dataplex.v1.ListLake" + + "sResponse\":\332A\006parent\202\323\344\223\002+\022)/v1/{parent=" + + "projects/*/locations/*}/lakes\022\215\001\n\007GetLak" + + "e\022(.google.cloud.dataplex.v1.GetLakeRequ" + + "est\032\036.google.cloud.dataplex.v1.Lake\"8\332A\004" + + "name\202\323\344\223\002+\022)/v1/{name=projects/*/locatio" + + "ns/*/lakes/*}\022\270\001\n\017ListLakeActions\0220.goog" + + "le.cloud.dataplex.v1.ListLakeActionsRequ" + + "est\032-.google.cloud.dataplex.v1.ListActio" + + "nsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent" + + "=projects/*/locations/*/lakes/*}/actions" + + "\022\313\001\n\nCreateZone\022+.google.cloud.dataplex." + + "v1.CreateZoneRequest\032\035.google.longrunnin" + + "g.Operation\"q\312A\031\n\004Zone\022\021OperationMetadat" + + "a\332A\023parent,zone,zone_id\202\323\344\223\0029\"1/v1/{pare" + + "nt=projects/*/locations/*/lakes/*}/zones" + + ":\004zone\022\315\001\n\nUpdateZone\022+.google.cloud.dat" + + "aplex.v1.UpdateZoneRequest\032\035.google.long" + + "running.Operation\"s\312A\031\n\004Zone\022\021OperationM" + + "etadata\332A\020zone,update_mask\202\323\344\223\002>26/v1/{z" + + "one.name=projects/*/locations/*/lakes/*/" + + "zones/*}:\004zone\022\307\001\n\nDeleteZone\022+.google.c" + + "loud.dataplex.v1.DeleteZoneRequest\032\035.goo" + + "gle.longrunning.Operation\"m\312A*\n\025google.p" + + "rotobuf.Empty\022\021OperationMetadata\332A\004name\202" + + "\323\344\223\0023*1/v1/{name=projects/*/locations/*/" + + "lakes/*/zones/*}\022\250\001\n\tListZones\022*.google." + + "cloud.dataplex.v1.ListZonesRequest\032+.goo" + + "gle.cloud.dataplex.v1.ListZonesResponse\"" + + "B\332A\006parent\202\323\344\223\0023\0221/v1/{parent=projects/*" + + "/locations/*/lakes/*}/zones\022\225\001\n\007GetZone\022" + + "(.google.cloud.dataplex.v1.GetZoneReques" + + "t\032\036.google.cloud.dataplex.v1.Zone\"@\332A\004na" + + "me\202\323\344\223\0023\0221/v1/{name=projects/*/locations" + + "/*/lakes/*/zones/*}\022\300\001\n\017ListZoneActions\022" + + "0.google.cloud.dataplex.v1.ListZoneActio" + + "nsRequest\032-.google.cloud.dataplex.v1.Lis" + + "tActionsResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{" + + "parent=projects/*/locations/*/lakes/*/zo" + + "nes/*}/actions\022\332\001\n\013CreateAsset\022,.google." + + "cloud.dataplex.v1.CreateAssetRequest\032\035.g" + + "oogle.longrunning.Operation\"~\312A\032\n\005Asset\022" + + "\021OperationMetadata\332A\025parent,asset,asset_" + + "id\202\323\344\223\002C\":/v1/{parent=projects/*/locatio" + + "ns/*/lakes/*/zones/*}/assets:\005asset\022\335\001\n\013" + + "UpdateAsset\022,.google.cloud.dataplex.v1.U" + + "pdateAssetRequest\032\035.google.longrunning.O" + + "peration\"\200\001\312A\032\n\005Asset\022\021OperationMetadata" + + "\332A\021asset,update_mask\202\323\344\223\002I2@/v1/{asset.n" + + "ame=projects/*/locations/*/lakes/*/zones" + + "/*/assets/*}:\005asset\022\322\001\n\013DeleteAsset\022,.go" + + "ogle.cloud.dataplex.v1.DeleteAssetReques" + + "t\032\035.google.longrunning.Operation\"v\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\332" + + "A\004name\202\323\344\223\002<*:/v1/{name=projects/*/locat" + + "ions/*/lakes/*/zones/*/assets/*}\022\264\001\n\nLis" + + "tAssets\022+.google.cloud.dataplex.v1.ListA" + + "ssetsRequest\032,.google.cloud.dataplex.v1." + + "ListAssetsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "zones/*}/assets\022\241\001\n\010GetAsset\022).google.cl" + + "oud.dataplex.v1.GetAssetRequest\032\037.google" + + ".cloud.dataplex.v1.Asset\"I\332A\004name\202\323\344\223\002<\022" + + ":/v1/{name=projects/*/locations/*/lakes/" + + "*/zones/*/assets/*}\022\313\001\n\020ListAssetActions" + + "\0221.google.cloud.dataplex.v1.ListAssetAct" + + "ionsRequest\032-.google.cloud.dataplex.v1.L" + + "istActionsResponse\"U\332A\006parent\202\323\344\223\002F\022D/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "zones/*/assets/*}/actions\022\313\001\n\nCreateTask" + + "\022+.google.cloud.dataplex.v1.CreateTaskRe" + + "quest\032\035.google.longrunning.Operation\"q\312A" + + "\031\n\004Task\022\021OperationMetadata\332A\023parent,task" + + ",task_id\202\323\344\223\0029\"1/v1/{parent=projects/*/l" + + "ocations/*/lakes/*}/tasks:\004task\022\315\001\n\nUpda" + + "teTask\022+.google.cloud.dataplex.v1.Update" + + "TaskRequest\032\035.google.longrunning.Operati" + + "on\"s\312A\031\n\004Task\022\021OperationMetadata\332A\020task," + + "update_mask\202\323\344\223\002>26/v1/{task.name=projec" + + "ts/*/locations/*/lakes/*/tasks/*}:\004task\022" + + "\307\001\n\nDeleteTask\022+.google.cloud.dataplex.v" + + "1.DeleteTaskRequest\032\035.google.longrunning" + + ".Operation\"m\312A*\n\025google.protobuf.Empty\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\0023*1/v1/{nam" + + "e=projects/*/locations/*/lakes/*/tasks/*" + + "}\022\250\001\n\tListTasks\022*.google.cloud.dataplex." + + "v1.ListTasksRequest\032+.google.cloud.datap" + + "lex.v1.ListTasksResponse\"B\332A\006parent\202\323\344\223\002" + + "3\0221/v1/{parent=projects/*/locations/*/la" + + "kes/*}/tasks\022\225\001\n\007GetTask\022(.google.cloud." + + "dataplex.v1.GetTaskRequest\032\036.google.clou" + + "d.dataplex.v1.Task\"@\332A\004name\202\323\344\223\0023\0221/v1/{" + + "name=projects/*/locations/*/lakes/*/task" + + "s/*}\022\254\001\n\010ListJobs\022).google.cloud.dataple" + + "x.v1.ListJobsRequest\032*.google.cloud.data" + + "plex.v1.ListJobsResponse\"I\332A\006parent\202\323\344\223\002" + + ":\0228/v1/{parent=projects/*/locations/*/la" + + "kes/*/tasks/*}/jobs\022\247\001\n\007RunTask\022(.google" + + ".cloud.dataplex.v1.RunTaskRequest\032).goog" + + "le.cloud.dataplex.v1.RunTaskResponse\"G\332A" + + "\004name\202\323\344\223\002:\"5/v1/{name=projects/*/locati" + + "ons/*/lakes/*/tasks/*}:run:\001*\022\231\001\n\006GetJob" + + "\022\'.google.cloud.dataplex.v1.GetJobReques" + + "t\032\035.google.cloud.dataplex.v1.Job\"G\332A\004nam" + + "e\202\323\344\223\002:\0228/v1/{name=projects/*/locations/" + + "*/lakes/*/tasks/*/jobs/*}\022\242\001\n\tCancelJob\022" + + "*.google.cloud.dataplex.v1.CancelJobRequ" + + "est\032\026.google.protobuf.Empty\"Q\332A\004name\202\323\344\223" + + "\002D\"?/v1/{name=projects/*/locations/*/lak" + + "es/*/tasks/*/jobs/*}:cancel:\001*\022\375\001\n\021Creat" + + "eEnvironment\0222.google.cloud.dataplex.v1." + + "CreateEnvironmentRequest\032\035.google.longru" + + "nning.Operation\"\224\001\312A \n\013Environment\022\021Oper" + + "ationMetadata\332A!parent,environment,envir" + + "onment_id\202\323\344\223\002G\"8/v1/{parent=projects/*/" + + "locations/*/lakes/*}/environments:\013envir" + + "onment\022\377\001\n\021UpdateEnvironment\0222.google.cl" + + "oud.dataplex.v1.UpdateEnvironmentRequest" + + "\032\035.google.longrunning.Operation\"\226\001\312A \n\013E" + + "nvironment\022\021OperationMetadata\332A\027environm" + + "ent,update_mask\202\323\344\223\002S2D/v1/{environment." + + "name=projects/*/locations/*/lakes/*/envi" + + "ronments/*}:\013environment\022\334\001\n\021DeleteEnvir" + + "onment\0222.google.cloud.dataplex.v1.Delete" + + "EnvironmentRequest\032\035.google.longrunning." + + "Operation\"t\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\332A\004name\202\323\344\223\002:*8/v1/{name" + + "=projects/*/locations/*/lakes/*/environm" + + "ents/*}\022\304\001\n\020ListEnvironments\0221.google.cl" + + "oud.dataplex.v1.ListEnvironmentsRequest\032" + + "2.google.cloud.dataplex.v1.ListEnvironme" + + "ntsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren" + + "t=projects/*/locations/*/lakes/*}/enviro" + + "nments\022\261\001\n\016GetEnvironment\022/.google.cloud" + + ".dataplex.v1.GetEnvironmentRequest\032%.goo" + + "gle.cloud.dataplex.v1.Environment\"G\332A\004na" + + "me\202\323\344\223\002:\0228/v1/{name=projects/*/locations" + + "/*/lakes/*/environments/*}\022\303\001\n\014ListSessi" + + "ons\022-.google.cloud.dataplex.v1.ListSessi" + + "onsRequest\032..google.cloud.dataplex.v1.Li" + + "stSessionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1" + + "/{parent=projects/*/locations/*/lakes/*/" + + "environments/*}/sessions\032K\312A\027dataplex.go" + + "ogleapis.com\322A.https://www.googleapis.co" + + "m/auth/cloud-platformBh\n\034com.google.clou" + + "d.dataplex.v1B\014ServiceProtoP\001Z8cloud.goo" + + "gle.com/go/dataplex/apiv1/dataplexpb;dat" + + "aplexpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.cloud.dataplex.v1.TasksProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor, + new java.lang.String[] { + "Parent", "LakeId", "Lake", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Lake", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor, + new java.lang.String[] { + "Lakes", "NextPageToken", "UnreachableLocations", + }); + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor, + new java.lang.String[] { + "Actions", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor, + new java.lang.String[] { + "Parent", "ZoneId", "Zone", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Zone", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor, + new java.lang.String[] { + "Zones", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor, + new java.lang.String[] { + "Parent", "AssetId", "Asset", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Asset", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor, + new java.lang.String[] { + "Assets", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + }); + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor, + new java.lang.String[] { + "Parent", "TaskId", "Task", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Task", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", "NextPageToken", "UnreachableLocations", + }); + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor, + new java.lang.String[] { + "Name", "Labels", "Args", + }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor, + new java.lang.String[] { + "Job", + }); + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor, + new java.lang.String[] { + "Parent", "EnvironmentId", "Environment", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Environment", "ValidateOnly", + }); + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor, + new java.lang.String[] { + "Environments", "NextPageToken", + }); + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor, + new java.lang.String[] { + "Sessions", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.cloud.dataplex.v1.TasksProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java index 1a54ece67121..70ba4c023ef2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Session.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Represents an active analyze session running for a user.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Session} */ -public final class Session extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Session extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Session) SessionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Session.newBuilder() to construct. private Session(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Session() { name_ = ""; userId_ = ""; @@ -27,34 +45,41 @@ private Session() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Session(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Session.class, com.google.cloud.dataplex.v1.Session.Builder.class); + com.google.cloud.dataplex.v1.Session.class, + com.google.cloud.dataplex.v1.Session.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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; } } /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -95,14 +122,18 @@ public java.lang.String getName() { } public static final int USER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** + * + * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The userId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -144,11 +175,15 @@ public java.lang.String getUserId() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -156,11 +191,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -168,11 +207,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -182,30 +224,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** + * + * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -247,12 +300,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,21 +313,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Session)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Session other = (com.google.cloud.dataplex.v1.Session) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUserId() - .equals(other.getUserId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUserId().equals(other.getUserId())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -305,132 +353,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Session parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Session parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Session parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Session parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Session parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Session parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Session parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Session parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Session parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Session parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Session prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 an active analyze session running for a user.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Session} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Session) com.google.cloud.dataplex.v1.SessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Session.class, com.google.cloud.dataplex.v1.Session.Builder.class); + com.google.cloud.dataplex.v1.Session.class, + com.google.cloud.dataplex.v1.Session.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Session.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.AnalyzeProto.internal_static_google_cloud_dataplex_v1_Session_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.AnalyzeProto + .internal_static_google_cloud_dataplex_v1_Session_descriptor; } @java.lang.Override @@ -469,7 +520,9 @@ public com.google.cloud.dataplex.v1.Session build() { @java.lang.Override public com.google.cloud.dataplex.v1.Session buildPartial() { com.google.cloud.dataplex.v1.Session result = new com.google.cloud.dataplex.v1.Session(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -483,9 +536,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Session result) { result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.state_ = state_; @@ -496,38 +547,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Session result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Session) { - return mergeFrom((com.google.cloud.dataplex.v1.Session)other); + return mergeFrom((com.google.cloud.dataplex.v1.Session) other); } else { super.mergeFrom(other); return this; @@ -578,34 +630,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - state_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,23 +670,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -640,21 +700,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -662,30 +725,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -695,18 +769,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the content, of the form:
      * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -716,18 +796,20 @@ public Builder setNameBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -736,20 +818,21 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -757,28 +840,35 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -788,17 +878,21 @@ public Builder clearUserId() { return this; } /** + * + * *
      * Output only. Email of user running the session.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -808,39 +902,58 @@ public Builder setUserIdBytes( 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. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -856,14 +969,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -874,17 +990,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -897,11 +1017,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -914,11 +1038,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -926,36 +1054,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Session start time.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -963,22 +1103,31 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -989,24 +1138,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1020,11 +1178,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. State of Session
      * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1033,9 +1195,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +1207,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Session) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Session) private static final com.google.cloud.dataplex.v1.Session DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Session(); } @@ -1059,27 +1221,27 @@ public static com.google.cloud.dataplex.v1.Session getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Session parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Session parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,6 +1256,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Session getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java similarity index 73% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java index f19683fc62df..b39bf77a8827 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * These messages contain information about sessions within an environment.
  * The monitored resource is 'Environment'.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent}
  */
-public final class SessionEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SessionEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.SessionEvent)
     SessionEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SessionEvent.newBuilder() to construct.
   private SessionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SessionEvent() {
     message_ = "";
     userId_ = "";
@@ -29,34 +47,38 @@ private SessionEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SessionEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.LogsProto
+        .internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.SessionEvent.class, com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
+            com.google.cloud.dataplex.v1.SessionEvent.class,
+            com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the event.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.SessionEvent.EventType} */ - public enum EventType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified event type.
      * 
@@ -65,6 +87,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Event when the session is assigned to a user.
      * 
@@ -73,6 +97,8 @@ public enum EventType */ START(1), /** + * + * *
      * Event for stop of a session.
      * 
@@ -81,6 +107,8 @@ public enum EventType */ STOP(2), /** + * + * *
      * Query events in the session.
      * 
@@ -89,6 +117,8 @@ public enum EventType */ QUERY(3), /** + * + * *
      * Event for creation of a cluster. It is not yet assigned to a user.
      * This comes before START in the sequence
@@ -101,6 +131,8 @@ public enum EventType
     ;
 
     /**
+     *
+     *
      * 
      * An unspecified event type.
      * 
@@ -109,6 +141,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Event when the session is assigned to a user.
      * 
@@ -117,6 +151,8 @@ public enum EventType */ public static final int START_VALUE = 1; /** + * + * *
      * Event for stop of a session.
      * 
@@ -125,6 +161,8 @@ public enum EventType */ public static final int STOP_VALUE = 2; /** + * + * *
      * Query events in the session.
      * 
@@ -133,6 +171,8 @@ public enum EventType */ public static final int QUERY_VALUE = 3; /** + * + * *
      * Event for creation of a cluster. It is not yet assigned to a user.
      * This comes before START in the sequence
@@ -142,7 +182,6 @@ public enum EventType
      */
     public static final int CREATE_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -167,51 +206,53 @@ public static EventType valueOf(int value) {
      */
     public static EventType forNumber(int value) {
       switch (value) {
-        case 0: return EVENT_TYPE_UNSPECIFIED;
-        case 1: return START;
-        case 2: return STOP;
-        case 3: return QUERY;
-        case 4: return CREATE;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return EVENT_TYPE_UNSPECIFIED;
+        case 1:
+          return START;
+        case 2:
+          return STOP;
+        case 3:
+          return QUERY;
+        case 4:
+          return CREATE;
+        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.cloud.dataplex.v1.SessionEvent.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;
@@ -228,88 +269,113 @@ private EventType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.SessionEvent.EventType)
   }
 
-  public interface QueryDetailOrBuilder extends
+  public interface QueryDetailOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.SessionEvent.QueryDetail)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; + * * @return The queryId. */ java.lang.String getQueryId(); /** + * + * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; + * * @return The bytes for queryId. */ - com.google.protobuf.ByteString - getQueryIdBytes(); + com.google.protobuf.ByteString getQueryIdBytes(); /** + * + * *
      * The query text executed.
      * 
* * string query_text = 2; + * * @return The queryText. */ java.lang.String getQueryText(); /** + * + * *
      * The query text executed.
      * 
* * string query_text = 2; + * * @return The bytes for queryText. */ - com.google.protobuf.ByteString - getQueryTextBytes(); + com.google.protobuf.ByteString getQueryTextBytes(); /** + * + * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The enum numeric value on the wire for engine. */ int getEngineValue(); /** + * + * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The engine. */ com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine(); /** + * + * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Time taken for execution of the query.
      * 
@@ -319,41 +385,50 @@ public interface QueryDetailOrBuilder extends com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** + * + * *
      * The size of results the query produced.
      * 
* * int64 result_size_bytes = 5; + * * @return The resultSizeBytes. */ long getResultSizeBytes(); /** + * + * *
      * The data processed by the query.
      * 
* * int64 data_processed_bytes = 6; + * * @return The dataProcessedBytes. */ long getDataProcessedBytes(); } /** + * + * *
    * Execution details of the query.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail} */ - public static final class QueryDetail extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryDetail extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.SessionEvent.QueryDetail) QueryDetailOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDetail.newBuilder() to construct. private QueryDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryDetail() { queryId_ = ""; queryText_ = ""; @@ -362,34 +437,38 @@ private QueryDetail() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryDetail(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); } /** + * + * *
      * Query Execution engine.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine} */ - public enum Engine - implements com.google.protobuf.ProtocolMessageEnum { + public enum Engine implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * An unspecified Engine type.
        * 
@@ -398,6 +477,8 @@ public enum Engine */ ENGINE_UNSPECIFIED(0), /** + * + * *
        * Spark-sql engine is specified in Query.
        * 
@@ -406,6 +487,8 @@ public enum Engine */ SPARK_SQL(1), /** + * + * *
        * BigQuery engine is specified in Query.
        * 
@@ -417,6 +500,8 @@ public enum Engine ; /** + * + * *
        * An unspecified Engine type.
        * 
@@ -425,6 +510,8 @@ public enum Engine */ public static final int ENGINE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Spark-sql engine is specified in Query.
        * 
@@ -433,6 +520,8 @@ public enum Engine */ public static final int SPARK_SQL_VALUE = 1; /** + * + * *
        * BigQuery engine is specified in Query.
        * 
@@ -441,7 +530,6 @@ public enum Engine */ public static final int BIGQUERY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -466,49 +554,51 @@ public static Engine valueOf(int value) { */ public static Engine forNumber(int value) { switch (value) { - case 0: return ENGINE_UNSPECIFIED; - case 1: return SPARK_SQL; - case 2: return BIGQUERY; - default: return null; + case 0: + return ENGINE_UNSPECIFIED; + case 1: + return SPARK_SQL; + case 2: + return BIGQUERY; + 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< - Engine> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Engine findValueByNumber(int number) { - return Engine.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 Engine findValueByNumber(int number) { + return Engine.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDescriptor() + .getEnumTypes() + .get(0); } private static final Engine[] VALUES = values(); - public static Engine valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Engine 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; @@ -526,14 +616,18 @@ private Engine(int value) { } public static final int QUERY_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object queryId_ = ""; /** + * + * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; + * * @return The queryId. */ @java.lang.Override @@ -542,29 +636,29 @@ public java.lang.String getQueryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryId_ = s; return s; } } /** + * + * *
      * The unique Query id identifying the query.
      * 
* * string query_id = 1; + * * @return The bytes for queryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryIdBytes() { + public com.google.protobuf.ByteString getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryId_ = b; return b; } else { @@ -573,14 +667,18 @@ public java.lang.String getQueryId() { } public static final int QUERY_TEXT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object queryText_ = ""; /** + * + * *
      * The query text executed.
      * 
* * string query_text = 2; + * * @return The queryText. */ @java.lang.Override @@ -589,29 +687,29 @@ public java.lang.String getQueryText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryText_ = s; return s; } } /** + * + * *
      * The query text executed.
      * 
* * string query_text = 2; + * * @return The bytes for queryText. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryTextBytes() { + public com.google.protobuf.ByteString getQueryTextBytes() { java.lang.Object ref = queryText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryText_ = b; return b; } else { @@ -622,37 +720,51 @@ public java.lang.String getQueryText() { public static final int ENGINE_FIELD_NUMBER = 3; private int engine_ = 0; /** + * + * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override public int getEngineValue() { + @java.lang.Override + public int getEngineValue() { return engine_; } /** + * + * *
      * Query Execution engine.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The engine. */ - @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); - return result == null ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); + return result == null + ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED + : result; } public static final int DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration duration_; /** + * + * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -660,11 +772,14 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Time taken for execution of the query.
      * 
* * .google.protobuf.Duration duration = 4; + * * @return The duration. */ @java.lang.Override @@ -672,6 +787,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Time taken for execution of the query.
      * 
@@ -686,11 +803,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int RESULT_SIZE_BYTES_FIELD_NUMBER = 5; private long resultSizeBytes_ = 0L; /** + * + * *
      * The size of results the query produced.
      * 
* * int64 result_size_bytes = 5; + * * @return The resultSizeBytes. */ @java.lang.Override @@ -701,11 +821,14 @@ public long getResultSizeBytes() { public static final int DATA_PROCESSED_BYTES_FIELD_NUMBER = 6; private long dataProcessedBytes_ = 0L; /** + * + * *
      * The data processed by the query.
      * 
* * int64 data_processed_bytes = 6; + * * @return The dataProcessedBytes. */ @java.lang.Override @@ -714,6 +837,7 @@ public long getDataProcessedBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -725,15 +849,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(queryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryText_); } - if (engine_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED.getNumber()) { + if (engine_ + != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, engine_); } if (duration_ != null) { @@ -760,21 +885,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryText_); } - if (engine_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, engine_); + if (engine_ + != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.ENGINE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, engine_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDuration()); } if (resultSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, resultSizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, resultSizeBytes_); } if (dataProcessedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, dataProcessedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, dataProcessedBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -784,27 +907,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.SessionEvent.QueryDetail)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other = (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) obj; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other = + (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) obj; - if (!getQueryId() - .equals(other.getQueryId())) return false; - if (!getQueryText() - .equals(other.getQueryText())) return false; + if (!getQueryId().equals(other.getQueryId())) return false; + if (!getQueryText().equals(other.getQueryText())) return false; if (engine_ != other.engine_) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } - if (getResultSizeBytes() - != other.getResultSizeBytes()) return false; - if (getDataProcessedBytes() - != other.getDataProcessedBytes()) return false; + if (getResultSizeBytes() != other.getResultSizeBytes()) return false; + if (getDataProcessedBytes() != other.getDataProcessedBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -827,100 +946,103 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + RESULT_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getResultSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultSizeBytes()); hash = (37 * hash) + DATA_PROCESSED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDataProcessedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataProcessedBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -930,39 +1052,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Execution details of the query.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent.QueryDetail} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.SessionEvent.QueryDetail) com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.class, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder.class); } // Construct using com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -981,9 +1105,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.LogsProto + .internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; } @java.lang.Override @@ -1002,8 +1126,11 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail build() { @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail buildPartial() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result = new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result = + new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1020,9 +1147,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail result.engine_ = engine_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.duration_ = durationBuilder_ == null - ? duration_ - : durationBuilder_.build(); + result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.resultSizeBytes_ = resultSizeBytes_; @@ -1036,38 +1161,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) { - return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail)other); + return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) other); } else { super.mergeFrom(other); return this; @@ -1075,7 +1203,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail other) { - if (other == com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) + return this; if (!other.getQueryId().isEmpty()) { queryId_ = other.queryId_; bitField0_ |= 0x00000001; @@ -1124,44 +1253,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - queryId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - queryText_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - engine_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - resultSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - dataProcessedBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + queryId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + queryText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + engine_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + resultSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + dataProcessedBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1171,22 +1305,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object queryId_ = ""; /** + * + * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; + * * @return The queryId. */ public java.lang.String getQueryId() { java.lang.Object ref = queryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryId_ = s; return s; @@ -1195,20 +1332,21 @@ public java.lang.String getQueryId() { } } /** + * + * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; + * * @return The bytes for queryId. */ - public com.google.protobuf.ByteString - getQueryIdBytes() { + public com.google.protobuf.ByteString getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryId_ = b; return b; } else { @@ -1216,28 +1354,35 @@ public java.lang.String getQueryId() { } } /** + * + * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; + * * @param value The queryId to set. * @return This builder for chaining. */ - public Builder setQueryId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; + * * @return This builder for chaining. */ public Builder clearQueryId() { @@ -1247,17 +1392,21 @@ public Builder clearQueryId() { return this; } /** + * + * *
        * The unique Query id identifying the query.
        * 
* * string query_id = 1; + * * @param value The bytes for queryId to set. * @return This builder for chaining. */ - public Builder setQueryIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryId_ = value; bitField0_ |= 0x00000001; @@ -1267,18 +1416,20 @@ public Builder setQueryIdBytes( private java.lang.Object queryText_ = ""; /** + * + * *
        * The query text executed.
        * 
* * string query_text = 2; + * * @return The queryText. */ public java.lang.String getQueryText() { java.lang.Object ref = queryText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryText_ = s; return s; @@ -1287,20 +1438,21 @@ public java.lang.String getQueryText() { } } /** + * + * *
        * The query text executed.
        * 
* * string query_text = 2; + * * @return The bytes for queryText. */ - public com.google.protobuf.ByteString - getQueryTextBytes() { + public com.google.protobuf.ByteString getQueryTextBytes() { java.lang.Object ref = queryText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryText_ = b; return b; } else { @@ -1308,28 +1460,35 @@ public java.lang.String getQueryText() { } } /** + * + * *
        * The query text executed.
        * 
* * string query_text = 2; + * * @param value The queryText to set. * @return This builder for chaining. */ - public Builder setQueryText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The query text executed.
        * 
* * string query_text = 2; + * * @return This builder for chaining. */ public Builder clearQueryText() { @@ -1339,17 +1498,21 @@ public Builder clearQueryText() { return this; } /** + * + * *
        * The query text executed.
        * 
* * string query_text = 2; + * * @param value The bytes for queryText to set. * @return This builder for chaining. */ - public Builder setQueryTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryText_ = value; bitField0_ |= 0x00000002; @@ -1359,22 +1522,29 @@ public Builder setQueryTextBytes( private int engine_ = 0; /** + * + * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The enum numeric value on the wire for engine. */ - @java.lang.Override public int getEngineValue() { + @java.lang.Override + public int getEngineValue() { return engine_; } /** + * + * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @param value The enum numeric value on the wire for engine to set. * @return This builder for chaining. */ @@ -1385,24 +1555,33 @@ public Builder setEngineValue(int value) { return this; } /** + * + * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return The engine. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine getEngine() { - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); - return result == null ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine result = + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.forNumber(engine_); + return result == null + ? com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine.UNRECOGNIZED + : result; } /** + * + * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @param value The engine to set. * @return This builder for chaining. */ @@ -1416,11 +1595,14 @@ public Builder setEngine(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.E return this; } /** + * + * *
        * Query Execution engine.
        * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3; + * * @return This builder for chaining. */ public Builder clearEngine() { @@ -1432,24 +1614,33 @@ public Builder clearEngine() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1460,6 +1651,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1480,14 +1673,15 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Time taken for execution of the query.
        * 
* * .google.protobuf.Duration duration = 4; */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); } else { @@ -1498,6 +1692,8 @@ public Builder setDuration( return this; } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1506,9 +1702,9 @@ public Builder setDuration( */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - duration_ != null && - duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && duration_ != null + && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDurationBuilder().mergeFrom(value); } else { duration_ = value; @@ -1521,6 +1717,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1538,6 +1736,8 @@ public Builder clearDuration() { return this; } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1550,6 +1750,8 @@ public com.google.protobuf.Duration.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1560,11 +1762,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
        * Time taken for execution of the query.
        * 
@@ -1572,26 +1775,32 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { * .google.protobuf.Duration duration = 4; */ 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> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } - private long resultSizeBytes_ ; + private long resultSizeBytes_; /** + * + * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; + * * @return The resultSizeBytes. */ @java.lang.Override @@ -1599,11 +1808,14 @@ public long getResultSizeBytes() { return resultSizeBytes_; } /** + * + * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; + * * @param value The resultSizeBytes to set. * @return This builder for chaining. */ @@ -1615,11 +1827,14 @@ public Builder setResultSizeBytes(long value) { return this; } /** + * + * *
        * The size of results the query produced.
        * 
* * int64 result_size_bytes = 5; + * * @return This builder for chaining. */ public Builder clearResultSizeBytes() { @@ -1629,13 +1844,16 @@ public Builder clearResultSizeBytes() { return this; } - private long dataProcessedBytes_ ; + private long dataProcessedBytes_; /** + * + * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; + * * @return The dataProcessedBytes. */ @java.lang.Override @@ -1643,11 +1861,14 @@ public long getDataProcessedBytes() { return dataProcessedBytes_; } /** + * + * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; + * * @param value The dataProcessedBytes to set. * @return This builder for chaining. */ @@ -1659,11 +1880,14 @@ public Builder setDataProcessedBytes(long value) { return this; } /** + * + * *
        * The data processed by the query.
        * 
* * int64 data_processed_bytes = 6; + * * @return This builder for chaining. */ public Builder clearDataProcessedBytes() { @@ -1672,6 +1896,7 @@ public Builder clearDataProcessedBytes() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1684,12 +1909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.SessionEvent.QueryDetail) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.SessionEvent.QueryDetail) private static final com.google.cloud.dataplex.v1.SessionEvent.QueryDetail DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.SessionEvent.QueryDetail(); } @@ -1698,27 +1923,28 @@ public static com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDetail parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1733,18 +1959,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int detailCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object detail_; + public enum DetailCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(5), DETAIL_NOT_SET(0); private final int value; + private DetailCase(int value) { this.value = value; } @@ -1760,31 +1989,37 @@ public static DetailCase valueOf(int value) { public static DetailCase forNumber(int value) { switch (value) { - case 5: return QUERY; - case 0: return DETAIL_NOT_SET; - default: return null; + case 5: + return QUERY; + case 0: + return DETAIL_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailCase - getDetailCase() { - return DetailCase.forNumber( - detailCase_); + public DetailCase getDetailCase() { + return DetailCase.forNumber(detailCase_); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -1793,29 +2028,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -1824,15 +2059,19 @@ public java.lang.String getMessage() { } public static final int USER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** + * + * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; + * * @return The userId. */ @java.lang.Override @@ -1841,30 +2080,30 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -1873,14 +2112,18 @@ public java.lang.String getUserId() { } public static final int SESSION_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** + * + * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; + * * @return The sessionId. */ @java.lang.Override @@ -1889,29 +2132,29 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** + * + * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; + * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -1922,36 +2165,50 @@ public java.lang.String getSessionId() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @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 the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { - com.google.cloud.dataplex.v1.SessionEvent.EventType result = com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { + com.google.cloud.dataplex.v1.SessionEvent.EventType result = + com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED + : result; } public static final int QUERY_FIELD_NUMBER = 5; /** + * + * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return Whether the query field is set. */ @java.lang.Override @@ -1959,21 +2216,26 @@ public boolean hasQuery() { return detailCase_ == 5; } /** + * + * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return The query. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { if (detailCase_ == 5) { - return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; + return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; } return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } /** + * + * *
    * The execution details of the query.
    * 
@@ -1983,7 +2245,7 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOrBuilder() { if (detailCase_ == 5) { - return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; + return (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_; } return com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } @@ -1991,11 +2253,14 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr public static final int EVENT_SUCCEEDED_FIELD_NUMBER = 6; private boolean eventSucceeded_ = false; /** + * + * *
    * The status of the event.
    * 
* * bool event_succeeded = 6; + * * @return The eventSucceeded. */ @java.lang.Override @@ -2006,12 +2271,15 @@ public boolean getEventSucceeded() { public static final int FAST_STARTUP_ENABLED_FIELD_NUMBER = 7; private boolean fastStartupEnabled_ = false; /** + * + * *
    * If the session is associated with an environment with fast startup enabled,
    * and was created before being assigned to a user.
    * 
* * bool fast_startup_enabled = 7; + * * @return The fastStartupEnabled. */ @java.lang.Override @@ -2022,11 +2290,14 @@ public boolean getFastStartupEnabled() { public static final int UNASSIGNED_DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration unassignedDuration_; /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return Whether the unassignedDuration field is set. */ @java.lang.Override @@ -2034,18 +2305,25 @@ public boolean hasUnassignedDuration() { return unassignedDuration_ != null; } /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return The unassignedDuration. */ @java.lang.Override public com.google.protobuf.Duration getUnassignedDuration() { - return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; + return unassignedDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : unassignedDuration_; } /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
@@ -2054,10 +2332,13 @@ public com.google.protobuf.Duration getUnassignedDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { - return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; + return unassignedDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : unassignedDuration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2069,8 +2350,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -2080,7 +2360,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sessionId_); } - if (type_ != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } if (detailCase_ == 5) { @@ -2113,25 +2394,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sessionId_); } - if (type_ != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + if (type_ + != com.google.cloud.dataplex.v1.SessionEvent.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } if (detailCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_); } if (eventSucceeded_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, eventSucceeded_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, eventSucceeded_); } if (fastStartupEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, fastStartupEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, fastStartupEnabled_); } if (unassignedDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUnassignedDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUnassignedDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2141,34 +2420,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.SessionEvent)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.SessionEvent other = (com.google.cloud.dataplex.v1.SessionEvent) obj; + com.google.cloud.dataplex.v1.SessionEvent other = + (com.google.cloud.dataplex.v1.SessionEvent) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getUserId() - .equals(other.getUserId())) return false; - if (!getSessionId() - .equals(other.getSessionId())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getUserId().equals(other.getUserId())) return false; + if (!getSessionId().equals(other.getSessionId())) return false; if (type_ != other.type_) return false; - if (getEventSucceeded() - != other.getEventSucceeded()) return false; - if (getFastStartupEnabled() - != other.getFastStartupEnabled()) return false; + if (getEventSucceeded() != other.getEventSucceeded()) return false; + if (getFastStartupEnabled() != other.getFastStartupEnabled()) return false; if (hasUnassignedDuration() != other.hasUnassignedDuration()) return false; if (hasUnassignedDuration()) { - if (!getUnassignedDuration() - .equals(other.getUnassignedDuration())) return false; + if (!getUnassignedDuration().equals(other.getUnassignedDuration())) return false; } if (!getDetailCase().equals(other.getDetailCase())) return false; switch (detailCase_) { case 5: - if (!getQuery() - .equals(other.getQuery())) return false; + if (!getQuery().equals(other.getQuery())) return false; break; case 0: default: @@ -2193,11 +2466,9 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + EVENT_SUCCEEDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEventSucceeded()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEventSucceeded()); hash = (37 * hash) + FAST_STARTUP_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFastStartupEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastStartupEnabled()); if (hasUnassignedDuration()) { hash = (37 * hash) + UNASSIGNED_DURATION_FIELD_NUMBER; hash = (53 * hash) + getUnassignedDuration().hashCode(); @@ -2215,99 +2486,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.SessionEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.SessionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.SessionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * These messages contain information about sessions within an environment.
    * The monitored resource is 'Environment'.
@@ -2315,33 +2591,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.SessionEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.SessionEvent)
       com.google.cloud.dataplex.v1.SessionEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.SessionEvent.class, com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
+              com.google.cloud.dataplex.v1.SessionEvent.class,
+              com.google.cloud.dataplex.v1.SessionEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.SessionEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2366,9 +2641,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.LogsProto.internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.LogsProto
+          .internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor;
     }
 
     @java.lang.Override
@@ -2387,8 +2662,11 @@ public com.google.cloud.dataplex.v1.SessionEvent build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.SessionEvent buildPartial() {
-      com.google.cloud.dataplex.v1.SessionEvent result = new com.google.cloud.dataplex.v1.SessionEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.SessionEvent result =
+          new com.google.cloud.dataplex.v1.SessionEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2415,17 +2693,17 @@ private void buildPartial0(com.google.cloud.dataplex.v1.SessionEvent result) {
         result.fastStartupEnabled_ = fastStartupEnabled_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.unassignedDuration_ = unassignedDurationBuilder_ == null
-            ? unassignedDuration_
-            : unassignedDurationBuilder_.build();
+        result.unassignedDuration_ =
+            unassignedDurationBuilder_ == null
+                ? unassignedDuration_
+                : unassignedDurationBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.dataplex.v1.SessionEvent result) {
       result.detailCase_ = detailCase_;
       result.detail_ = this.detail_;
-      if (detailCase_ == 5 &&
-          queryBuilder_ != null) {
+      if (detailCase_ == 5 && queryBuilder_ != null) {
         result.detail_ = queryBuilder_.build();
       }
     }
@@ -2434,38 +2712,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.SessionEvent result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.SessionEvent) {
-        return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.SessionEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2502,13 +2781,15 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.SessionEvent other) {
         mergeUnassignedDuration(other.getUnassignedDuration());
       }
       switch (other.getDetailCase()) {
-        case QUERY: {
-          mergeQuery(other.getQuery());
-          break;
-        }
-        case DETAIL_NOT_SET: {
-          break;
-        }
+        case QUERY:
+          {
+            mergeQuery(other.getQuery());
+            break;
+          }
+        case DETAIL_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2536,56 +2817,62 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              userId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              sessionId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              detailCase_ = 5;
-              break;
-            } // case 42
-            case 48: {
-              eventSucceeded_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 56: {
-              fastStartupEnabled_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            case 66: {
-              input.readMessage(
-                  getUnassignedDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                userId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                sessionId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
+                detailCase_ = 5;
+                break;
+              } // case 42
+            case 48:
+              {
+                eventSucceeded_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 56:
+              {
+                fastStartupEnabled_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            case 66:
+              {
+                input.readMessage(
+                    getUnassignedDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2595,12 +2882,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int detailCase_ = 0;
     private java.lang.Object detail_;
-    public DetailCase
-        getDetailCase() {
-      return DetailCase.forNumber(
-          detailCase_);
+
+    public DetailCase getDetailCase() {
+      return DetailCase.forNumber(detailCase_);
     }
 
     public Builder clearDetail() {
@@ -2614,18 +2901,20 @@ public Builder clearDetail() {
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * The log message.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -2634,20 +2923,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -2655,28 +2945,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -2686,17 +2983,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * The log message.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -2706,19 +3007,21 @@ public Builder setMessageBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -2727,21 +3030,22 @@ public java.lang.String getUserId() { } } /** + * + * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -2749,30 +3053,37 @@ public java.lang.String getUserId() { } } /** + * + * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -2782,18 +3093,22 @@ public Builder clearUserId() { return this; } /** + * + * *
      * The information about the user that created the session. It will be the
      * email address of the user.
      * 
* * string user_id = 2; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -2803,18 +3118,20 @@ public Builder setUserIdBytes( private java.lang.Object sessionId_ = ""; /** + * + * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; + * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -2823,20 +3140,21 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; + * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -2844,28 +3162,35 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; + * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sessionId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; + * * @return This builder for chaining. */ public Builder clearSessionId() { @@ -2875,17 +3200,21 @@ public Builder clearSessionId() { return this; } /** + * + * *
      * Unique identifier for the session.
      * 
* * string session_id = 3; + * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000004; @@ -2895,22 +3224,29 @@ public Builder setSessionIdBytes( private int type_ = 0; /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @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 the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2921,24 +3257,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.SessionEvent.EventType getType() { - com.google.cloud.dataplex.v1.SessionEvent.EventType result = com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.SessionEvent.EventType result = + com.google.cloud.dataplex.v1.SessionEvent.EventType.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.SessionEvent.EventType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @param value The type to set. * @return This builder for chaining. */ @@ -2952,11 +3297,14 @@ public Builder setType(com.google.cloud.dataplex.v1.SessionEvent.EventType value return this; } /** + * + * *
      * The type of the event.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @return This builder for chaining. */ public Builder clearType() { @@ -2967,13 +3315,19 @@ public Builder clearType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> queryBuilder_; + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> + queryBuilder_; /** + * + * *
      * The execution details of the query.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return Whether the query field is set. */ @java.lang.Override @@ -2981,11 +3335,14 @@ public boolean hasQuery() { return detailCase_ == 5; } /** + * + * *
      * The execution details of the query.
      * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return The query. */ @java.lang.Override @@ -3003,6 +3360,8 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery() { } } /** + * + * *
      * The execution details of the query.
      * 
@@ -3023,6 +3382,8 @@ public Builder setQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail va return this; } /** + * + * *
      * The execution details of the query.
      * 
@@ -3041,6 +3402,8 @@ public Builder setQuery( return this; } /** + * + * *
      * The execution details of the query.
      * 
@@ -3049,10 +3412,14 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail value) { if (queryBuilder_ == null) { - if (detailCase_ == 5 && - detail_ != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) { - detail_ = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder((com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_) - .mergeFrom(value).buildPartial(); + if (detailCase_ == 5 + && detail_ + != com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance()) { + detail_ = + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.newBuilder( + (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_) + .mergeFrom(value) + .buildPartial(); } else { detail_ = value; } @@ -3068,6 +3435,8 @@ public Builder mergeQuery(com.google.cloud.dataplex.v1.SessionEvent.QueryDetail return this; } /** + * + * *
      * The execution details of the query.
      * 
@@ -3091,6 +3460,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * The execution details of the query.
      * 
@@ -3101,6 +3472,8 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder getQueryBui return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The execution details of the query.
      * 
@@ -3119,6 +3492,8 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr } } /** + * + * *
      * The execution details of the query.
      * 
@@ -3126,14 +3501,19 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(detailCase_ == 5)) { detail_ = com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.getDefaultInstance(); } - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder>( + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder, + com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder>( (com.google.cloud.dataplex.v1.SessionEvent.QueryDetail) detail_, getParentForChildren(), isClean()); @@ -3144,13 +3524,16 @@ public com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOr return queryBuilder_; } - private boolean eventSucceeded_ ; + private boolean eventSucceeded_; /** + * + * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; + * * @return The eventSucceeded. */ @java.lang.Override @@ -3158,11 +3541,14 @@ public boolean getEventSucceeded() { return eventSucceeded_; } /** + * + * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; + * * @param value The eventSucceeded to set. * @return This builder for chaining. */ @@ -3174,11 +3560,14 @@ public Builder setEventSucceeded(boolean value) { return this; } /** + * + * *
      * The status of the event.
      * 
* * bool event_succeeded = 6; + * * @return This builder for chaining. */ public Builder clearEventSucceeded() { @@ -3188,14 +3577,17 @@ public Builder clearEventSucceeded() { return this; } - private boolean fastStartupEnabled_ ; + private boolean fastStartupEnabled_; /** + * + * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; + * * @return The fastStartupEnabled. */ @java.lang.Override @@ -3203,12 +3595,15 @@ public boolean getFastStartupEnabled() { return fastStartupEnabled_; } /** + * + * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; + * * @param value The fastStartupEnabled to set. * @return This builder for chaining. */ @@ -3220,12 +3615,15 @@ public Builder setFastStartupEnabled(boolean value) { return this; } /** + * + * *
      * If the session is associated with an environment with fast startup enabled,
      * and was created before being assigned to a user.
      * 
* * bool fast_startup_enabled = 7; + * * @return This builder for chaining. */ public Builder clearFastStartupEnabled() { @@ -3237,34 +3635,47 @@ public Builder clearFastStartupEnabled() { private com.google.protobuf.Duration unassignedDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> unassignedDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + unassignedDurationBuilder_; /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return Whether the unassignedDuration field is set. */ public boolean hasUnassignedDuration() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return The unassignedDuration. */ public com.google.protobuf.Duration getUnassignedDuration() { if (unassignedDurationBuilder_ == null) { - return unassignedDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; + return unassignedDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : unassignedDuration_; } else { return unassignedDurationBuilder_.getMessage(); } } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3285,14 +3696,15 @@ public Builder setUnassignedDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
* * .google.protobuf.Duration unassigned_duration = 8; */ - public Builder setUnassignedDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setUnassignedDuration(com.google.protobuf.Duration.Builder builderForValue) { if (unassignedDurationBuilder_ == null) { unassignedDuration_ = builderForValue.build(); } else { @@ -3303,6 +3715,8 @@ public Builder setUnassignedDuration( return this; } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3311,9 +3725,9 @@ public Builder setUnassignedDuration( */ public Builder mergeUnassignedDuration(com.google.protobuf.Duration value) { if (unassignedDurationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - unassignedDuration_ != null && - unassignedDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && unassignedDuration_ != null + && unassignedDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getUnassignedDurationBuilder().mergeFrom(value); } else { unassignedDuration_ = value; @@ -3326,6 +3740,8 @@ public Builder mergeUnassignedDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3343,6 +3759,8 @@ public Builder clearUnassignedDuration() { return this; } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3355,6 +3773,8 @@ public com.google.protobuf.Duration.Builder getUnassignedDurationBuilder() { return getUnassignedDurationFieldBuilder().getBuilder(); } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3365,11 +3785,14 @@ public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { if (unassignedDurationBuilder_ != null) { return unassignedDurationBuilder_.getMessageOrBuilder(); } else { - return unassignedDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : unassignedDuration_; + return unassignedDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : unassignedDuration_; } } /** + * + * *
      * The idle duration of a warm pooled session before it is assigned to user.
      * 
@@ -3377,21 +3800,24 @@ public com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder() { * .google.protobuf.Duration unassigned_duration = 8; */ 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> getUnassignedDurationFieldBuilder() { if (unassignedDurationBuilder_ == null) { - unassignedDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getUnassignedDuration(), - getParentForChildren(), - isClean()); + unassignedDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getUnassignedDuration(), getParentForChildren(), isClean()); unassignedDuration_ = null; } return unassignedDurationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3401,12 +3827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.SessionEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.SessionEvent) private static final com.google.cloud.dataplex.v1.SessionEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.SessionEvent(); } @@ -3415,27 +3841,27 @@ public static com.google.cloud.dataplex.v1.SessionEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SessionEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3450,6 +3876,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.SessionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java similarity index 79% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java index 536534ea37a9..cd8665f45bd7 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionEventOrBuilder.java @@ -1,112 +1,157 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/logs.proto package com.google.cloud.dataplex.v1; -public interface SessionEventOrBuilder extends +public interface SessionEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.SessionEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The log message.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * The information about the user that created the session. It will be the
    * email address of the user.
    * 
* * string user_id = 2; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; + * * @return The sessionId. */ java.lang.String getSessionId(); /** + * + * *
    * Unique identifier for the session.
    * 
* * string session_id = 3; + * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString - getSessionIdBytes(); + com.google.protobuf.ByteString getSessionIdBytes(); /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the event.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.EventType type = 4; + * * @return The type. */ com.google.cloud.dataplex.v1.SessionEvent.EventType getType(); /** + * + * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * The execution details of the query.
    * 
* * .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5; + * * @return The query. */ com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery(); /** + * + * *
    * The execution details of the query.
    * 
@@ -116,45 +161,59 @@ public interface SessionEventOrBuilder extends com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOrBuilder(); /** + * + * *
    * The status of the event.
    * 
* * bool event_succeeded = 6; + * * @return The eventSucceeded. */ boolean getEventSucceeded(); /** + * + * *
    * If the session is associated with an environment with fast startup enabled,
    * and was created before being assigned to a user.
    * 
* * bool fast_startup_enabled = 7; + * * @return The fastStartupEnabled. */ boolean getFastStartupEnabled(); /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return Whether the unassignedDuration field is set. */ boolean hasUnassignedDuration(); /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
* * .google.protobuf.Duration unassigned_duration = 8; + * * @return The unassignedDuration. */ com.google.protobuf.Duration getUnassignedDuration(); /** + * + * *
    * The idle duration of a warm pooled session before it is assigned to user.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java index 8dd99cb46294..f4f7ead415c3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SessionOrBuilder.java @@ -1,96 +1,145 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/analyze.proto package com.google.cloud.dataplex.v1; -public interface SessionOrBuilder extends +public interface SessionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Session) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the content, of the form:
    * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Output only. Email of user running the session.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Session start time.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of Session
    * 
* - * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java index e3917ac73882..b39493add5a8 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/State.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * State of a resource.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.State} */ -public enum State - implements com.google.protobuf.ProtocolMessageEnum { +public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * State is not specified.
    * 
@@ -21,6 +39,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
    * Resource is active, i.e., ready to use.
    * 
@@ -29,6 +49,8 @@ public enum State */ ACTIVE(1), /** + * + * *
    * Resource is under creation.
    * 
@@ -37,6 +59,8 @@ public enum State */ CREATING(2), /** + * + * *
    * Resource is under deletion.
    * 
@@ -45,6 +69,8 @@ public enum State */ DELETING(3), /** + * + * *
    * Resource is active but has unresolved actions.
    * 
@@ -56,6 +82,8 @@ public enum State ; /** + * + * *
    * State is not specified.
    * 
@@ -64,6 +92,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource is active, i.e., ready to use.
    * 
@@ -72,6 +102,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
    * Resource is under creation.
    * 
@@ -80,6 +112,8 @@ public enum State */ public static final int CREATING_VALUE = 2; /** + * + * *
    * Resource is under deletion.
    * 
@@ -88,6 +122,8 @@ public enum State */ public static final int DELETING_VALUE = 3; /** + * + * *
    * Resource is active but has unresolved actions.
    * 
@@ -96,7 +132,6 @@ public enum State */ public static final int ACTION_REQUIRED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,51 +156,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 2: return CREATING; - case 3: return DELETING; - case 4: return ACTION_REQUIRED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return CREATING; + case 3: + return DELETING; + case 4: + return ACTION_REQUIRED; + 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.cloud.dataplex.v1.ResourcesProto.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; @@ -181,4 +218,3 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.State) } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java similarity index 63% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java index 230b32bd0ee4..2e361933334c 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccess.java @@ -1,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Describes the access mechanism of the data within its storage location.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageAccess} */ -public final class StorageAccess extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StorageAccess extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageAccess) StorageAccessOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StorageAccess.newBuilder() to construct. private StorageAccess(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StorageAccess() { read_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageAccess(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageAccess.class, com.google.cloud.dataplex.v1.StorageAccess.Builder.class); + com.google.cloud.dataplex.v1.StorageAccess.class, + com.google.cloud.dataplex.v1.StorageAccess.Builder.class); } /** + * + * *
    * Access Mode determines how data stored within the Entity is read.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageAccess.AccessMode} */ - public enum AccessMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum AccessMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Access mode unspecified.
      * 
@@ -61,6 +83,8 @@ public enum AccessMode */ ACCESS_MODE_UNSPECIFIED(0), /** + * + * *
      * Default. Data is accessed directly using storage APIs.
      * 
@@ -69,6 +93,8 @@ public enum AccessMode */ DIRECT(1), /** + * + * *
      * Data is accessed through a managed interface using BigQuery APIs.
      * 
@@ -80,6 +106,8 @@ public enum AccessMode ; /** + * + * *
      * Access mode unspecified.
      * 
@@ -88,6 +116,8 @@ public enum AccessMode */ public static final int ACCESS_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Default. Data is accessed directly using storage APIs.
      * 
@@ -96,6 +126,8 @@ public enum AccessMode */ public static final int DIRECT_VALUE = 1; /** + * + * *
      * Data is accessed through a managed interface using BigQuery APIs.
      * 
@@ -104,7 +136,6 @@ public enum AccessMode */ public static final int MANAGED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,49 +160,49 @@ public static AccessMode valueOf(int value) { */ public static AccessMode forNumber(int value) { switch (value) { - case 0: return ACCESS_MODE_UNSPECIFIED; - case 1: return DIRECT; - case 2: return MANAGED; - default: return null; + case 0: + return ACCESS_MODE_UNSPECIFIED; + case 1: + return DIRECT; + case 2: + return 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< - AccessMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AccessMode findValueByNumber(int number) { - return AccessMode.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 AccessMode findValueByNumber(int number) { + return AccessMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.StorageAccess.getDescriptor().getEnumTypes().get(0); } private static final AccessMode[] VALUES = values(); - public static AccessMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AccessMode 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; @@ -191,32 +222,48 @@ private AccessMode(int value) { public static final int READ_FIELD_NUMBER = 21; private int read_ = 0; /** + * + * *
    * Output only. Describes the read access mechanism of the data. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for read. */ - @java.lang.Override public int getReadValue() { + @java.lang.Override + public int getReadValue() { return read_; } /** + * + * *
    * Output only. Describes the read access mechanism of the data. Not user
    * settable.
    * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The read. */ - @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { - com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); - return result == null ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { + com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = + com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); + return result == null + ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,9 +275,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (read_ != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (read_ + != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(21, read_); } getUnknownFields().writeTo(output); @@ -242,9 +290,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (read_ != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(21, read_); + if (read_ + != com.google.cloud.dataplex.v1.StorageAccess.AccessMode.ACCESS_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, read_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,12 +303,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageAccess)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageAccess other = (com.google.cloud.dataplex.v1.StorageAccess) obj; + com.google.cloud.dataplex.v1.StorageAccess other = + (com.google.cloud.dataplex.v1.StorageAccess) obj; if (read_ != other.read_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -280,132 +330,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageAccess parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageAccess parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageAccess prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes the access mechanism of the data within its storage location.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageAccess} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageAccess) com.google.cloud.dataplex.v1.StorageAccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageAccess.class, com.google.cloud.dataplex.v1.StorageAccess.Builder.class); + com.google.cloud.dataplex.v1.StorageAccess.class, + com.google.cloud.dataplex.v1.StorageAccess.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageAccess.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; } @java.lang.Override @@ -436,8 +490,11 @@ public com.google.cloud.dataplex.v1.StorageAccess build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess buildPartial() { - com.google.cloud.dataplex.v1.StorageAccess result = new com.google.cloud.dataplex.v1.StorageAccess(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.StorageAccess result = + new com.google.cloud.dataplex.v1.StorageAccess(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -453,38 +510,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageAccess result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageAccess) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageAccess)other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageAccess) other); } else { super.mergeFrom(other); return this; @@ -522,17 +580,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 168: { - read_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 168 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 168: + { + read_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 168 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,28 +602,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int read_ = 0; /** + * + * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for read. */ - @java.lang.Override public int getReadValue() { + @java.lang.Override + public int getReadValue() { return read_; } /** + * + * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for read to set. * @return This builder for chaining. */ @@ -574,26 +646,39 @@ public Builder setReadValue(int value) { return this; } /** + * + * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The read. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead() { - com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); - return result == null ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.StorageAccess.AccessMode result = + com.google.cloud.dataplex.v1.StorageAccess.AccessMode.forNumber(read_); + return result == null + ? com.google.cloud.dataplex.v1.StorageAccess.AccessMode.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The read to set. * @return This builder for chaining. */ @@ -607,12 +692,17 @@ public Builder setRead(com.google.cloud.dataplex.v1.StorageAccess.AccessMode val return this; } /** + * + * *
      * Output only. Describes the read access mechanism of the data. Not user
      * settable.
      * 
* - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRead() { @@ -621,9 +711,9 @@ public Builder clearRead() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,12 +723,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageAccess) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageAccess) private static final com.google.cloud.dataplex.v1.StorageAccess DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageAccess(); } @@ -647,27 +737,27 @@ public static com.google.cloud.dataplex.v1.StorageAccess getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageAccess parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageAccess parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,6 +772,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageAccess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java new file mode 100644 index 000000000000..be1d6bf8930a --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/metadata.proto + +package com.google.cloud.dataplex.v1; + +public interface StorageAccessOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageAccess) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Describes the read access mechanism of the data. Not user
+   * settable.
+   * 
+ * + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for read. + */ + int getReadValue(); + /** + * + * + *
+   * Output only. Describes the read access mechanism of the data. Not user
+   * settable.
+   * 
+ * + * + * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The read. + */ + com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead(); +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java index 83f2deac402d..c2d842db7313 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormat.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Describes the format of the data within its storage location.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat} */ -public final class StorageFormat extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StorageFormat extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat) StorageFormatOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StorageFormat.newBuilder() to construct. private StorageFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StorageFormat() { format_ = 0; compressionFormat_ = 0; @@ -27,34 +45,38 @@ private StorageFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageFormat(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.class, com.google.cloud.dataplex.v1.StorageFormat.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.class, + com.google.cloud.dataplex.v1.StorageFormat.Builder.class); } /** + * + * *
    * The specific file format of the data.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageFormat.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Format unspecified.
      * 
@@ -63,6 +85,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Parquet-formatted structured data.
      * 
@@ -71,6 +95,8 @@ public enum Format */ PARQUET(1), /** + * + * *
      * Avro-formatted structured data.
      * 
@@ -79,6 +105,8 @@ public enum Format */ AVRO(2), /** + * + * *
      * Orc-formatted structured data.
      * 
@@ -87,6 +115,8 @@ public enum Format */ ORC(3), /** + * + * *
      * Csv-formatted semi-structured data.
      * 
@@ -95,6 +125,8 @@ public enum Format */ CSV(100), /** + * + * *
      * Json-formatted semi-structured data.
      * 
@@ -103,6 +135,8 @@ public enum Format */ JSON(101), /** + * + * *
      * Image data formats (such as jpg and png).
      * 
@@ -111,6 +145,8 @@ public enum Format */ IMAGE(200), /** + * + * *
      * Audio data formats (such as mp3, and wav).
      * 
@@ -119,6 +155,8 @@ public enum Format */ AUDIO(201), /** + * + * *
      * Video data formats (such as mp4 and mpg).
      * 
@@ -127,6 +165,8 @@ public enum Format */ VIDEO(202), /** + * + * *
      * Textual data formats (such as txt and xml).
      * 
@@ -135,6 +175,8 @@ public enum Format */ TEXT(203), /** + * + * *
      * TensorFlow record format.
      * 
@@ -143,6 +185,8 @@ public enum Format */ TFRECORD(204), /** + * + * *
      * Data that doesn't match a specific format.
      * 
@@ -151,6 +195,8 @@ public enum Format */ OTHER(1000), /** + * + * *
      * Data of an unknown format.
      * 
@@ -162,6 +208,8 @@ public enum Format ; /** + * + * *
      * Format unspecified.
      * 
@@ -170,6 +218,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Parquet-formatted structured data.
      * 
@@ -178,6 +228,8 @@ public enum Format */ public static final int PARQUET_VALUE = 1; /** + * + * *
      * Avro-formatted structured data.
      * 
@@ -186,6 +238,8 @@ public enum Format */ public static final int AVRO_VALUE = 2; /** + * + * *
      * Orc-formatted structured data.
      * 
@@ -194,6 +248,8 @@ public enum Format */ public static final int ORC_VALUE = 3; /** + * + * *
      * Csv-formatted semi-structured data.
      * 
@@ -202,6 +258,8 @@ public enum Format */ public static final int CSV_VALUE = 100; /** + * + * *
      * Json-formatted semi-structured data.
      * 
@@ -210,6 +268,8 @@ public enum Format */ public static final int JSON_VALUE = 101; /** + * + * *
      * Image data formats (such as jpg and png).
      * 
@@ -218,6 +278,8 @@ public enum Format */ public static final int IMAGE_VALUE = 200; /** + * + * *
      * Audio data formats (such as mp3, and wav).
      * 
@@ -226,6 +288,8 @@ public enum Format */ public static final int AUDIO_VALUE = 201; /** + * + * *
      * Video data formats (such as mp4 and mpg).
      * 
@@ -234,6 +298,8 @@ public enum Format */ public static final int VIDEO_VALUE = 202; /** + * + * *
      * Textual data formats (such as txt and xml).
      * 
@@ -242,6 +308,8 @@ public enum Format */ public static final int TEXT_VALUE = 203; /** + * + * *
      * TensorFlow record format.
      * 
@@ -250,6 +318,8 @@ public enum Format */ public static final int TFRECORD_VALUE = 204; /** + * + * *
      * Data that doesn't match a specific format.
      * 
@@ -258,6 +328,8 @@ public enum Format */ public static final int OTHER_VALUE = 1000; /** + * + * *
      * Data of an unknown format.
      * 
@@ -266,7 +338,6 @@ public enum Format */ public static final int UNKNOWN_VALUE = 1001; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -291,59 +362,69 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return PARQUET; - case 2: return AVRO; - case 3: return ORC; - case 100: return CSV; - case 101: return JSON; - case 200: return IMAGE; - case 201: return AUDIO; - case 202: return VIDEO; - case 203: return TEXT; - case 204: return TFRECORD; - case 1000: return OTHER; - case 1001: return UNKNOWN; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return PARQUET; + case 2: + return AVRO; + case 3: + return ORC; + case 100: + return CSV; + case 101: + return JSON; + case 200: + return IMAGE; + case 201: + return AUDIO; + case 202: + return VIDEO; + case 203: + return TEXT; + case 204: + return TFRECORD; + case 1000: + return OTHER; + case 1001: + return UNKNOWN; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.StorageFormat.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -361,15 +442,18 @@ private Format(int value) { } /** + * + * *
    * The specific compressed file format of the data.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageFormat.CompressionFormat} */ - public enum CompressionFormat - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompressionFormat implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * CompressionFormat unspecified. Implies uncompressed data.
      * 
@@ -378,6 +462,8 @@ public enum CompressionFormat */ COMPRESSION_FORMAT_UNSPECIFIED(0), /** + * + * *
      * GZip compressed set of files.
      * 
@@ -386,6 +472,8 @@ public enum CompressionFormat */ GZIP(2), /** + * + * *
      * BZip2 compressed set of files.
      * 
@@ -397,6 +485,8 @@ public enum CompressionFormat ; /** + * + * *
      * CompressionFormat unspecified. Implies uncompressed data.
      * 
@@ -405,6 +495,8 @@ public enum CompressionFormat */ public static final int COMPRESSION_FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * GZip compressed set of files.
      * 
@@ -413,6 +505,8 @@ public enum CompressionFormat */ public static final int GZIP_VALUE = 2; /** + * + * *
      * BZip2 compressed set of files.
      * 
@@ -421,7 +515,6 @@ public enum CompressionFormat */ public static final int BZIP2_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -446,10 +539,14 @@ public static CompressionFormat valueOf(int value) { */ public static CompressionFormat forNumber(int value) { switch (value) { - case 0: return COMPRESSION_FORMAT_UNSPECIFIED; - case 2: return GZIP; - case 3: return BZIP2; - default: return null; + case 0: + return COMPRESSION_FORMAT_UNSPECIFIED; + case 2: + return GZIP; + case 3: + return BZIP2; + default: + return null; } } @@ -457,28 +554,28 @@ public static CompressionFormat forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompressionFormat> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompressionFormat findValueByNumber(int number) { - return CompressionFormat.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 CompressionFormat findValueByNumber(int number) { + return CompressionFormat.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.StorageFormat.getDescriptor().getEnumTypes().get(1); } @@ -487,8 +584,7 @@ public CompressionFormat findValueByNumber(int number) { public static CompressionFormat 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; @@ -505,64 +601,80 @@ private CompressionFormat(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.StorageFormat.CompressionFormat) } - public interface CsvOptionsOrBuilder extends + public interface CsvOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.CsvOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); /** + * + * *
      * Optional. The number of rows to interpret as header rows that should be
      * skipped when reading data rows. Defaults to 0.
      * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ int getHeaderRows(); /** + * + * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ java.lang.String getDelimiter(); /** + * + * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString - getDelimiterBytes(); + com.google.protobuf.ByteString getDelimiterBytes(); /** + * + * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -570,10 +682,13 @@ public interface CsvOptionsOrBuilder extends
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The quote. */ java.lang.String getQuote(); /** + * + * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -581,27 +696,30 @@ public interface CsvOptionsOrBuilder extends
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for quote. */ - com.google.protobuf.ByteString - getQuoteBytes(); + com.google.protobuf.ByteString getQuoteBytes(); } /** + * + * *
    * Describes CSV and similar semi-structured data formats.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.CsvOptions} */ - public static final class CsvOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CsvOptions() { encoding_ = ""; delimiter_ = ""; @@ -610,34 +728,39 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -646,30 +769,30 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII",
      * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -680,12 +803,15 @@ public java.lang.String getEncoding() { public static final int HEADER_ROWS_FIELD_NUMBER = 2; private int headerRows_ = 0; /** + * + * *
      * Optional. The number of rows to interpret as header rows that should be
      * skipped when reading data rows. Defaults to 0.
      * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -694,14 +820,18 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** + * + * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ @java.lang.Override @@ -710,29 +840,29 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** + * + * *
      * Optional. The delimiter used to separate values. Defaults to ','.
      * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -741,9 +871,12 @@ public java.lang.String getDelimiter() { } public static final int QUOTE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object quote_ = ""; /** + * + * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -751,6 +884,7 @@ public java.lang.String getDelimiter() {
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The quote. */ @java.lang.Override @@ -759,14 +893,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; } } /** + * + * *
      * Optional. The character used to quote column values. Accepts '"'
      * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -774,16 +909,15 @@ public java.lang.String getQuote() {
      * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -792,6 +926,7 @@ public java.lang.String getQuote() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -803,8 +938,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -830,8 +964,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, headerRows_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delimiter_); @@ -847,21 +980,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other = (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other = + (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) obj; - if (!getEncoding() - .equals(other.getEncoding())) return false; - if (getHeaderRows() - != other.getHeaderRows()) return false; - if (!getDelimiter() - .equals(other.getDelimiter())) return false; - if (!getQuote() - .equals(other.getQuote())) return false; + if (!getEncoding().equals(other.getEncoding())) return false; + if (getHeaderRows() != other.getHeaderRows()) return false; + if (!getDelimiter().equals(other.getDelimiter())) return false; + if (!getQuote().equals(other.getQuote())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -887,89 +1017,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -979,39 +1114,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.CsvOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.CsvOptions) com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1024,9 +1161,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; } @java.lang.Override @@ -1045,8 +1182,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions result = new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions result = + new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1071,38 +1211,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) other); } else { super.mergeFrom(other); return this; @@ -1110,7 +1253,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) + return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -1155,32 +1299,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - quote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + quote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1190,23 +1339,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -1215,21 +1367,22 @@ public java.lang.String getEncoding() { } } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -1237,30 +1390,37 @@ public java.lang.String getEncoding() { } } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -1270,18 +1430,22 @@ public Builder clearEncoding() { return this; } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII",
        * "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -1289,14 +1453,17 @@ public Builder setEncodingBytes( return this; } - private int headerRows_ ; + private int headerRows_; /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -1304,12 +1471,15 @@ public int getHeaderRows() { return headerRows_; } /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -1321,12 +1491,15 @@ public Builder setHeaderRows(int value) { return this; } /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows. Defaults to 0.
        * 
* * int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -1338,18 +1511,20 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** + * + * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -1358,20 +1533,21 @@ public java.lang.String getDelimiter() { } } /** + * + * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1379,28 +1555,35 @@ public java.lang.String getDelimiter() { } } /** + * + * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delimiter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -1410,17 +1593,21 @@ public Builder clearDelimiter() { return this; } /** + * + * *
        * Optional. The delimiter used to separate values. Defaults to ','.
        * 
* * string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000004; @@ -1430,6 +1617,8 @@ public Builder setDelimiterBytes( private java.lang.Object quote_ = ""; /** + * + * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1437,13 +1626,13 @@ public Builder setDelimiterBytes(
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1452,6 +1641,8 @@ public java.lang.String getQuote() { } } /** + * + * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1459,15 +1650,14 @@ public java.lang.String getQuote() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1475,6 +1665,8 @@ public java.lang.String getQuote() { } } /** + * + * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1482,18 +1674,22 @@ public java.lang.String getQuote() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The quote to set. * @return This builder for chaining. */ - public Builder setQuote( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuote(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } quote_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1501,6 +1697,7 @@ public Builder setQuote(
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuote() { @@ -1510,6 +1707,8 @@ public Builder clearQuote() { return this; } /** + * + * *
        * Optional. The character used to quote column values. Accepts '"'
        * (double quotation mark) or ''' (single quotation mark). Defaults to
@@ -1517,18 +1716,21 @@ public Builder clearQuote() {
        * 
* * string quote = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for quote to set. * @return This builder for chaining. */ - public Builder setQuoteBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuoteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); quote_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1541,12 +1743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.CsvOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.CsvOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.CsvOptions(); } @@ -1555,27 +1757,28 @@ public static com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1590,85 +1793,98 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface JsonOptionsOrBuilder extends + public interface JsonOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.JsonOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); } /** + * + * *
    * Describes JSON data format.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.JsonOptions} */ - public static final class JsonOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -1677,30 +1893,30 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
      * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
      * and "ISO-8859-1". Defaults to UTF-8 if not specified.
      * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -1709,6 +1925,7 @@ public java.lang.String getEncoding() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1720,8 +1937,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -1745,15 +1961,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other = (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other = + (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) obj; - if (!getEncoding() - .equals(other.getEncoding())) return false; + if (!getEncoding().equals(other.getEncoding())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1773,89 +1989,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1865,39 +2086,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.JsonOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.JsonOptions) com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1907,9 +2130,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; } @java.lang.Override @@ -1928,8 +2151,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions result = new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions result = + new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1945,38 +2171,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.JsonOption public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) other); } else { super.mergeFrom(other); return this; @@ -1984,7 +2213,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) + return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -2016,17 +2246,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2036,23 +2268,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2061,21 +2296,22 @@ public java.lang.String getEncoding() { } } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2083,30 +2319,37 @@ public java.lang.String getEncoding() { } } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2116,24 +2359,29 @@ public Builder clearEncoding() { return this; } /** + * + * *
        * Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
        * and "ISO-8859-1". Defaults to UTF-8 if not specified.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2146,12 +2394,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.JsonOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.JsonOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.JsonOptions(); } @@ -2160,27 +2408,28 @@ public static com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2195,85 +2444,98 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IcebergOptionsOrBuilder extends + public interface IcebergOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The metadataLocation. */ java.lang.String getMetadataLocation(); /** + * + * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for metadataLocation. */ - com.google.protobuf.ByteString - getMetadataLocationBytes(); + com.google.protobuf.ByteString getMetadataLocationBytes(); } /** + * + * *
    * Describes Iceberg data format.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.IcebergOptions} */ - public static final class IcebergOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IcebergOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) IcebergOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IcebergOptions.newBuilder() to construct. private IcebergOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IcebergOptions() { metadataLocation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IcebergOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); } public static final int METADATA_LOCATION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object metadataLocation_ = ""; /** + * + * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The metadataLocation. */ @java.lang.Override @@ -2282,30 +2544,30 @@ public java.lang.String getMetadataLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metadataLocation_ = s; return s; } } /** + * + * *
      * Optional. The location of where the iceberg metadata is present, must be
      * within the table path
      * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for metadataLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetadataLocationBytes() { + public com.google.protobuf.ByteString getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metadataLocation_ = b; return b; } else { @@ -2314,6 +2576,7 @@ public java.lang.String getMetadataLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2325,8 +2588,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataLocation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataLocation_); } @@ -2350,15 +2612,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other = (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) obj; + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other = + (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) obj; - if (!getMetadataLocation() - .equals(other.getMetadataLocation())) return false; + if (!getMetadataLocation().equals(other.getMetadataLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2378,89 +2640,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2470,39 +2737,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes Iceberg data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat.IcebergOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.class, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2512,9 +2781,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; } @java.lang.Override @@ -2533,8 +2802,11 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions result = new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions result = + new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2550,38 +2822,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat.IcebergOpt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) other); } else { super.mergeFrom(other); return this; @@ -2589,7 +2864,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions other) { - if (other == com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) + return this; if (!other.getMetadataLocation().isEmpty()) { metadataLocation_ = other.metadataLocation_; bitField0_ |= 0x00000001; @@ -2621,17 +2897,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - metadataLocation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + metadataLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2641,23 +2919,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object metadataLocation_ = ""; /** + * + * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The metadataLocation. */ public java.lang.String getMetadataLocation() { java.lang.Object ref = metadataLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metadataLocation_ = s; return s; @@ -2666,21 +2947,22 @@ public java.lang.String getMetadataLocation() { } } /** + * + * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for metadataLocation. */ - public com.google.protobuf.ByteString - getMetadataLocationBytes() { + public com.google.protobuf.ByteString getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metadataLocation_ = b; return b; } else { @@ -2688,30 +2970,37 @@ public java.lang.String getMetadataLocation() { } } /** + * + * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The metadataLocation to set. * @return This builder for chaining. */ - public Builder setMetadataLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetadataLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metadataLocation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMetadataLocation() { @@ -2721,24 +3010,29 @@ public Builder clearMetadataLocation() { return this; } /** + * + * *
        * Optional. The location of where the iceberg metadata is present, must be
        * within the table path
        * 
* * string metadata_location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for metadataLocation to set. * @return This builder for chaining. */ - public Builder setMetadataLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetadataLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metadataLocation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2751,12 +3045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat.IcebergOptions) private static final com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions(); } @@ -2765,27 +3059,28 @@ public static com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IcebergOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IcebergOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2800,20 +3095,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int optionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object options_; + public enum OptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CSV(10), JSON(11), ICEBERG(12), OPTIONS_NOT_SET(0); private final int value; + private OptionsCase(int value) { this.value = value; } @@ -2829,84 +3127,119 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 10: return CSV; - case 11: return JSON; - case 12: return ICEBERG; - case 0: return OPTIONS_NOT_SET; - default: return null; + case 10: + return CSV; + case 11: + return JSON; + case 12: + return ICEBERG; + case 0: + return OPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public static final int FORMAT_FIELD_NUMBER = 1; private int format_ = 0; /** + * + * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The format. */ - @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { - com.google.cloud.dataplex.v1.StorageFormat.Format result = com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); + @java.lang.Override + public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { + com.google.cloud.dataplex.v1.StorageFormat.Format result = + com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); return result == null ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED : result; } public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 2; private int compressionFormat_ = 0; /** + * + * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for compressionFormat. */ - @java.lang.Override public int getCompressionFormatValue() { + @java.lang.Override + public int getCompressionFormatValue() { return compressionFormat_; } /** + * + * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compressionFormat. */ - @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); - return result == null ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); + return result == null + ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED + : result; } public static final int MIME_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object mimeType_ = ""; /** + * + * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -2928,6 +3261,7 @@ public int getNumber() {
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The mimeType. */ @java.lang.Override @@ -2936,14 +3270,15 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** + * + * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -2965,16 +3300,15 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -2984,11 +3318,16 @@ public java.lang.String getMimeType() { public static final int CSV_FIELD_NUMBER = 10; /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csv field is set. */ @java.lang.Override @@ -2996,42 +3335,56 @@ public boolean hasCsv() { return optionsCase_ == 10; } /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csv. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv() { if (optionsCase_ == 10) { - return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder() { if (optionsCase_ == 10) { - return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } public static final int JSON_FIELD_NUMBER = 11; /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the json field is set. */ @java.lang.Override @@ -3039,42 +3392,56 @@ public boolean hasJson() { return optionsCase_ == 11; } /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The json. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson() { if (optionsCase_ == 11) { - return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder() { if (optionsCase_ == 11) { - return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } public static final int ICEBERG_FIELD_NUMBER = 12; /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the iceberg field is set. */ @java.lang.Override @@ -3082,36 +3449,46 @@ public boolean hasIceberg() { return optionsCase_ == 12; } /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The iceberg. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg() { if (optionsCase_ == 12) { - return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder() { if (optionsCase_ == 12) { - return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; + return (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_; } return com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3123,12 +3500,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (format_ != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (format_ + != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(1, format_); } - if (compressionFormat_ != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.COMPRESSION_FORMAT_UNSPECIFIED.getNumber()) { + if (compressionFormat_ + != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat + .COMPRESSION_FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, compressionFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { @@ -3152,28 +3532,33 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (format_ != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, format_); + if (format_ + != com.google.cloud.dataplex.v1.StorageFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, format_); } - if (compressionFormat_ != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.COMPRESSION_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, compressionFormat_); + if (compressionFormat_ + != com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat + .COMPRESSION_FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compressionFormat_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mimeType_); } if (optionsCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_); } if (optionsCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_); } if (optionsCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3183,30 +3568,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.StorageFormat)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.StorageFormat other = (com.google.cloud.dataplex.v1.StorageFormat) obj; + com.google.cloud.dataplex.v1.StorageFormat other = + (com.google.cloud.dataplex.v1.StorageFormat) obj; if (format_ != other.format_) return false; if (compressionFormat_ != other.compressionFormat_) return false; - if (!getMimeType() - .equals(other.getMimeType())) return false; + if (!getMimeType().equals(other.getMimeType())) return false; if (!getOptionsCase().equals(other.getOptionsCase())) return false; switch (optionsCase_) { case 10: - if (!getCsv() - .equals(other.getCsv())) return false; + if (!getCsv().equals(other.getCsv())) return false; break; case 11: - if (!getJson() - .equals(other.getJson())) return false; + if (!getJson().equals(other.getJson())) return false; break; case 12: - if (!getIceberg() - .equals(other.getIceberg())) return false; + if (!getIceberg().equals(other.getIceberg())) return false; break; case 0: default: @@ -3249,132 +3631,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.StorageFormat parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.StorageFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.StorageFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes the format of the data within its storage location.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.StorageFormat} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.StorageFormat) com.google.cloud.dataplex.v1.StorageFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.StorageFormat.class, com.google.cloud.dataplex.v1.StorageFormat.Builder.class); + com.google.cloud.dataplex.v1.StorageFormat.class, + com.google.cloud.dataplex.v1.StorageFormat.Builder.class); } // Construct using com.google.cloud.dataplex.v1.StorageFormat.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3397,9 +3783,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.MetadataProto + .internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; } @java.lang.Override @@ -3418,8 +3804,11 @@ public com.google.cloud.dataplex.v1.StorageFormat build() { @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat buildPartial() { - com.google.cloud.dataplex.v1.StorageFormat result = new com.google.cloud.dataplex.v1.StorageFormat(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.StorageFormat result = + new com.google.cloud.dataplex.v1.StorageFormat(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3441,16 +3830,13 @@ private void buildPartial0(com.google.cloud.dataplex.v1.StorageFormat result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.StorageFormat result) { result.optionsCase_ = optionsCase_; result.options_ = this.options_; - if (optionsCase_ == 10 && - csvBuilder_ != null) { + if (optionsCase_ == 10 && csvBuilder_ != null) { result.options_ = csvBuilder_.build(); } - if (optionsCase_ == 11 && - jsonBuilder_ != null) { + if (optionsCase_ == 11 && jsonBuilder_ != null) { result.options_ = jsonBuilder_.build(); } - if (optionsCase_ == 12 && - icebergBuilder_ != null) { + if (optionsCase_ == 12 && icebergBuilder_ != null) { result.options_ = icebergBuilder_.build(); } } @@ -3459,38 +3845,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.StorageFormat resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.StorageFormat) { - return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat)other); + return mergeFrom((com.google.cloud.dataplex.v1.StorageFormat) other); } else { super.mergeFrom(other); return this; @@ -3511,21 +3898,25 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.StorageFormat other) { onChanged(); } switch (other.getOptionsCase()) { - case CSV: { - mergeCsv(other.getCsv()); - break; - } - case JSON: { - mergeJson(other.getJson()); - break; - } - case ICEBERG: { - mergeIceberg(other.getIceberg()); - break; - } - case OPTIONS_NOT_SET: { - break; - } + case CSV: + { + mergeCsv(other.getCsv()); + break; + } + case JSON: + { + mergeJson(other.getJson()); + break; + } + case ICEBERG: + { + mergeIceberg(other.getIceberg()); + break; + } + case OPTIONS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3553,48 +3944,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - format_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - compressionFormat_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - mimeType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 82: { - input.readMessage( - getCsvFieldBuilder().getBuilder(), - extensionRegistry); - optionsCase_ = 10; - break; - } // case 82 - case 90: { - input.readMessage( - getJsonFieldBuilder().getBuilder(), - extensionRegistry); - optionsCase_ = 11; - break; - } // case 90 - case 98: { - input.readMessage( - getIcebergFieldBuilder().getBuilder(), - extensionRegistry); - optionsCase_ = 12; - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + format_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + compressionFormat_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + mimeType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 82: + { + input.readMessage(getCsvFieldBuilder().getBuilder(), extensionRegistry); + optionsCase_ = 10; + break; + } // case 82 + case 90: + { + input.readMessage(getJsonFieldBuilder().getBuilder(), extensionRegistry); + optionsCase_ = 11; + break; + } // case 90 + case 98: + { + input.readMessage(getIcebergFieldBuilder().getBuilder(), extensionRegistry); + optionsCase_ = 12; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3604,12 +3996,12 @@ public Builder mergeFrom( } // finally return this; } + private int optionsCase_ = 0; private java.lang.Object options_; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public Builder clearOptions() { @@ -3623,24 +4015,35 @@ public Builder clearOptions() { private int format_ = 0; /** + * + * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -3651,26 +4054,39 @@ public Builder setFormatValue(int value) { return this; } /** + * + * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The format. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.Format getFormat() { - com.google.cloud.dataplex.v1.StorageFormat.Format result = com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); - return result == null ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.StorageFormat.Format result = + com.google.cloud.dataplex.v1.StorageFormat.Format.forNumber(format_); + return result == null + ? com.google.cloud.dataplex.v1.StorageFormat.Format.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The format to set. * @return This builder for chaining. */ @@ -3684,12 +4100,17 @@ public Builder setFormat(com.google.cloud.dataplex.v1.StorageFormat.Format value return this; } /** + * + * *
      * Output only. The data format associated with the stored data, which
      * represents content type values. The value is inferred from mime type.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFormat() { @@ -3701,24 +4122,35 @@ public Builder clearFormat() { private int compressionFormat_ = 0; /** + * + * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for compressionFormat. */ - @java.lang.Override public int getCompressionFormatValue() { + @java.lang.Override + public int getCompressionFormatValue() { return compressionFormat_; } /** + * + * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for compressionFormat to set. * @return This builder for chaining. */ @@ -3729,30 +4161,45 @@ public Builder setCompressionFormatValue(int value) { return this; } /** + * + * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compressionFormat. */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat() { - com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber(compressionFormat_); - return result == null ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat result = + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.forNumber( + compressionFormat_); + return result == null + ? com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormat(com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat value) { + public Builder setCompressionFormat( + com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat value) { if (value == null) { throw new NullPointerException(); } @@ -3762,12 +4209,17 @@ public Builder setCompressionFormat(com.google.cloud.dataplex.v1.StorageFormat.C return this; } /** + * + * *
      * Optional. The compression type associated with the stored data.
      * If unspecified, the data is uncompressed.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCompressionFormat() { @@ -3779,6 +4231,8 @@ public Builder clearCompressionFormat() { private java.lang.Object mimeType_ = ""; /** + * + * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -3800,13 +4254,13 @@ public Builder clearCompressionFormat() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -3815,6 +4269,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -3836,15 +4292,14 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -3852,6 +4307,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -3873,18 +4330,22 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMimeType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } mimeType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -3906,6 +4367,7 @@ public Builder setMimeType(
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMimeType() { @@ -3915,6 +4377,8 @@ public Builder clearMimeType() { return this; } /** + * + * *
      * Required. The mime type descriptor for the data. Must match the pattern
      * {type}/{subtype}. Supported values:
@@ -3936,12 +4400,14 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); mimeType_ = value; bitField0_ |= 0x00000004; @@ -3950,13 +4416,21 @@ public Builder setMimeTypeBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> csvBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> + csvBuilder_; /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csv field is set. */ @java.lang.Override @@ -3964,11 +4438,16 @@ public boolean hasCsv() { return optionsCase_ == 10; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csv. */ @java.lang.Override @@ -3986,11 +4465,15 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv() { } } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions value) { if (csvBuilder_ == null) { @@ -4006,11 +4489,15 @@ public Builder setCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions valu return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCsv( com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder builderForValue) { @@ -4024,18 +4511,26 @@ public Builder setCsv( return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions value) { if (csvBuilder_ == null) { - if (optionsCase_ == 10 && - options_ != com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) { - options_ = com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 10 + && options_ + != com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance()) { + options_ = + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.newBuilder( + (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -4051,11 +4546,15 @@ public Builder mergeCsv(com.google.cloud.dataplex.v1.StorageFormat.CsvOptions va return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCsv() { if (csvBuilder_ == null) { @@ -4074,21 +4573,29 @@ public Builder clearCsv() { return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder getCsvBuilder() { return getCsvFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder() { @@ -4102,21 +4609,30 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBu } } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder> getCsvFieldBuilder() { if (csvBuilder_ == null) { if (!(optionsCase_ == 10)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.getDefaultInstance(); } - csvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder>( + csvBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.CsvOptions) options_, getParentForChildren(), isClean()); @@ -4128,13 +4644,21 @@ public com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> jsonBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> + jsonBuilder_; /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the json field is set. */ @java.lang.Override @@ -4142,11 +4666,16 @@ public boolean hasJson() { return optionsCase_ == 11; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The json. */ @java.lang.Override @@ -4164,11 +4693,15 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson() { } } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions value) { if (jsonBuilder_ == null) { @@ -4184,11 +4717,15 @@ public Builder setJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions va return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setJson( com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder builderForValue) { @@ -4202,18 +4739,26 @@ public Builder setJson( return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions value) { if (jsonBuilder_ == null) { - if (optionsCase_ == 11 && - options_ != com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) { - options_ = com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 11 + && options_ + != com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance()) { + options_ = + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.newBuilder( + (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -4229,11 +4774,15 @@ public Builder mergeJson(com.google.cloud.dataplex.v1.StorageFormat.JsonOptions return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearJson() { if (jsonBuilder_ == null) { @@ -4252,21 +4801,29 @@ public Builder clearJson() { return this; } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder getJsonBuilder() { return getJsonFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder() { @@ -4280,21 +4837,30 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOr } } /** + * + * *
      * Optional. Additional information about CSV formatted data.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder> getJsonFieldBuilder() { if (jsonBuilder_ == null) { if (!(optionsCase_ == 11)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.getDefaultInstance(); } - jsonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder>( + jsonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.JsonOptions) options_, getParentForChildren(), isClean()); @@ -4306,13 +4872,21 @@ public com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> icebergBuilder_; + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> + icebergBuilder_; /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the iceberg field is set. */ @java.lang.Override @@ -4320,11 +4894,16 @@ public boolean hasIceberg() { return optionsCase_ == 12; } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The iceberg. */ @java.lang.Override @@ -4342,11 +4921,15 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg() { } } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions value) { if (icebergBuilder_ == null) { @@ -4362,11 +4945,15 @@ public Builder setIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOpti return this; } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIceberg( com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder builderForValue) { @@ -4380,18 +4967,26 @@ public Builder setIceberg( return this; } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions value) { if (icebergBuilder_ == null) { - if (optionsCase_ == 12 && - options_ != com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) { - options_ = com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder((com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 12 + && options_ + != com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance()) { + options_ = + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.newBuilder( + (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -4407,11 +5002,15 @@ public Builder mergeIceberg(com.google.cloud.dataplex.v1.StorageFormat.IcebergOp return this; } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIceberg() { if (icebergBuilder_ == null) { @@ -4430,24 +5029,33 @@ public Builder clearIceberg() { return this; } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder getIcebergBuilder() { return getIcebergFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder() { + public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder + getIcebergOrBuilder() { if ((optionsCase_ == 12) && (icebergBuilder_ != null)) { return icebergBuilder_.getMessageOrBuilder(); } else { @@ -4458,21 +5066,30 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIce } } /** + * + * *
      * Optional. Additional information about iceberg tables.
      * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder> getIcebergFieldBuilder() { if (icebergBuilder_ == null) { if (!(optionsCase_ == 12)) { options_ = com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.getDefaultInstance(); } - icebergBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder>( + icebergBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions.Builder, + com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder>( (com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions) options_, getParentForChildren(), isClean()); @@ -4482,9 +5099,9 @@ public com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIce onChanged(); return icebergBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4494,12 +5111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.StorageFormat) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.StorageFormat) private static final com.google.cloud.dataplex.v1.StorageFormat DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.StorageFormat(); } @@ -4508,27 +5125,27 @@ public static com.google.cloud.dataplex.v1.StorageFormat getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4543,6 +5160,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.StorageFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java similarity index 62% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java index d8cd17bc2220..16c148e6d5c5 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageFormatOrBuilder.java @@ -1,55 +1,93 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface StorageFormatOrBuilder extends +public interface StorageFormatOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageFormat) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * Output only. The data format associated with the stored data, which
    * represents content type values. The value is inferred from mime type.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.StorageFormat.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The format. */ com.google.cloud.dataplex.v1.StorageFormat.Format getFormat(); /** + * + * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for compressionFormat. */ int getCompressionFormatValue(); /** + * + * *
    * Optional. The compression type associated with the stored data.
    * If unspecified, the data is uncompressed.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CompressionFormat compression_format = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The compressionFormat. */ com.google.cloud.dataplex.v1.StorageFormat.CompressionFormat getCompressionFormat(); /** + * + * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -71,10 +109,13 @@ public interface StorageFormatOrBuilder extends
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The mimeType. */ java.lang.String getMimeType(); /** + * + * *
    * Required. The mime type descriptor for the data. Must match the pattern
    * {type}/{subtype}. Supported values:
@@ -96,89 +137,131 @@ public interface StorageFormatOrBuilder extends
    * 
* * string mime_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString - getMimeTypeBytes(); + com.google.protobuf.ByteString getMimeTypeBytes(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csv field is set. */ boolean hasCsv(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csv. */ com.google.cloud.dataplex.v1.StorageFormat.CsvOptions getCsv(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.CsvOptions csv = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.StorageFormat.CsvOptionsOrBuilder getCsvOrBuilder(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the json field is set. */ boolean hasJson(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The json. */ com.google.cloud.dataplex.v1.StorageFormat.JsonOptions getJson(); /** + * + * *
    * Optional. Additional information about CSV formatted data.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.JsonOptions json = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.StorageFormat.JsonOptionsOrBuilder getJsonOrBuilder(); /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the iceberg field is set. */ boolean hasIceberg(); /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The iceberg. */ com.google.cloud.dataplex.v1.StorageFormat.IcebergOptions getIceberg(); /** + * + * *
    * Optional. Additional information about iceberg tables.
    * 
* - * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.StorageFormat.IcebergOptions iceberg = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsOrBuilder getIcebergOrBuilder(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java index 9155f7108892..ff701fdf4970 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageSystem.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Identifies the cloud system that manages the data storage.
  * 
* * Protobuf enum {@code google.cloud.dataplex.v1.StorageSystem} */ -public enum StorageSystem - implements com.google.protobuf.ProtocolMessageEnum { +public enum StorageSystem implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Storage system unspecified.
    * 
@@ -21,6 +39,8 @@ public enum StorageSystem */ STORAGE_SYSTEM_UNSPECIFIED(0), /** + * + * *
    * The entity data is contained within a Cloud Storage bucket.
    * 
@@ -29,6 +49,8 @@ public enum StorageSystem */ CLOUD_STORAGE(1), /** + * + * *
    * The entity data is contained within a BigQuery dataset.
    * 
@@ -40,6 +62,8 @@ public enum StorageSystem ; /** + * + * *
    * Storage system unspecified.
    * 
@@ -48,6 +72,8 @@ public enum StorageSystem */ public static final int STORAGE_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The entity data is contained within a Cloud Storage bucket.
    * 
@@ -56,6 +82,8 @@ public enum StorageSystem */ public static final int CLOUD_STORAGE_VALUE = 1; /** + * + * *
    * The entity data is contained within a BigQuery dataset.
    * 
@@ -64,7 +92,6 @@ public enum StorageSystem */ public static final int BIGQUERY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static StorageSystem valueOf(int value) { */ public static StorageSystem forNumber(int value) { switch (value) { - case 0: return STORAGE_SYSTEM_UNSPECIFIED; - case 1: return CLOUD_STORAGE; - case 2: return BIGQUERY; - default: return null; + case 0: + return STORAGE_SYSTEM_UNSPECIFIED; + case 1: + return CLOUD_STORAGE; + case 2: + return BIGQUERY; + 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< - StorageSystem> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageSystem findValueByNumber(int number) { - return StorageSystem.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 StorageSystem findValueByNumber(int number) { + return StorageSystem.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor().getEnumTypes().get(0); } private static final StorageSystem[] VALUES = values(); - public static StorageSystem valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageSystem 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 StorageSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.StorageSystem) } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java index 51ef0335d7bc..2080d5ea7186 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A task represents a user-visible job.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task} */ -public final class Task extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Task extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task) TaskOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Task.newBuilder() to construct. private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Task() { name_ = ""; uid_ = ""; @@ -29,120 +47,157 @@ private Task() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Task(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_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 8: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.class, com.google.cloud.dataplex.v1.Task.Builder.class); + com.google.cloud.dataplex.v1.Task.class, + com.google.cloud.dataplex.v1.Task.Builder.class); } - public interface InfrastructureSpecOrBuilder extends + public interface InfrastructureSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return Whether the batch field is set. */ boolean hasBatch(); /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return The batch. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch(); /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder + getBatchOrBuilder(); /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return Whether the containerImage field is set. */ boolean hasContainerImage(); /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return The containerImage. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage(); /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder + getContainerImageOrBuilder(); /** + * + * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * * @return Whether the vpcNetwork field is set. */ boolean hasVpcNetwork(); /** + * + * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * * @return The vpcNetwork. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNetwork(); /** + * + * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder + getVpcNetworkOrBuilder(); com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ResourcesCase getResourcesCase(); @@ -151,60 +206,69 @@ public interface InfrastructureSpecOrBuilder extends com.google.cloud.dataplex.v1.Task.InfrastructureSpec.NetworkCase getNetworkCase(); } /** + * + * *
    * Configuration for the underlying infrastructure used to run workloads.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec} */ - public static final class InfrastructureSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InfrastructureSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec) InfrastructureSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfrastructureSpec.newBuilder() to construct. private InfrastructureSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfrastructureSpec() { - } + + private InfrastructureSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfrastructureSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); } - public interface BatchComputeResourcesOrBuilder extends + public interface BatchComputeResourcesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Total number of job executors.
        * Executor Count should be between 2 and 100. [Default=2]
        * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The executorsCount. */ int getExecutorsCount(); /** + * + * *
        * Optional. Max configurable executors.
        * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -212,58 +276,66 @@ public interface BatchComputeResourcesOrBuilder extends
        * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxExecutorsCount. */ int getMaxExecutorsCount(); } /** + * + * *
      * Batch compute resources associated with the task.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} */ - public static final class BatchComputeResources extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BatchComputeResources extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) BatchComputeResourcesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchComputeResources.newBuilder() to construct. private BatchComputeResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchComputeResources() { - } + + private BatchComputeResources() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchComputeResources(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder + .class); } public static final int EXECUTORS_COUNT_FIELD_NUMBER = 1; private int executorsCount_ = 0; /** + * + * *
        * Optional. Total number of job executors.
        * Executor Count should be between 2 and 100. [Default=2]
        * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The executorsCount. */ @java.lang.Override @@ -274,6 +346,8 @@ public int getExecutorsCount() { public static final int MAX_EXECUTORS_COUNT_FIELD_NUMBER = 2; private int maxExecutorsCount_ = 0; /** + * + * *
        * Optional. Max configurable executors.
        * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -281,6 +355,7 @@ public int getExecutorsCount() {
        * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxExecutorsCount. */ @java.lang.Override @@ -289,6 +364,7 @@ public int getMaxExecutorsCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,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 (executorsCount_ != 0) { output.writeInt32(1, executorsCount_); } @@ -318,12 +393,10 @@ public int getSerializedSize() { size = 0; if (executorsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, executorsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, executorsCount_); } if (maxExecutorsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxExecutorsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxExecutorsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -333,17 +406,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other = + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) obj; - if (getExecutorsCount() - != other.getExecutorsCount()) return false; - if (getMaxExecutorsCount() - != other.getMaxExecutorsCount()) return false; + if (getExecutorsCount() != other.getExecutorsCount()) return false; + if (getMaxExecutorsCount() != other.getMaxExecutorsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,90 +438,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -457,39 +544,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Batch compute resources associated with the task.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} + * Protobuf type {@code + * google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder + .class); } - // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,19 +592,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources build() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = buildPartial(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -520,14 +615,19 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResource } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + buildPartial() { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.executorsCount_ = executorsCount_; @@ -541,46 +641,55 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources)other); + if (other + instanceof + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) { + return mergeFrom( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other) { - if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources other) { + if (other + == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance()) return this; if (other.getExecutorsCount() != 0) { setExecutorsCount(other.getExecutorsCount()); } @@ -613,22 +722,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - executorsCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - maxExecutorsCount_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + executorsCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + maxExecutorsCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,16 +750,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int executorsCount_ ; + private int executorsCount_; /** + * + * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The executorsCount. */ @java.lang.Override @@ -655,12 +771,15 @@ public int getExecutorsCount() { return executorsCount_; } /** + * + * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The executorsCount to set. * @return This builder for chaining. */ @@ -672,12 +791,15 @@ public Builder setExecutorsCount(int value) { return this; } /** + * + * *
          * Optional. Total number of job executors.
          * Executor Count should be between 2 and 100. [Default=2]
          * 
* * int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExecutorsCount() { @@ -687,8 +809,10 @@ public Builder clearExecutorsCount() { return this; } - private int maxExecutorsCount_ ; + private int maxExecutorsCount_; /** + * + * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -696,6 +820,7 @@ public Builder clearExecutorsCount() {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxExecutorsCount. */ @java.lang.Override @@ -703,6 +828,8 @@ public int getMaxExecutorsCount() { return maxExecutorsCount_; } /** + * + * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -710,6 +837,7 @@ public int getMaxExecutorsCount() {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxExecutorsCount to set. * @return This builder for chaining. */ @@ -721,6 +849,8 @@ public Builder setMaxExecutorsCount(int value) { return this; } /** + * + * *
          * Optional. Max configurable executors.
          * If max_executors_count > executors_count, then auto-scaling is enabled.
@@ -728,6 +858,7 @@ public Builder setMaxExecutorsCount(int value) {
          * 
* * int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxExecutorsCount() { @@ -736,6 +867,7 @@ public Builder clearMaxExecutorsCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -748,41 +880,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec + .BatchComputeResources + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchComputeResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchComputeResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,37 +931,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ContainerImageRuntimeOrBuilder extends + public interface ContainerImageRuntimeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The image. */ java.lang.String getImage(); /** + * + * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for image. */ - com.google.protobuf.ByteString - getImageBytes(); + com.google.protobuf.ByteString getImageBytes(); /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -832,11 +977,13 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the javaJars. */ - java.util.List - getJavaJarsList(); + java.util.List getJavaJarsList(); /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -844,10 +991,13 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of javaJars. */ int getJavaJarsCount(); /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -855,11 +1005,14 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The javaJars at the given index. */ java.lang.String getJavaJars(int index); /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -867,13 +1020,15 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - com.google.protobuf.ByteString - getJavaJarsBytes(int index); + com.google.protobuf.ByteString getJavaJarsBytes(int index); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -881,11 +1036,13 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the pythonPackages. */ - java.util.List - getPythonPackagesList(); + java.util.List getPythonPackagesList(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -893,10 +1050,13 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of pythonPackages. */ int getPythonPackagesCount(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -904,11 +1064,14 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ java.lang.String getPythonPackages(int index); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -916,13 +1079,15 @@ public interface ContainerImageRuntimeOrBuilder extends
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - com.google.protobuf.ByteString - getPythonPackagesBytes(int index); + com.google.protobuf.ByteString getPythonPackagesBytes(int index); /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -931,10 +1096,13 @@ public interface ContainerImageRuntimeOrBuilder extends
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPropertiesCount(); /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -943,17 +1111,16 @@ public interface ContainerImageRuntimeOrBuilder extends
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsProperties( - java.lang.String key); - /** - * Use {@link #getPropertiesMap()} instead. + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsProperties(java.lang.String key); + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getProperties(); + java.util.Map getProperties(); /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -962,11 +1129,13 @@ boolean containsProperties(
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getPropertiesMap(); + java.util.Map getPropertiesMap(); /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -975,14 +1144,17 @@ boolean containsProperties(
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getPropertiesOrDefault( + java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -991,76 +1163,82 @@ java.lang.String getPropertiesOrDefault(
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getPropertiesOrThrow( - java.lang.String key); + java.lang.String getPropertiesOrThrow(java.lang.String key); } /** + * + * *
      * Container Image Runtime Configuration used with Batch execution.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} */ - public static final class ContainerImageRuntime extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ContainerImageRuntime extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) ContainerImageRuntimeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContainerImageRuntime.newBuilder() to construct. private ContainerImageRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContainerImageRuntime() { image_ = ""; - javaJars_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContainerImageRuntime(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_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 4: return internalGetProperties(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder + .class); } public static final int IMAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object image_ = ""; /** + * + * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The image. */ @java.lang.Override @@ -1069,29 +1247,29 @@ public java.lang.String getImage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; } } /** + * + * *
        * Optional. Container image to use.
        * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); image_ = b; return b; } else { @@ -1100,10 +1278,13 @@ public java.lang.String getImage() { } public static final int JAVA_JARS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1111,13 +1292,15 @@ public java.lang.String getImage() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the javaJars. */ - public com.google.protobuf.ProtocolStringList - getJavaJarsList() { + public com.google.protobuf.ProtocolStringList getJavaJarsList() { return javaJars_; } /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1125,12 +1308,15 @@ public java.lang.String getImage() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of javaJars. */ public int getJavaJarsCount() { return javaJars_.size(); } /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1138,6 +1324,7 @@ public int getJavaJarsCount() {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The javaJars at the given index. */ @@ -1145,6 +1332,8 @@ public java.lang.String getJavaJars(int index) { return javaJars_.get(index); } /** + * + * *
        * Optional. A list of Java JARS to add to the classpath.
        * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1152,19 +1341,22 @@ public java.lang.String getJavaJars(int index) {
        * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - public com.google.protobuf.ByteString - getJavaJarsBytes(int index) { + public com.google.protobuf.ByteString getJavaJarsBytes(int index) { return javaJars_.getByteString(index); } public static final int PYTHON_PACKAGES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1172,13 +1364,15 @@ public java.lang.String getJavaJars(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList - getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList getPythonPackagesList() { return pythonPackages_; } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1186,12 +1380,15 @@ public java.lang.String getJavaJars(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1199,6 +1396,7 @@ public int getPythonPackagesCount() {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -1206,6 +1404,8 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** + * + * *
        * Optional. A list of python packages to be installed.
        * Valid formats include Cloud Storage URI to a PIP installable library.
@@ -1213,41 +1413,45 @@ public java.lang.String getPythonPackages(int index) {
        * 
* * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString - getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } public static final int PROPERTIES_FIELD_NUMBER = 4; + private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; + private com.google.protobuf.MapField properties_; + private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } + public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1256,23 +1460,25 @@ public int getPropertiesCount() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetProperties().getMap().containsKey(key); } - /** - * Use {@link #getPropertiesMap()} instead. - */ + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1281,13 +1487,16 @@ public java.util.Map getProperties() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1296,20 +1505,23 @@ public java.util.Map getPropertiesMap() {
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getPropertiesOrDefault( + public /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * Optional. Override to common configuration of open source components
        * installed on the Dataproc cluster. The properties to set on daemon
@@ -1318,14 +1530,15 @@ java.lang.String getPropertiesOrDefault(
        * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
        * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1333,6 +1546,7 @@ public java.lang.String getPropertiesOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1344,8 +1558,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); } @@ -1355,12 +1568,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < pythonPackages_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pythonPackages_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetProperties(), - PropertiesDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -1389,15 +1598,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPythonPackagesList().size(); } - for (java.util.Map.Entry entry - : internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry - properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, properties__); + for (java.util.Map.Entry entry : + internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry properties__ = + PropertiesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, properties__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1407,21 +1616,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)) { + if (!(obj + instanceof + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other = + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) obj; - if (!getImage() - .equals(other.getImage())) return false; - if (!getJavaJarsList() - .equals(other.getJavaJarsList())) return false; - if (!getPythonPackagesList() - .equals(other.getPythonPackagesList())) return false; - if (!internalGetProperties().equals( - other.internalGetProperties())) return false; + if (!getImage().equals(other.getImage())) return false; + if (!getJavaJarsList().equals(other.getJavaJarsList())) return false; + if (!getPythonPackagesList().equals(other.getPythonPackagesList())) return false; + if (!internalGetProperties().equals(other.internalGetProperties())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1452,90 +1660,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1545,88 +1766,92 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Container Image Runtime Configuration used with Batch execution.
        * 
* - * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} + * Protobuf type {@code + * google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetProperties(); 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 4: return internalGetMutableProperties(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder + .class); } - // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; image_ = ""; - javaJars_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableProperties().clear(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime build() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = buildPartial(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1634,14 +1859,19 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntim } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + buildPartial() { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.image_ = image_; @@ -1664,46 +1894,55 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime)other); + if (other + instanceof + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) { + return mergeFrom( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other) { - if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime other) { + if (other + == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance()) return this; if (!other.getImage().isEmpty()) { image_ = other.image_; bitField0_ |= 0x00000001; @@ -1729,8 +1968,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Co } onChanged(); } - internalGetMutableProperties().mergeFrom( - other.internalGetProperties()); + internalGetMutableProperties().mergeFrom(other.internalGetProperties()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1758,38 +1996,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - image_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureJavaJarsIsMutable(); - javaJars_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePythonPackagesIsMutable(); - pythonPackages_.add(s); - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - properties__ = input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableProperties().getMutableMap().put( - properties__.getKey(), properties__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + image_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureJavaJarsIsMutable(); + javaJars_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePythonPackagesIsMutable(); + pythonPackages_.add(s); + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry properties__ = + input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableProperties() + .getMutableMap() + .put(properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1799,22 +2044,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object image_ = ""; /** + * + * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; @@ -1823,20 +2071,21 @@ public java.lang.String getImage() { } } /** + * + * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for image. */ - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); image_ = b; return b; } else { @@ -1844,28 +2093,35 @@ public java.lang.String getImage() { } } /** + * + * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImage() { @@ -1875,17 +2131,21 @@ public Builder clearImage() { return this; } /** + * + * *
          * Optional. Container image to use.
          * 
* * string image = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); image_ = value; bitField0_ |= 0x00000001; @@ -1895,6 +2155,7 @@ public Builder setImageBytes( private com.google.protobuf.LazyStringArrayList javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureJavaJarsIsMutable() { if (!javaJars_.isModifiable()) { javaJars_ = new com.google.protobuf.LazyStringArrayList(javaJars_); @@ -1902,6 +2163,8 @@ private void ensureJavaJarsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1909,14 +2172,16 @@ private void ensureJavaJarsIsMutable() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the javaJars. */ - public com.google.protobuf.ProtocolStringList - getJavaJarsList() { + public com.google.protobuf.ProtocolStringList getJavaJarsList() { javaJars_.makeImmutable(); return javaJars_; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1924,12 +2189,15 @@ private void ensureJavaJarsIsMutable() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of javaJars. */ public int getJavaJarsCount() { return javaJars_.size(); } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1937,6 +2205,7 @@ public int getJavaJarsCount() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The javaJars at the given index. */ @@ -1944,6 +2213,8 @@ public java.lang.String getJavaJars(int index) { return javaJars_.get(index); } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1951,14 +2222,16 @@ public java.lang.String getJavaJars(int index) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the javaJars at the given index. */ - public com.google.protobuf.ByteString - getJavaJarsBytes(int index) { + public com.google.protobuf.ByteString getJavaJarsBytes(int index) { return javaJars_.getByteString(index); } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1966,13 +2239,15 @@ public java.lang.String getJavaJars(int index) {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The javaJars to set. * @return This builder for chaining. */ - public Builder setJavaJars( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJavaJars(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJavaJarsIsMutable(); javaJars_.set(index, value); bitField0_ |= 0x00000002; @@ -1980,6 +2255,8 @@ public Builder setJavaJars( return this; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -1987,12 +2264,14 @@ public Builder setJavaJars(
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The javaJars to add. * @return This builder for chaining. */ - public Builder addJavaJars( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJavaJars(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJavaJarsIsMutable(); javaJars_.add(value); bitField0_ |= 0x00000002; @@ -2000,6 +2279,8 @@ public Builder addJavaJars( return this; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2007,19 +2288,20 @@ public Builder addJavaJars(
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The javaJars to add. * @return This builder for chaining. */ - public Builder addAllJavaJars( - java.lang.Iterable values) { + public Builder addAllJavaJars(java.lang.Iterable values) { ensureJavaJarsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, javaJars_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, javaJars_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2027,16 +2309,19 @@ public Builder addAllJavaJars(
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearJavaJars() { - javaJars_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + javaJars_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
          * Optional. A list of Java JARS to add to the classpath.
          * Valid input includes Cloud Storage URIs to Jar binaries.
@@ -2044,12 +2329,14 @@ public Builder clearJavaJars() {
          * 
* * repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the javaJars to add. * @return This builder for chaining. */ - public Builder addJavaJarsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJavaJarsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureJavaJarsIsMutable(); javaJars_.add(value); @@ -2060,6 +2347,7 @@ public Builder addJavaJarsBytes( private com.google.protobuf.LazyStringArrayList pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePythonPackagesIsMutable() { if (!pythonPackages_.isModifiable()) { pythonPackages_ = new com.google.protobuf.LazyStringArrayList(pythonPackages_); @@ -2067,41 +2355,52 @@ private void ensurePythonPackagesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the pythonPackages. */ - public com.google.protobuf.ProtocolStringList - getPythonPackagesList() { + public com.google.protobuf.ProtocolStringList getPythonPackagesList() { pythonPackages_.makeImmutable(); return pythonPackages_; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of pythonPackages. */ public int getPythonPackagesCount() { return pythonPackages_.size(); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The pythonPackages at the given index. */ @@ -2109,35 +2408,43 @@ public java.lang.String getPythonPackages(int index) { return pythonPackages_.get(index); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the pythonPackages at the given index. */ - public com.google.protobuf.ByteString - getPythonPackagesBytes(int index) { + public com.google.protobuf.ByteString getPythonPackagesBytes(int index) { return pythonPackages_.getByteString(index); } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The pythonPackages to set. * @return This builder for chaining. */ - public Builder setPythonPackages( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPythonPackages(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePythonPackagesIsMutable(); pythonPackages_.set(index, value); bitField0_ |= 0x00000004; @@ -2145,19 +2452,24 @@ public Builder setPythonPackages( return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackages( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPythonPackages(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePythonPackagesIsMutable(); pythonPackages_.add(value); bitField0_ |= 0x00000004; @@ -2165,56 +2477,67 @@ public Builder addPythonPackages( return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The pythonPackages to add. * @return This builder for chaining. */ - public Builder addAllPythonPackages( - java.lang.Iterable values) { + public Builder addAllPythonPackages(java.lang.Iterable values) { ensurePythonPackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pythonPackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pythonPackages_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPythonPackages() { - pythonPackages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + pythonPackages_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
          * Optional. A list of python packages to be installed.
          * Valid formats include Cloud Storage URI to a PIP installable library.
          * For example, gs://bucket-name/my/path/to/lib.tar.gz
          * 
* - * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the pythonPackages to add. * @return This builder for chaining. */ - public Builder addPythonPackagesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePythonPackagesIsMutable(); pythonPackages_.add(value); @@ -2223,8 +2546,8 @@ public Builder addPythonPackagesBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; + private com.google.protobuf.MapField properties_; + private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { @@ -2233,11 +2556,12 @@ public Builder addPythonPackagesBytes( } return properties_; } + private com.google.protobuf.MapField internalGetMutableProperties() { if (properties_ == null) { - properties_ = com.google.protobuf.MapField.newMapField( - PropertiesDefaultEntryHolder.defaultEntry); + properties_ = + com.google.protobuf.MapField.newMapField(PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); @@ -2246,10 +2570,13 @@ public Builder addPythonPackagesBytes( onChanged(); return properties_; } + public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2258,23 +2585,25 @@ public int getPropertiesCount() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetProperties().getMap().containsKey(key); } - /** - * Use {@link #getPropertiesMap()} instead. - */ + /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2283,13 +2612,16 @@ public java.util.Map getProperties() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2298,20 +2630,23 @@ public java.util.Map getPropertiesMap() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getPropertiesOrDefault( + public /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2320,26 +2655,29 @@ java.lang.String getPropertiesOrDefault(
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); + public java.lang.String getPropertiesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearProperties() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableProperties().getMutableMap() - .clear(); + internalGetMutableProperties().getMutableMap().clear(); return this; } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2348,25 +2686,25 @@ public Builder clearProperties() {
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableProperties().getMutableMap() - .remove(key); + public Builder removeProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableProperties().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableProperties() { + public java.util.Map getMutableProperties() { bitField0_ |= 0x00000008; return internalGetMutableProperties().getMutableMap(); } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2375,19 +2713,23 @@ public Builder removeProperties(
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putProperties( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableProperties().getMutableMap() - .put(key, value); + public Builder putProperties(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableProperties().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
          * Optional. Override to common configuration of open source components
          * installed on the Dataproc cluster. The properties to set on daemon
@@ -2396,15 +2738,15 @@ public Builder putProperties(
          * properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
          * 
* - * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllProperties( - java.util.Map values) { - internalGetMutableProperties().getMutableMap() - .putAll(values); + public Builder putAllProperties(java.util.Map values) { + internalGetMutableProperties().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2417,41 +2759,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec + .ContainerImageRuntime + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(); + DEFAULT_INSTANCE = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContainerImageRuntime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContainerImageRuntime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2463,171 +2810,206 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface VpcNetworkOrBuilder extends + public interface VpcNetworkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the network field is set. */ boolean hasNetwork(); /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the subNetwork field is set. */ boolean hasSubNetwork(); /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subNetwork. */ java.lang.String getSubNetwork(); /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subNetwork. */ - com.google.protobuf.ByteString - getSubNetworkBytes(); + com.google.protobuf.ByteString getSubNetworkBytes(); /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase(); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.NetworkNameCase + getNetworkNameCase(); } /** + * + * *
      * Cloud VPC Network used to run the infrastructure.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork} */ - public static final class VpcNetwork extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class VpcNetwork extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) VpcNetworkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpcNetwork.newBuilder() to construct. private VpcNetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpcNetwork() { - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpcNetwork(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); } private int networkNameCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object networkName_; + public enum NetworkNameCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NETWORK(1), SUB_NETWORK(2), NETWORKNAME_NOT_SET(0); private final int value; + private NetworkNameCase(int value) { this.value = value; } @@ -2643,43 +3025,52 @@ public static NetworkNameCase valueOf(int value) { public static NetworkNameCase forNumber(int value) { switch (value) { - case 1: return NETWORK; - case 2: return SUB_NETWORK; - case 0: return NETWORKNAME_NOT_SET; - default: return null; + case 1: + return NETWORK; + case 2: + return SUB_NETWORK; + case 0: + return NETWORKNAME_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public NetworkNameCase - getNetworkNameCase() { - return NetworkNameCase.forNumber( - networkNameCase_); + public NetworkNameCase getNetworkNameCase() { + return NetworkNameCase.forNumber(networkNameCase_); } public static final int NETWORK_FIELD_NUMBER = 1; /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the network field is set. */ public boolean hasNetwork() { return networkNameCase_ == 1; } /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ public java.lang.String getNetwork() { @@ -2690,8 +3081,7 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (networkNameCase_ == 1) { networkName_ = s; @@ -2700,24 +3090,25 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Optional. The Cloud VPC network in which the job is run. By default,
        * the Cloud VPC network named Default within the project is used.
        * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 1) { ref = networkName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 1) { networkName_ = b; } @@ -2729,22 +3120,28 @@ public java.lang.String getNetwork() { public static final int SUB_NETWORK_FIELD_NUMBER = 2; /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the subNetwork field is set. */ public boolean hasSubNetwork() { return networkNameCase_ == 2; } /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subNetwork. */ public java.lang.String getSubNetwork() { @@ -2755,8 +3152,7 @@ public java.lang.String getSubNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (networkNameCase_ == 2) { networkName_ = s; @@ -2765,23 +3161,24 @@ public java.lang.String getSubNetwork() { } } /** + * + * *
        * Optional. The Cloud VPC sub-network in which the job is run.
        * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subNetwork. */ - public com.google.protobuf.ByteString - getSubNetworkBytes() { + public com.google.protobuf.ByteString getSubNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 2) { ref = networkName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 2) { networkName_ = b; } @@ -2792,38 +3189,47 @@ public java.lang.String getSubNetwork() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2831,20 +3237,23 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
        * Optional. List of network tags to apply to the job.
        * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2856,8 +3265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (networkNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, networkName_); } @@ -2898,24 +3306,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other = + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) obj; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; if (!getNetworkNameCase().equals(other.getNetworkNameCase())) return false; switch (networkNameCase_) { case 1: - if (!getNetwork() - .equals(other.getNetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; break; case 2: - if (!getSubNetwork() - .equals(other.getSubNetwork())) return false; + if (!getSubNetwork().equals(other.getSubNetwork())) return false; break; case 0: default: @@ -2953,89 +3359,96 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3045,59 +3458,63 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Cloud VPC Network used to run the infrastructure.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder.class); } - // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); networkNameCase_ = 0; networkName_ = null; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType() { - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + getDefaultInstanceForType() { + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance(); } @java.lang.Override @@ -3111,14 +3528,18 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { networkTags_.makeImmutable(); @@ -3126,7 +3547,8 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec. } } - private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { + private void buildPartialOneofs( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork result) { result.networkNameCase_ = networkNameCase_; result.networkName_ = this.networkName_; } @@ -3135,46 +3557,53 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.Infrastructure public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork)other); + return mergeFrom( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other) { - if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork other) { + if (other + == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance()) return this; if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -3186,21 +3615,24 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Vp onChanged(); } switch (other.getNetworkNameCase()) { - case NETWORK: { - networkNameCase_ = 1; - networkName_ = other.networkName_; - onChanged(); - break; - } - case SUB_NETWORK: { - networkNameCase_ = 2; - networkName_ = other.networkName_; - onChanged(); - break; - } - case NETWORKNAME_NOT_SET: { - break; - } + case NETWORK: + { + networkNameCase_ = 1; + networkName_ = other.networkName_; + onChanged(); + break; + } + case SUB_NETWORK: + { + networkNameCase_ = 2; + networkName_ = other.networkName_; + onChanged(); + break; + } + case NETWORKNAME_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3228,30 +3660,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - networkNameCase_ = 1; - networkName_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - networkNameCase_ = 2; - networkName_ = s; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + networkNameCase_ = 1; + networkName_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + networkNameCase_ = 2; + networkName_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3261,12 +3697,12 @@ public Builder mergeFrom( } // finally return this; } + private int networkNameCase_ = 0; private java.lang.Object networkName_; - public NetworkNameCase - getNetworkNameCase() { - return NetworkNameCase.forNumber( - networkNameCase_); + + public NetworkNameCase getNetworkNameCase() { + return NetworkNameCase.forNumber(networkNameCase_); } public Builder clearNetworkName() { @@ -3279,12 +3715,15 @@ public Builder clearNetworkName() { private int bitField0_; /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the network field is set. */ @java.lang.Override @@ -3292,12 +3731,15 @@ public boolean hasNetwork() { return networkNameCase_ == 1; } /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ @java.lang.Override @@ -3307,8 +3749,7 @@ public java.lang.String getNetwork() { ref = networkName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (networkNameCase_ == 1) { networkName_ = s; @@ -3319,25 +3760,26 @@ public java.lang.String getNetwork() { } } /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 1) { ref = networkName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 1) { networkName_ = b; } @@ -3347,30 +3789,37 @@ public java.lang.String getNetwork() { } } /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkNameCase_ = 1; networkName_ = value; onChanged(); return this; } /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -3382,18 +3831,22 @@ public Builder clearNetwork() { return this; } /** + * + * *
          * Optional. The Cloud VPC network in which the job is run. By default,
          * the Cloud VPC network named Default within the project is used.
          * 
* * string network = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkNameCase_ = 1; networkName_ = value; @@ -3402,11 +3855,14 @@ public Builder setNetworkBytes( } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the subNetwork field is set. */ @java.lang.Override @@ -3414,11 +3870,14 @@ public boolean hasSubNetwork() { return networkNameCase_ == 2; } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subNetwork. */ @java.lang.Override @@ -3428,8 +3887,7 @@ public java.lang.String getSubNetwork() { ref = networkName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (networkNameCase_ == 2) { networkName_ = s; @@ -3440,24 +3898,25 @@ public java.lang.String getSubNetwork() { } } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subNetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubNetworkBytes() { + public com.google.protobuf.ByteString getSubNetworkBytes() { java.lang.Object ref = ""; if (networkNameCase_ == 2) { ref = networkName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (networkNameCase_ == 2) { networkName_ = b; } @@ -3467,28 +3926,35 @@ public java.lang.String getSubNetwork() { } } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The subNetwork to set. * @return This builder for chaining. */ - public Builder setSubNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkNameCase_ = 2; networkName_ = value; onChanged(); return this; } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSubNetwork() { @@ -3500,17 +3966,21 @@ public Builder clearSubNetwork() { return this; } /** + * + * *
          * Optional. The Cloud VPC sub-network in which the job is run.
          * 
* * string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for subNetwork to set. * @return This builder for chaining. */ - public Builder setSubNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkNameCase_ = 2; networkName_ = value; @@ -3520,6 +3990,7 @@ public Builder setSubNetworkBytes( private com.google.protobuf.LazyStringArrayList networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureNetworkTagsIsMutable() { if (!networkTags_.isModifiable()) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); @@ -3527,35 +3998,43 @@ private void ensureNetworkTagsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { networkTags_.makeImmutable(); return networkTags_; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -3563,31 +4042,37 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); bitField0_ |= 0x00000004; @@ -3595,17 +4080,21 @@ public Builder setNetworkTags( return this; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.add(value); bitField0_ |= 0x00000004; @@ -3613,50 +4102,58 @@ public Builder addNetworkTags( return this; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
          * Optional. List of network tags to apply to the job.
          * 
* * repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -3664,6 +4161,7 @@ public Builder addNetworkTagsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3676,41 +4174,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) - private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork(); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcNetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VpcNetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3722,21 +4223,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourcesCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object resources_; + public enum ResourcesCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH(52), RESOURCES_NOT_SET(0); private final int value; + private ResourcesCase(int value) { this.value = value; } @@ -3752,31 +4257,37 @@ public static ResourcesCase valueOf(int value) { public static ResourcesCase forNumber(int value) { switch (value) { - case 52: return BATCH; - case 0: return RESOURCES_NOT_SET; - default: return null; + case 52: + return BATCH; + case 0: + return RESOURCES_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourcesCase - getResourcesCase() { - return ResourcesCase.forNumber( - resourcesCase_); + public ResourcesCase getResourcesCase() { + return ResourcesCase.forNumber(resourcesCase_); } private int runtimeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object runtime_; + public enum RuntimeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTAINER_IMAGE(101), RUNTIME_NOT_SET(0); private final int value; + private RuntimeCase(int value) { this.value = value; } @@ -3792,31 +4303,37 @@ public static RuntimeCase valueOf(int value) { public static RuntimeCase forNumber(int value) { switch (value) { - case 101: return CONTAINER_IMAGE; - case 0: return RUNTIME_NOT_SET; - default: return null; + case 101: + return CONTAINER_IMAGE; + case 0: + return RUNTIME_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RuntimeCase - getRuntimeCase() { - return RuntimeCase.forNumber( - runtimeCase_); + public RuntimeCase getRuntimeCase() { + return RuntimeCase.forNumber(runtimeCase_); } private int networkCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object network_; + public enum NetworkCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VPC_NETWORK(150), NETWORK_NOT_SET(0); private final int value; + private NetworkCase(int value) { this.value = value; } @@ -3832,29 +4349,35 @@ public static NetworkCase valueOf(int value) { public static NetworkCase forNumber(int value) { switch (value) { - case 150: return VPC_NETWORK; - case 0: return NETWORK_NOT_SET; - default: return null; + case 150: + return VPC_NETWORK; + case 0: + return NETWORK_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public NetworkCase - getNetworkCase() { - return NetworkCase.forNumber( - networkCase_); + public NetworkCase getNetworkCase() { + return NetworkCase.forNumber(networkCase_); } public static final int BATCH_FIELD_NUMBER = 52; /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return Whether the batch field is set. */ @java.lang.Override @@ -3862,42 +4385,59 @@ public boolean hasBatch() { return resourcesCase_ == 52; } /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return The batch. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch() { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } /** + * + * *
      * Compute resources needed for a Task when using Dataproc Serverless.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder + getBatchOrBuilder() { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } public static final int CONTAINER_IMAGE_FIELD_NUMBER = 101; /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return Whether the containerImage field is set. */ @java.lang.Override @@ -3905,42 +4445,60 @@ public boolean hasContainerImage() { return runtimeCase_ == 101; } /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return The containerImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + getContainerImage() { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } /** + * + * *
      * Container Image Runtime Configuration.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder + getContainerImageOrBuilder() { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } public static final int VPC_NETWORK_FIELD_NUMBER = 150; /** + * + * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * * @return Whether the vpcNetwork field is set. */ @java.lang.Override @@ -3948,21 +4506,26 @@ public boolean hasVpcNetwork() { return networkCase_ == 150; } /** + * + * *
      * Vpc network.
      * 
* * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * * @return The vpcNetwork. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNetwork() { if (networkCase_ == 150) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } /** + * + * *
      * Vpc network.
      * 
@@ -3970,14 +4533,16 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNet * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder + getVpcNetworkOrBuilder() { if (networkCase_ == 150) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3989,16 +4554,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourcesCase_ == 52) { - output.writeMessage(52, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_); + output.writeMessage( + 52, + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_); } if (runtimeCase_ == 101) { - output.writeMessage(101, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); + output.writeMessage( + 101, + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); } if (networkCase_ == 150) { - output.writeMessage(150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); + output.writeMessage( + 150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); } getUnknownFields().writeTo(output); } @@ -4010,16 +4580,23 @@ public int getSerializedSize() { size = 0; if (resourcesCase_ == 52) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(52, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 52, + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_); } if (runtimeCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_); } if (networkCase_ == 150) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 150, (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4029,18 +4606,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.InfrastructureSpec other = (com.google.cloud.dataplex.v1.Task.InfrastructureSpec) obj; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec other = + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec) obj; if (!getResourcesCase().equals(other.getResourcesCase())) return false; switch (resourcesCase_) { case 52: - if (!getBatch() - .equals(other.getBatch())) return false; + if (!getBatch().equals(other.getBatch())) return false; break; case 0: default: @@ -4048,8 +4625,7 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeCase().equals(other.getRuntimeCase())) return false; switch (runtimeCase_) { case 101: - if (!getContainerImage() - .equals(other.getContainerImage())) return false; + if (!getContainerImage().equals(other.getContainerImage())) return false; break; case 0: default: @@ -4057,8 +4633,7 @@ public boolean equals(final java.lang.Object obj) { if (!getNetworkCase().equals(other.getNetworkCase())) return false; switch (networkCase_) { case 150: - if (!getVpcNetwork() - .equals(other.getVpcNetwork())) return false; + if (!getVpcNetwork().equals(other.getVpcNetwork())) return false; break; case 0: default: @@ -4104,89 +4679,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.InfrastructureSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4196,39 +4776,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the underlying infrastructure used to run workloads.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.InfrastructureSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.InfrastructureSpec) com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.class, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.InfrastructureSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4252,9 +4834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; } @java.lang.Override @@ -4273,8 +4855,11 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.InfrastructureSpec result = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.InfrastructureSpec result = + new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -4287,20 +4872,17 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.InfrastructureSpec private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.InfrastructureSpec result) { result.resourcesCase_ = resourcesCase_; result.resources_ = this.resources_; - if (resourcesCase_ == 52 && - batchBuilder_ != null) { + if (resourcesCase_ == 52 && batchBuilder_ != null) { result.resources_ = batchBuilder_.build(); } result.runtimeCase_ = runtimeCase_; result.runtime_ = this.runtime_; - if (runtimeCase_ == 101 && - containerImageBuilder_ != null) { + if (runtimeCase_ == 101 && containerImageBuilder_ != null) { result.runtime_ = containerImageBuilder_.build(); } result.networkCase_ = networkCase_; result.network_ = this.network_; - if (networkCase_ == 150 && - vpcNetworkBuilder_ != null) { + if (networkCase_ == 150 && vpcNetworkBuilder_ != null) { result.network_ = vpcNetworkBuilder_.build(); } } @@ -4309,38 +4891,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.Infrastructure public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.InfrastructureSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.InfrastructureSpec) other); } else { super.mergeFrom(other); return this; @@ -4348,33 +4933,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.InfrastructureSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) + return this; switch (other.getResourcesCase()) { - case BATCH: { - mergeBatch(other.getBatch()); - break; - } - case RESOURCES_NOT_SET: { - break; - } + case BATCH: + { + mergeBatch(other.getBatch()); + break; + } + case RESOURCES_NOT_SET: + { + break; + } } switch (other.getRuntimeCase()) { - case CONTAINER_IMAGE: { - mergeContainerImage(other.getContainerImage()); - break; - } - case RUNTIME_NOT_SET: { - break; - } + case CONTAINER_IMAGE: + { + mergeContainerImage(other.getContainerImage()); + break; + } + case RUNTIME_NOT_SET: + { + break; + } } switch (other.getNetworkCase()) { - case VPC_NETWORK: { - mergeVpcNetwork(other.getVpcNetwork()); - break; - } - case NETWORK_NOT_SET: { - break; - } + case VPC_NETWORK: + { + mergeVpcNetwork(other.getVpcNetwork()); + break; + } + case NETWORK_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4402,33 +4994,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 418: { - input.readMessage( - getBatchFieldBuilder().getBuilder(), - extensionRegistry); - resourcesCase_ = 52; - break; - } // case 418 - case 810: { - input.readMessage( - getContainerImageFieldBuilder().getBuilder(), - extensionRegistry); - runtimeCase_ = 101; - break; - } // case 810 - case 1202: { - input.readMessage( - getVpcNetworkFieldBuilder().getBuilder(), - extensionRegistry); - networkCase_ = 150; - break; - } // case 1202 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 418: + { + input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry); + resourcesCase_ = 52; + break; + } // case 418 + case 810: + { + input.readMessage( + getContainerImageFieldBuilder().getBuilder(), extensionRegistry); + runtimeCase_ = 101; + break; + } // case 810 + case 1202: + { + input.readMessage(getVpcNetworkFieldBuilder().getBuilder(), extensionRegistry); + networkCase_ = 150; + break; + } // case 1202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4438,12 +5029,12 @@ public Builder mergeFrom( } // finally return this; } + private int resourcesCase_ = 0; private java.lang.Object resources_; - public ResourcesCase - getResourcesCase() { - return ResourcesCase.forNumber( - resourcesCase_); + + public ResourcesCase getResourcesCase() { + return ResourcesCase.forNumber(resourcesCase_); } public Builder clearResources() { @@ -4455,10 +5046,9 @@ public Builder clearResources() { private int runtimeCase_ = 0; private java.lang.Object runtime_; - public RuntimeCase - getRuntimeCase() { - return RuntimeCase.forNumber( - runtimeCase_); + + public RuntimeCase getRuntimeCase() { + return RuntimeCase.forNumber(runtimeCase_); } public Builder clearRuntime() { @@ -4470,10 +5060,9 @@ public Builder clearRuntime() { private int networkCase_ = 0; private java.lang.Object network_; - public NetworkCase - getNetworkCase() { - return NetworkCase.forNumber( - networkCase_); + + public NetworkCase getNetworkCase() { + return NetworkCase.forNumber(networkCase_); } public Builder clearNetwork() { @@ -4486,13 +5075,20 @@ public Builder clearNetwork() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> batchBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> + batchBuilder_; /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return Whether the batch field is set. */ @java.lang.Override @@ -4500,35 +5096,46 @@ public boolean hasBatch() { return resourcesCase_ == 52; } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * + * * @return The batch. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources getBatch() { if (batchBuilder_ == null) { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } else { if (resourcesCase_ == 52) { return batchBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ - public Builder setBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { + public Builder setBatch( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { if (batchBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4542,14 +5149,18 @@ public Builder setBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Bat return this; } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ public Builder setBatch( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder builderForValue) { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder + builderForValue) { if (batchBuilder_ == null) { resources_ = builderForValue.build(); onChanged(); @@ -4560,18 +5171,29 @@ public Builder setBatch( return this; } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ - public Builder mergeBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { + public Builder mergeBatch( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources value) { if (batchBuilder_ == null) { - if (resourcesCase_ == 52 && - resources_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance()) { - resources_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_) - .mergeFrom(value).buildPartial(); + if (resourcesCase_ == 52 + && resources_ + != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance()) { + resources_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .newBuilder( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_) + .mergeFrom(value) + .buildPartial(); } else { resources_ = value; } @@ -4587,11 +5209,14 @@ public Builder mergeBatch(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.B return this; } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ public Builder clearBatch() { if (batchBuilder_ == null) { @@ -4610,50 +5235,73 @@ public Builder clearBatch() { return this; } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder getBatchBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder + getBatchBuilder() { return getBatchFieldBuilder().getBuilder(); } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder + getBatchOrBuilder() { if ((resourcesCase_ == 52) && (batchBuilder_ != null)) { return batchBuilder_.getMessageOrBuilder(); } else { if (resourcesCase_ == 52) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } } /** + * + * *
        * Compute resources needed for a Task when using Dataproc Serverless.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { if (!(resourcesCase_ == 52)) { - resources_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.getDefaultInstance(); + resources_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .getDefaultInstance(); } - batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder>( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) resources_, + batchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources + .Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec + .BatchComputeResourcesOrBuilder>( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources) + resources_, getParentForChildren(), isClean()); resources_ = null; @@ -4664,13 +5312,21 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResource } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> containerImageBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> + containerImageBuilder_; /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return Whether the containerImage field is set. */ @java.lang.Override @@ -4678,35 +5334,49 @@ public boolean hasContainerImage() { return runtimeCase_ == 101; } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * * @return The containerImage. */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime getContainerImage() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + getContainerImage() { if (containerImageBuilder_ == null) { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } else { if (runtimeCase_ == 101) { return containerImageBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ - public Builder setContainerImage(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { + public Builder setContainerImage( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { if (containerImageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4720,14 +5390,19 @@ public Builder setContainerImage(com.google.cloud.dataplex.v1.Task.Infrastructur return this; } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ public Builder setContainerImage( - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder builderForValue) { + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder + builderForValue) { if (containerImageBuilder_ == null) { runtime_ = builderForValue.build(); onChanged(); @@ -4738,18 +5413,30 @@ public Builder setContainerImage( return this; } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ - public Builder mergeContainerImage(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { + public Builder mergeContainerImage( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime value) { if (containerImageBuilder_ == null) { - if (runtimeCase_ == 101 && - runtime_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance()) { - runtime_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_) - .mergeFrom(value).buildPartial(); + if (runtimeCase_ == 101 + && runtime_ + != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance()) { + runtime_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .newBuilder( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_) + .mergeFrom(value) + .buildPartial(); } else { runtime_ = value; } @@ -4765,11 +5452,15 @@ public Builder mergeContainerImage(com.google.cloud.dataplex.v1.Task.Infrastruct return this; } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ public Builder clearContainerImage() { if (containerImageBuilder_ == null) { @@ -4788,50 +5479,76 @@ public Builder clearContainerImage() { return this; } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder getContainerImageBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder + getContainerImageBuilder() { return getContainerImageFieldBuilder().getBuilder(); } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder + getContainerImageOrBuilder() { if ((runtimeCase_ == 101) && (containerImageBuilder_ != null)) { return containerImageBuilder_.getMessageOrBuilder(); } else { if (runtimeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_; + return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } } /** + * + * *
        * Container Image Runtime Configuration.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder> getContainerImageFieldBuilder() { if (containerImageBuilder_ == null) { if (!(runtimeCase_ == 101)) { - runtime_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.getDefaultInstance(); + runtime_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .getDefaultInstance(); } - containerImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder>( - (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) runtime_, + containerImageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime + .Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec + .ContainerImageRuntimeOrBuilder>( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime) + runtime_, getParentForChildren(), isClean()); runtime_ = null; @@ -4842,13 +5559,20 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntim } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> vpcNetworkBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> + vpcNetworkBuilder_; /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * + * * @return Whether the vpcNetwork field is set. */ @java.lang.Override @@ -4856,11 +5580,15 @@ public boolean hasVpcNetwork() { return networkCase_ == 150; } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * + * * @return The vpcNetwork. */ @java.lang.Override @@ -4869,22 +5597,28 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork getVpcNet if (networkCase_ == 150) { return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance(); } else { if (networkCase_ == 150) { return vpcNetworkBuilder_.getMessage(); } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance(); } } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ - public Builder setVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { + public Builder setVpcNetwork( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { if (vpcNetworkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4898,11 +5632,14 @@ public Builder setVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureSpe return this; } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ public Builder setVpcNetwork( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder builderForValue) { @@ -4916,18 +5653,27 @@ public Builder setVpcNetwork( return this; } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ - public Builder mergeVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { + public Builder mergeVpcNetwork( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork value) { if (vpcNetworkBuilder_ == null) { - if (networkCase_ == 150 && - network_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance()) { - network_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder((com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_) - .mergeFrom(value).buildPartial(); + if (networkCase_ == 150 + && network_ + != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance()) { + network_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.newBuilder( + (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_) + .mergeFrom(value) + .buildPartial(); } else { network_ = value; } @@ -4943,11 +5689,14 @@ public Builder mergeVpcNetwork(com.google.cloud.dataplex.v1.Task.InfrastructureS return this; } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ public Builder clearVpcNetwork() { if (vpcNetworkBuilder_ == null) { @@ -4966,49 +5715,68 @@ public Builder clearVpcNetwork() { return this; } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder getVpcNetworkBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder + getVpcNetworkBuilder() { return getVpcNetworkFieldBuilder().getBuilder(); } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder + getVpcNetworkOrBuilder() { if ((networkCase_ == 150) && (vpcNetworkBuilder_ != null)) { return vpcNetworkBuilder_.getMessageOrBuilder(); } else { if (networkCase_ == 150) { return (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_; } - return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); + return com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance(); } } /** + * + * *
        * Vpc network.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * .google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder> getVpcNetworkFieldBuilder() { if (vpcNetworkBuilder_ == null) { if (!(networkCase_ == 150)) { - network_ = com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.getDefaultInstance(); + network_ = + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork + .getDefaultInstance(); } - vpcNetworkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder>( + vpcNetworkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder>( (com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork) network_, getParentForChildren(), isClean()); @@ -5018,6 +5786,7 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder onChanged(); return vpcNetworkBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5030,12 +5799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.InfrastructureSpec) private static final com.google.cloud.dataplex.v1.Task.InfrastructureSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.InfrastructureSpec(); } @@ -5044,27 +5813,28 @@ public static com.google.cloud.dataplex.v1.Task.InfrastructureSpec getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfrastructureSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfrastructureSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5079,66 +5849,89 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TriggerSpecOrBuilder extends + public interface TriggerSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.TriggerSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType(); /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
      * Optional. Prevent the task from executing.
      * This does not cancel already running tasks. It is intended to temporarily
@@ -5146,22 +5939,28 @@ public interface TriggerSpecOrBuilder extends
      * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Optional. Number of retry attempts before aborting.
      * Set to zero to never attempt to retry a failed task.
      * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxRetries. */ int getMaxRetries(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5173,10 +5972,13 @@ public interface TriggerSpecOrBuilder extends
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5188,10 +5990,13 @@ public interface TriggerSpecOrBuilder extends
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5203,63 +6008,70 @@ public interface TriggerSpecOrBuilder extends
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); com.google.cloud.dataplex.v1.Task.TriggerSpec.TriggerCase getTriggerCase(); } /** + * + * *
    * Task scheduling and trigger settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.TriggerSpec} */ - public static final class TriggerSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TriggerSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.TriggerSpec) TriggerSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TriggerSpec.newBuilder() to construct. private TriggerSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TriggerSpec() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TriggerSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.TriggerSpec.class, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.TriggerSpec.class, + com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); } /** + * + * *
      * Determines how often and when the job will run.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Task.TriggerSpec.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified trigger type.
        * 
@@ -5268,6 +6080,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * The task runs one-time shortly after Task Creation.
        * 
@@ -5276,6 +6090,8 @@ public enum Type */ ON_DEMAND(1), /** + * + * *
        * The task is scheduled to run periodically.
        * 
@@ -5287,6 +6103,8 @@ public enum Type ; /** + * + * *
        * Unspecified trigger type.
        * 
@@ -5295,6 +6113,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The task runs one-time shortly after Task Creation.
        * 
@@ -5303,6 +6123,8 @@ public enum Type */ public static final int ON_DEMAND_VALUE = 1; /** + * + * *
        * The task is scheduled to run periodically.
        * 
@@ -5311,7 +6133,6 @@ public enum Type */ public static final int RECURRING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -5336,49 +6157,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return ON_DEMAND; - case 2: return RECURRING; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return ON_DEMAND; + case 2: + return RECURRING; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Task.TriggerSpec.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -5396,14 +6217,18 @@ private Type(int value) { } private int triggerCase_ = 0; + @SuppressWarnings("serial") 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(100), TRIGGER_NOT_SET(0); private final int value; + private TriggerCase(int value) { this.value = value; } @@ -5419,58 +6244,79 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 100: return SCHEDULE; - case 0: return TRIGGER_NOT_SET; - default: return null; + case 100: + return SCHEDULE; + 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 TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** + * + * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. Trigger type of the user-specified Task.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED + : result; } public static final int START_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp startTime_; /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -5478,13 +6324,17 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ @java.lang.Override @@ -5492,13 +6342,16 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Optional. The first run of the task will be after this time.
      * If not specified, the task will run shortly after being submitted if
      * ON_DEMAND and based on the schedule if RECURRING.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -5508,6 +6361,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int DISABLED_FIELD_NUMBER = 4; private boolean disabled_ = false; /** + * + * *
      * Optional. Prevent the task from executing.
      * This does not cancel already running tasks. It is intended to temporarily
@@ -5515,6 +6370,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disabled. */ @java.lang.Override @@ -5525,12 +6381,15 @@ public boolean getDisabled() { public static final int MAX_RETRIES_FIELD_NUMBER = 7; private int maxRetries_ = 0; /** + * + * *
      * Optional. Number of retry attempts before aborting.
      * Set to zero to never attempt to retry a failed task.
      * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxRetries. */ @java.lang.Override @@ -5540,6 +6399,8 @@ public int getMaxRetries() { public static final int SCHEDULE_FIELD_NUMBER = 100; /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5551,12 +6412,15 @@ public int getMaxRetries() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 100; } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5568,6 +6432,7 @@ public boolean hasSchedule() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ public java.lang.String getSchedule() { @@ -5578,8 +6443,7 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 100) { trigger_ = s; @@ -5588,6 +6452,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running tasks periodically. To explicitly set a timezone to the cron
@@ -5599,18 +6465,17 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 100) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 100) { trigger_ = b; } @@ -5621,6 +6486,7 @@ public java.lang.String getSchedule() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5632,12 +6498,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 (disabled_ != false) { output.writeBool(4, disabled_); } - if (type_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (startTime_ != null) { @@ -5659,20 +6525,17 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); } - if (type_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + if (type_ + != com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStartTime()); } if (maxRetries_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, maxRetries_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, maxRetries_); } if (triggerCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, trigger_); @@ -5685,28 +6548,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.TriggerSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.TriggerSpec other = (com.google.cloud.dataplex.v1.Task.TriggerSpec) obj; + com.google.cloud.dataplex.v1.Task.TriggerSpec other = + (com.google.cloud.dataplex.v1.Task.TriggerSpec) obj; if (type_ != other.type_) 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 (getDisabled() - != other.getDisabled()) return false; - if (getMaxRetries() - != other.getMaxRetries()) return false; + if (getDisabled() != other.getDisabled()) return false; + if (getMaxRetries() != other.getMaxRetries()) return false; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 100: - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; break; case 0: default: @@ -5729,8 +6589,7 @@ public int hashCode() { hash = (53 * hash) + getStartTime().hashCode(); } hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (37 * hash) + MAX_RETRIES_FIELD_NUMBER; hash = (53 * hash) + getMaxRetries(); switch (triggerCase_) { @@ -5746,90 +6605,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.TriggerSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.TriggerSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5839,39 +6702,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Task scheduling and trigger settings.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.TriggerSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.TriggerSpec) com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.TriggerSpec.class, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.TriggerSpec.class, + com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.TriggerSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5890,9 +6755,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; } @java.lang.Override @@ -5911,8 +6776,11 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.TriggerSpec result = new com.google.cloud.dataplex.v1.Task.TriggerSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.TriggerSpec result = + new com.google.cloud.dataplex.v1.Task.TriggerSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -5924,9 +6792,7 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.TriggerSpec result) result.type_ = type_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.disabled_ = disabled_; @@ -5945,38 +6811,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.TriggerSpec re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.TriggerSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.TriggerSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.TriggerSpec) other); } else { super.mergeFrom(other); return this; @@ -5984,7 +6853,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.TriggerSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -5998,15 +6868,17 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.TriggerSpec other) { setMaxRetries(other.getMaxRetries()); } switch (other.getTriggerCase()) { - case SCHEDULE: { - triggerCase_ = 100; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: { - break; - } + case SCHEDULE: + { + triggerCase_ = 100; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6034,40 +6906,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: { - disabled_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 40 - case 50: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: { - maxRetries_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 56 - case 802: { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 100; - trigger_ = s; - break; - } // case 802 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 32: + { + disabled_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 40 + case 50: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: + { + maxRetries_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 56 + case 802: + { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 100; + trigger_ = s; + break; + } // case 802 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6077,12 +6953,12 @@ public Builder mergeFrom( } // finally 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() { @@ -6096,22 +6972,33 @@ public Builder clearTrigger() { private int type_ = 0; /** + * + * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -6122,24 +7009,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec.Type getType() { - com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); - return result == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type result = + com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.forNumber(type_); + return result == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.Type.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -6153,11 +7053,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Task.TriggerSpec.Type value) return this; } /** + * + * *
        * Required. Immutable. Trigger type of the user-specified Task.
        * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -6169,45 +7074,61 @@ public Builder clearType() { 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_; /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -6223,16 +7144,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -6243,19 +7166,22 @@ public Builder setStartTime( return this; } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -6268,13 +7194,16 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -6287,13 +7216,16 @@ public Builder clearStartTime() { return this; } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -6301,47 +7233,59 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
        * Optional. The first run of the task will be after this time.
        * If not specified, the task will run shortly after being submitted if
        * ON_DEMAND and based on the schedule if RECURRING.
        * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -6349,6 +7293,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disabled. */ @java.lang.Override @@ -6356,6 +7301,8 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -6363,6 +7310,7 @@ public boolean getDisabled() {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disabled to set. * @return This builder for chaining. */ @@ -6374,6 +7322,8 @@ public Builder setDisabled(boolean value) { return this; } /** + * + * *
        * Optional. Prevent the task from executing.
        * This does not cancel already running tasks. It is intended to temporarily
@@ -6381,6 +7331,7 @@ public Builder setDisabled(boolean value) {
        * 
* * bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisabled() { @@ -6390,14 +7341,17 @@ public Builder clearDisabled() { return this; } - private int maxRetries_ ; + private int maxRetries_; /** + * + * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxRetries. */ @java.lang.Override @@ -6405,12 +7359,15 @@ public int getMaxRetries() { return maxRetries_; } /** + * + * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxRetries to set. * @return This builder for chaining. */ @@ -6422,12 +7379,15 @@ public Builder setMaxRetries(int value) { return this; } /** + * + * *
        * Optional. Number of retry attempts before aborting.
        * Set to zero to never attempt to retry a failed task.
        * 
* * int32 max_retries = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxRetries() { @@ -6438,6 +7398,8 @@ public Builder clearMaxRetries() { } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6449,6 +7411,7 @@ public Builder clearMaxRetries() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -6456,6 +7419,8 @@ public boolean hasSchedule() { return triggerCase_ == 100; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6467,6 +7432,7 @@ public boolean hasSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ @java.lang.Override @@ -6476,8 +7442,7 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 100) { trigger_ = s; @@ -6488,6 +7453,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6499,19 +7466,18 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 100) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 100) { trigger_ = b; } @@ -6521,6 +7487,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6532,18 +7500,22 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } triggerCase_ = 100; trigger_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6555,6 +7527,7 @@ public Builder setSchedule(
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -6566,6 +7539,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running tasks periodically. To explicitly set a timezone to the cron
@@ -6577,18 +7552,21 @@ public Builder clearSchedule() {
        * 
* * string schedule = 100 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); triggerCase_ = 100; trigger_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6601,12 +7579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.TriggerSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.TriggerSpec) private static final com.google.cloud.dataplex.v1.Task.TriggerSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.TriggerSpec(); } @@ -6615,27 +7593,28 @@ public static com.google.cloud.dataplex.v1.Task.TriggerSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TriggerSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TriggerSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6650,14 +7629,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.TriggerSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecutionSpecOrBuilder extends + public interface ExecutionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.ExecutionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6677,6 +7658,8 @@ public interface ExecutionSpecOrBuilder extends
      */
     int getArgsCount();
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6694,15 +7677,13 @@ public interface ExecutionSpecOrBuilder extends
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    boolean containsArgs(
-        java.lang.String key);
-    /**
-     * Use {@link #getArgsMap()} instead.
-     */
+    boolean containsArgs(java.lang.String key);
+    /** Use {@link #getArgsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getArgs();
+    java.util.Map getArgs();
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6720,9 +7701,10 @@ boolean containsArgs(
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.util.Map
-    getArgsMap();
+    java.util.Map getArgsMap();
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6741,11 +7723,13 @@ boolean containsArgs(
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     /* nullable */
-java.lang.String getArgsOrDefault(
+    java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6763,10 +7747,11 @@ java.lang.String getArgsOrDefault(
      *
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.lang.String getArgsOrThrow(
-        java.lang.String key);
+    java.lang.String getArgsOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -6774,10 +7759,13 @@ java.lang.String getArgsOrThrow(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -6785,12 +7773,14 @@ java.lang.String getArgsOrThrow(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -6799,10 +7789,13 @@ java.lang.String getArgsOrThrow(
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -6811,76 +7804,98 @@ java.lang.String getArgsOrThrow(
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxJobExecutionLifetime field is set. */ boolean hasMaxJobExecutionLifetime(); /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxJobExecutionLifetime. */ com.google.protobuf.Duration getMaxJobExecutionLifetime(); /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder(); /** + * + * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKey. */ java.lang.String getKmsKey(); /** + * + * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString - getKmsKeyBytes(); + com.google.protobuf.ByteString getKmsKeyBytes(); } /** + * + * *
    * Execution related settings, like retry and service_account.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionSpec} */ - public static final class ExecutionSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.ExecutionSpec) ExecutionSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionSpec.newBuilder() to construct. private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecutionSpec() { serviceAccount_ = ""; project_ = ""; @@ -6889,63 +7904,65 @@ private ExecutionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_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 4: return internalGetArgs(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); } public static final int ARGS_FIELD_NUMBER = 4; + private static final class ArgsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> args_; - private com.google.protobuf.MapField - internalGetArgs() { + private com.google.protobuf.MapField args_; + + private com.google.protobuf.MapField internalGetArgs() { if (args_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ArgsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry); } return args_; } + public int getArgsCount() { return internalGetArgs().getMap().size(); } /** + * + * *
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -6964,20 +7981,21 @@ public int getArgsCount() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsArgs(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsArgs(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetArgs().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getArgsMap()} instead.
-     */
+    /** Use {@link #getArgsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getArgs() {
       return getArgsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7000,6 +8018,8 @@ public java.util.Map getArgsMap() {
       return internalGetArgs().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7018,17 +8038,19 @@ public java.util.Map getArgsMap() {
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getArgsOrDefault(
+    public /* nullable */ java.lang.String getArgsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetArgs().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetArgs().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. The arguments to pass to the task.
      * The args can use placeholders of the format ${placeholder} as
@@ -7047,11 +8069,11 @@ java.lang.String getArgsOrDefault(
      * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getArgsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetArgs().getMap();
+    public java.lang.String getArgsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetArgs().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -7059,9 +8081,12 @@ public java.lang.String getArgsOrThrow(
     }
 
     public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object serviceAccount_ = "";
     /**
+     *
+     *
      * 
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -7069,6 +8094,7 @@ public java.lang.String getArgsOrThrow(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ @java.lang.Override @@ -7077,14 +8103,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
      * Required. Service account to use to execute a task.
      * If not provided, the default Compute service account for the project is
@@ -7092,16 +8119,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -7110,9 +8136,12 @@ public java.lang.String getServiceAccount() { } public static final int PROJECT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -7121,6 +8150,7 @@ public java.lang.String getServiceAccount() {
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The project. */ @java.lang.Override @@ -7129,14 +8159,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
      * Optional. The project in which jobs are run. By default, the project
      * containing the Lake is used. If a project is provided, the
@@ -7145,16 +8176,15 @@ public java.lang.String getProject() {
      * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -7165,11 +8195,16 @@ public java.lang.String getProject() { public static final int MAX_JOB_EXECUTION_LIFETIME_FIELD_NUMBER = 8; private com.google.protobuf.Duration maxJobExecutionLifetime_; /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxJobExecutionLifetime field is set. */ @java.lang.Override @@ -7177,39 +8212,56 @@ public boolean hasMaxJobExecutionLifetime() { return maxJobExecutionLifetime_ != null; } /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxJobExecutionLifetime. */ @java.lang.Override public com.google.protobuf.Duration getMaxJobExecutionLifetime() { - return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxJobExecutionLifetime_; } /** + * + * *
      * Optional. The maximum duration after which the job execution is expired.
      * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder() { - return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxJobExecutionLifetime_; } public static final int KMS_KEY_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** + * + * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKey. */ @java.lang.Override @@ -7218,30 +8270,30 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** + * + * *
      * Optional. The Cloud KMS key to use for encryption, of the form:
      * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
      * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -7250,6 +8302,7 @@ public java.lang.String getKmsKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7261,14 +8314,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetArgs(), - ArgsDefaultEntryHolder.defaultEntry, - 4); + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetArgs(), ArgsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceAccount_); } @@ -7290,15 +8338,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetArgs().getMap().entrySet()) { - com.google.protobuf.MapEntry - args__ = ArgsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, args__); + for (java.util.Map.Entry entry : + internalGetArgs().getMap().entrySet()) { + com.google.protobuf.MapEntry args__ = + ArgsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAccount_); @@ -7307,8 +8355,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, project_); } if (maxJobExecutionLifetime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getMaxJobExecutionLifetime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, getMaxJobExecutionLifetime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, kmsKey_); @@ -7321,26 +8370,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.ExecutionSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.ExecutionSpec other = (com.google.cloud.dataplex.v1.Task.ExecutionSpec) obj; + com.google.cloud.dataplex.v1.Task.ExecutionSpec other = + (com.google.cloud.dataplex.v1.Task.ExecutionSpec) obj; - if (!internalGetArgs().equals( - other.internalGetArgs())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getProject() - .equals(other.getProject())) return false; + if (!internalGetArgs().equals(other.internalGetArgs())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getProject().equals(other.getProject())) return false; if (hasMaxJobExecutionLifetime() != other.hasMaxJobExecutionLifetime()) return false; if (hasMaxJobExecutionLifetime()) { - if (!getMaxJobExecutionLifetime() - .equals(other.getMaxJobExecutionLifetime())) return false; + if (!getMaxJobExecutionLifetime().equals(other.getMaxJobExecutionLifetime())) return false; } - if (!getKmsKey() - .equals(other.getKmsKey())) return false; + if (!getKmsKey().equals(other.getKmsKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7372,89 +8417,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.ExecutionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.ExecutionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7464,61 +8513,61 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Execution related settings, like retry and service_account.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.ExecutionSpec) com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetArgs(); 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 4: return internalGetMutableArgs(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionSpec.class, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.ExecutionSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7536,9 +8585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; } @java.lang.Override @@ -7557,8 +8606,11 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec buildPartial() { - com.google.cloud.dataplex.v1.Task.ExecutionSpec result = new com.google.cloud.dataplex.v1.Task.ExecutionSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.ExecutionSpec result = + new com.google.cloud.dataplex.v1.Task.ExecutionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -7576,9 +8628,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionSpec resul result.project_ = project_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.maxJobExecutionLifetime_ = maxJobExecutionLifetimeBuilder_ == null - ? maxJobExecutionLifetime_ - : maxJobExecutionLifetimeBuilder_.build(); + result.maxJobExecutionLifetime_ = + maxJobExecutionLifetimeBuilder_ == null + ? maxJobExecutionLifetime_ + : maxJobExecutionLifetimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.kmsKey_ = kmsKey_; @@ -7589,38 +8642,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionSpec resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.ExecutionSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionSpec) other); } else { super.mergeFrom(other); return this; @@ -7628,9 +8684,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.ExecutionSpec other) { - if (other == com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) return this; - internalGetMutableArgs().mergeFrom( - other.internalGetArgs()); + if (other == com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) + return this; + internalGetMutableArgs().mergeFrom(other.internalGetArgs()); bitField0_ |= 0x00000001; if (!other.getServiceAccount().isEmpty()) { serviceAccount_ = other.serviceAccount_; @@ -7676,43 +8732,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: { - com.google.protobuf.MapEntry - args__ = input.readMessage( - ArgsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableArgs().getMutableMap().put( - args__.getKey(), args__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 58: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 58 - case 66: { - input.readMessage( - getMaxJobExecutionLifetimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 66 - case 74: { - kmsKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: + { + com.google.protobuf.MapEntry args__ = + input.readMessage( + ArgsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableArgs().getMutableMap().put(args__.getKey(), args__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: + { + serviceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 58: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 58 + case 66: + { + input.readMessage( + getMaxJobExecutionLifetimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 66 + case 74: + { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7722,23 +8783,22 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> args_; - private com.google.protobuf.MapField - internalGetArgs() { + private com.google.protobuf.MapField args_; + + private com.google.protobuf.MapField internalGetArgs() { if (args_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ArgsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ArgsDefaultEntryHolder.defaultEntry); } return args_; } + private com.google.protobuf.MapField internalGetMutableArgs() { if (args_ == null) { - args_ = com.google.protobuf.MapField.newMapField( - ArgsDefaultEntryHolder.defaultEntry); + args_ = com.google.protobuf.MapField.newMapField(ArgsDefaultEntryHolder.defaultEntry); } if (!args_.isMutable()) { args_ = args_.copy(); @@ -7747,10 +8807,13 @@ public Builder mergeFrom( onChanged(); return args_; } + public int getArgsCount() { return internalGetArgs().getMap().size(); } /** + * + * *
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7769,20 +8832,21 @@ public int getArgsCount() {
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public boolean containsArgs(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsArgs(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetArgs().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getArgsMap()} instead.
-       */
+      /** Use {@link #getArgsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getArgs() {
         return getArgsMap();
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7805,6 +8869,8 @@ public java.util.Map getArgsMap() {
         return internalGetArgs().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7823,17 +8889,19 @@ public java.util.Map getArgsMap() {
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public /* nullable */
-java.lang.String getArgsOrDefault(
+      public /* nullable */ java.lang.String getArgsOrDefault(
           java.lang.String key,
           /* nullable */
-java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetArgs().getMap();
+          java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetArgs().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7852,23 +8920,25 @@ java.lang.String getArgsOrDefault(
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public java.lang.String getArgsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetArgs().getMap();
+      public java.lang.String getArgsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetArgs().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
+
       public Builder clearArgs() {
         bitField0_ = (bitField0_ & ~0x00000001);
-        internalGetMutableArgs().getMutableMap()
-            .clear();
+        internalGetMutableArgs().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7886,23 +8956,22 @@ public Builder clearArgs() {
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder removeArgs(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableArgs().getMutableMap()
-            .remove(key);
+      public Builder removeArgs(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableArgs().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableArgs() {
+      public java.util.Map getMutableArgs() {
         bitField0_ |= 0x00000001;
         return internalGetMutableArgs().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7920,17 +8989,20 @@ public Builder removeArgs(
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putArgs(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        if (value == null) { throw new NullPointerException("map value"); }
-        internalGetMutableArgs().getMutableMap()
-            .put(key, value);
+      public Builder putArgs(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        if (value == null) {
+          throw new NullPointerException("map value");
+        }
+        internalGetMutableArgs().getMutableMap().put(key, value);
         bitField0_ |= 0x00000001;
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. The arguments to pass to the task.
        * The args can use placeholders of the format ${placeholder} as
@@ -7948,16 +9020,16 @@ public Builder putArgs(
        *
        * map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putAllArgs(
-          java.util.Map values) {
-        internalGetMutableArgs().getMutableMap()
-            .putAll(values);
+      public Builder putAllArgs(java.util.Map values) {
+        internalGetMutableArgs().getMutableMap().putAll(values);
         bitField0_ |= 0x00000001;
         return this;
       }
 
       private java.lang.Object serviceAccount_ = "";
       /**
+       *
+       *
        * 
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -7965,13 +9037,13 @@ public Builder putAllArgs(
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -7980,6 +9052,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -7987,15 +9061,14 @@ public java.lang.String getServiceAccount() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -8003,6 +9076,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -8010,18 +9085,22 @@ public java.lang.String getServiceAccount() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -8029,6 +9108,7 @@ public Builder setServiceAccount(
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -8038,6 +9118,8 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
        * Required. Service account to use to execute a task.
        * If not provided, the default Compute service account for the project is
@@ -8045,12 +9127,14 @@ public Builder clearServiceAccount() {
        * 
* * string service_account = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000002; @@ -8060,6 +9144,8 @@ public Builder setServiceAccountBytes( private java.lang.Object project_ = ""; /** + * + * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -8068,13 +9154,13 @@ public Builder setServiceAccountBytes(
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -8083,6 +9169,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -8091,15 +9179,14 @@ public java.lang.String getProject() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -8107,6 +9194,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -8115,18 +9204,22 @@ public java.lang.String getProject() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -8135,6 +9228,7 @@ public Builder setProject(
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -8144,6 +9238,8 @@ public Builder clearProject() { return this; } /** + * + * *
        * Optional. The project in which jobs are run. By default, the project
        * containing the Lake is used. If a project is provided, the
@@ -8152,12 +9248,14 @@ public Builder clearProject() {
        * 
* * string project = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -8167,39 +9265,58 @@ public Builder setProjectBytes( private com.google.protobuf.Duration maxJobExecutionLifetime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxJobExecutionLifetimeBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxJobExecutionLifetimeBuilder_; /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maxJobExecutionLifetime field is set. */ public boolean hasMaxJobExecutionLifetime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maxJobExecutionLifetime. */ public com.google.protobuf.Duration getMaxJobExecutionLifetime() { if (maxJobExecutionLifetimeBuilder_ == null) { - return maxJobExecutionLifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxJobExecutionLifetime_; } else { return maxJobExecutionLifetimeBuilder_.getMessage(); } } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMaxJobExecutionLifetime(com.google.protobuf.Duration value) { if (maxJobExecutionLifetimeBuilder_ == null) { @@ -8215,11 +9332,15 @@ public Builder setMaxJobExecutionLifetime(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMaxJobExecutionLifetime( com.google.protobuf.Duration.Builder builderForValue) { @@ -8233,17 +9354,21 @@ public Builder setMaxJobExecutionLifetime( return this; } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMaxJobExecutionLifetime(com.google.protobuf.Duration value) { if (maxJobExecutionLifetimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - maxJobExecutionLifetime_ != null && - maxJobExecutionLifetime_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && maxJobExecutionLifetime_ != null + && maxJobExecutionLifetime_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxJobExecutionLifetimeBuilder().mergeFrom(value); } else { maxJobExecutionLifetime_ = value; @@ -8256,11 +9381,15 @@ public Builder mergeMaxJobExecutionLifetime(com.google.protobuf.Duration value) return this; } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMaxJobExecutionLifetime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8273,11 +9402,15 @@ public Builder clearMaxJobExecutionLifetime() { return this; } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getMaxJobExecutionLifetimeBuilder() { bitField0_ |= 0x00000008; @@ -8285,36 +9418,48 @@ public com.google.protobuf.Duration.Builder getMaxJobExecutionLifetimeBuilder() return getMaxJobExecutionLifetimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder() { if (maxJobExecutionLifetimeBuilder_ != null) { return maxJobExecutionLifetimeBuilder_.getMessageOrBuilder(); } else { - return maxJobExecutionLifetime_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : maxJobExecutionLifetime_; + return maxJobExecutionLifetime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxJobExecutionLifetime_; } } /** + * + * *
        * Optional. The maximum duration after which the job execution is expired.
        * 
* - * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration max_job_execution_lifetime = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMaxJobExecutionLifetimeFieldBuilder() { if (maxJobExecutionLifetimeBuilder_ == null) { - maxJobExecutionLifetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMaxJobExecutionLifetime(), - getParentForChildren(), - isClean()); + maxJobExecutionLifetimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMaxJobExecutionLifetime(), getParentForChildren(), isClean()); maxJobExecutionLifetime_ = null; } return maxJobExecutionLifetimeBuilder_; @@ -8322,19 +9467,21 @@ public com.google.protobuf.DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder private java.lang.Object kmsKey_ = ""; /** + * + * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -8343,21 +9490,22 @@ public java.lang.String getKmsKey() { } } /** + * + * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -8365,30 +9513,37 @@ public java.lang.String getKmsKey() { } } /** + * + * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearKmsKey() { @@ -8398,24 +9553,29 @@ public Builder clearKmsKey() { return this; } /** + * + * *
        * Optional. The Cloud KMS key to use for encryption, of the form:
        * `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
        * 
* * string kms_key = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8428,41 +9588,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.ExecutionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.ExecutionSpec) private static final com.google.cloud.dataplex.v1.Task.ExecutionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.ExecutionSpec(); } public static com.google.cloud.dataplex.v1.Task.ExecutionSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8477,14 +9638,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.ExecutionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SparkTaskConfigOrBuilder extends + public interface SparkTaskConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.SparkTaskConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8492,10 +9655,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_jar_file_uri = 100; + * * @return Whether the mainJarFileUri field is set. */ boolean hasMainJarFileUri(); /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8503,10 +9669,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_jar_file_uri = 100; + * * @return The mainJarFileUri. */ java.lang.String getMainJarFileUri(); /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8514,12 +9683,14 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_jar_file_uri = 100; + * * @return The bytes for mainJarFileUri. */ - com.google.protobuf.ByteString - getMainJarFileUriBytes(); + com.google.protobuf.ByteString getMainJarFileUriBytes(); /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -8529,10 +9700,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_class = 101; + * * @return Whether the mainClass field is set. */ boolean hasMainClass(); /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -8542,10 +9716,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_class = 101; + * * @return The mainClass. */ java.lang.String getMainClass(); /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -8555,12 +9732,14 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string main_class = 101; + * * @return The bytes for mainClass. */ - com.google.protobuf.ByteString - getMainClassBytes(); + com.google.protobuf.ByteString getMainClassBytes(); /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -8568,10 +9747,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string python_script_file = 102; + * * @return Whether the pythonScriptFile field is set. */ boolean hasPythonScriptFile(); /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -8579,10 +9761,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string python_script_file = 102; + * * @return The pythonScriptFile. */ java.lang.String getPythonScriptFile(); /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -8590,12 +9775,14 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string python_script_file = 102; + * * @return The bytes for pythonScriptFile. */ - com.google.protobuf.ByteString - getPythonScriptFileBytes(); + com.google.protobuf.ByteString getPythonScriptFileBytes(); /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -8604,10 +9791,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script_file = 104; + * * @return Whether the sqlScriptFile field is set. */ boolean hasSqlScriptFile(); /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -8616,10 +9806,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script_file = 104; + * * @return The sqlScriptFile. */ java.lang.String getSqlScriptFile(); /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -8628,12 +9821,14 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script_file = 104; + * * @return The bytes for sqlScriptFile. */ - com.google.protobuf.ByteString - getSqlScriptFileBytes(); + com.google.protobuf.ByteString getSqlScriptFileBytes(); /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -8641,10 +9836,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script = 105; + * * @return Whether the sqlScript field is set. */ boolean hasSqlScript(); /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -8652,10 +9850,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script = 105; + * * @return The sqlScript. */ java.lang.String getSqlScript(); /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -8663,57 +9864,69 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * string sql_script = 105; + * * @return The bytes for sqlScript. */ - com.google.protobuf.ByteString - getSqlScriptBytes(); + com.google.protobuf.ByteString getSqlScriptBytes(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - java.util.List - getFileUrisList(); + java.util.List getFileUrisList(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ int getFileUrisCount(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - com.google.protobuf.ByteString - getFileUrisBytes(int index); + com.google.protobuf.ByteString getFileUrisBytes(int index); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -8721,11 +9934,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - java.util.List - getArchiveUrisList(); + java.util.List getArchiveUrisList(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -8733,10 +9948,13 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ int getArchiveUrisCount(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -8744,11 +9962,14 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -8756,89 +9977,108 @@ public interface SparkTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - com.google.protobuf.ByteString - getArchiveUrisBytes(int index); + com.google.protobuf.ByteString getArchiveUrisBytes(int index); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec(); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); com.google.cloud.dataplex.v1.Task.SparkTaskConfig.DriverCase getDriverCase(); } /** + * + * *
    * User-specified config for running a Spark task.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.SparkTaskConfig} */ - public static final class SparkTaskConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SparkTaskConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.SparkTaskConfig) SparkTaskConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SparkTaskConfig.newBuilder() to construct. private SparkTaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SparkTaskConfig() { - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SparkTaskConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); } private int driverCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object driver_; + public enum DriverCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAIN_JAR_FILE_URI(100), MAIN_CLASS(101), @@ -8847,6 +10087,7 @@ public enum DriverCase SQL_SCRIPT(105), DRIVER_NOT_SET(0); private final int value; + private DriverCase(int value) { this.value = value; } @@ -8862,28 +10103,36 @@ public static DriverCase valueOf(int value) { public static DriverCase forNumber(int value) { switch (value) { - case 100: return MAIN_JAR_FILE_URI; - case 101: return MAIN_CLASS; - case 102: return PYTHON_SCRIPT_FILE; - case 104: return SQL_SCRIPT_FILE; - case 105: return SQL_SCRIPT; - case 0: return DRIVER_NOT_SET; - default: return null; + case 100: + return MAIN_JAR_FILE_URI; + case 101: + return MAIN_CLASS; + case 102: + return PYTHON_SCRIPT_FILE; + case 104: + return SQL_SCRIPT_FILE; + case 105: + return SQL_SCRIPT; + case 0: + return DRIVER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DriverCase - getDriverCase() { - return DriverCase.forNumber( - driverCase_); + public DriverCase getDriverCase() { + return DriverCase.forNumber(driverCase_); } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 100; /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8891,12 +10140,15 @@ public int getNumber() {
      * 
* * string main_jar_file_uri = 100; + * * @return Whether the mainJarFileUri field is set. */ public boolean hasMainJarFileUri() { return driverCase_ == 100; } /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8904,6 +10156,7 @@ public boolean hasMainJarFileUri() {
      * 
* * string main_jar_file_uri = 100; + * * @return The mainJarFileUri. */ public java.lang.String getMainJarFileUri() { @@ -8914,8 +10167,7 @@ public java.lang.String getMainJarFileUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 100) { driver_ = s; @@ -8924,6 +10176,8 @@ public java.lang.String getMainJarFileUri() { } } /** + * + * *
      * The Cloud Storage URI of the jar file that contains the main class.
      * The execution args are passed in as a sequence of named process
@@ -8931,18 +10185,17 @@ public java.lang.String getMainJarFileUri() {
      * 
* * string main_jar_file_uri = 100; + * * @return The bytes for mainJarFileUri. */ - public com.google.protobuf.ByteString - getMainJarFileUriBytes() { + public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; if (driverCase_ == 100) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 100) { driver_ = b; } @@ -8954,6 +10207,8 @@ public java.lang.String getMainJarFileUri() { public static final int MAIN_CLASS_FIELD_NUMBER = 101; /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -8963,12 +10218,15 @@ public java.lang.String getMainJarFileUri() {
      * 
* * string main_class = 101; + * * @return Whether the mainClass field is set. */ public boolean hasMainClass() { return driverCase_ == 101; } /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -8978,6 +10236,7 @@ public boolean hasMainClass() {
      * 
* * string main_class = 101; + * * @return The mainClass. */ public java.lang.String getMainClass() { @@ -8988,8 +10247,7 @@ public java.lang.String getMainClass() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 101) { driver_ = s; @@ -8998,6 +10256,8 @@ public java.lang.String getMainClass() { } } /** + * + * *
      * The name of the driver's main class. The jar file that contains the
      * class must be in the default CLASSPATH or specified in
@@ -9007,18 +10267,17 @@ public java.lang.String getMainClass() {
      * 
* * string main_class = 101; + * * @return The bytes for mainClass. */ - public com.google.protobuf.ByteString - getMainClassBytes() { + public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; if (driverCase_ == 101) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 101) { driver_ = b; } @@ -9030,6 +10289,8 @@ public java.lang.String getMainClass() { public static final int PYTHON_SCRIPT_FILE_FIELD_NUMBER = 102; /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9037,12 +10298,15 @@ public java.lang.String getMainClass() {
      * 
* * string python_script_file = 102; + * * @return Whether the pythonScriptFile field is set. */ public boolean hasPythonScriptFile() { return driverCase_ == 102; } /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9050,6 +10314,7 @@ public boolean hasPythonScriptFile() {
      * 
* * string python_script_file = 102; + * * @return The pythonScriptFile. */ public java.lang.String getPythonScriptFile() { @@ -9060,8 +10325,7 @@ public java.lang.String getPythonScriptFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 102) { driver_ = s; @@ -9070,6 +10334,8 @@ public java.lang.String getPythonScriptFile() { } } /** + * + * *
      * The Gcloud Storage URI of the main Python file to use as the driver.
      * Must be a .py file. The execution args are passed in as a sequence of
@@ -9077,18 +10343,17 @@ public java.lang.String getPythonScriptFile() {
      * 
* * string python_script_file = 102; + * * @return The bytes for pythonScriptFile. */ - public com.google.protobuf.ByteString - getPythonScriptFileBytes() { + public com.google.protobuf.ByteString getPythonScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 102) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 102) { driver_ = b; } @@ -9100,6 +10365,8 @@ public java.lang.String getPythonScriptFile() { public static final int SQL_SCRIPT_FILE_FIELD_NUMBER = 104; /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9108,12 +10375,15 @@ public java.lang.String getPythonScriptFile() {
      * 
* * string sql_script_file = 104; + * * @return Whether the sqlScriptFile field is set. */ public boolean hasSqlScriptFile() { return driverCase_ == 104; } /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9122,6 +10392,7 @@ public boolean hasSqlScriptFile() {
      * 
* * string sql_script_file = 104; + * * @return The sqlScriptFile. */ public java.lang.String getSqlScriptFile() { @@ -9132,8 +10403,7 @@ public java.lang.String getSqlScriptFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 104) { driver_ = s; @@ -9142,6 +10412,8 @@ public java.lang.String getSqlScriptFile() { } } /** + * + * *
      * A reference to a query file. This can be the Cloud Storage URI of the
      * query file or it can the path to a SqlScript Content. The execution
@@ -9150,18 +10422,17 @@ public java.lang.String getSqlScriptFile() {
      * 
* * string sql_script_file = 104; + * * @return The bytes for sqlScriptFile. */ - public com.google.protobuf.ByteString - getSqlScriptFileBytes() { + public com.google.protobuf.ByteString getSqlScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 104) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 104) { driver_ = b; } @@ -9173,6 +10444,8 @@ public java.lang.String getSqlScriptFile() { public static final int SQL_SCRIPT_FIELD_NUMBER = 105; /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9180,12 +10453,15 @@ public java.lang.String getSqlScriptFile() {
      * 
* * string sql_script = 105; + * * @return Whether the sqlScript field is set. */ public boolean hasSqlScript() { return driverCase_ == 105; } /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9193,6 +10469,7 @@ public boolean hasSqlScript() {
      * 
* * string sql_script = 105; + * * @return The sqlScript. */ public java.lang.String getSqlScript() { @@ -9203,8 +10480,7 @@ public java.lang.String getSqlScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (driverCase_ == 105) { driver_ = s; @@ -9213,6 +10489,8 @@ public java.lang.String getSqlScript() { } } /** + * + * *
      * The query text.
      * The execution args are used to declare a set of script variables
@@ -9220,18 +10498,17 @@ public java.lang.String getSqlScript() {
      * 
* * string sql_script = 105; + * * @return The bytes for sqlScript. */ - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = ""; if (driverCase_ == 105) { ref = driver_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (driverCase_ == 105) { driver_ = b; } @@ -9242,41 +10519,50 @@ public java.lang.String getSqlScript() { } public static final int FILE_URIS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList - getFileUrisList() { + public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -9284,25 +10570,30 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString - getFileUrisBytes(int index) { + public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); } public static final int ARCHIVE_URIS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9310,13 +10601,15 @@ public java.lang.String getFileUris(int index) {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList - getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9324,12 +10617,15 @@ public java.lang.String getFileUris(int index) {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9337,6 +10633,7 @@ public int getArchiveUrisCount() {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -9344,6 +10641,8 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -9351,22 +10650,27 @@ public java.lang.String getArchiveUris(int index) {
      * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString - getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 6; private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -9374,30 +10678,45 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9409,8 +10728,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fileUris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileUris_.getRaw(i)); } @@ -9461,8 +10779,8 @@ public int getSerializedSize() { size += 1 * getArchiveUrisList().size(); } if (infrastructureSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getInfrastructureSpec()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInfrastructureSpec()); } if (driverCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, driver_); @@ -9487,43 +10805,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.cloud.dataplex.v1.Task.SparkTaskConfig)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.SparkTaskConfig other = (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) obj; + com.google.cloud.dataplex.v1.Task.SparkTaskConfig other = + (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) obj; - if (!getFileUrisList() - .equals(other.getFileUrisList())) return false; - if (!getArchiveUrisList() - .equals(other.getArchiveUrisList())) return false; + if (!getFileUrisList().equals(other.getFileUrisList())) return false; + if (!getArchiveUrisList().equals(other.getArchiveUrisList())) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec() - .equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; } if (!getDriverCase().equals(other.getDriverCase())) return false; switch (driverCase_) { case 100: - if (!getMainJarFileUri() - .equals(other.getMainJarFileUri())) return false; + if (!getMainJarFileUri().equals(other.getMainJarFileUri())) return false; break; case 101: - if (!getMainClass() - .equals(other.getMainClass())) return false; + if (!getMainClass().equals(other.getMainClass())) return false; break; case 102: - if (!getPythonScriptFile() - .equals(other.getPythonScriptFile())) return false; + if (!getPythonScriptFile().equals(other.getPythonScriptFile())) return false; break; case 104: - if (!getSqlScriptFile() - .equals(other.getSqlScriptFile())) return false; + if (!getSqlScriptFile().equals(other.getSqlScriptFile())) return false; break; case 105: - if (!getSqlScript() - .equals(other.getSqlScript())) return false; + if (!getSqlScript().equals(other.getSqlScript())) return false; break; case 0: default: @@ -9581,89 +10892,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.SparkTaskConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9673,47 +10988,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * User-specified config for running a Spark task.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.SparkTaskConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.SparkTaskConfig) com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.class, + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); infrastructureSpec_ = null; if (infrastructureSpecBuilder_ != null) { infrastructureSpecBuilder_.dispose(); @@ -9725,9 +11040,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; } @java.lang.Override @@ -9746,8 +11061,11 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfig buildPartial() { - com.google.cloud.dataplex.v1.Task.SparkTaskConfig result = new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.SparkTaskConfig result = + new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -9764,9 +11082,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.SparkTaskConfig res result.archiveUris_ = archiveUris_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.infrastructureSpec_ = infrastructureSpecBuilder_ == null - ? infrastructureSpec_ - : infrastructureSpecBuilder_.build(); + result.infrastructureSpec_ = + infrastructureSpecBuilder_ == null + ? infrastructureSpec_ + : infrastructureSpecBuilder_.build(); } } @@ -9779,38 +11098,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task.SparkTaskConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.SparkTaskConfig) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.SparkTaskConfig)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.SparkTaskConfig) other); } else { super.mergeFrom(other); return this; @@ -9818,7 +11140,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.SparkTaskConfig other) { - if (other == com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) + return this; if (!other.fileUris_.isEmpty()) { if (fileUris_.isEmpty()) { fileUris_ = other.fileUris_; @@ -9843,39 +11166,45 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.SparkTaskConfig other mergeInfrastructureSpec(other.getInfrastructureSpec()); } switch (other.getDriverCase()) { - case MAIN_JAR_FILE_URI: { - driverCase_ = 100; - driver_ = other.driver_; - onChanged(); - break; - } - case MAIN_CLASS: { - driverCase_ = 101; - driver_ = other.driver_; - onChanged(); - break; - } - case PYTHON_SCRIPT_FILE: { - driverCase_ = 102; - driver_ = other.driver_; - onChanged(); - break; - } - case SQL_SCRIPT_FILE: { - driverCase_ = 104; - driver_ = other.driver_; - onChanged(); - break; - } - case SQL_SCRIPT: { - driverCase_ = 105; - driver_ = other.driver_; - onChanged(); - break; - } - case DRIVER_NOT_SET: { - break; - } + case MAIN_JAR_FILE_URI: + { + driverCase_ = 100; + driver_ = other.driver_; + onChanged(); + break; + } + case MAIN_CLASS: + { + driverCase_ = 101; + driver_ = other.driver_; + onChanged(); + break; + } + case PYTHON_SCRIPT_FILE: + { + driverCase_ = 102; + driver_ = other.driver_; + onChanged(); + break; + } + case SQL_SCRIPT_FILE: + { + driverCase_ = 104; + driver_ = other.driver_; + onChanged(); + break; + } + case SQL_SCRIPT: + { + driverCase_ = 105; + driver_ = other.driver_; + onChanged(); + break; + } + case DRIVER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -9903,61 +11232,69 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFileUrisIsMutable(); - fileUris_.add(s); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureArchiveUrisIsMutable(); - archiveUris_.add(s); - break; - } // case 34 - case 50: { - input.readMessage( - getInfrastructureSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 802: { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 100; - driver_ = s; - break; - } // case 802 - case 810: { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 101; - driver_ = s; - break; - } // case 810 - case 818: { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 102; - driver_ = s; - break; - } // case 818 - case 834: { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 104; - driver_ = s; - break; - } // case 834 - case 842: { - java.lang.String s = input.readStringRequireUtf8(); - driverCase_ = 105; - driver_ = s; - break; - } // case 842 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFileUrisIsMutable(); + fileUris_.add(s); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureArchiveUrisIsMutable(); + archiveUris_.add(s); + break; + } // case 34 + case 50: + { + input.readMessage( + getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 802: + { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 100; + driver_ = s; + break; + } // case 802 + case 810: + { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 101; + driver_ = s; + break; + } // case 810 + case 818: + { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 102; + driver_ = s; + break; + } // case 818 + case 834: + { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 104; + driver_ = s; + break; + } // case 834 + case 842: + { + java.lang.String s = input.readStringRequireUtf8(); + driverCase_ = 105; + driver_ = s; + break; + } // case 842 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9967,12 +11304,12 @@ public Builder mergeFrom( } // finally return this; } + private int driverCase_ = 0; private java.lang.Object driver_; - public DriverCase - getDriverCase() { - return DriverCase.forNumber( - driverCase_); + + public DriverCase getDriverCase() { + return DriverCase.forNumber(driverCase_); } public Builder clearDriver() { @@ -9985,6 +11322,8 @@ public Builder clearDriver() { private int bitField0_; /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -9992,6 +11331,7 @@ public Builder clearDriver() {
        * 
* * string main_jar_file_uri = 100; + * * @return Whether the mainJarFileUri field is set. */ @java.lang.Override @@ -9999,6 +11339,8 @@ public boolean hasMainJarFileUri() { return driverCase_ == 100; } /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -10006,6 +11348,7 @@ public boolean hasMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; + * * @return The mainJarFileUri. */ @java.lang.Override @@ -10015,8 +11358,7 @@ public java.lang.String getMainJarFileUri() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 100) { driver_ = s; @@ -10027,6 +11369,8 @@ public java.lang.String getMainJarFileUri() { } } /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -10034,19 +11378,18 @@ public java.lang.String getMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; + * * @return The bytes for mainJarFileUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getMainJarFileUriBytes() { + public com.google.protobuf.ByteString getMainJarFileUriBytes() { java.lang.Object ref = ""; if (driverCase_ == 100) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 100) { driver_ = b; } @@ -10056,6 +11399,8 @@ public java.lang.String getMainJarFileUri() { } } /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -10063,18 +11408,22 @@ public java.lang.String getMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; + * * @param value The mainJarFileUri to set. * @return This builder for chaining. */ - public Builder setMainJarFileUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMainJarFileUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } driverCase_ = 100; driver_ = value; onChanged(); return this; } /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -10082,6 +11431,7 @@ public Builder setMainJarFileUri(
        * 
* * string main_jar_file_uri = 100; + * * @return This builder for chaining. */ public Builder clearMainJarFileUri() { @@ -10093,6 +11443,8 @@ public Builder clearMainJarFileUri() { return this; } /** + * + * *
        * The Cloud Storage URI of the jar file that contains the main class.
        * The execution args are passed in as a sequence of named process
@@ -10100,12 +11452,14 @@ public Builder clearMainJarFileUri() {
        * 
* * string main_jar_file_uri = 100; + * * @param value The bytes for mainJarFileUri to set. * @return This builder for chaining. */ - public Builder setMainJarFileUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); driverCase_ = 100; driver_ = value; @@ -10114,6 +11468,8 @@ public Builder setMainJarFileUriBytes( } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10123,6 +11479,7 @@ public Builder setMainJarFileUriBytes(
        * 
* * string main_class = 101; + * * @return Whether the mainClass field is set. */ @java.lang.Override @@ -10130,6 +11487,8 @@ public boolean hasMainClass() { return driverCase_ == 101; } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10139,6 +11498,7 @@ public boolean hasMainClass() {
        * 
* * string main_class = 101; + * * @return The mainClass. */ @java.lang.Override @@ -10148,8 +11508,7 @@ public java.lang.String getMainClass() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 101) { driver_ = s; @@ -10160,6 +11519,8 @@ public java.lang.String getMainClass() { } } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10169,19 +11530,18 @@ public java.lang.String getMainClass() {
        * 
* * string main_class = 101; + * * @return The bytes for mainClass. */ @java.lang.Override - public com.google.protobuf.ByteString - getMainClassBytes() { + public com.google.protobuf.ByteString getMainClassBytes() { java.lang.Object ref = ""; if (driverCase_ == 101) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 101) { driver_ = b; } @@ -10191,6 +11551,8 @@ public java.lang.String getMainClass() { } } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10200,18 +11562,22 @@ public java.lang.String getMainClass() {
        * 
* * string main_class = 101; + * * @param value The mainClass to set. * @return This builder for chaining. */ - public Builder setMainClass( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMainClass(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } driverCase_ = 101; driver_ = value; onChanged(); return this; } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10221,6 +11587,7 @@ public Builder setMainClass(
        * 
* * string main_class = 101; + * * @return This builder for chaining. */ public Builder clearMainClass() { @@ -10232,6 +11599,8 @@ public Builder clearMainClass() { return this; } /** + * + * *
        * The name of the driver's main class. The jar file that contains the
        * class must be in the default CLASSPATH or specified in
@@ -10241,12 +11610,14 @@ public Builder clearMainClass() {
        * 
* * string main_class = 101; + * * @param value The bytes for mainClass to set. * @return This builder for chaining. */ - public Builder setMainClassBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMainClassBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); driverCase_ = 101; driver_ = value; @@ -10255,6 +11626,8 @@ public Builder setMainClassBytes( } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10262,6 +11635,7 @@ public Builder setMainClassBytes(
        * 
* * string python_script_file = 102; + * * @return Whether the pythonScriptFile field is set. */ @java.lang.Override @@ -10269,6 +11643,8 @@ public boolean hasPythonScriptFile() { return driverCase_ == 102; } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10276,6 +11652,7 @@ public boolean hasPythonScriptFile() {
        * 
* * string python_script_file = 102; + * * @return The pythonScriptFile. */ @java.lang.Override @@ -10285,8 +11662,7 @@ public java.lang.String getPythonScriptFile() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 102) { driver_ = s; @@ -10297,6 +11673,8 @@ public java.lang.String getPythonScriptFile() { } } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10304,19 +11682,18 @@ public java.lang.String getPythonScriptFile() {
        * 
* * string python_script_file = 102; + * * @return The bytes for pythonScriptFile. */ @java.lang.Override - public com.google.protobuf.ByteString - getPythonScriptFileBytes() { + public com.google.protobuf.ByteString getPythonScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 102) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 102) { driver_ = b; } @@ -10326,6 +11703,8 @@ public java.lang.String getPythonScriptFile() { } } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10333,18 +11712,22 @@ public java.lang.String getPythonScriptFile() {
        * 
* * string python_script_file = 102; + * * @param value The pythonScriptFile to set. * @return This builder for chaining. */ - public Builder setPythonScriptFile( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPythonScriptFile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } driverCase_ = 102; driver_ = value; onChanged(); return this; } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10352,6 +11735,7 @@ public Builder setPythonScriptFile(
        * 
* * string python_script_file = 102; + * * @return This builder for chaining. */ public Builder clearPythonScriptFile() { @@ -10363,6 +11747,8 @@ public Builder clearPythonScriptFile() { return this; } /** + * + * *
        * The Gcloud Storage URI of the main Python file to use as the driver.
        * Must be a .py file. The execution args are passed in as a sequence of
@@ -10370,12 +11756,14 @@ public Builder clearPythonScriptFile() {
        * 
* * string python_script_file = 102; + * * @param value The bytes for pythonScriptFile to set. * @return This builder for chaining. */ - public Builder setPythonScriptFileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPythonScriptFileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); driverCase_ = 102; driver_ = value; @@ -10384,6 +11772,8 @@ public Builder setPythonScriptFileBytes( } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10392,6 +11782,7 @@ public Builder setPythonScriptFileBytes(
        * 
* * string sql_script_file = 104; + * * @return Whether the sqlScriptFile field is set. */ @java.lang.Override @@ -10399,6 +11790,8 @@ public boolean hasSqlScriptFile() { return driverCase_ == 104; } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10407,6 +11800,7 @@ public boolean hasSqlScriptFile() {
        * 
* * string sql_script_file = 104; + * * @return The sqlScriptFile. */ @java.lang.Override @@ -10416,8 +11810,7 @@ public java.lang.String getSqlScriptFile() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 104) { driver_ = s; @@ -10428,6 +11821,8 @@ public java.lang.String getSqlScriptFile() { } } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10436,19 +11831,18 @@ public java.lang.String getSqlScriptFile() {
        * 
* * string sql_script_file = 104; + * * @return The bytes for sqlScriptFile. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlScriptFileBytes() { + public com.google.protobuf.ByteString getSqlScriptFileBytes() { java.lang.Object ref = ""; if (driverCase_ == 104) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 104) { driver_ = b; } @@ -10458,6 +11852,8 @@ public java.lang.String getSqlScriptFile() { } } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10466,18 +11862,22 @@ public java.lang.String getSqlScriptFile() {
        * 
* * string sql_script_file = 104; + * * @param value The sqlScriptFile to set. * @return This builder for chaining. */ - public Builder setSqlScriptFile( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlScriptFile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } driverCase_ = 104; driver_ = value; onChanged(); return this; } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10486,6 +11886,7 @@ public Builder setSqlScriptFile(
        * 
* * string sql_script_file = 104; + * * @return This builder for chaining. */ public Builder clearSqlScriptFile() { @@ -10497,6 +11898,8 @@ public Builder clearSqlScriptFile() { return this; } /** + * + * *
        * A reference to a query file. This can be the Cloud Storage URI of the
        * query file or it can the path to a SqlScript Content. The execution
@@ -10505,12 +11908,14 @@ public Builder clearSqlScriptFile() {
        * 
* * string sql_script_file = 104; + * * @param value The bytes for sqlScriptFile to set. * @return This builder for chaining. */ - public Builder setSqlScriptFileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlScriptFileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); driverCase_ = 104; driver_ = value; @@ -10519,6 +11924,8 @@ public Builder setSqlScriptFileBytes( } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10526,6 +11933,7 @@ public Builder setSqlScriptFileBytes(
        * 
* * string sql_script = 105; + * * @return Whether the sqlScript field is set. */ @java.lang.Override @@ -10533,6 +11941,8 @@ public boolean hasSqlScript() { return driverCase_ == 105; } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10540,6 +11950,7 @@ public boolean hasSqlScript() {
        * 
* * string sql_script = 105; + * * @return The sqlScript. */ @java.lang.Override @@ -10549,8 +11960,7 @@ public java.lang.String getSqlScript() { ref = driver_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (driverCase_ == 105) { driver_ = s; @@ -10561,6 +11971,8 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10568,19 +11980,18 @@ public java.lang.String getSqlScript() {
        * 
* * string sql_script = 105; + * * @return The bytes for sqlScript. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = ""; if (driverCase_ == 105) { ref = driver_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (driverCase_ == 105) { driver_ = b; } @@ -10590,6 +12001,8 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10597,18 +12010,22 @@ public java.lang.String getSqlScript() {
        * 
* * string sql_script = 105; + * * @param value The sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScript( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlScript(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } driverCase_ = 105; driver_ = value; onChanged(); return this; } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10616,6 +12033,7 @@ public Builder setSqlScript(
        * 
* * string sql_script = 105; + * * @return This builder for chaining. */ public Builder clearSqlScript() { @@ -10627,6 +12045,8 @@ public Builder clearSqlScript() { return this; } /** + * + * *
        * The query text.
        * The execution args are used to declare a set of script variables
@@ -10634,12 +12054,14 @@ public Builder clearSqlScript() {
        * 
* * string sql_script = 105; + * * @param value The bytes for sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScriptBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); driverCase_ = 105; driver_ = value; @@ -10649,6 +12071,7 @@ public Builder setSqlScriptBytes( private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFileUrisIsMutable() { if (!fileUris_.isModifiable()) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); @@ -10656,38 +12079,46 @@ private void ensureFileUrisIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList - getFileUrisList() { + public com.google.protobuf.ProtocolStringList getFileUrisList() { fileUris_.makeImmutable(); return fileUris_; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -10695,33 +12126,39 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString - getFileUrisBytes(int index) { + public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The fileUris to set. * @return This builder for chaining. */ - public Builder setFileUris( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFileUris(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFileUrisIsMutable(); fileUris_.set(index, value); bitField0_ |= 0x00000020; @@ -10729,18 +12166,22 @@ public Builder setFileUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The fileUris to add. * @return This builder for chaining. */ - public Builder addFileUris( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFileUris(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFileUrisIsMutable(); fileUris_.add(value); bitField0_ |= 0x00000020; @@ -10748,53 +12189,61 @@ public Builder addFileUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The fileUris to add. * @return This builder for chaining. */ - public Builder addAllFileUris( - java.lang.Iterable values) { + public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fileUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fileUris_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFileUris() { - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the fileUris to add. * @return This builder for chaining. */ - public Builder addFileUrisBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFileUrisIsMutable(); fileUris_.add(value); @@ -10805,6 +12254,7 @@ public Builder addFileUrisBytes( private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureArchiveUrisIsMutable() { if (!archiveUris_.isModifiable()) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); @@ -10812,6 +12262,8 @@ private void ensureArchiveUrisIsMutable() { bitField0_ |= 0x00000040; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10819,14 +12271,16 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList - getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList getArchiveUrisList() { archiveUris_.makeImmutable(); return archiveUris_; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10834,12 +12288,15 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10847,6 +12304,7 @@ public int getArchiveUrisCount() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -10854,6 +12312,8 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10861,14 +12321,16 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString - getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10876,13 +12338,15 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The archiveUris to set. * @return This builder for chaining. */ - public Builder setArchiveUris( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArchiveUris(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureArchiveUrisIsMutable(); archiveUris_.set(index, value); bitField0_ |= 0x00000040; @@ -10890,6 +12354,8 @@ public Builder setArchiveUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10897,12 +12363,14 @@ public Builder setArchiveUris(
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUris( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addArchiveUris(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureArchiveUrisIsMutable(); archiveUris_.add(value); bitField0_ |= 0x00000040; @@ -10910,6 +12378,8 @@ public Builder addArchiveUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10917,19 +12387,20 @@ public Builder addArchiveUris(
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The archiveUris to add. * @return This builder for chaining. */ - public Builder addAllArchiveUris( - java.lang.Iterable values) { + public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, archiveUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, archiveUris_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10937,16 +12408,19 @@ public Builder addAllArchiveUris(
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearArchiveUris() { - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -10954,12 +12428,14 @@ public Builder clearArchiveUris() {
        * 
* * repeated string archive_uris = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUrisBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureArchiveUrisIsMutable(); archiveUris_.add(value); @@ -10970,41 +12446,61 @@ public Builder addArchiveUrisBytes( private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + infrastructureSpecBuilder_; /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder setInfrastructureSpec( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11018,11 +12514,15 @@ public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.Infrastru return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder builderForValue) { @@ -11036,17 +12536,23 @@ public Builder setInfrastructureSpec( return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - infrastructureSpec_ != null && - infrastructureSpec_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && infrastructureSpec_ != null + && infrastructureSpec_ + != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -11059,11 +12565,15 @@ public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.Infrast return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000080); @@ -11076,52 +12586,71 @@ public Builder clearInfrastructureSpec() { return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder + getInfrastructureSpecBuilder() { bitField0_ |= 0x00000080; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null ? - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), - getParentForChildren(), - isClean()); + infrastructureSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), getParentForChildren(), isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11134,12 +12663,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.SparkTaskConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.SparkTaskConfig) private static final com.google.cloud.dataplex.v1.Task.SparkTaskConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.SparkTaskConfig(); } @@ -11148,27 +12677,28 @@ public static com.google.cloud.dataplex.v1.Task.SparkTaskConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkTaskConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SparkTaskConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11183,14 +12713,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NotebookTaskConfigOrBuilder extends + public interface NotebookTaskConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.NotebookTaskConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -11199,10 +12731,13 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The notebook. */ java.lang.String getNotebook(); /** + * + * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -11211,84 +12746,110 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for notebook. */ - com.google.protobuf.ByteString - getNotebookBytes(); + com.google.protobuf.ByteString getNotebookBytes(); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ boolean hasInfrastructureSpec(); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec(); /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - java.util.List - getFileUrisList(); + java.util.List getFileUrisList(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ int getFileUrisCount(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ java.lang.String getFileUris(int index); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - com.google.protobuf.ByteString - getFileUrisBytes(int index); + com.google.protobuf.ByteString getFileUrisBytes(int index); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11296,11 +12857,13 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - java.util.List - getArchiveUrisList(); + java.util.List getArchiveUrisList(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11308,10 +12871,13 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ int getArchiveUrisCount(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11319,11 +12885,14 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ java.lang.String getArchiveUris(int index); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11331,60 +12900,65 @@ public interface NotebookTaskConfigOrBuilder extends
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - com.google.protobuf.ByteString - getArchiveUrisBytes(int index); + com.google.protobuf.ByteString getArchiveUrisBytes(int index); } /** + * + * *
    * Config for running scheduled notebooks.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.NotebookTaskConfig} */ - public static final class NotebookTaskConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NotebookTaskConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.NotebookTaskConfig) NotebookTaskConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NotebookTaskConfig.newBuilder() to construct. private NotebookTaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NotebookTaskConfig() { notebook_ = ""; - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NotebookTaskConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); } public static final int NOTEBOOK_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object notebook_ = ""; /** + * + * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -11393,6 +12967,7 @@ protected java.lang.Object newInstance(
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The notebook. */ @java.lang.Override @@ -11401,14 +12976,15 @@ public java.lang.String getNotebook() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebook_ = s; return s; } } /** + * + * *
      * Required. Path to input notebook. This can be the Cloud Storage URI of
      * the notebook file or the path to a Notebook Content. The execution args
@@ -11417,16 +12993,15 @@ public java.lang.String getNotebook() {
      * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for notebook. */ @java.lang.Override - public com.google.protobuf.ByteString - getNotebookBytes() { + public com.google.protobuf.ByteString getNotebookBytes() { java.lang.Object ref = notebook_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notebook_ = b; return b; } else { @@ -11437,11 +13012,16 @@ public java.lang.String getNotebook() { public static final int INFRASTRUCTURE_SPEC_FIELD_NUMBER = 3; private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ @java.lang.Override @@ -11449,65 +13029,88 @@ public boolean hasInfrastructureSpec() { return infrastructureSpec_ != null; } /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } /** + * + * *
      * Optional. Infrastructure specification for the execution.
      * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } public static final int FILE_URIS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList - getFileUrisList() { + public com.google.protobuf.ProtocolStringList getFileUrisList() { return fileUris_; } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -11515,25 +13118,30 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** + * + * *
      * Optional. Cloud Storage URIs of files to be placed in the working
      * directory of each executor.
      * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString - getFileUrisBytes(int index) { + public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); } public static final int ARCHIVE_URIS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11541,13 +13149,15 @@ public java.lang.String getFileUris(int index) {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList - getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList getArchiveUrisList() { return archiveUris_; } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11555,12 +13165,15 @@ public java.lang.String getFileUris(int index) {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11568,6 +13181,7 @@ public int getArchiveUrisCount() {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -11575,6 +13189,8 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** + * + * *
      * Optional. Cloud Storage URIs of archives to be extracted into the working
      * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -11582,15 +13198,16 @@ public java.lang.String getArchiveUris(int index) {
      * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString - getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11602,8 +13219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (infrastructureSpec_ != null) { output.writeMessage(3, getInfrastructureSpec()); } @@ -11626,8 +13242,8 @@ public int getSerializedSize() { size = 0; if (infrastructureSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInfrastructureSpec()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInfrastructureSpec()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(notebook_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, notebook_); @@ -11656,24 +13272,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.NotebookTaskConfig)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other = (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) obj; + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other = + (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) obj; - if (!getNotebook() - .equals(other.getNotebook())) return false; + if (!getNotebook().equals(other.getNotebook())) return false; if (hasInfrastructureSpec() != other.hasInfrastructureSpec()) return false; if (hasInfrastructureSpec()) { - if (!getInfrastructureSpec() - .equals(other.getInfrastructureSpec())) return false; + if (!getInfrastructureSpec().equals(other.getInfrastructureSpec())) return false; } - if (!getFileUrisList() - .equals(other.getFileUrisList())) return false; - if (!getArchiveUrisList() - .equals(other.getArchiveUrisList())) return false; + if (!getFileUrisList().equals(other.getFileUrisList())) return false; + if (!getArchiveUrisList().equals(other.getArchiveUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -11705,89 +13318,94 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11797,39 +13415,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Config for running scheduled notebooks.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.NotebookTaskConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.NotebookTaskConfig) com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.class, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -11840,17 +13460,15 @@ public Builder clear() { infrastructureSpecBuilder_.dispose(); infrastructureSpecBuilder_ = null; } - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; } @java.lang.Override @@ -11869,8 +13487,11 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig buildPartial() { - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result = new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result = + new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -11881,9 +13502,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig result.notebook_ = notebook_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.infrastructureSpec_ = infrastructureSpecBuilder_ == null - ? infrastructureSpec_ - : infrastructureSpecBuilder_.build(); + result.infrastructureSpec_ = + infrastructureSpecBuilder_ == null + ? infrastructureSpec_ + : infrastructureSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { fileUris_.makeImmutable(); @@ -11899,38 +13521,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) other); } else { super.mergeFrom(other); return this; @@ -11938,7 +13563,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig other) { - if (other == com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) + return this; if (!other.getNotebook().isEmpty()) { notebook_ = other.notebook_; bitField0_ |= 0x00000001; @@ -11993,36 +13619,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - input.readMessage( - getInfrastructureSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - notebook_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFileUrisIsMutable(); - fileUris_.add(s); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureArchiveUrisIsMutable(); - archiveUris_.add(s); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + input.readMessage( + getInfrastructureSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + notebook_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFileUrisIsMutable(); + fileUris_.add(s); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureArchiveUrisIsMutable(); + archiveUris_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12032,10 +13662,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object notebook_ = ""; /** + * + * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -12044,13 +13677,13 @@ public Builder mergeFrom(
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The notebook. */ public java.lang.String getNotebook() { java.lang.Object ref = notebook_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notebook_ = s; return s; @@ -12059,6 +13692,8 @@ public java.lang.String getNotebook() { } } /** + * + * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -12067,15 +13702,14 @@ public java.lang.String getNotebook() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for notebook. */ - public com.google.protobuf.ByteString - getNotebookBytes() { + public com.google.protobuf.ByteString getNotebookBytes() { java.lang.Object ref = notebook_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); notebook_ = b; return b; } else { @@ -12083,6 +13717,8 @@ public java.lang.String getNotebook() { } } /** + * + * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -12091,18 +13727,22 @@ public java.lang.String getNotebook() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The notebook to set. * @return This builder for chaining. */ - public Builder setNotebook( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotebook(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } notebook_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -12111,6 +13751,7 @@ public Builder setNotebook(
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNotebook() { @@ -12120,6 +13761,8 @@ public Builder clearNotebook() { return this; } /** + * + * *
        * Required. Path to input notebook. This can be the Cloud Storage URI of
        * the notebook file or the path to a Notebook Content. The execution args
@@ -12128,12 +13771,14 @@ public Builder clearNotebook() {
        * 
* * string notebook = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for notebook to set. * @return This builder for chaining. */ - public Builder setNotebookBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNotebookBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); notebook_ = value; bitField0_ |= 0x00000001; @@ -12143,41 +13788,61 @@ public Builder setNotebookBytes( private com.google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructureSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> infrastructureSpecBuilder_; + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + infrastructureSpecBuilder_; /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the infrastructureSpec field is set. */ public boolean hasInfrastructureSpec() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The infrastructureSpec. */ public com.google.cloud.dataplex.v1.Task.InfrastructureSpec getInfrastructureSpec() { if (infrastructureSpecBuilder_ == null) { - return infrastructureSpec_ == null ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } else { return infrastructureSpecBuilder_.getMessage(); } } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder setInfrastructureSpec( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12191,11 +13856,15 @@ public Builder setInfrastructureSpec(com.google.cloud.dataplex.v1.Task.Infrastru return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setInfrastructureSpec( com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder builderForValue) { @@ -12209,17 +13878,23 @@ public Builder setInfrastructureSpec( return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { + public Builder mergeInfrastructureSpec( + com.google.cloud.dataplex.v1.Task.InfrastructureSpec value) { if (infrastructureSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - infrastructureSpec_ != null && - infrastructureSpec_ != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && infrastructureSpec_ != null + && infrastructureSpec_ + != com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance()) { getInfrastructureSpecBuilder().mergeFrom(value); } else { infrastructureSpec_ = value; @@ -12232,11 +13907,15 @@ public Builder mergeInfrastructureSpec(com.google.cloud.dataplex.v1.Task.Infrast return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearInfrastructureSpec() { bitField0_ = (bitField0_ & ~0x00000002); @@ -12249,48 +13928,66 @@ public Builder clearInfrastructureSpec() { return this; } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder getInfrastructureSpecBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder + getInfrastructureSpecBuilder() { bitField0_ |= 0x00000002; onChanged(); return getInfrastructureSpecFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder() { + public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder + getInfrastructureSpecOrBuilder() { if (infrastructureSpecBuilder_ != null) { return infrastructureSpecBuilder_.getMessageOrBuilder(); } else { - return infrastructureSpec_ == null ? - com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() : infrastructureSpec_; + return infrastructureSpec_ == null + ? com.google.cloud.dataplex.v1.Task.InfrastructureSpec.getDefaultInstance() + : infrastructureSpec_; } } /** + * + * *
        * Optional. Infrastructure specification for the execution.
        * 
* - * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder> getInfrastructureSpecFieldBuilder() { if (infrastructureSpecBuilder_ == null) { - infrastructureSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.InfrastructureSpec, com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( - getInfrastructureSpec(), - getParentForChildren(), - isClean()); + infrastructureSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.InfrastructureSpec, + com.google.cloud.dataplex.v1.Task.InfrastructureSpec.Builder, + com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder>( + getInfrastructureSpec(), getParentForChildren(), isClean()); infrastructureSpec_ = null; } return infrastructureSpecBuilder_; @@ -12298,6 +13995,7 @@ public com.google.cloud.dataplex.v1.Task.InfrastructureSpecOrBuilder getInfrastr private com.google.protobuf.LazyStringArrayList fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFileUrisIsMutable() { if (!fileUris_.isModifiable()) { fileUris_ = new com.google.protobuf.LazyStringArrayList(fileUris_); @@ -12305,38 +14003,46 @@ private void ensureFileUrisIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the fileUris. */ - public com.google.protobuf.ProtocolStringList - getFileUrisList() { + public com.google.protobuf.ProtocolStringList getFileUrisList() { fileUris_.makeImmutable(); return fileUris_; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of fileUris. */ public int getFileUrisCount() { return fileUris_.size(); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The fileUris at the given index. */ @@ -12344,33 +14050,39 @@ public java.lang.String getFileUris(int index) { return fileUris_.get(index); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the fileUris at the given index. */ - public com.google.protobuf.ByteString - getFileUrisBytes(int index) { + public com.google.protobuf.ByteString getFileUrisBytes(int index) { return fileUris_.getByteString(index); } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The fileUris to set. * @return This builder for chaining. */ - public Builder setFileUris( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFileUris(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFileUrisIsMutable(); fileUris_.set(index, value); bitField0_ |= 0x00000004; @@ -12378,18 +14090,22 @@ public Builder setFileUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The fileUris to add. * @return This builder for chaining. */ - public Builder addFileUris( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFileUris(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFileUrisIsMutable(); fileUris_.add(value); bitField0_ |= 0x00000004; @@ -12397,53 +14113,61 @@ public Builder addFileUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The fileUris to add. * @return This builder for chaining. */ - public Builder addAllFileUris( - java.lang.Iterable values) { + public Builder addAllFileUris(java.lang.Iterable values) { ensureFileUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fileUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fileUris_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFileUris() { - fileUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + fileUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of files to be placed in the working
        * directory of each executor.
        * 
* * repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the fileUris to add. * @return This builder for chaining. */ - public Builder addFileUrisBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFileUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFileUrisIsMutable(); fileUris_.add(value); @@ -12454,6 +14178,7 @@ public Builder addFileUrisBytes( private com.google.protobuf.LazyStringArrayList archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureArchiveUrisIsMutable() { if (!archiveUris_.isModifiable()) { archiveUris_ = new com.google.protobuf.LazyStringArrayList(archiveUris_); @@ -12461,6 +14186,8 @@ private void ensureArchiveUrisIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12468,14 +14195,16 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the archiveUris. */ - public com.google.protobuf.ProtocolStringList - getArchiveUrisList() { + public com.google.protobuf.ProtocolStringList getArchiveUrisList() { archiveUris_.makeImmutable(); return archiveUris_; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12483,12 +14212,15 @@ private void ensureArchiveUrisIsMutable() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of archiveUris. */ public int getArchiveUrisCount() { return archiveUris_.size(); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12496,6 +14228,7 @@ public int getArchiveUrisCount() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The archiveUris at the given index. */ @@ -12503,6 +14236,8 @@ public java.lang.String getArchiveUris(int index) { return archiveUris_.get(index); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12510,14 +14245,16 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the archiveUris at the given index. */ - public com.google.protobuf.ByteString - getArchiveUrisBytes(int index) { + public com.google.protobuf.ByteString getArchiveUrisBytes(int index) { return archiveUris_.getByteString(index); } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12525,13 +14262,15 @@ public java.lang.String getArchiveUris(int index) {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The archiveUris to set. * @return This builder for chaining. */ - public Builder setArchiveUris( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArchiveUris(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureArchiveUrisIsMutable(); archiveUris_.set(index, value); bitField0_ |= 0x00000008; @@ -12539,6 +14278,8 @@ public Builder setArchiveUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12546,12 +14287,14 @@ public Builder setArchiveUris(
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUris( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addArchiveUris(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureArchiveUrisIsMutable(); archiveUris_.add(value); bitField0_ |= 0x00000008; @@ -12559,6 +14302,8 @@ public Builder addArchiveUris( return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12566,19 +14311,20 @@ public Builder addArchiveUris(
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The archiveUris to add. * @return This builder for chaining. */ - public Builder addAllArchiveUris( - java.lang.Iterable values) { + public Builder addAllArchiveUris(java.lang.Iterable values) { ensureArchiveUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, archiveUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, archiveUris_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12586,16 +14332,19 @@ public Builder addAllArchiveUris(
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearArchiveUris() { - archiveUris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + archiveUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
        * Optional. Cloud Storage URIs of archives to be extracted into the working
        * directory of each executor. Supported file types: .jar, .tar, .tar.gz,
@@ -12603,12 +14352,14 @@ public Builder clearArchiveUris() {
        * 
* * repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the archiveUris to add. * @return This builder for chaining. */ - public Builder addArchiveUrisBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addArchiveUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureArchiveUrisIsMutable(); archiveUris_.add(value); @@ -12616,6 +14367,7 @@ public Builder addArchiveUrisBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12628,12 +14380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.NotebookTaskConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.NotebookTaskConfig) private static final com.google.cloud.dataplex.v1.Task.NotebookTaskConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.NotebookTaskConfig(); } @@ -12642,27 +14394,28 @@ public static com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotebookTaskConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotebookTaskConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12677,114 +14430,150 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecutionStatusOrBuilder extends + public interface ExecutionStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task.ExecutionStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestJob field is set. */ boolean hasLatestJob(); /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestJob. */ com.google.cloud.dataplex.v1.Job getLatestJob(); /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder(); } /** + * + * *
    * Status of the task execution (e.g. Jobs).
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionStatus} */ - public static final class ExecutionStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecutionStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Task.ExecutionStatus) ExecutionStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionStatus.newBuilder() to construct. private ExecutionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutionStatus() { - } + + private ExecutionStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, + com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -12792,11 +14581,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -12804,11 +14598,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Last update time of the status.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -12818,11 +14616,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LATEST_JOB_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.Job latestJob_; /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestJob field is set. */ @java.lang.Override @@ -12830,30 +14633,44 @@ public boolean hasLatestJob() { return latestJob_ != null; } /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestJob. */ @java.lang.Override public com.google.cloud.dataplex.v1.Job getLatestJob() { - return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; + return latestJob_ == null + ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() + : latestJob_; } /** + * + * *
      * Output only. latest job execution
      * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder() { - return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; + return latestJob_ == null + ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() + : latestJob_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12865,8 +14682,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } @@ -12883,12 +14699,10 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (latestJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLatestJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLatestJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12898,22 +14712,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task.ExecutionStatus)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Task.ExecutionStatus other = (com.google.cloud.dataplex.v1.Task.ExecutionStatus) obj; + com.google.cloud.dataplex.v1.Task.ExecutionStatus other = + (com.google.cloud.dataplex.v1.Task.ExecutionStatus) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasLatestJob() != other.hasLatestJob()) return false; if (hasLatestJob()) { - if (!getLatestJob() - .equals(other.getLatestJob())) return false; + if (!getLatestJob().equals(other.getLatestJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -12940,89 +14753,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task.ExecutionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task.ExecutionStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13032,39 +14849,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of the task execution (e.g. Jobs).
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task.ExecutionStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task.ExecutionStatus) com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); + com.google.cloud.dataplex.v1.Task.ExecutionStatus.class, + com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.ExecutionStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -13083,9 +14902,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; } @java.lang.Override @@ -13104,8 +14923,11 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatus buildPartial() { - com.google.cloud.dataplex.v1.Task.ExecutionStatus result = new com.google.cloud.dataplex.v1.Task.ExecutionStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Task.ExecutionStatus result = + new com.google.cloud.dataplex.v1.Task.ExecutionStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -13113,14 +14935,11 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.latestJob_ = latestJobBuilder_ == null - ? latestJob_ - : latestJobBuilder_.build(); + result.latestJob_ = latestJobBuilder_ == null ? latestJob_ : latestJobBuilder_.build(); } } @@ -13128,38 +14947,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task.ExecutionStatus res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task.ExecutionStatus) { - return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionStatus)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task.ExecutionStatus) other); } else { super.mergeFrom(other); return this; @@ -13167,7 +14989,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Task.ExecutionStatus other) { - if (other == com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) + return this; if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } @@ -13200,26 +15023,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - case 74: { - input.readMessage( - getLatestJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + case 74: + { + input.readMessage(getLatestJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13229,43 +15051,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -13281,14 +15123,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -13299,17 +15144,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -13322,11 +15171,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -13339,11 +15192,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000001; @@ -13351,36 +15208,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. Last update time of the status.
        * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -13388,39 +15257,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.dataplex.v1.Job latestJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> latestJobBuilder_; + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> + latestJobBuilder_; /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the latestJob field is set. */ public boolean hasLatestJob() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The latestJob. */ public com.google.cloud.dataplex.v1.Job getLatestJob() { if (latestJobBuilder_ == null) { - return latestJob_ == null ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; + return latestJob_ == null + ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() + : latestJob_; } else { return latestJobBuilder_.getMessage(); } } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLatestJob(com.google.cloud.dataplex.v1.Job value) { if (latestJobBuilder_ == null) { @@ -13436,14 +15324,17 @@ public Builder setLatestJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLatestJob( - com.google.cloud.dataplex.v1.Job.Builder builderForValue) { + public Builder setLatestJob(com.google.cloud.dataplex.v1.Job.Builder builderForValue) { if (latestJobBuilder_ == null) { latestJob_ = builderForValue.build(); } else { @@ -13454,17 +15345,21 @@ public Builder setLatestJob( return this; } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLatestJob(com.google.cloud.dataplex.v1.Job value) { if (latestJobBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - latestJob_ != null && - latestJob_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && latestJob_ != null + && latestJob_ != com.google.cloud.dataplex.v1.Job.getDefaultInstance()) { getLatestJobBuilder().mergeFrom(value); } else { latestJob_ = value; @@ -13477,11 +15372,15 @@ public Builder mergeLatestJob(com.google.cloud.dataplex.v1.Job value) { return this; } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLatestJob() { bitField0_ = (bitField0_ & ~0x00000002); @@ -13494,11 +15393,15 @@ public Builder clearLatestJob() { return this; } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Job.Builder getLatestJobBuilder() { bitField0_ |= 0x00000002; @@ -13506,40 +15409,53 @@ public com.google.cloud.dataplex.v1.Job.Builder getLatestJobBuilder() { return getLatestJobFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.JobOrBuilder getLatestJobOrBuilder() { if (latestJobBuilder_ != null) { return latestJobBuilder_.getMessageOrBuilder(); } else { - return latestJob_ == null ? - com.google.cloud.dataplex.v1.Job.getDefaultInstance() : latestJob_; + return latestJob_ == null + ? com.google.cloud.dataplex.v1.Job.getDefaultInstance() + : latestJob_; } } /** + * + * *
        * Output only. latest job execution
        * 
* - * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Job latest_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder> + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder> getLatestJobFieldBuilder() { if (latestJobBuilder_ == null) { - latestJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Job, com.google.cloud.dataplex.v1.Job.Builder, com.google.cloud.dataplex.v1.JobOrBuilder>( - getLatestJob(), - getParentForChildren(), - isClean()); + latestJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Job, + com.google.cloud.dataplex.v1.Job.Builder, + com.google.cloud.dataplex.v1.JobOrBuilder>( + getLatestJob(), getParentForChildren(), isClean()); latestJob_ = null; } return latestJobBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13552,12 +15468,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task.ExecutionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task.ExecutionStatus) private static final com.google.cloud.dataplex.v1.Task.ExecutionStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task.ExecutionStatus(); } @@ -13566,27 +15482,28 @@ public static com.google.cloud.dataplex.v1.Task.ExecutionStatus getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13601,19 +15518,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task.ExecutionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int configCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object config_; + public enum ConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SPARK(300), NOTEBOOK(302), CONFIG_NOT_SET(0); private final int value; + private ConfigCase(int value) { this.value = value; } @@ -13629,34 +15549,43 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 300: return SPARK; - case 302: return NOTEBOOK; - case 0: return CONFIG_NOT_SET; - default: return null; + case 300: + return SPARK; + case 302: + return NOTEBOOK; + case 0: + return CONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConfigCase - getConfigCase() { - return ConfigCase.forNumber( - configCase_); + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -13665,31 +15594,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; } } /** + * + * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -13698,15 +15629,19 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -13715,30 +15650,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -13749,11 +15684,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -13761,11 +15700,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -13773,11 +15716,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -13787,11 +15733,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -13799,11 +15749,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -13811,11 +15765,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -13823,14 +15780,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -13839,29 +15800,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; } } /** + * + * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -13870,14 +15831,18 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -13886,29 +15851,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -13919,56 +15884,69 @@ public java.lang.String getDisplayName() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 8; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -13976,20 +15954,21 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -14001,6 +15980,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -14008,17 +15989,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -14026,11 +16009,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -14040,11 +16023,16 @@ public java.lang.String getLabelsOrThrow( public static final int TRIGGER_SPEC_FIELD_NUMBER = 100; private com.google.cloud.dataplex.v1.Task.TriggerSpec triggerSpec_; /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the triggerSpec field is set. */ @java.lang.Override @@ -14052,37 +16040,55 @@ public boolean hasTriggerSpec() { return triggerSpec_ != null; } /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The triggerSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec() { - return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; + return triggerSpec_ == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() + : triggerSpec_; } /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder() { - return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; + return triggerSpec_ == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() + : triggerSpec_; } public static final int EXECUTION_SPEC_FIELD_NUMBER = 101; private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executionSpec field is set. */ @java.lang.Override @@ -14090,37 +16096,55 @@ public boolean hasExecutionSpec() { return executionSpec_ != null; } /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } public static final int EXECUTION_STATUS_FIELD_NUMBER = 201; private com.google.cloud.dataplex.v1.Task.ExecutionStatus executionStatus_; /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ @java.lang.Override @@ -14128,36 +16152,52 @@ public boolean hasExecutionStatus() { return executionStatus_ != null; } /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus() { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() + : executionStatus_; } /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() + : executionStatus_; } public static final int SPARK_FIELD_NUMBER = 300; /** + * + * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return Whether the spark field is set. */ @java.lang.Override @@ -14165,21 +16205,26 @@ public boolean hasSpark() { return configCase_ == 300; } /** + * + * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return The spark. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { if (configCase_ == 300) { - return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } /** + * + * *
    * Config related to running custom Spark tasks.
    * 
@@ -14189,18 +16234,21 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuilder() { if (configCase_ == 300) { - return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } public static final int NOTEBOOK_FIELD_NUMBER = 302; /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return Whether the notebook field is set. */ @java.lang.Override @@ -14208,21 +16256,26 @@ public boolean hasNotebook() { return configCase_ == 302; } /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return The notebook. */ @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { if (configCase_ == 302) { - return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
@@ -14232,12 +16285,13 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { @java.lang.Override public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebookOrBuilder() { if (configCase_ == 302) { - return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; + return (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_; } return com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14249,8 +16303,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -14272,12 +16325,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); if (triggerSpec_ != null) { output.writeMessage(100, getTriggerSpec()); } @@ -14309,12 +16358,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -14323,38 +16370,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); - } - 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(8, labels__); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + } + 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(8, labels__); } if (triggerSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, getTriggerSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getTriggerSpec()); } if (executionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, getExecutionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(101, getExecutionSpec()); } if (executionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(201, getExecutionStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(201, getExecutionStatus()); } if (configCase_ == 300) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(300, (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 300, (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_); } if (configCase_ == 302) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(302, (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 302, (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -14364,58 +16409,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Task)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Task other = (com.google.cloud.dataplex.v1.Task) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) 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 (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasTriggerSpec() != other.hasTriggerSpec()) return false; if (hasTriggerSpec()) { - if (!getTriggerSpec() - .equals(other.getTriggerSpec())) return false; + if (!getTriggerSpec().equals(other.getTriggerSpec())) return false; } if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { - if (!getExecutionSpec() - .equals(other.getExecutionSpec())) return false; + if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; } if (hasExecutionStatus() != other.hasExecutionStatus()) return false; if (hasExecutionStatus()) { - if (!getExecutionStatus() - .equals(other.getExecutionStatus())) return false; + if (!getExecutionStatus().equals(other.getExecutionStatus())) return false; } if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 300: - if (!getSpark() - .equals(other.getSpark())) return false; + if (!getSpark().equals(other.getSpark())) return false; break; case 302: - if (!getNotebook() - .equals(other.getNotebook())) return false; + if (!getNotebook().equals(other.getNotebook())) return false; break; case 0: default: @@ -14482,154 +16515,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Task parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Task parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Task parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Task parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Task parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Task prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 represents a user-visible job.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Task} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Task) com.google.cloud.dataplex.v1.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: 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 8: return internalGetMutableLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Task.class, com.google.cloud.dataplex.v1.Task.Builder.class); + com.google.cloud.dataplex.v1.Task.class, + com.google.cloud.dataplex.v1.Task.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Task.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -14677,9 +16711,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.TasksProto.internal_static_google_cloud_dataplex_v1_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.TasksProto + .internal_static_google_cloud_dataplex_v1_Task_descriptor; } @java.lang.Override @@ -14699,7 +16733,9 @@ public com.google.cloud.dataplex.v1.Task build() { @java.lang.Override public com.google.cloud.dataplex.v1.Task buildPartial() { com.google.cloud.dataplex.v1.Task result = new com.google.cloud.dataplex.v1.Task(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -14714,14 +16750,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.description_ = description_; @@ -14737,31 +16769,26 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Task result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.triggerSpec_ = triggerSpecBuilder_ == null - ? triggerSpec_ - : triggerSpecBuilder_.build(); + result.triggerSpec_ = + triggerSpecBuilder_ == null ? triggerSpec_ : triggerSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.executionSpec_ = executionSpecBuilder_ == null - ? executionSpec_ - : executionSpecBuilder_.build(); + result.executionSpec_ = + executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.executionStatus_ = executionStatusBuilder_ == null - ? executionStatus_ - : executionStatusBuilder_.build(); + result.executionStatus_ = + executionStatusBuilder_ == null ? executionStatus_ : executionStatusBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task result) { result.configCase_ = configCase_; result.config_ = this.config_; - if (configCase_ == 300 && - sparkBuilder_ != null) { + if (configCase_ == 300 && sparkBuilder_ != null) { result.config_ = sparkBuilder_.build(); } - if (configCase_ == 302 && - notebookBuilder_ != null) { + if (configCase_ == 302 && notebookBuilder_ != null) { result.config_ = notebookBuilder_.build(); } } @@ -14770,38 +16797,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Task result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Task) { - return mergeFrom((com.google.cloud.dataplex.v1.Task)other); + return mergeFrom((com.google.cloud.dataplex.v1.Task) other); } else { super.mergeFrom(other); return this; @@ -14839,8 +16867,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task other) { if (other.state_ != 0) { setStateValue(other.getStateValue()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasTriggerSpec()) { mergeTriggerSpec(other.getTriggerSpec()); @@ -14852,17 +16879,20 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Task other) { mergeExecutionStatus(other.getExecutionStatus()); } switch (other.getConfigCase()) { - case SPARK: { - mergeSpark(other.getSpark()); - break; - } - case NOTEBOOK: { - mergeNotebook(other.getNotebook()); - break; - } - case CONFIG_NOT_SET: { - break; - } + case SPARK: + { + mergeSpark(other.getSpark()); + break; + } + case NOTEBOOK: + { + mergeNotebook(other.getNotebook()); + break; + } + case CONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -14890,95 +16920,97 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 802: { - input.readMessage( - getTriggerSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 802 - case 810: { - input.readMessage( - getExecutionSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 810 - case 1610: { - input.readMessage( - getExecutionStatusFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 1610 - case 2402: { - input.readMessage( - getSparkFieldBuilder().getBuilder(), - extensionRegistry); - configCase_ = 300; - break; - } // case 2402 - case 2418: { - input.readMessage( - getNotebookFieldBuilder().getBuilder(), - extensionRegistry); - configCase_ = 302; - break; - } // case 2418 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 802: + { + input.readMessage(getTriggerSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 802 + case 810: + { + input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 810 + case 1610: + { + input.readMessage(getExecutionStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 1610 + case 2402: + { + input.readMessage(getSparkFieldBuilder().getBuilder(), extensionRegistry); + configCase_ = 300; + break; + } // case 2402 + case 2418: + { + input.readMessage(getNotebookFieldBuilder().getBuilder(), extensionRegistry); + configCase_ = 302; + break; + } // case 2418 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14988,12 +17020,12 @@ public Builder mergeFrom( } // finally return this; } + private int configCase_ = 0; private java.lang.Object config_; - public ConfigCase - getConfigCase() { - return ConfigCase.forNumber( - configCase_); + + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); } public Builder clearConfig() { @@ -15007,20 +17039,24 @@ public Builder clearConfig() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -15029,22 +17065,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -15052,32 +17091,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -15087,19 +17137,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the task, of the form:
      * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
      * tasks/{task_id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -15109,19 +17165,21 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -15130,21 +17188,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -15152,30 +17211,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -15185,18 +17251,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the task. This ID will
      * be different if the task is deleted and re-created with the same name.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -15206,39 +17276,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -15254,14 +17343,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -15272,17 +17364,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -15295,11 +17391,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -15312,11 +17412,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -15324,36 +17428,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time when the task was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -15361,39 +17477,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 time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -15409,14 +17544,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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(); } else { @@ -15427,17 +17565,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -15450,11 +17592,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -15467,11 +17613,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -15479,36 +17629,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.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 time when the task was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> 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_; @@ -15516,18 +17678,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -15536,20 +17700,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -15557,28 +17722,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -15588,17 +17760,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the task.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -15608,18 +17784,20 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -15628,20 +17806,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -15649,28 +17828,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -15680,17 +17866,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -15700,22 +17890,31 @@ public Builder setDisplayNameBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -15726,24 +17925,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -15757,11 +17965,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the task.
      * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -15771,21 +17983,19 @@ public Builder clearState() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -15794,10 +18004,13 @@ public Builder clearState() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
@@ -15805,20 +18018,21 @@ public int getLabelsCount() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
@@ -15830,6 +18044,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
@@ -15837,17 +18053,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
@@ -15855,112 +18073,133 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Optional. User-defined labels for the task.
      * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.cloud.dataplex.v1.Task.TriggerSpec triggerSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> triggerSpecBuilder_; + com.google.cloud.dataplex.v1.Task.TriggerSpec, + com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, + com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> + triggerSpecBuilder_; /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the triggerSpec field is set. */ public boolean hasTriggerSpec() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The triggerSpec. */ public com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec() { if (triggerSpecBuilder_ == null) { - return triggerSpec_ == null ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; + return triggerSpec_ == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() + : triggerSpec_; } else { return triggerSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec value) { if (triggerSpecBuilder_ == null) { @@ -15976,11 +18215,15 @@ public Builder setTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec valu return this; } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTriggerSpec( com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder builderForValue) { @@ -15994,17 +18237,21 @@ public Builder setTriggerSpec( return this; } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec value) { if (triggerSpecBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - triggerSpec_ != null && - triggerSpec_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && triggerSpec_ != null + && triggerSpec_ != com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance()) { getTriggerSpecBuilder().mergeFrom(value); } else { triggerSpec_ = value; @@ -16017,11 +18264,15 @@ public Builder mergeTriggerSpec(com.google.cloud.dataplex.v1.Task.TriggerSpec va return this; } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTriggerSpec() { bitField0_ = (bitField0_ & ~0x00000100); @@ -16034,11 +18285,15 @@ public Builder clearTriggerSpec() { return this; } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder getTriggerSpecBuilder() { bitField0_ |= 0x00000100; @@ -16046,36 +18301,48 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder getTriggerSpecBuild return getTriggerSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder() { if (triggerSpecBuilder_ != null) { return triggerSpecBuilder_.getMessageOrBuilder(); } else { - return triggerSpec_ == null ? - com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() : triggerSpec_; + return triggerSpec_ == null + ? com.google.cloud.dataplex.v1.Task.TriggerSpec.getDefaultInstance() + : triggerSpec_; } } /** + * + * *
      * Required. Spec related to how often and when a task should be triggered.
      * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.TriggerSpec, + com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, + com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder> getTriggerSpecFieldBuilder() { if (triggerSpecBuilder_ == null) { - triggerSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.TriggerSpec, com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder>( - getTriggerSpec(), - getParentForChildren(), - isClean()); + triggerSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.TriggerSpec, + com.google.cloud.dataplex.v1.Task.TriggerSpec.Builder, + com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder>( + getTriggerSpec(), getParentForChildren(), isClean()); triggerSpec_ = null; } return triggerSpecBuilder_; @@ -16083,39 +18350,58 @@ public com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBu private com.google.cloud.dataplex.v1.Task.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> executionSpecBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + executionSpecBuilder_; /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executionSpec. */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { - return executionSpec_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { @@ -16131,11 +18417,15 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec return this; } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder builderForValue) { @@ -16149,17 +18439,22 @@ public Builder setExecutionSpec( return this; } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpec value) { if (executionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - executionSpec_ != null && - executionSpec_ != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && executionSpec_ != null + && executionSpec_ + != com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; @@ -16172,11 +18467,15 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.Task.ExecutionSpe return this; } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -16189,11 +18488,15 @@ public Builder clearExecutionSpec() { return this; } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000200; @@ -16201,36 +18504,48 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder getExecutionSpecB return getExecutionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { - return executionSpec_ == null ? - com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() : executionSpec_; + return executionSpec_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionSpec.getDefaultInstance() + : executionSpec_; } } /** + * + * *
      * Required. Spec related to how a task is executed.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { - executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionSpec, com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( - getExecutionSpec(), - getParentForChildren(), - isClean()); + executionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionSpec, + com.google.cloud.dataplex.v1.Task.ExecutionSpec.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder>( + getExecutionSpec(), getParentForChildren(), isClean()); executionSpec_ = null; } return executionSpecBuilder_; @@ -16238,39 +18553,58 @@ public com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpec private com.google.cloud.dataplex.v1.Task.ExecutionStatus executionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> executionStatusBuilder_; + com.google.cloud.dataplex.v1.Task.ExecutionStatus, + com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> + executionStatusBuilder_; /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ public com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus() { if (executionStatusBuilder_ == null) { - return executionStatus_ == null ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() + : executionStatus_; } else { return executionStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionStatus value) { if (executionStatusBuilder_ == null) { @@ -16286,11 +18620,15 @@ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionSta return this; } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExecutionStatus( com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder builderForValue) { @@ -16304,17 +18642,22 @@ public Builder setExecutionStatus( return this; } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionStatus value) { if (executionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - executionStatus_ != null && - executionStatus_ != com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && executionStatus_ != null + && executionStatus_ + != com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance()) { getExecutionStatusBuilder().mergeFrom(value); } else { executionStatus_ = value; @@ -16327,11 +18670,15 @@ public Builder mergeExecutionStatus(com.google.cloud.dataplex.v1.Task.ExecutionS return this; } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -16344,11 +18691,15 @@ public Builder clearExecutionStatus() { return this; } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder getExecutionStatusBuilder() { bitField0_ |= 0x00000400; @@ -16356,49 +18707,68 @@ public com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder getExecutionSta return getExecutionStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { + public com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder + getExecutionStatusOrBuilder() { if (executionStatusBuilder_ != null) { return executionStatusBuilder_.getMessageOrBuilder(); } else { - return executionStatus_ == null ? - com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() : executionStatus_; + return executionStatus_ == null + ? com.google.cloud.dataplex.v1.Task.ExecutionStatus.getDefaultInstance() + : executionStatus_; } } /** + * + * *
      * Output only. Status of the latest task executions.
      * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> + com.google.cloud.dataplex.v1.Task.ExecutionStatus, + com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder> getExecutionStatusFieldBuilder() { if (executionStatusBuilder_ == null) { - executionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.ExecutionStatus, com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder>( - getExecutionStatus(), - getParentForChildren(), - isClean()); + executionStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.ExecutionStatus, + com.google.cloud.dataplex.v1.Task.ExecutionStatus.Builder, + com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder>( + getExecutionStatus(), getParentForChildren(), isClean()); executionStatus_ = null; } return executionStatusBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> sparkBuilder_; + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> + sparkBuilder_; /** + * + * *
      * Config related to running custom Spark tasks.
      * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return Whether the spark field is set. */ @java.lang.Override @@ -16406,11 +18776,14 @@ public boolean hasSpark() { return configCase_ == 300; } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return The spark. */ @java.lang.Override @@ -16428,6 +18801,8 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark() { } } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16448,6 +18823,8 @@ public Builder setSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig value) return this; } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16466,6 +18843,8 @@ public Builder setSpark( return this; } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16474,10 +18853,13 @@ public Builder setSpark( */ public Builder mergeSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig value) { if (sparkBuilder_ == null) { - if (configCase_ == 300 && - config_ != com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) { - config_ = com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder((com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_) - .mergeFrom(value).buildPartial(); + if (configCase_ == 300 + && config_ != com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance()) { + config_ = + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.newBuilder( + (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -16493,6 +18875,8 @@ public Builder mergeSpark(com.google.cloud.dataplex.v1.Task.SparkTaskConfig valu return this; } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16516,6 +18900,8 @@ public Builder clearSpark() { return this; } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16526,6 +18912,8 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder getSparkBuilder return getSparkFieldBuilder().getBuilder(); } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16544,6 +18932,8 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil } } /** + * + * *
      * Config related to running custom Spark tasks.
      * 
@@ -16551,14 +18941,19 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder> getSparkFieldBuilder() { if (sparkBuilder_ == null) { if (!(configCase_ == 300)) { config_ = com.google.cloud.dataplex.v1.Task.SparkTaskConfig.getDefaultInstance(); } - sparkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.SparkTaskConfig, com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder>( + sparkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.SparkTaskConfig, + com.google.cloud.dataplex.v1.Task.SparkTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder>( (com.google.cloud.dataplex.v1.Task.SparkTaskConfig) config_, getParentForChildren(), isClean()); @@ -16570,13 +18965,19 @@ public com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> notebookBuilder_; + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> + notebookBuilder_; /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return Whether the notebook field is set. */ @java.lang.Override @@ -16584,11 +18985,14 @@ public boolean hasNotebook() { return configCase_ == 302; } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return The notebook. */ @java.lang.Override @@ -16606,6 +19010,8 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook() { } } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16626,6 +19032,8 @@ public Builder setNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig return this; } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16644,6 +19052,8 @@ public Builder setNotebook( return this; } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16652,10 +19062,14 @@ public Builder setNotebook( */ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfig value) { if (notebookBuilder_ == null) { - if (configCase_ == 302 && - config_ != com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) { - config_ = com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder((com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_) - .mergeFrom(value).buildPartial(); + if (configCase_ == 302 + && config_ + != com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance()) { + config_ = + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.newBuilder( + (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -16671,6 +19085,8 @@ public Builder mergeNotebook(com.google.cloud.dataplex.v1.Task.NotebookTaskConfi return this; } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16694,6 +19110,8 @@ public Builder clearNotebook() { return this; } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16704,6 +19122,8 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder getNotebookB return getNotebookFieldBuilder().getBuilder(); } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16722,6 +19142,8 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook } } /** + * + * *
      * Config related to running scheduled Notebooks.
      * 
@@ -16729,14 +19151,19 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder> getNotebookFieldBuilder() { if (notebookBuilder_ == null) { if (!(configCase_ == 302)) { config_ = com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.getDefaultInstance(); } - notebookBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder>( + notebookBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfig.Builder, + com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder>( (com.google.cloud.dataplex.v1.Task.NotebookTaskConfig) config_, getParentForChildren(), isClean()); @@ -16746,9 +19173,9 @@ public com.google.cloud.dataplex.v1.Task.NotebookTaskConfigOrBuilder getNotebook onChanged(); return notebookBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -16758,12 +19185,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Task) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Task) private static final com.google.cloud.dataplex.v1.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Task(); } @@ -16772,27 +19199,27 @@ public static com.google.cloud.dataplex.v1.Task getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Task parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Task parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16807,6 +19234,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java index 09507ffe544e..8afc62f09951 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TaskOrBuilder.java @@ -1,172 +1,244 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/tasks.proto package com.google.cloud.dataplex.v1; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the task, of the form:
    * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
    * tasks/{task_id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the task. This ID will
    * be different if the task is deleted and re-created with the same name.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the task was created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the task was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the task.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the task.
    * 
* - * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -175,30 +247,31 @@ public interface TaskOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the task.
    * 
@@ -206,120 +279,171 @@ boolean containsLabels( * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the task.
    * 
* * map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the triggerSpec field is set. */ boolean hasTriggerSpec(); /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The triggerSpec. */ com.google.cloud.dataplex.v1.Task.TriggerSpec getTriggerSpec(); /** + * + * *
    * Required. Spec related to how often and when a task should be triggered.
    * 
* - * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder(); /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executionSpec field is set. */ boolean hasExecutionSpec(); /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executionSpec. */ com.google.cloud.dataplex.v1.Task.ExecutionSpec getExecutionSpec(); /** + * + * *
    * Required. Spec related to how a task is executed.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder(); /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the executionStatus field is set. */ boolean hasExecutionStatus(); /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executionStatus. */ com.google.cloud.dataplex.v1.Task.ExecutionStatus getExecutionStatus(); /** + * + * *
    * Output only. Status of the latest task executions.
    * 
* - * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.Task.ExecutionStatusOrBuilder getExecutionStatusOrBuilder(); /** + * + * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return Whether the spark field is set. */ boolean hasSpark(); /** + * + * *
    * Config related to running custom Spark tasks.
    * 
* * .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300; + * * @return The spark. */ com.google.cloud.dataplex.v1.Task.SparkTaskConfig getSpark(); /** + * + * *
    * Config related to running custom Spark tasks.
    * 
@@ -329,24 +453,32 @@ java.lang.String getLabelsOrThrow( com.google.cloud.dataplex.v1.Task.SparkTaskConfigOrBuilder getSparkOrBuilder(); /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return Whether the notebook field is set. */ boolean hasNotebook(); /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
* * .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302; + * * @return The notebook. */ com.google.cloud.dataplex.v1.Task.NotebookTaskConfig getNotebook(); /** + * + * *
    * Config related to running scheduled Notebooks.
    * 
diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java new file mode 100644 index 000000000000..55fb99fc03c7 --- /dev/null +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java @@ -0,0 +1,393 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataplex/v1/tasks.proto + +package com.google.cloud.dataplex.v1; + +public final class TasksProto { + private TasksProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/dataplex/v1/tasks.proto\022\030" + + "google.cloud.dataplex.v1\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032(google/cloud/dataplex/v1/resources" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\"\305\026\n\004Task" + + "\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.google" + + "apis.com/Task\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013crea" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005 " + + "\001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\0224\n" + + "\005state\030\007 \001(\0162\037.google.cloud.dataplex.v1." + + "StateB\004\342A\001\003\022@\n\006labels\030\010 \003(\0132*.google.clo" + + "ud.dataplex.v1.Task.LabelsEntryB\004\342A\001\001\022F\n" + + "\014trigger_spec\030d \001(\0132*.google.cloud.datap" + + "lex.v1.Task.TriggerSpecB\004\342A\001\002\022J\n\016executi" + + "on_spec\030e \001(\0132,.google.cloud.dataplex.v1" + + ".Task.ExecutionSpecB\004\342A\001\002\022O\n\020execution_s" + + "tatus\030\311\001 \001(\0132..google.cloud.dataplex.v1." + + "Task.ExecutionStatusB\004\342A\001\003\022@\n\005spark\030\254\002 \001" + + "(\0132..google.cloud.dataplex.v1.Task.Spark" + + "TaskConfigH\000\022F\n\010notebook\030\256\002 \001(\01321.google" + + ".cloud.dataplex.v1.Task.NotebookTaskConf" + + "igH\000\032\243\006\n\022InfrastructureSpec\022X\n\005batch\0304 \001" + + "(\0132G.google.cloud.dataplex.v1.Task.Infra" + + "structureSpec.BatchComputeResourcesH\000\022b\n" + + "\017container_image\030e \001(\0132G.google.cloud.da" + + "taplex.v1.Task.InfrastructureSpec.Contai" + + "nerImageRuntimeH\001\022T\n\013vpc_network\030\226\001 \001(\0132" + + "<.google.cloud.dataplex.v1.Task.Infrastr" + + "uctureSpec.VpcNetworkH\002\032Y\n\025BatchComputeR" + + "esources\022\035\n\017executors_count\030\001 \001(\005B\004\342A\001\001\022" + + "!\n\023max_executors_count\030\002 \001(\005B\004\342A\001\001\032\212\002\n\025C" + + "ontainerImageRuntime\022\023\n\005image\030\001 \001(\tB\004\342A\001" + + "\001\022\027\n\tjava_jars\030\002 \003(\tB\004\342A\001\001\022\035\n\017python_pac" + + "kages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030\004 \003(\0132W." + + "google.cloud.dataplex.v1.Task.Infrastruc" + + "tureSpec.ContainerImageRuntime.Propertie" + + "sEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032n\n\nVpcNetwork\022\027\n" + + "\007network\030\001 \001(\tB\004\342A\001\001H\000\022\033\n\013sub_network\030\002 " + + "\001(\tB\004\342A\001\001H\000\022\032\n\014network_tags\030\003 \003(\tB\004\342A\001\001B" + + "\016\n\014network_nameB\013\n\tresourcesB\t\n\007runtimeB" + + "\t\n\007network\032\235\002\n\013TriggerSpec\022D\n\004type\030\005 \001(\016" + + "2/.google.cloud.dataplex.v1.Task.Trigger" + + "Spec.TypeB\005\342A\002\002\005\0224\n\nstart_time\030\006 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\001\022\026\n\010disabl" + + "ed\030\004 \001(\010B\004\342A\001\001\022\031\n\013max_retries\030\007 \001(\005B\004\342A\001" + + "\001\022\030\n\010schedule\030d \001(\tB\004\342A\001\001H\000\":\n\004Type\022\024\n\020T" + + "YPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tRECU" + + "RRING\020\002B\t\n\007trigger\032\232\002\n\rExecutionSpec\022J\n\004" + + "args\030\004 \003(\01326.google.cloud.dataplex.v1.Ta" + + "sk.ExecutionSpec.ArgsEntryB\004\342A\001\001\022\035\n\017serv" + + "ice_account\030\005 \001(\tB\004\342A\001\002\022\025\n\007project\030\007 \001(\t" + + "B\004\342A\001\001\022C\n\032max_job_execution_lifetime\030\010 \001" + + "(\0132\031.google.protobuf.DurationB\004\342A\001\001\022\025\n\007k" + + "ms_key\030\t \001(\tB\004\342A\001\001\032+\n\tArgsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\250\002\n\017SparkTaskCon" + + "fig\022\033\n\021main_jar_file_uri\030d \001(\tH\000\022\024\n\nmain" + + "_class\030e \001(\tH\000\022\034\n\022python_script_file\030f \001" + + "(\tH\000\022\031\n\017sql_script_file\030h \001(\tH\000\022\024\n\nsql_s" + + "cript\030i \001(\tH\000\022\027\n\tfile_uris\030\003 \003(\tB\004\342A\001\001\022\032" + + "\n\014archive_uris\030\004 \003(\tB\004\342A\001\001\022T\n\023infrastruc" + + "ture_spec\030\006 \001(\01321.google.cloud.dataplex." + + "v1.Task.InfrastructureSpecB\004\342A\001\001B\010\n\006driv" + + "er\032\267\001\n\022NotebookTaskConfig\022\026\n\010notebook\030\004 " + + "\001(\tB\004\342A\001\002\022T\n\023infrastructure_spec\030\003 \001(\01321" + + ".google.cloud.dataplex.v1.Task.Infrastru" + + "ctureSpecB\004\342A\001\001\022\027\n\tfile_uris\030\005 \003(\tB\004\342A\001\001" + + "\022\032\n\014archive_uris\030\006 \003(\tB\004\342A\001\001\032\201\001\n\017Executi" + + "onStatus\0225\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\0227\n\nlatest_job\030\t " + + "\001(\0132\035.google.cloud.dataplex.v1.JobB\004\342A\001\003" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001:d\352Aa\n\034dataplex.googleapis.com/Ta" + + "sk\022Aprojects/{project}/locations/{locati" + + "on}/lakes/{lake}/tasks/{task}B\010\n\006config\"" + + "\321\007\n\003Job\0222\n\004name\030\001 \001(\tB$\342A\001\003\372A\035\n\033dataplex" + + ".googleapis.com/Job\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0224" + + "\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0228\n\005state\030\005 \001(\0162" + + "#.google.cloud.dataplex.v1.Job.StateB\004\342A" + + "\001\003\022\031\n\013retry_count\030\006 \001(\rB\004\342A\001\003\022<\n\007service" + + "\030\007 \001(\0162%.google.cloud.dataplex.v1.Job.Se" + + "rviceB\004\342A\001\003\022\031\n\013service_job\030\010 \001(\tB\004\342A\001\003\022\025" + + "\n\007message\030\t \001(\tB\004\342A\001\003\022?\n\006labels\030\n \003(\0132)." + + "google.cloud.dataplex.v1.Job.LabelsEntry" + + "B\004\342A\001\003\022<\n\007trigger\030\013 \001(\0162%.google.cloud.d" + + "ataplex.v1.Job.TriggerB\004\342A\001\003\022J\n\016executio" + + "n_spec\030d \001(\0132,.google.cloud.dataplex.v1." + + "Task.ExecutionSpecB\004\342A\001\003\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"0\n\007Servi" + + "ce\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAPROC\020" + + "\001\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUN" + + "NING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n" + + "\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007ABORTED\020\006\"D\n" + + "\007Trigger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\017\n\013TAS" + + "K_CONFIG\020\001\022\017\n\013RUN_REQUEST\020\002:n\352Ak\n\033datapl" + + "ex.googleapis.com/Job\022Lprojects/{project" + + "}/locations/{location}/lakes/{lake}/task" + + "s/{task}/jobs/{job}Bf\n\034com.google.cloud." + + "dataplex.v1B\nTasksProtoP\001Z8cloud.google." + + "com/go/dataplex/apiv1/dataplexpb;dataple" + + "xpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dataplex_v1_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "CreateTime", + "UpdateTime", + "Description", + "DisplayName", + "State", + "Labels", + "TriggerSpec", + "ExecutionSpec", + "ExecutionStatus", + "Spark", + "Notebook", + "Config", + }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor, + new java.lang.String[] { + "Batch", "ContainerImage", "VpcNetwork", "Resources", "Runtime", "Network", + }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor, + new java.lang.String[] { + "ExecutorsCount", "MaxExecutorsCount", + }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor, + new java.lang.String[] { + "Image", "JavaJars", "PythonPackages", "Properties", + }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor = + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor, + new java.lang.String[] { + "Network", "SubNetwork", "NetworkTags", "NetworkName", + }); + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor, + new java.lang.String[] { + "Type", "StartTime", "Disabled", "MaxRetries", "Schedule", "Trigger", + }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor, + new java.lang.String[] { + "Args", "ServiceAccount", "Project", "MaxJobExecutionLifetime", "KmsKey", + }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor, + new java.lang.String[] { + "MainJarFileUri", + "MainClass", + "PythonScriptFile", + "SqlScriptFile", + "SqlScript", + "FileUris", + "ArchiveUris", + "InfrastructureSpec", + "Driver", + }); + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor, + new java.lang.String[] { + "Notebook", "InfrastructureSpec", "FileUris", "ArchiveUris", + }); + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor, + new java.lang.String[] { + "UpdateTime", "LatestJob", + }); + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataplex_v1_Job_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Job_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "StartTime", + "EndTime", + "State", + "RetryCount", + "Service", + "ServiceJob", + "Message", + "Labels", + "Trigger", + "ExecutionSpec", + }); + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor = + internal_static_google_cloud_dataplex_v1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java index 8ef7c1245dcf..cfdfb9612a57 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Trigger.java @@ -1,91 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * DataScan scheduling and trigger settings.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger} */ -public final class Trigger extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Trigger extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.class, com.google.cloud.dataplex.v1.Trigger.Builder.class); + com.google.cloud.dataplex.v1.Trigger.class, + com.google.cloud.dataplex.v1.Trigger.Builder.class); } - public interface OnDemandOrBuilder extends + public interface OnDemandOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger.OnDemand) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.OnDemand} */ - public static final class OnDemand extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OnDemand extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Trigger.OnDemand) OnDemandOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OnDemand.newBuilder() to construct. private OnDemand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OnDemand() { - } + + private OnDemand() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OnDemand(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.OnDemand.class, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); + com.google.cloud.dataplex.v1.Trigger.OnDemand.class, + com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,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 { getUnknownFields().writeTo(output); } @@ -116,12 +137,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger.OnDemand)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Trigger.OnDemand other = (com.google.cloud.dataplex.v1.Trigger.OnDemand) obj; + com.google.cloud.dataplex.v1.Trigger.OnDemand other = + (com.google.cloud.dataplex.v1.Trigger.OnDemand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -139,90 +161,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Trigger.OnDemand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Trigger.OnDemand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -232,39 +258,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.OnDemand} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Trigger.OnDemand) com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.OnDemand.class, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); + com.google.cloud.dataplex.v1.Trigger.OnDemand.class, + com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -272,9 +300,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor; } @java.lang.Override @@ -293,7 +321,8 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemand buildPartial() { - com.google.cloud.dataplex.v1.Trigger.OnDemand result = new com.google.cloud.dataplex.v1.Trigger.OnDemand(this); + com.google.cloud.dataplex.v1.Trigger.OnDemand result = + new com.google.cloud.dataplex.v1.Trigger.OnDemand(this); onBuilt(); return result; } @@ -302,38 +331,41 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger.OnDemand) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger.OnDemand)other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger.OnDemand) other); } else { super.mergeFrom(other); return this; @@ -341,7 +373,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger.OnDemand other) { - if (other == com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -368,12 +401,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -383,6 +417,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -395,12 +430,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger.OnDemand) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger.OnDemand) private static final com.google.cloud.dataplex.v1.Trigger.OnDemand DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger.OnDemand(); } @@ -409,27 +444,28 @@ public static com.google.cloud.dataplex.v1.Trigger.OnDemand getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OnDemand parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OnDemand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -444,14 +480,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger.OnDemand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ScheduleOrBuilder extends + public interface ScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger.Schedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -468,10 +506,13 @@ public interface ScheduleOrBuilder extends
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cron. */ java.lang.String getCron(); /** + * + * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -488,55 +529,62 @@ public interface ScheduleOrBuilder extends
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cron. */ - com.google.protobuf.ByteString - getCronBytes(); + com.google.protobuf.ByteString getCronBytes(); } /** + * + * *
    * The scan is scheduled to run periodically.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.Schedule} */ - public static final class Schedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Schedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Trigger.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() { cron_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Schedule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.Schedule.class, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); + com.google.cloud.dataplex.v1.Trigger.Schedule.class, + com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); } public static final int CRON_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object cron_ = ""; /** + * + * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -553,6 +601,7 @@ protected java.lang.Object newInstance(
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cron. */ @java.lang.Override @@ -561,14 +610,15 @@ public java.lang.String getCron() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cron_ = s; return s; } } /** + * + * *
      * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
      * scans periodically.
@@ -585,16 +635,15 @@ public java.lang.String getCron() {
      * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cron. */ @java.lang.Override - public com.google.protobuf.ByteString - getCronBytes() { + public com.google.protobuf.ByteString getCronBytes() { java.lang.Object ref = cron_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cron_ = b; return b; } else { @@ -603,6 +652,7 @@ public java.lang.String getCron() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -614,8 +664,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cron_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cron_); } @@ -639,15 +688,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger.Schedule)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Trigger.Schedule other = (com.google.cloud.dataplex.v1.Trigger.Schedule) obj; + com.google.cloud.dataplex.v1.Trigger.Schedule other = + (com.google.cloud.dataplex.v1.Trigger.Schedule) obj; - if (!getCron() - .equals(other.getCron())) return false; + if (!getCron().equals(other.getCron())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -666,90 +715,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger.Schedule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger.Schedule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Trigger.Schedule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.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 @@ -759,39 +812,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Trigger.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.cloud.dataplex.v1.Trigger.Schedule) com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.Schedule.class, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); + com.google.cloud.dataplex.v1.Trigger.Schedule.class, + com.google.cloud.dataplex.v1.Trigger.Schedule.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -801,9 +856,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor; } @java.lang.Override @@ -822,8 +877,11 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.Schedule buildPartial() { - com.google.cloud.dataplex.v1.Trigger.Schedule result = new com.google.cloud.dataplex.v1.Trigger.Schedule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Trigger.Schedule result = + new com.google.cloud.dataplex.v1.Trigger.Schedule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -839,38 +897,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Trigger.Schedule result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger.Schedule) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger.Schedule)other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger.Schedule) other); } else { super.mergeFrom(other); return this; @@ -878,7 +939,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger.Schedule other) { - if (other == com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) + return this; if (!other.getCron().isEmpty()) { cron_ = other.cron_; bitField0_ |= 0x00000001; @@ -910,17 +972,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cron_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + cron_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -930,10 +994,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object cron_ = ""; /** + * + * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -950,13 +1017,13 @@ public Builder mergeFrom(
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cron. */ public java.lang.String getCron() { java.lang.Object ref = cron_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cron_ = s; return s; @@ -965,6 +1032,8 @@ public java.lang.String getCron() { } } /** + * + * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -981,15 +1050,14 @@ public java.lang.String getCron() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cron. */ - public com.google.protobuf.ByteString - getCronBytes() { + public com.google.protobuf.ByteString getCronBytes() { java.lang.Object ref = cron_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cron_ = b; return b; } else { @@ -997,6 +1065,8 @@ public java.lang.String getCron() { } } /** + * + * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1013,18 +1083,22 @@ public java.lang.String getCron() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cron to set. * @return This builder for chaining. */ - public Builder setCron( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCron(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cron_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1041,6 +1115,7 @@ public Builder setCron(
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCron() { @@ -1050,6 +1125,8 @@ public Builder clearCron() { return this; } /** + * + * *
        * Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
        * scans periodically.
@@ -1066,18 +1143,21 @@ public Builder clearCron() {
        * 
* * string cron = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cron to set. * @return This builder for chaining. */ - public Builder setCronBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCronBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cron_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1090,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger.Schedule) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger.Schedule) private static final com.google.cloud.dataplex.v1.Trigger.Schedule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger.Schedule(); } @@ -1104,27 +1184,28 @@ public static com.google.cloud.dataplex.v1.Trigger.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,19 +1220,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger.Schedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int modeCase_ = 0; + @SuppressWarnings("serial") 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 { ON_DEMAND(100), SCHEDULE(101), MODE_NOT_SET(0); private final int value; + private ModeCase(int value) { this.value = value; } @@ -1167,30 +1251,36 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 100: return ON_DEMAND; - case 101: return SCHEDULE; - case 0: return MODE_NOT_SET; - default: return null; + case 100: + return ON_DEMAND; + case 101: + return SCHEDULE; + 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 ON_DEMAND_FIELD_NUMBER = 100; /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return Whether the onDemand field is set. */ @java.lang.Override @@ -1198,21 +1288,26 @@ public boolean hasOnDemand() { return modeCase_ == 100; } /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return The onDemand. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { if (modeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; + return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; } return com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
@@ -1222,18 +1317,21 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuilder() { if (modeCase_ == 100) { - return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; + return (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_; } return com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } public static final int SCHEDULE_FIELD_NUMBER = 101; /** + * + * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -1241,21 +1339,26 @@ public boolean hasSchedule() { return modeCase_ == 101; } /** + * + * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return The schedule. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { if (modeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; + return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; } return com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } /** + * + * *
    * The scan is scheduled to run periodically.
    * 
@@ -1265,12 +1368,13 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuilder() { if (modeCase_ == 101) { - return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; + return (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_; } return com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1282,8 +1386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_ == 100) { output.writeMessage(100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); } @@ -1300,12 +1403,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 100) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 100, (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_); } if (modeCase_ == 101) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(101, (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 101, (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1315,7 +1420,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Trigger)) { return super.equals(obj); @@ -1325,12 +1430,10 @@ public boolean equals(final java.lang.Object obj) { if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 100: - if (!getOnDemand() - .equals(other.getOnDemand())) return false; + if (!getOnDemand().equals(other.getOnDemand())) return false; break; case 101: - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; break; case 0: default: @@ -1363,132 +1466,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Trigger parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Trigger parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Trigger parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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.cloud.dataplex.v1.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 - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DataScan scheduling and trigger settings.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.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.cloud.dataplex.v1.Trigger) com.google.cloud.dataplex.v1.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Trigger.class, com.google.cloud.dataplex.v1.Trigger.Builder.class); + com.google.cloud.dataplex.v1.Trigger.class, + com.google.cloud.dataplex.v1.Trigger.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Trigger.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1505,9 +1611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ProcessingProto.internal_static_google_cloud_dataplex_v1_Trigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ProcessingProto + .internal_static_google_cloud_dataplex_v1_Trigger_descriptor; } @java.lang.Override @@ -1527,7 +1633,9 @@ public com.google.cloud.dataplex.v1.Trigger build() { @java.lang.Override public com.google.cloud.dataplex.v1.Trigger buildPartial() { com.google.cloud.dataplex.v1.Trigger result = new com.google.cloud.dataplex.v1.Trigger(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1540,12 +1648,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Trigger result) { private void buildPartialOneofs(com.google.cloud.dataplex.v1.Trigger result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 100 && - onDemandBuilder_ != null) { + if (modeCase_ == 100 && onDemandBuilder_ != null) { result.mode_ = onDemandBuilder_.build(); } - if (modeCase_ == 101 && - scheduleBuilder_ != null) { + if (modeCase_ == 101 && scheduleBuilder_ != null) { result.mode_ = scheduleBuilder_.build(); } } @@ -1554,38 +1660,39 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Trigger result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Trigger) { - return mergeFrom((com.google.cloud.dataplex.v1.Trigger)other); + return mergeFrom((com.google.cloud.dataplex.v1.Trigger) other); } else { super.mergeFrom(other); return this; @@ -1595,17 +1702,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.dataplex.v1.Trigger other) { if (other == com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) return this; switch (other.getModeCase()) { - case ON_DEMAND: { - mergeOnDemand(other.getOnDemand()); - break; - } - case SCHEDULE: { - mergeSchedule(other.getSchedule()); - break; - } - case MODE_NOT_SET: { - break; - } + case ON_DEMAND: + { + mergeOnDemand(other.getOnDemand()); + break; + } + case SCHEDULE: + { + mergeSchedule(other.getSchedule()); + break; + } + case MODE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1633,26 +1743,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 802: { - input.readMessage( - getOnDemandFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 100; - break; - } // case 802 - case 810: { - input.readMessage( - getScheduleFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 101; - break; - } // case 810 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 802: + { + input.readMessage(getOnDemandFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 100; + break; + } // case 802 + case 810: + { + input.readMessage(getScheduleFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 101; + break; + } // case 810 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1662,12 +1771,12 @@ public Builder mergeFrom( } // finally 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() { @@ -1680,13 +1789,19 @@ public Builder clearMode() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> onDemandBuilder_; + com.google.cloud.dataplex.v1.Trigger.OnDemand, + com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, + com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> + onDemandBuilder_; /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return Whether the onDemand field is set. */ @java.lang.Override @@ -1694,11 +1809,14 @@ public boolean hasOnDemand() { return modeCase_ == 100; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return The onDemand. */ @java.lang.Override @@ -1716,6 +1834,8 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand() { } } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1736,6 +1856,8 @@ public Builder setOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value) return this; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1754,6 +1876,8 @@ public Builder setOnDemand( return this; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1762,10 +1886,13 @@ public Builder setOnDemand( */ public Builder mergeOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value) { if (onDemandBuilder_ == null) { - if (modeCase_ == 100 && - mode_ != com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) { - mode_ = com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder((com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 100 + && mode_ != com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance()) { + mode_ = + com.google.cloud.dataplex.v1.Trigger.OnDemand.newBuilder( + (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1781,6 +1908,8 @@ public Builder mergeOnDemand(com.google.cloud.dataplex.v1.Trigger.OnDemand value return this; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1804,6 +1933,8 @@ public Builder clearOnDemand() { return this; } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1814,6 +1945,8 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder getOnDemandBuilder( return getOnDemandFieldBuilder().getBuilder(); } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1832,6 +1965,8 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild } } /** + * + * *
      * The scan runs once via `RunDataScan` API.
      * 
@@ -1839,14 +1974,19 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> + com.google.cloud.dataplex.v1.Trigger.OnDemand, + com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, + com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder> getOnDemandFieldBuilder() { if (onDemandBuilder_ == null) { if (!(modeCase_ == 100)) { mode_ = com.google.cloud.dataplex.v1.Trigger.OnDemand.getDefaultInstance(); } - onDemandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.OnDemand, com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder>( + onDemandBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger.OnDemand, + com.google.cloud.dataplex.v1.Trigger.OnDemand.Builder, + com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder>( (com.google.cloud.dataplex.v1.Trigger.OnDemand) mode_, getParentForChildren(), isClean()); @@ -1858,13 +1998,19 @@ public com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> scheduleBuilder_; + com.google.cloud.dataplex.v1.Trigger.Schedule, + com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, + com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> + scheduleBuilder_; /** + * + * *
      * The scan is scheduled to run periodically.
      * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -1872,11 +2018,14 @@ public boolean hasSchedule() { return modeCase_ == 101; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return The schedule. */ @java.lang.Override @@ -1894,6 +2043,8 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule() { } } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -1914,6 +2065,8 @@ public Builder setSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value) return this; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -1932,6 +2085,8 @@ public Builder setSchedule( return this; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -1940,10 +2095,13 @@ public Builder setSchedule( */ public Builder mergeSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value) { if (scheduleBuilder_ == null) { - if (modeCase_ == 101 && - mode_ != com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) { - mode_ = com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder((com.google.cloud.dataplex.v1.Trigger.Schedule) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 101 + && mode_ != com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance()) { + mode_ = + com.google.cloud.dataplex.v1.Trigger.Schedule.newBuilder( + (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1959,6 +2117,8 @@ public Builder mergeSchedule(com.google.cloud.dataplex.v1.Trigger.Schedule value return this; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -1982,6 +2142,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -1992,6 +2154,8 @@ public com.google.cloud.dataplex.v1.Trigger.Schedule.Builder getScheduleBuilder( return getScheduleFieldBuilder().getBuilder(); } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -2010,6 +2174,8 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild } } /** + * + * *
      * The scan is scheduled to run periodically.
      * 
@@ -2017,14 +2183,19 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> + com.google.cloud.dataplex.v1.Trigger.Schedule, + com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, + com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { if (!(modeCase_ == 101)) { mode_ = com.google.cloud.dataplex.v1.Trigger.Schedule.getDefaultInstance(); } - scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Trigger.Schedule, com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder>( + scheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Trigger.Schedule, + com.google.cloud.dataplex.v1.Trigger.Schedule.Builder, + com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder>( (com.google.cloud.dataplex.v1.Trigger.Schedule) mode_, getParentForChildren(), isClean()); @@ -2034,9 +2205,9 @@ public com.google.cloud.dataplex.v1.Trigger.ScheduleOrBuilder getScheduleOrBuild onChanged(); return scheduleBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2046,12 +2217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Trigger) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Trigger) private static final com.google.cloud.dataplex.v1.Trigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Trigger(); } @@ -2060,27 +2231,27 @@ public static com.google.cloud.dataplex.v1.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2095,6 +2266,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java similarity index 71% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java index e2568d40f15c..94b39be52107 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TriggerOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/processing.proto package com.google.cloud.dataplex.v1; -public interface TriggerOrBuilder extends +public interface TriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Trigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return Whether the onDemand field is set. */ boolean hasOnDemand(); /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
* * .google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100; + * * @return The onDemand. */ com.google.cloud.dataplex.v1.Trigger.OnDemand getOnDemand(); /** + * + * *
    * The scan runs once via `RunDataScan` API.
    * 
@@ -35,24 +59,32 @@ public interface TriggerOrBuilder extends com.google.cloud.dataplex.v1.Trigger.OnDemandOrBuilder getOnDemandOrBuilder(); /** + * + * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
    * The scan is scheduled to run periodically.
    * 
* * .google.cloud.dataplex.v1.Trigger.Schedule schedule = 101; + * * @return The schedule. */ com.google.cloud.dataplex.v1.Trigger.Schedule getSchedule(); /** + * + * *
    * The scan is scheduled to run periodically.
    * 
diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java index de1b82ea1baf..10a2378131bf 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update asset request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateAssetRequest} */ -public final class UpdateAssetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAssetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateAssetRequest) UpdateAssetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAssetRequest.newBuilder() to construct. private UpdateAssetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAssetRequest() { - } + + private UpdateAssetRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAssetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateAssetRequest.class, com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateAssetRequest.class, + com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ASSET_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Asset asset_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ @java.lang.Override @@ -96,12 +129,16 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ @java.lang.Override @@ -109,12 +146,15 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { @@ -124,12 +164,15 @@ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +181,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +213,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAsset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAsset()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +229,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateAssetRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateAssetRequest other = (com.google.cloud.dataplex.v1.UpdateAssetRequest) obj; + com.google.cloud.dataplex.v1.UpdateAssetRequest other = + (com.google.cloud.dataplex.v1.UpdateAssetRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset() - .equals(other.getAsset())) return false; + if (!getAsset().equals(other.getAsset())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +266,142 @@ public int hashCode() { hash = (53 * hash) + getAsset().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateAssetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateAssetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update asset request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateAssetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateAssetRequest) com.google.cloud.dataplex.v1.UpdateAssetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateAssetRequest.class, com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateAssetRequest.class, + com.google.cloud.dataplex.v1.UpdateAssetRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateAssetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; } @java.lang.Override @@ -401,8 +442,11 @@ public com.google.cloud.dataplex.v1.UpdateAssetRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateAssetRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateAssetRequest result = new com.google.cloud.dataplex.v1.UpdateAssetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateAssetRequest result = + new com.google.cloud.dataplex.v1.UpdateAssetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +454,10 @@ public com.google.cloud.dataplex.v1.UpdateAssetRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateAssetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.asset_ = assetBuilder_ == null - ? asset_ - : assetBuilder_.build(); + result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +468,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateAssetRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateAssetRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateAssetRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateAssetRequest) other); } else { super.mergeFrom(other); return this; @@ -467,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateAssetRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -503,31 +545,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAssetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +579,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +648,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +668,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +694,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +714,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +729,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,26 +776,37 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> assetBuilder_; + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> + assetBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ public boolean hasAsset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ public com.google.cloud.dataplex.v1.Asset getAsset() { @@ -726,12 +817,15 @@ public com.google.cloud.dataplex.v1.Asset getAsset() { } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { @@ -747,15 +841,17 @@ public Builder setAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAsset( - com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { + public Builder setAsset(com.google.cloud.dataplex.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); } else { @@ -766,18 +862,21 @@ public Builder setAsset( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - asset_ != null && - asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && asset_ != null + && asset_ != com.google.cloud.dataplex.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -790,12 +889,15 @@ public Builder mergeAsset(com.google.cloud.dataplex.v1.Asset value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAsset() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +910,15 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +926,62 @@ public com.google.cloud.dataplex.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? - com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? com.google.cloud.dataplex.v1.Asset.getDefaultInstance() : asset_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder> + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Asset, com.google.cloud.dataplex.v1.Asset.Builder, com.google.cloud.dataplex.v1.AssetOrBuilder>( - getAsset(), - getParentForChildren(), - isClean()); + assetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Asset, + com.google.cloud.dataplex.v1.Asset.Builder, + com.google.cloud.dataplex.v1.AssetOrBuilder>( + getAsset(), getParentForChildren(), isClean()); asset_ = null; } return assetBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +989,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1009,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1026,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateAssetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateAssetRequest) private static final com.google.cloud.dataplex.v1.UpdateAssetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateAssetRequest(); } @@ -930,27 +1052,27 @@ public static com.google.cloud.dataplex.v1.UpdateAssetRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAssetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAssetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1087,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateAssetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java index 1339dac97a26..10ad47a5b6ed 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateAssetRequestOrBuilder.java @@ -1,76 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateAssetRequestOrBuilder extends +public interface UpdateAssetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateAssetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the asset field is set. */ boolean hasAsset(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The asset. */ com.google.cloud.dataplex.v1.Asset getAsset(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.AssetOrBuilder getAssetOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java similarity index 65% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java index 54ebe54c184a..109f1d9095d6 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update content request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateContentRequest} */ -public final class UpdateContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateContentRequest) UpdateContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateContentRequest.newBuilder() to construct. private UpdateContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateContentRequest() { - } + + private UpdateContentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateContentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateContentRequest.class, com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateContentRequest.class, + com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Content content_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ @java.lang.Override @@ -96,12 +129,16 @@ public boolean hasContent() { return content_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ @java.lang.Override @@ -109,12 +146,15 @@ public com.google.cloud.dataplex.v1.Content getContent() { return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { @@ -124,12 +164,15 @@ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +181,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +213,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContent()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +229,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateContentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateContentRequest other = (com.google.cloud.dataplex.v1.UpdateContentRequest) obj; + com.google.cloud.dataplex.v1.UpdateContentRequest other = + (com.google.cloud.dataplex.v1.UpdateContentRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +266,142 @@ public int hashCode() { hash = (53 * hash) + getContent().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update content request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateContentRequest) com.google.cloud.dataplex.v1.UpdateContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateContentRequest.class, com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateContentRequest.class, + com.google.cloud.dataplex.v1.UpdateContentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateContentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ContentProto.internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ContentProto + .internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; } @java.lang.Override @@ -401,8 +442,11 @@ public com.google.cloud.dataplex.v1.UpdateContentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateContentRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateContentRequest result = new com.google.cloud.dataplex.v1.UpdateContentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateContentRequest result = + new com.google.cloud.dataplex.v1.UpdateContentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +454,10 @@ public com.google.cloud.dataplex.v1.UpdateContentRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateContentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.content_ = contentBuilder_ == null - ? content_ - : contentBuilder_.build(); + result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +468,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateContentRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateContentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateContentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateContentRequest) other); } else { super.mergeFrom(other); return this; @@ -467,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateContentRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateContentRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -503,31 +545,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getContentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +579,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +648,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +668,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +694,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +714,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +729,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,42 +776,61 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Content content_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> contentBuilder_; + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> + contentBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ public com.google.cloud.dataplex.v1.Content getContent() { if (contentBuilder_ == null) { - return content_ == null ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() + : content_; } else { return contentBuilder_.getMessage(); } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { @@ -747,15 +846,18 @@ public Builder setContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setContent( - com.google.cloud.dataplex.v1.Content.Builder builderForValue) { + public Builder setContent(com.google.cloud.dataplex.v1.Content.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); } else { @@ -766,18 +868,22 @@ public Builder setContent( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - content_ != null && - content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && content_ != null + && content_ != com.google.cloud.dataplex.v1.Content.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -790,12 +896,16 @@ public Builder mergeContent(com.google.cloud.dataplex.v1.Content value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +918,16 @@ public Builder clearContent() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +935,66 @@ public com.google.cloud.dataplex.v1.Content.Builder getContentBuilder() { return getContentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null ? - com.google.cloud.dataplex.v1.Content.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.dataplex.v1.Content.getDefaultInstance() + : content_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder> + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Content, com.google.cloud.dataplex.v1.Content.Builder, com.google.cloud.dataplex.v1.ContentOrBuilder>( - getContent(), - getParentForChildren(), - isClean()); + contentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Content, + com.google.cloud.dataplex.v1.Content.Builder, + com.google.cloud.dataplex.v1.ContentOrBuilder>( + getContent(), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +1002,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1022,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1039,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateContentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateContentRequest) private static final com.google.cloud.dataplex.v1.UpdateContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateContentRequest(); } @@ -930,27 +1065,27 @@ public static com.google.cloud.dataplex.v1.UpdateContentRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1100,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java index 44b34a450616..50d3a1d64274 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateContentRequestOrBuilder.java @@ -1,76 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/content.proto package com.google.cloud.dataplex.v1; -public interface UpdateContentRequestOrBuilder extends +public interface UpdateContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the content field is set. */ boolean hasContent(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The content. */ com.google.cloud.dataplex.v1.Content getContent(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.ContentOrBuilder getContentOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java similarity index 61% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java index e72a31ab7fc5..faebd0cf1b7e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequest.java @@ -1,55 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update DataAttributeBinding request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest} */ -public final class UpdateDataAttributeBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataAttributeBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) UpdateDataAttributeBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataAttributeBindingRequest.newBuilder() to construct. - private UpdateDataAttributeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataAttributeBindingRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataAttributeBindingRequest() { - } + + private UpdateDataAttributeBindingRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataAttributeBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +80,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +96,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,11 +113,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_ATTRIBUTE_BINDING_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ @java.lang.Override @@ -95,38 +130,55 @@ public boolean hasDataAttributeBinding() { return dataAttributeBinding_ != null; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingOrBuilder() { + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -135,6 +187,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -167,16 +219,14 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (dataAttributeBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataAttributeBinding()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataAttributeBinding()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,25 +236,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other = (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other = + (com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasDataAttributeBinding() != other.hasDataAttributeBinding()) return false; if (hasDataAttributeBinding()) { - if (!getDataAttributeBinding() - .equals(other.getDataAttributeBinding())) return false; + if (!getDataAttributeBinding().equals(other.getDataAttributeBinding())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,139 +273,143 @@ public int hashCode() { hash = (53 * hash) + getDataAttributeBinding().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update DataAttributeBinding request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,13 +429,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance(); } @@ -398,23 +451,26 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result = new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result = + new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataAttributeBinding_ = dataAttributeBindingBuilder_ == null - ? dataAttributeBinding_ - : dataAttributeBindingBuilder_.build(); + result.dataAttributeBinding_ = + dataAttributeBindingBuilder_ == null + ? dataAttributeBinding_ + : dataAttributeBindingBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +481,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeBindi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +521,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -500,31 +559,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataAttributeBindingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getDataAttributeBindingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,43 +594,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -586,14 +663,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -604,17 +683,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -627,11 +709,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -644,11 +729,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -656,36 +744,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -693,41 +791,61 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataAttributeBinding dataAttributeBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> dataAttributeBindingBuilder_; + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + dataAttributeBindingBuilder_; /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ public boolean hasDataAttributeBinding() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding() { if (dataAttributeBindingBuilder_ == null) { - return dataAttributeBinding_ == null ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } else { return dataAttributeBindingBuilder_.getMessage(); } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder setDataAttributeBinding( + com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -741,11 +859,15 @@ public Builder setDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttribut return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttributeBinding( com.google.cloud.dataplex.v1.DataAttributeBinding.Builder builderForValue) { @@ -759,17 +881,23 @@ public Builder setDataAttributeBinding( return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttributeBinding value) { + public Builder mergeDataAttributeBinding( + com.google.cloud.dataplex.v1.DataAttributeBinding value) { if (dataAttributeBindingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataAttributeBinding_ != null && - dataAttributeBinding_ != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataAttributeBinding_ != null + && dataAttributeBinding_ + != com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance()) { getDataAttributeBindingBuilder().mergeFrom(value); } else { dataAttributeBinding_ = value; @@ -782,11 +910,15 @@ public Builder mergeDataAttributeBinding(com.google.cloud.dataplex.v1.DataAttrib return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataAttributeBinding() { bitField0_ = (bitField0_ & ~0x00000002); @@ -799,61 +931,82 @@ public Builder clearDataAttributeBinding() { return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder getDataAttributeBindingBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBinding.Builder + getDataAttributeBindingBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataAttributeBindingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder() { + public com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder + getDataAttributeBindingOrBuilder() { if (dataAttributeBindingBuilder_ != null) { return dataAttributeBindingBuilder_.getMessageOrBuilder(); } else { - return dataAttributeBinding_ == null ? - com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() : dataAttributeBinding_; + return dataAttributeBinding_ == null + ? com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance() + : dataAttributeBinding_; } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder> getDataAttributeBindingFieldBuilder() { if (dataAttributeBindingBuilder_ == null) { - dataAttributeBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttributeBinding, com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( - getDataAttributeBinding(), - getParentForChildren(), - isClean()); + dataAttributeBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttributeBinding, + com.google.cloud.dataplex.v1.DataAttributeBinding.Builder, + com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder>( + getDataAttributeBinding(), getParentForChildren(), isClean()); dataAttributeBinding_ = null; } return dataAttributeBindingBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -861,12 +1014,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -878,12 +1034,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -892,9 +1051,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,41 +1063,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) - private static final com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest(); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstance() { + public static com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataAttributeBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataAttributeBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,9 +1111,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java index 9ed3c01d0f93..50b33d550432 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeBindingRequestOrBuilder.java @@ -1,73 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataAttributeBindingRequestOrBuilder extends +public interface UpdateDataAttributeBindingRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttributeBinding field is set. */ boolean hasDataAttributeBinding(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttributeBinding. */ com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java index 5e88e389c9ca..caa15913dae0 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update DataAttribute request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeRequest} */ -public final class UpdateDataAttributeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataAttributeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataAttributeRequest) UpdateDataAttributeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataAttributeRequest.newBuilder() to construct. private UpdateDataAttributeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataAttributeRequest() { - } + + private UpdateDataAttributeRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataAttributeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,11 +112,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_ATTRIBUTE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ @java.lang.Override @@ -95,38 +129,54 @@ public boolean hasDataAttribute() { return dataAttribute_ != null; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -135,6 +185,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -167,16 +217,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (dataAttribute_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataAttribute()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataAttribute()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,25 +233,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other = (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other = + (com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasDataAttribute() != other.hasDataAttribute()) return false; if (hasDataAttribute()) { - if (!getDataAttribute() - .equals(other.getDataAttribute())) return false; + if (!getDataAttribute().equals(other.getDataAttribute())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,139 +270,143 @@ public int hashCode() { hash = (53 * hash) + getDataAttribute().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update DataAttribute request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataAttributeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataAttributeRequest) com.google.cloud.dataplex.v1.UpdateDataAttributeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; } @java.lang.Override @@ -398,8 +447,11 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result = new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result = + new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -407,14 +459,11 @@ public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataAttribute_ = dataAttributeBuilder_ == null - ? dataAttribute_ - : dataAttributeBuilder_.build(); + result.dataAttribute_ = + dataAttributeBuilder_ == null ? dataAttribute_ : dataAttributeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +474,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataAttributeReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -500,31 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataAttributeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataAttributeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,43 +585,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -586,14 +654,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -604,17 +674,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -627,11 +700,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -644,11 +720,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -656,36 +735,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -693,39 +782,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataAttribute dataAttribute_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> dataAttributeBuilder_; + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + dataAttributeBuilder_; /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ public boolean hasDataAttribute() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute() { if (dataAttributeBuilder_ == null) { - return dataAttribute_ == null ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } else { return dataAttributeBuilder_.getMessage(); } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { @@ -741,11 +849,15 @@ public Builder setDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataAttribute( com.google.cloud.dataplex.v1.DataAttribute.Builder builderForValue) { @@ -759,17 +871,21 @@ public Builder setDataAttribute( return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute value) { if (dataAttributeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataAttribute_ != null && - dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataAttribute_ != null + && dataAttribute_ != com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance()) { getDataAttributeBuilder().mergeFrom(value); } else { dataAttribute_ = value; @@ -782,11 +898,15 @@ public Builder mergeDataAttribute(com.google.cloud.dataplex.v1.DataAttribute val return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataAttribute() { bitField0_ = (bitField0_ & ~0x00000002); @@ -799,11 +919,15 @@ public Builder clearDataAttribute() { return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilder() { bitField0_ |= 0x00000002; @@ -811,49 +935,64 @@ public com.google.cloud.dataplex.v1.DataAttribute.Builder getDataAttributeBuilde return getDataAttributeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder() { if (dataAttributeBuilder_ != null) { return dataAttributeBuilder_.getMessageOrBuilder(); } else { - return dataAttribute_ == null ? - com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() : dataAttribute_; + return dataAttribute_ == null + ? com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance() + : dataAttribute_; } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder> + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder> getDataAttributeFieldBuilder() { if (dataAttributeBuilder_ == null) { - dataAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataAttribute, com.google.cloud.dataplex.v1.DataAttribute.Builder, com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( - getDataAttribute(), - getParentForChildren(), - isClean()); + dataAttributeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataAttribute, + com.google.cloud.dataplex.v1.DataAttribute.Builder, + com.google.cloud.dataplex.v1.DataAttributeOrBuilder>( + getDataAttribute(), getParentForChildren(), isClean()); dataAttribute_ = null; } return dataAttributeBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -861,12 +1000,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -878,12 +1020,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -892,9 +1037,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataAttributeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataAttributeRequest) private static final com.google.cloud.dataplex.v1.UpdateDataAttributeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataAttributeRequest(); } @@ -918,27 +1063,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataAttributeRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataAttributeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataAttributeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,6 +1098,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.UpdateDataAttributeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java index 7778d440cb51..cbdfedeefbc3 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataAttributeRequestOrBuilder.java @@ -1,73 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataAttributeRequestOrBuilder extends +public interface UpdateDataAttributeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataAttributeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataAttribute field is set. */ boolean hasDataAttribute(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataAttribute. */ com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataAttributeOrBuilder getDataAttributeOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java index b59bd5449df2..a43a5227480d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update dataScan request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataScanRequest} */ -public final class UpdateDataScanRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataScanRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataScanRequest) UpdateDataScanRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataScanRequest.newBuilder() to construct. private UpdateDataScanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataScanRequest() { - } + + private UpdateDataScanRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataScanRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, + com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); } public static final int DATA_SCAN_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataScan dataScan_; /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ @java.lang.Override @@ -59,41 +82,58 @@ public boolean hasDataScan() { return dataScan_ != null; } /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan getDataScan() { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -101,11 +141,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -113,11 +157,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -127,12 +174,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -141,6 +191,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,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 { if (dataScan_ != null) { output.writeMessage(1, getDataScan()); } @@ -173,16 +223,13 @@ public int getSerializedSize() { size = 0; if (dataScan_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataScan()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataScan()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,25 +239,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataScanRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataScanRequest other = (com.google.cloud.dataplex.v1.UpdateDataScanRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataScanRequest other = + (com.google.cloud.dataplex.v1.UpdateDataScanRequest) obj; if (hasDataScan() != other.hasDataScan()) return false; if (hasDataScan()) { - if (!getDataScan() - .equals(other.getDataScan())) return false; + if (!getDataScan().equals(other.getDataScan())) 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 (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,139 +276,142 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataScanRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataScanRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update dataScan request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataScanRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataScanRequest) com.google.cloud.dataplex.v1.UpdateDataScanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, + com.google.cloud.dataplex.v1.UpdateDataScanRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataScanRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataScansProto.internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataScansProto + .internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; } @java.lang.Override @@ -404,8 +452,11 @@ public com.google.cloud.dataplex.v1.UpdateDataScanRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataScanRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataScanRequest result = new com.google.cloud.dataplex.v1.UpdateDataScanRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateDataScanRequest result = + new com.google.cloud.dataplex.v1.UpdateDataScanRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -413,14 +464,10 @@ public com.google.cloud.dataplex.v1.UpdateDataScanRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataScanRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataScan_ = dataScanBuilder_ == null - ? dataScan_ - : dataScanBuilder_.build(); + result.dataScan_ = dataScanBuilder_ == null ? dataScan_ : dataScanBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -431,38 +478,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataScanRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataScanRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataScanRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataScanRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataScanRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance()) + return this; if (other.hasDataScan()) { mergeDataScan(other.getDataScan()); } @@ -506,31 +555,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataScanFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDataScanFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,49 +589,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.dataplex.v1.DataScan dataScan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> dataScanBuilder_; + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> + dataScanBuilder_; /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ public boolean hasDataScan() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ public com.google.cloud.dataplex.v1.DataScan getDataScan() { if (dataScanBuilder_ == null) { - return dataScan_ == null ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } else { return dataScanBuilder_.getMessage(); } } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { @@ -598,16 +667,19 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataScan( - com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { + public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builderForValue) { if (dataScanBuilder_ == null) { dataScan_ = builderForValue.build(); } else { @@ -618,19 +690,23 @@ public Builder setDataScan( return this; } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { if (dataScanBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataScan_ != null && - dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataScan_ != null + && dataScan_ != com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) { getDataScanBuilder().mergeFrom(value); } else { dataScan_ = value; @@ -643,13 +719,17 @@ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { return this; } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataScan() { bitField0_ = (bitField0_ & ~0x00000001); @@ -662,13 +742,17 @@ public Builder clearDataScan() { return this; } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { bitField0_ |= 0x00000001; @@ -676,40 +760,52 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { return getDataScanFieldBuilder().getBuilder(); } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { if (dataScanBuilder_ != null) { return dataScanBuilder_.getMessageOrBuilder(); } else { - return dataScan_ == null ? - com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() : dataScan_; + return dataScan_ == null + ? com.google.cloud.dataplex.v1.DataScan.getDefaultInstance() + : dataScan_; } } /** + * + * *
      * Required. DataScan resource to be updated.
      *
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder> + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder> getDataScanFieldBuilder() { if (dataScanBuilder_ == null) { - dataScanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataScan, com.google.cloud.dataplex.v1.DataScan.Builder, com.google.cloud.dataplex.v1.DataScanOrBuilder>( - getDataScan(), - getParentForChildren(), - isClean()); + dataScanBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataScan, + com.google.cloud.dataplex.v1.DataScan.Builder, + com.google.cloud.dataplex.v1.DataScanOrBuilder>( + getDataScan(), getParentForChildren(), isClean()); dataScan_ = null; } return dataScanBuilder_; @@ -717,39 +813,55 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -765,14 +877,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -783,17 +897,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -806,11 +923,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -823,11 +943,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -835,49 +958,62 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -885,12 +1021,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -902,12 +1041,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is `false`.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -916,9 +1058,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - 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 +1070,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataScanRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataScanRequest) private static final com.google.cloud.dataplex.v1.UpdateDataScanRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataScanRequest(); } @@ -942,27 +1084,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataScanRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataScanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataScanRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateDataScanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java index cfed464e03b5..85d8f4b277d2 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java @@ -1,79 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/datascans.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataScanRequestOrBuilder extends +public interface UpdateDataScanRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataScanRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataScan field is set. */ boolean hasDataScan(); /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataScan. */ com.google.cloud.dataplex.v1.DataScan getDataScan(); /** + * + * *
    * Required. DataScan resource to be updated.
    *
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is `false`.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java index 0ea43a3eb5d9..cb2f9999592b 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update DataTaxonomy request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataTaxonomyRequest} */ -public final class UpdateDataTaxonomyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) UpdateDataTaxonomyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataTaxonomyRequest.newBuilder() to construct. private UpdateDataTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataTaxonomyRequest() { - } + + private UpdateDataTaxonomyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataTaxonomyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,11 +112,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DATA_TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ @java.lang.Override @@ -95,38 +129,54 @@ public boolean hasDataTaxonomy() { return dataTaxonomy_ != null; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -135,6 +185,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -167,16 +217,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (dataTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataTaxonomy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataTaxonomy()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,25 +233,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other = (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) obj; + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other = + (com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasDataTaxonomy() != other.hasDataTaxonomy()) return false; if (hasDataTaxonomy()) { - if (!getDataTaxonomy() - .equals(other.getDataTaxonomy())) return false; + if (!getDataTaxonomy().equals(other.getDataTaxonomy())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,139 +270,143 @@ public int hashCode() { hash = (53 * hash) + getDataTaxonomy().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update DataTaxonomy request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateDataTaxonomyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.DataTaxonomyProto + .internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; } @java.lang.Override @@ -398,8 +447,11 @@ public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result = new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result = + new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -407,14 +459,11 @@ public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataTaxonomy_ = dataTaxonomyBuilder_ == null - ? dataTaxonomy_ - : dataTaxonomyBuilder_.build(); + result.dataTaxonomy_ = + dataTaxonomyBuilder_ == null ? dataTaxonomy_ : dataTaxonomyBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -425,38 +474,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateDataTaxonomyReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -500,31 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataTaxonomyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataTaxonomyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,43 +585,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -586,14 +654,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -604,17 +674,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -627,11 +700,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -644,11 +720,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -656,36 +735,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -693,39 +782,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.DataTaxonomy dataTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> dataTaxonomyBuilder_; + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + dataTaxonomyBuilder_; /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ public boolean hasDataTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy() { if (dataTaxonomyBuilder_ == null) { - return dataTaxonomy_ == null ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } else { return dataTaxonomyBuilder_.getMessage(); } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { @@ -741,11 +849,15 @@ public Builder setDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataTaxonomy( com.google.cloud.dataplex.v1.DataTaxonomy.Builder builderForValue) { @@ -759,17 +871,21 @@ public Builder setDataTaxonomy( return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value) { if (dataTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataTaxonomy_ != null && - dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataTaxonomy_ != null + && dataTaxonomy_ != com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance()) { getDataTaxonomyBuilder().mergeFrom(value); } else { dataTaxonomy_ = value; @@ -782,11 +898,15 @@ public Builder mergeDataTaxonomy(com.google.cloud.dataplex.v1.DataTaxonomy value return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataTaxonomy() { bitField0_ = (bitField0_ & ~0x00000002); @@ -799,11 +919,15 @@ public Builder clearDataTaxonomy() { return this; } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder() { bitField0_ |= 0x00000002; @@ -811,49 +935,64 @@ public com.google.cloud.dataplex.v1.DataTaxonomy.Builder getDataTaxonomyBuilder( return getDataTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder() { if (dataTaxonomyBuilder_ != null) { return dataTaxonomyBuilder_.getMessageOrBuilder(); } else { - return dataTaxonomy_ == null ? - com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() : dataTaxonomy_; + return dataTaxonomy_ == null + ? com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance() + : dataTaxonomy_; } } /** + * + * *
      * Required. Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder> getDataTaxonomyFieldBuilder() { if (dataTaxonomyBuilder_ == null) { - dataTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.DataTaxonomy, com.google.cloud.dataplex.v1.DataTaxonomy.Builder, com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( - getDataTaxonomy(), - getParentForChildren(), - isClean()); + dataTaxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.DataTaxonomy, + com.google.cloud.dataplex.v1.DataTaxonomy.Builder, + com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder>( + getDataTaxonomy(), getParentForChildren(), isClean()); dataTaxonomy_ = null; } return dataTaxonomyBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -861,12 +1000,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -878,12 +1020,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -892,9 +1037,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) private static final com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest(); } @@ -918,27 +1063,27 @@ public static com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,6 +1098,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java index 1afd0886af7b..e5423272ff4d 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataTaxonomyRequestOrBuilder.java @@ -1,73 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/data_taxonomy.proto package com.google.cloud.dataplex.v1; -public interface UpdateDataTaxonomyRequestOrBuilder extends +public interface UpdateDataTaxonomyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataTaxonomy field is set. */ boolean hasDataTaxonomy(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataTaxonomy. */ com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(); /** + * + * *
    * Required. Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.DataTaxonomyOrBuilder getDataTaxonomyOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java similarity index 67% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java index f6087ba5209e..9a3351505680 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update a metadata entity request.
  * The exiting entity will be fully replaced by the entity in the request.
@@ -13,46 +30,51 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.UpdateEntityRequest}
  */
-public final class UpdateEntityRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateEntityRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateEntityRequest)
     UpdateEntityRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateEntityRequest.newBuilder() to construct.
   private UpdateEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateEntityRequest() {
-  }
+
+  private UpdateEntityRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateEntityRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.MetadataProto
+        .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.MetadataProto
+        .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.UpdateEntityRequest.class, com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
+            com.google.cloud.dataplex.v1.UpdateEntityRequest.class,
+            com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
   }
 
   public static final int ENTITY_FIELD_NUMBER = 2;
   private com.google.cloud.dataplex.v1.Entity entity_;
   /**
+   *
+   *
    * 
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ @java.lang.Override @@ -60,11 +82,15 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ @java.lang.Override @@ -72,11 +98,14 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } /** + * + * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { @@ -86,12 +115,15 @@ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -100,6 +132,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entity_ != null) { output.writeMessage(2, getEntity()); } @@ -129,12 +161,10 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntity()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,20 +174,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateEntityRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateEntityRequest other = (com.google.cloud.dataplex.v1.UpdateEntityRequest) obj; + com.google.cloud.dataplex.v1.UpdateEntityRequest other = + (com.google.cloud.dataplex.v1.UpdateEntityRequest) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -174,106 +203,110 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateEntityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateEntityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update a metadata entity request.
    * The exiting entity will be fully replaced by the entity in the request.
@@ -283,33 +316,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.UpdateEntityRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateEntityRequest)
       com.google.cloud.dataplex.v1.UpdateEntityRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.MetadataProto
+          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.MetadataProto
+          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.UpdateEntityRequest.class, com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
+              com.google.cloud.dataplex.v1.UpdateEntityRequest.class,
+              com.google.cloud.dataplex.v1.UpdateEntityRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.UpdateEntityRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -324,9 +356,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.MetadataProto.internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.MetadataProto
+          .internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor;
     }
 
     @java.lang.Override
@@ -345,8 +377,11 @@ public com.google.cloud.dataplex.v1.UpdateEntityRequest build() {
 
     @java.lang.Override
     public com.google.cloud.dataplex.v1.UpdateEntityRequest buildPartial() {
-      com.google.cloud.dataplex.v1.UpdateEntityRequest result = new com.google.cloud.dataplex.v1.UpdateEntityRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.dataplex.v1.UpdateEntityRequest result =
+          new com.google.cloud.dataplex.v1.UpdateEntityRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -354,9 +389,7 @@ public com.google.cloud.dataplex.v1.UpdateEntityRequest buildPartial() {
     private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEntityRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entity_ = entityBuilder_ == null
-            ? entity_
-            : entityBuilder_.build();
+        result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.validateOnly_ = validateOnly_;
@@ -367,38 +400,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEntityRequest resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.UpdateEntityRequest) {
-        return mergeFrom((com.google.cloud.dataplex.v1.UpdateEntityRequest)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.UpdateEntityRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,7 +440,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateEntityRequest other) {
-      if (other == com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance())
+        return this;
       if (other.hasEntity()) {
         mergeEntity(other.getEntity());
       }
@@ -439,24 +474,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getEntityFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 24: {
-              validateOnly_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 24:
+              {
+                validateOnly_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -466,28 +502,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.dataplex.v1.Entity entity_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> entityBuilder_;
+            com.google.cloud.dataplex.v1.Entity,
+            com.google.cloud.dataplex.v1.Entity.Builder,
+            com.google.cloud.dataplex.v1.EntityOrBuilder>
+        entityBuilder_;
     /**
+     *
+     *
      * 
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ public com.google.cloud.dataplex.v1.Entity getEntity() { @@ -498,11 +546,14 @@ public com.google.cloud.dataplex.v1.Entity getEntity() { } } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { @@ -518,14 +569,16 @@ public Builder setEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntity( - com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { + public Builder setEntity(com.google.cloud.dataplex.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -536,17 +589,20 @@ public Builder setEntity( return this; } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entity_ != null && - entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entity_ != null + && entity_ != com.google.cloud.dataplex.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -559,11 +615,14 @@ public Builder mergeEntity(com.google.cloud.dataplex.v1.Entity value) { return this; } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntity() { bitField0_ = (bitField0_ & ~0x00000001); @@ -576,11 +635,14 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { bitField0_ |= 0x00000001; @@ -588,49 +650,60 @@ public com.google.cloud.dataplex.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? com.google.cloud.dataplex.v1.Entity.getDefaultInstance() : entity_; } } /** + * + * *
      * Required. Update description.
      * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder> + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Entity, com.google.cloud.dataplex.v1.Entity.Builder, com.google.cloud.dataplex.v1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Entity, + com.google.cloud.dataplex.v1.Entity.Builder, + com.google.cloud.dataplex.v1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -638,12 +711,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -655,12 +731,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -669,9 +748,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -681,12 +760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateEntityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateEntityRequest) private static final com.google.cloud.dataplex.v1.UpdateEntityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateEntityRequest(); } @@ -695,27 +774,27 @@ public static com.google.cloud.dataplex.v1.UpdateEntityRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEntityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEntityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -730,6 +809,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateEntityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java index 34fde53be93c..fa0bd78bded4 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEntityRequestOrBuilder.java @@ -1,46 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/metadata.proto package com.google.cloud.dataplex.v1; -public interface UpdateEntityRequestOrBuilder extends +public interface UpdateEntityRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateEntityRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entity. */ com.google.cloud.dataplex.v1.Entity getEntity(); /** + * + * *
    * Required. Update description.
    * 
* - * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java similarity index 64% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java index e72caecd6357..3e10e22a11ca 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update environment request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateEnvironmentRequest() { - } + + private UpdateEnvironmentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Environment environment_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ @java.lang.Override @@ -96,40 +130,56 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ @java.lang.Override public com.google.cloud.dataplex.v1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +188,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +220,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +236,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other = (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) obj; + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other = + (com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment() - .equals(other.getEnvironment())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +273,143 @@ public int hashCode() { hash = (53 * hash) + getEnvironment().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update environment request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateEnvironmentRequest) com.google.cloud.dataplex.v1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override @@ -401,8 +450,11 @@ public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result = new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result = + new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +462,11 @@ public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.environment_ = environmentBuilder_ == null - ? environment_ - : environmentBuilder_.build(); + result.environment_ = + environmentBuilder_ == null ? environment_ : environmentBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +477,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) other); } else { super.mergeFrom(other); return this; @@ -467,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest other) { - if (other == com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -503,31 +554,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEnvironmentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEnvironmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +588,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +657,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +677,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +703,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +723,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +738,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,42 +785,61 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ public com.google.cloud.dataplex.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { @@ -747,12 +855,16 @@ public Builder setEnvironment(com.google.cloud.dataplex.v1.Environment value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEnvironment( com.google.cloud.dataplex.v1.Environment.Builder builderForValue) { @@ -766,18 +878,22 @@ public Builder setEnvironment( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) { if (environmentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - environment_ != null && - environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && environment_ != null + && environment_ != com.google.cloud.dataplex.v1.Environment.getDefaultInstance()) { getEnvironmentBuilder().mergeFrom(value); } else { environment_ = value; @@ -790,12 +906,16 @@ public Builder mergeEnvironment(com.google.cloud.dataplex.v1.Environment value) return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEnvironment() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +928,16 @@ public Builder clearEnvironment() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +945,66 @@ public com.google.cloud.dataplex.v1.Environment.Builder getEnvironmentBuilder() return getEnvironmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null ? - com.google.cloud.dataplex.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.dataplex.v1.Environment.getDefaultInstance() + : environment_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder> + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Environment, com.google.cloud.dataplex.v1.Environment.Builder, com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( - getEnvironment(), - getParentForChildren(), - isClean()); + environmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Environment, + com.google.cloud.dataplex.v1.Environment.Builder, + com.google.cloud.dataplex.v1.EnvironmentOrBuilder>( + getEnvironment(), getParentForChildren(), isClean()); environment_ = null; } return environmentBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +1012,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1032,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1049,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1061,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateEnvironmentRequest) private static final com.google.cloud.dataplex.v1.UpdateEnvironmentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateEnvironmentRequest(); } @@ -930,27 +1075,27 @@ public static com.google.cloud.dataplex.v1.UpdateEnvironmentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1110,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java index a9f6ebb2fe00..6eb12e7bdd25 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateEnvironmentRequestOrBuilder.java @@ -1,76 +1,120 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateEnvironmentRequestOrBuilder extends +public interface UpdateEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The environment. */ com.google.cloud.dataplex.v1.Environment getEnvironment(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* - * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.EnvironmentOrBuilder getEnvironmentOrBuilder(); /** + * + * *
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java index f13ad2e9a89b..b3a8b98b8694 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update lake request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateLakeRequest} */ -public final class UpdateLakeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateLakeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateLakeRequest) UpdateLakeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateLakeRequest.newBuilder() to construct. private UpdateLakeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateLakeRequest() { - } + + private UpdateLakeRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateLakeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateLakeRequest.class, com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateLakeRequest.class, + com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int LAKE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Lake lake_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lake field is set. */ @java.lang.Override @@ -96,12 +128,15 @@ public boolean hasLake() { return lake_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lake. */ @java.lang.Override @@ -109,6 +144,8 @@ public com.google.cloud.dataplex.v1.Lake getLake() { return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -124,12 +161,15 @@ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +178,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +210,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (lake_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLake()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLake()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +226,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateLakeRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateLakeRequest other = (com.google.cloud.dataplex.v1.UpdateLakeRequest) obj; + com.google.cloud.dataplex.v1.UpdateLakeRequest other = + (com.google.cloud.dataplex.v1.UpdateLakeRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasLake() != other.hasLake()) return false; if (hasLake()) { - if (!getLake() - .equals(other.getLake())) return false; + if (!getLake().equals(other.getLake())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +263,142 @@ public int hashCode() { hash = (53 * hash) + getLake().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateLakeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateLakeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update lake request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateLakeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateLakeRequest) com.google.cloud.dataplex.v1.UpdateLakeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateLakeRequest.class, com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateLakeRequest.class, + com.google.cloud.dataplex.v1.UpdateLakeRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateLakeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; } @java.lang.Override @@ -401,8 +439,11 @@ public com.google.cloud.dataplex.v1.UpdateLakeRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateLakeRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateLakeRequest result = new com.google.cloud.dataplex.v1.UpdateLakeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateLakeRequest result = + new com.google.cloud.dataplex.v1.UpdateLakeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +451,10 @@ public com.google.cloud.dataplex.v1.UpdateLakeRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateLakeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.lake_ = lakeBuilder_ == null - ? lake_ - : lakeBuilder_.build(); + result.lake_ = lakeBuilder_ == null ? lake_ : lakeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +465,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateLakeRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateLakeRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateLakeRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateLakeRequest) other); } else { super.mergeFrom(other); return this; @@ -503,31 +541,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getLakeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getLakeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +575,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +644,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +664,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +690,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +710,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +725,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,26 +772,37 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Lake lake_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> lakeBuilder_; + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> + lakeBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lake field is set. */ public boolean hasLake() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lake. */ public com.google.cloud.dataplex.v1.Lake getLake() { @@ -726,12 +813,15 @@ public com.google.cloud.dataplex.v1.Lake getLake() { } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { @@ -747,15 +837,17 @@ public Builder setLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLake( - com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { + public Builder setLake(com.google.cloud.dataplex.v1.Lake.Builder builderForValue) { if (lakeBuilder_ == null) { lake_ = builderForValue.build(); } else { @@ -766,18 +858,21 @@ public Builder setLake( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { if (lakeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - lake_ != null && - lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && lake_ != null + && lake_ != com.google.cloud.dataplex.v1.Lake.getDefaultInstance()) { getLakeBuilder().mergeFrom(value); } else { lake_ = value; @@ -790,12 +885,15 @@ public Builder mergeLake(com.google.cloud.dataplex.v1.Lake value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLake() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +906,15 @@ public Builder clearLake() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +922,62 @@ public com.google.cloud.dataplex.v1.Lake.Builder getLakeBuilder() { return getLakeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder() { if (lakeBuilder_ != null) { return lakeBuilder_.getMessageOrBuilder(); } else { - return lake_ == null ? - com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; + return lake_ == null ? com.google.cloud.dataplex.v1.Lake.getDefaultInstance() : lake_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder> + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder> getLakeFieldBuilder() { if (lakeBuilder_ == null) { - lakeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Lake, com.google.cloud.dataplex.v1.Lake.Builder, com.google.cloud.dataplex.v1.LakeOrBuilder>( - getLake(), - getParentForChildren(), - isClean()); + lakeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Lake, + com.google.cloud.dataplex.v1.Lake.Builder, + com.google.cloud.dataplex.v1.LakeOrBuilder>( + getLake(), getParentForChildren(), isClean()); lake_ = null; } return lakeBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +985,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1005,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1022,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1034,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateLakeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateLakeRequest) private static final com.google.cloud.dataplex.v1.UpdateLakeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateLakeRequest(); } @@ -930,27 +1048,27 @@ public static com.google.cloud.dataplex.v1.UpdateLakeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateLakeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateLakeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1083,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateLakeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java index 172478638a82..e68c6ac8c030 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateLakeRequestOrBuilder.java @@ -1,60 +1,95 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateLakeRequestOrBuilder extends +public interface UpdateLakeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateLakeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lake field is set. */ boolean hasLake(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lake. */ com.google.cloud.dataplex.v1.Lake getLake(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -65,12 +100,15 @@ public interface UpdateLakeRequestOrBuilder extends
   com.google.cloud.dataplex.v1.LakeOrBuilder getLakeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java index c6fc2b47ba07..690b707f6562 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update task request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateTaskRequest} */ -public final class UpdateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateTaskRequest) UpdateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTaskRequest.newBuilder() to construct. private UpdateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTaskRequest() { - } + + private UpdateTaskRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTaskRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateTaskRequest.class, com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateTaskRequest.class, + com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Task task_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ @java.lang.Override @@ -96,12 +128,15 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ @java.lang.Override @@ -109,6 +144,8 @@ public com.google.cloud.dataplex.v1.Task getTask() { return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -124,12 +161,15 @@ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +178,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +210,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +226,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateTaskRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateTaskRequest other = (com.google.cloud.dataplex.v1.UpdateTaskRequest) obj; + com.google.cloud.dataplex.v1.UpdateTaskRequest other = + (com.google.cloud.dataplex.v1.UpdateTaskRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +263,142 @@ public int hashCode() { hash = (53 * hash) + getTask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update task request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateTaskRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateTaskRequest) com.google.cloud.dataplex.v1.UpdateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateTaskRequest.class, com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateTaskRequest.class, + com.google.cloud.dataplex.v1.UpdateTaskRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateTaskRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; } @java.lang.Override @@ -401,8 +439,11 @@ public com.google.cloud.dataplex.v1.UpdateTaskRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateTaskRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateTaskRequest result = new com.google.cloud.dataplex.v1.UpdateTaskRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateTaskRequest result = + new com.google.cloud.dataplex.v1.UpdateTaskRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +451,10 @@ public com.google.cloud.dataplex.v1.UpdateTaskRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateTaskRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.task_ = taskBuilder_ == null - ? task_ - : taskBuilder_.build(); + result.task_ = taskBuilder_ == null ? task_ : taskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +465,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateTaskRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateTaskRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateTaskRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -503,31 +541,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +575,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +644,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +664,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +690,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +710,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +725,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,26 +772,37 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> taskBuilder_; + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.dataplex.v1.Task getTask() { @@ -726,12 +813,15 @@ public com.google.cloud.dataplex.v1.Task getTask() { } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { @@ -747,15 +837,17 @@ public Builder setTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.dataplex.v1.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.dataplex.v1.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); } else { @@ -766,18 +858,21 @@ public Builder setTask( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { if (taskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - task_ != null && - task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && task_ != null + && task_ != com.google.cloud.dataplex.v1.Task.getDefaultInstance()) { getTaskBuilder().mergeFrom(value); } else { task_ = value; @@ -790,12 +885,15 @@ public Builder mergeTask(com.google.cloud.dataplex.v1.Task value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +906,15 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +922,62 @@ public com.google.cloud.dataplex.v1.Task.Builder getTaskBuilder() { return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.dataplex.v1.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder> + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Task, com.google.cloud.dataplex.v1.Task.Builder, com.google.cloud.dataplex.v1.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Task, + com.google.cloud.dataplex.v1.Task.Builder, + com.google.cloud.dataplex.v1.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +985,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1005,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1022,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1034,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateTaskRequest) private static final com.google.cloud.dataplex.v1.UpdateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateTaskRequest(); } @@ -930,27 +1048,27 @@ public static com.google.cloud.dataplex.v1.UpdateTaskRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1083,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java index c4fd8369e962..43320392586e 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateTaskRequestOrBuilder.java @@ -1,60 +1,95 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateTaskRequestOrBuilder extends +public interface UpdateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ com.google.cloud.dataplex.v1.Task getTask(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -65,12 +100,15 @@ public interface UpdateTaskRequestOrBuilder extends
   com.google.cloud.dataplex.v1.TaskOrBuilder getTaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java similarity index 68% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java index de00109558f1..8cb710e8ad88 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequest.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * Update zone request.
  * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateZoneRequest} */ -public final class UpdateZoneRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateZoneRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateZoneRequest) UpdateZoneRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateZoneRequest.newBuilder() to construct. private UpdateZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateZoneRequest() { - } + + private UpdateZoneRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateZoneRequest.class, com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateZoneRequest.class, + com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -83,12 +112,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ZONE_FIELD_NUMBER = 2; private com.google.cloud.dataplex.v1.Zone zone_; /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the zone field is set. */ @java.lang.Override @@ -96,12 +128,15 @@ public boolean hasZone() { return zone_ != null; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -109,6 +144,8 @@ public com.google.cloud.dataplex.v1.Zone getZone() { return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -124,12 +161,15 @@ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_ = false;
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -138,6 +178,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -170,16 +210,13 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (zone_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getZone()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getZone()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,25 +226,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateZoneRequest)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.UpdateZoneRequest other = (com.google.cloud.dataplex.v1.UpdateZoneRequest) obj; + com.google.cloud.dataplex.v1.UpdateZoneRequest other = + (com.google.cloud.dataplex.v1.UpdateZoneRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasZone() != other.hasZone()) return false; if (hasZone()) { - if (!getZone() - .equals(other.getZone())) return false; + if (!getZone().equals(other.getZone())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +263,142 @@ public int hashCode() { hash = (53 * hash) + getZone().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.UpdateZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update zone request.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.UpdateZoneRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateZoneRequest) com.google.cloud.dataplex.v1.UpdateZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.UpdateZoneRequest.class, com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); + com.google.cloud.dataplex.v1.UpdateZoneRequest.class, + com.google.cloud.dataplex.v1.UpdateZoneRequest.Builder.class); } // Construct using com.google.cloud.dataplex.v1.UpdateZoneRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ServiceProto.internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ServiceProto + .internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; } @java.lang.Override @@ -401,8 +439,11 @@ public com.google.cloud.dataplex.v1.UpdateZoneRequest build() { @java.lang.Override public com.google.cloud.dataplex.v1.UpdateZoneRequest buildPartial() { - com.google.cloud.dataplex.v1.UpdateZoneRequest result = new com.google.cloud.dataplex.v1.UpdateZoneRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.UpdateZoneRequest result = + new com.google.cloud.dataplex.v1.UpdateZoneRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,14 +451,10 @@ public com.google.cloud.dataplex.v1.UpdateZoneRequest buildPartial() { private void buildPartial0(com.google.cloud.dataplex.v1.UpdateZoneRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.zone_ = zoneBuilder_ == null - ? zone_ - : zoneBuilder_.build(); + result.zone_ = zoneBuilder_ == null ? zone_ : zoneBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.validateOnly_ = validateOnly_; @@ -428,38 +465,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.UpdateZoneRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.UpdateZoneRequest) { - return mergeFrom((com.google.cloud.dataplex.v1.UpdateZoneRequest)other); + return mergeFrom((com.google.cloud.dataplex.v1.UpdateZoneRequest) other); } else { super.mergeFrom(other); return this; @@ -503,31 +541,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getZoneFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getZoneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,43 +575,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -589,14 +644,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -607,17 +664,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -630,11 +690,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -647,11 +710,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -659,36 +725,46 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -696,26 +772,37 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataplex.v1.Zone zone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> zoneBuilder_; + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> + zoneBuilder_; /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the zone field is set. */ public boolean hasZone() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The zone. */ public com.google.cloud.dataplex.v1.Zone getZone() { @@ -726,12 +813,15 @@ public com.google.cloud.dataplex.v1.Zone getZone() { } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { @@ -747,15 +837,17 @@ public Builder setZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setZone( - com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { + public Builder setZone(com.google.cloud.dataplex.v1.Zone.Builder builderForValue) { if (zoneBuilder_ == null) { zone_ = builderForValue.build(); } else { @@ -766,18 +858,21 @@ public Builder setZone( return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { if (zoneBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - zone_ != null && - zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && zone_ != null + && zone_ != com.google.cloud.dataplex.v1.Zone.getDefaultInstance()) { getZoneBuilder().mergeFrom(value); } else { zone_ = value; @@ -790,12 +885,15 @@ public Builder mergeZone(com.google.cloud.dataplex.v1.Zone value) { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearZone() { bitField0_ = (bitField0_ & ~0x00000002); @@ -808,12 +906,15 @@ public Builder clearZone() { return this; } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { bitField0_ |= 0x00000002; @@ -821,51 +922,62 @@ public com.google.cloud.dataplex.v1.Zone.Builder getZoneBuilder() { return getZoneFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder() { if (zoneBuilder_ != null) { return zoneBuilder_.getMessageOrBuilder(); } else { - return zone_ == null ? - com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; + return zone_ == null ? com.google.cloud.dataplex.v1.Zone.getDefaultInstance() : zone_; } } /** + * + * *
      * Required. Update description.
      * Only fields specified in `update_mask` are updated.
      * 
* - * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder> + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder> getZoneFieldBuilder() { if (zoneBuilder_ == null) { - zoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone, com.google.cloud.dataplex.v1.Zone.Builder, com.google.cloud.dataplex.v1.ZoneOrBuilder>( - getZone(), - getParentForChildren(), - isClean()); + zoneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone, + com.google.cloud.dataplex.v1.Zone.Builder, + com.google.cloud.dataplex.v1.ZoneOrBuilder>( + getZone(), getParentForChildren(), isClean()); zone_ = null; } return zoneBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -873,12 +985,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -890,12 +1005,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. Only validate the request, but do not perform mutations.
      * The default is false.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -904,9 +1022,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +1034,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateZoneRequest) private static final com.google.cloud.dataplex.v1.UpdateZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateZoneRequest(); } @@ -930,27 +1048,27 @@ public static com.google.cloud.dataplex.v1.UpdateZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,6 +1083,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.UpdateZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java index cce9c055e3b2..b0c67283e006 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateZoneRequestOrBuilder.java @@ -1,60 +1,95 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/service.proto package com.google.cloud.dataplex.v1; -public interface UpdateZoneRequestOrBuilder extends +public interface UpdateZoneRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.UpdateZoneRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the zone field is set. */ boolean hasZone(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
    * 
* * .google.cloud.dataplex.v1.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ com.google.cloud.dataplex.v1.Zone getZone(); /** + * + * *
    * Required. Update description.
    * Only fields specified in `update_mask` are updated.
@@ -65,12 +100,15 @@ public interface UpdateZoneRequestOrBuilder extends
   com.google.cloud.dataplex.v1.ZoneOrBuilder getZoneOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. Only validate the request, but do not perform mutations.
    * The default is false.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java similarity index 69% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java index a7b8a023e145..c4f5baf9e3e5 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/Zone.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; /** + * + * *
  * A zone represents a logical group of related assets within a lake. A zone can
  * be used to map to organizational structure or represent stages of data
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.dataplex.v1.Zone}
  */
-public final class Zone extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Zone extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone)
     ZoneOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Zone.newBuilder() to construct.
   private Zone(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Zone() {
     name_ = "";
     displayName_ = "";
@@ -33,46 +51,49 @@ private Zone() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Zone();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Zone_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 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
+    return com.google.cloud.dataplex.v1.ResourcesProto
+        .internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataplex.v1.Zone.class, com.google.cloud.dataplex.v1.Zone.Builder.class);
+            com.google.cloud.dataplex.v1.Zone.class,
+            com.google.cloud.dataplex.v1.Zone.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Type of zone.
    * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Zone.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Zone type not specified.
      * 
@@ -81,6 +102,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * A zone that contains data that needs further processing before it is
      * considered generally ready for consumption and analytics workloads.
@@ -90,6 +113,8 @@ public enum Type
      */
     RAW(1),
     /**
+     *
+     *
      * 
      * A zone that contains data that is considered to be ready for broader
      * consumption and analytics workloads. Curated structured data stored in
@@ -104,6 +129,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Zone type not specified.
      * 
@@ -112,6 +139,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A zone that contains data that needs further processing before it is
      * considered generally ready for consumption and analytics workloads.
@@ -121,6 +150,8 @@ public enum Type
      */
     public static final int RAW_VALUE = 1;
     /**
+     *
+     *
      * 
      * A zone that contains data that is considered to be ready for broader
      * consumption and analytics workloads. Curated structured data stored in
@@ -132,7 +163,6 @@ public enum Type
      */
     public static final int CURATED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -157,49 +187,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return RAW;
-        case 2: return CURATED;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return RAW;
+        case 2:
+          return CURATED;
+        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<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.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 Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.dataplex.v1.Zone.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type 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,81 +246,99 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Zone.Type)
   }
 
-  public interface ResourceSpecOrBuilder extends
+  public interface ResourceSpecOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.ResourceSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** + * + * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The locationType. */ com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType(); } /** + * + * *
    * Settings for resources attached as assets within a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.ResourceSpec} */ - public static final class ResourceSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResourceSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.ResourceSpec) ResourceSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceSpec.newBuilder() to construct. private ResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceSpec() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, + com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); } /** + * + * *
      * Location type of the resources attached to a zone.
      * 
* * Protobuf enum {@code google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified location type.
        * 
@@ -299,6 +347,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
        * Resources that are associated with a single region.
        * 
@@ -307,6 +357,8 @@ public enum LocationType */ SINGLE_REGION(1), /** + * + * *
        * Resources that are associated with a multi-region location.
        * 
@@ -318,6 +370,8 @@ public enum LocationType ; /** + * + * *
        * Unspecified location type.
        * 
@@ -326,6 +380,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Resources that are associated with a single region.
        * 
@@ -334,6 +390,8 @@ public enum LocationType */ public static final int SINGLE_REGION_VALUE = 1; /** + * + * *
        * Resources that are associated with a multi-region location.
        * 
@@ -342,7 +400,6 @@ public enum LocationType */ public static final int MULTI_REGION_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -367,49 +424,49 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return SINGLE_REGION; - case 2: return MULTI_REGION; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return SINGLE_REGION; + case 2: + return MULTI_REGION; + 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< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.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 LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType 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; @@ -429,32 +486,48 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_ = 0; /** + * + * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
      * Required. Immutable. The location type of the resources that are allowed
      * to be attached to the assets within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The locationType. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); - return result == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); + return result == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,9 +539,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (locationType_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (locationType_ + != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, locationType_); } getUnknownFields().writeTo(output); @@ -480,9 +554,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, locationType_); + if (locationType_ + != com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -492,12 +567,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.ResourceSpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.ResourceSpec other = (com.google.cloud.dataplex.v1.Zone.ResourceSpec) obj; + com.google.cloud.dataplex.v1.Zone.ResourceSpec other = + (com.google.cloud.dataplex.v1.Zone.ResourceSpec) obj; if (locationType_ != other.locationType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -518,90 +594,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.ResourceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.ResourceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -611,39 +691,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Settings for resources attached as assets within a zone.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.ResourceSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.ResourceSpec) com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.ResourceSpec.class, + com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.ResourceSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; } @java.lang.Override @@ -674,8 +756,11 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec buildPartial() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec result = new com.google.cloud.dataplex.v1.Zone.ResourceSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Zone.ResourceSpec result = + new com.google.cloud.dataplex.v1.Zone.ResourceSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -691,38 +776,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.ResourceSpec result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.ResourceSpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.ResourceSpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.ResourceSpec) other); } else { super.mergeFrom(other); return this; @@ -730,7 +818,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.ResourceSpec other) { - if (other == com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) + return this; if (other.locationType_ != 0) { setLocationTypeValue(other.getLocationTypeValue()); } @@ -760,17 +849,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - locationType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + locationType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -780,28 +871,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int locationType_ = 0; /** + * + * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ @@ -812,30 +915,44 @@ public Builder setLocationTypeValue(int value) { return this; } /** + * + * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The locationType. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType getLocationType() { - com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); - return result == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED : result; + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType result = + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.forNumber(locationType_); + return result == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The locationType to set. * @return This builder for chaining. */ - public Builder setLocationType(com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType value) { + public Builder setLocationType( + com.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType value) { if (value == null) { throw new NullPointerException(); } @@ -845,12 +962,17 @@ public Builder setLocationType(com.google.cloud.dataplex.v1.Zone.ResourceSpec.Lo return this; } /** + * + * *
        * Required. Immutable. The location type of the resources that are allowed
        * to be attached to the assets within this zone.
        * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearLocationType() { @@ -859,6 +981,7 @@ public Builder clearLocationType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -871,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.ResourceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.ResourceSpec) private static final com.google.cloud.dataplex.v1.Zone.ResourceSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.ResourceSpec(); } @@ -885,27 +1008,28 @@ public static com.google.cloud.dataplex.v1.Zone.ResourceSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,24 +1044,29 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone.ResourceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DiscoverySpecOrBuilder extends + public interface DiscoverySpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -947,11 +1076,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the includePatterns. */ - java.util.List - getIncludePatternsList(); + java.util.List getIncludePatternsList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -961,10 +1092,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of includePatterns. */ int getIncludePatternsCount(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -974,11 +1108,14 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ java.lang.String getIncludePatterns(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -988,13 +1125,15 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - com.google.protobuf.ByteString - getIncludePatternsBytes(int index); + com.google.protobuf.ByteString getIncludePatternsBytes(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1003,11 +1142,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the excludePatterns. */ - java.util.List - getExcludePatternsList(); + java.util.List getExcludePatternsList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1016,10 +1157,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of excludePatterns. */ int getExcludePatternsCount(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1028,11 +1172,14 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ java.lang.String getExcludePatterns(int index); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -1041,67 +1188,97 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - com.google.protobuf.ByteString - getExcludePatternsBytes(int index); + com.google.protobuf.ByteString getExcludePatternsBytes(int index); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ boolean hasCsvOptions(); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions(); /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ boolean hasJsonOptions(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions(); /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1114,10 +1291,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1130,10 +1310,13 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -1146,140 +1329,162 @@ public interface DiscoverySpecOrBuilder extends
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); com.google.cloud.dataplex.v1.Zone.DiscoverySpec.TriggerCase getTriggerCase(); } /** + * + * *
    * Settings to manage the metadata discovery and publishing in a zone.
    * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec} */ - public static final class DiscoverySpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DiscoverySpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec) DiscoverySpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiscoverySpec.newBuilder() to construct. private DiscoverySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiscoverySpec() { - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiscoverySpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); } - public interface CsvOptionsOrBuilder extends + public interface CsvOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ int getHeaderRows(); /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ java.lang.String getDelimiter(); /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString - getDelimiterBytes(); + com.google.protobuf.ByteString getDelimiterBytes(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); /** + * + * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** + * + * *
      * Describe CSV and similar semi-structured data formats.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} */ - public static final class CsvOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CsvOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) CsvOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvOptions.newBuilder() to construct. private CsvOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CsvOptions() { delimiter_ = ""; encoding_ = ""; @@ -1287,33 +1492,37 @@ private CsvOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CsvOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); } public static final int HEADER_ROWS_FIELD_NUMBER = 1; private int headerRows_ = 0; /** + * + * *
        * Optional. The number of rows to interpret as header rows that should be
        * skipped when reading data rows.
        * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -1322,15 +1531,19 @@ public int getHeaderRows() { } public static final int DELIMITER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ @java.lang.Override @@ -1339,30 +1552,30 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** + * + * *
        * Optional. The delimiter being used to separate values. This defaults to
        * ','.
        * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1371,14 +1584,18 @@ public java.lang.String getDelimiter() { } public static final int ENCODING_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -1387,29 +1604,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -1420,12 +1637,15 @@ public java.lang.String getEncoding() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 4; private boolean disableTypeInference_ = false; /** + * + * *
        * Optional. Whether to disable the inference of data type for CSV data.
        * If true, all columns will be registered as strings.
        * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -1434,6 +1654,7 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1445,8 +1666,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (headerRows_ != 0) { output.writeInt32(1, headerRows_); } @@ -1469,8 +1689,7 @@ public int getSerializedSize() { size = 0; if (headerRows_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, headerRows_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, headerRows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delimiter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); @@ -1479,8 +1698,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1490,21 +1708,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other = + (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) obj; - if (getHeaderRows() - != other.getHeaderRows()) return false; - if (!getDelimiter() - .equals(other.getDelimiter())) return false; - if (!getEncoding() - .equals(other.getEncoding())) return false; - if (getDisableTypeInference() - != other.getDisableTypeInference()) return false; + if (getHeaderRows() != other.getHeaderRows()) return false; + if (!getDelimiter().equals(other.getDelimiter())) return false; + if (!getEncoding().equals(other.getEncoding())) return false; + if (getDisableTypeInference() != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1523,97 +1738,101 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1623,39 +1842,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Describe CSV and similar semi-structured data formats.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1668,13 +1889,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance(); } @@ -1689,13 +1911,17 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result = + new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.headerRows_ = headerRows_; @@ -1715,38 +1941,41 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) other); } else { super.mergeFrom(other); return this; @@ -1754,7 +1983,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions other) { - if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) + return this; if (other.getHeaderRows() != 0) { setHeaderRows(other.getHeaderRows()); } @@ -1797,32 +2028,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - headerRows_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - delimiter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + headerRows_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + delimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1832,16 +2068,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int headerRows_ ; + private int headerRows_; /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The headerRows. */ @java.lang.Override @@ -1849,12 +2089,15 @@ public int getHeaderRows() { return headerRows_; } /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The headerRows to set. * @return This builder for chaining. */ @@ -1866,12 +2109,15 @@ public Builder setHeaderRows(int value) { return this; } /** + * + * *
          * Optional. The number of rows to interpret as header rows that should be
          * skipped when reading data rows.
          * 
* * int32 header_rows = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearHeaderRows() { @@ -1883,19 +2129,21 @@ public Builder clearHeaderRows() { private java.lang.Object delimiter_ = ""; /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -1904,21 +2152,22 @@ public java.lang.String getDelimiter() { } } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1926,30 +2175,37 @@ public java.lang.String getDelimiter() { } } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delimiter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDelimiter() { @@ -1959,18 +2215,22 @@ public Builder clearDelimiter() { return this; } /** + * + * *
          * Optional. The delimiter being used to separate values. This defaults to
          * ','.
          * 
* * string delimiter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delimiter_ = value; bitField0_ |= 0x00000002; @@ -1980,18 +2240,20 @@ public Builder setDelimiterBytes( private java.lang.Object encoding_ = ""; /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2000,20 +2262,21 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2021,28 +2284,35 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2052,17 +2322,21 @@ public Builder clearEncoding() { return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000004; @@ -2070,14 +2344,17 @@ public Builder setEncodingBytes( return this; } - private boolean disableTypeInference_ ; + private boolean disableTypeInference_; /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -2085,12 +2362,15 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -2102,12 +2382,15 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** + * + * *
          * Optional. Whether to disable the inference of data type for CSV data.
          * If true, all columns will be registered as strings.
          * 
* * bool disable_type_inference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -2116,6 +2399,7 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2128,41 +2412,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions) - private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions(); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2174,37 +2461,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface JsonOptionsOrBuilder extends + public interface JsonOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ java.lang.String getEncoding(); /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - com.google.protobuf.ByteString - getEncodingBytes(); + com.google.protobuf.ByteString getEncodingBytes(); /** + * + * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2212,59 +2507,68 @@ public interface JsonOptionsOrBuilder extends
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ boolean getDisableTypeInference(); } /** + * + * *
      * Describe JSON data format.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} */ - public static final class JsonOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class JsonOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) JsonOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JsonOptions.newBuilder() to construct. private JsonOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JsonOptions() { encoding_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JsonOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); } public static final int ENCODING_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object encoding_ = ""; /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ @java.lang.Override @@ -2273,29 +2577,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** + * + * *
        * Optional. The character encoding of the data. The default is UTF-8.
        * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2306,6 +2610,8 @@ public java.lang.String getEncoding() { public static final int DISABLE_TYPE_INFERENCE_FIELD_NUMBER = 2; private boolean disableTypeInference_ = false; /** + * + * *
        * Optional. Whether to disable the inference of data type for Json data.
        * If true, all columns will be registered as their primitive types
@@ -2313,6 +2619,7 @@ public java.lang.String getEncoding() {
        * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -2321,6 +2628,7 @@ public boolean getDisableTypeInference() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2332,8 +2640,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encoding_); } @@ -2353,8 +2660,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encoding_); } if (disableTypeInference_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, disableTypeInference_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disableTypeInference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2364,17 +2670,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other = + (com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) obj; - if (!getEncoding() - .equals(other.getEncoding())) return false; - if (getDisableTypeInference() - != other.getDisableTypeInference()) return false; + if (!getEncoding().equals(other.getEncoding())) return false; + if (getDisableTypeInference() != other.getDisableTypeInference()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2389,97 +2694,101 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + DISABLE_TYPE_INFERENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableTypeInference()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTypeInference()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2489,39 +2798,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Describe JSON data format.
        * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2532,13 +2843,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions + getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance(); } @@ -2553,13 +2865,17 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result = + new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result) { + private void buildPartial0( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encoding_ = encoding_; @@ -2573,46 +2889,52 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions)other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other) { - if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions other) { + if (other + == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) + return this; if (!other.getEncoding().isEmpty()) { encoding_ = other.encoding_; bitField0_ |= 0x00000001; @@ -2647,22 +2969,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - encoding_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - disableTypeInference_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + encoding_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + disableTypeInference_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2672,22 +2997,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object encoding_ = ""; /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -2696,20 +3024,21 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString - getEncodingBytes() { + public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); encoding_ = b; return b; } else { @@ -2717,28 +3046,35 @@ public java.lang.String getEncoding() { } } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncoding(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } encoding_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2748,17 +3084,21 @@ public Builder clearEncoding() { return this; } /** + * + * *
          * Optional. The character encoding of the data. The default is UTF-8.
          * 
* * string encoding = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); encoding_ = value; bitField0_ |= 0x00000001; @@ -2766,8 +3106,10 @@ public Builder setEncodingBytes( return this; } - private boolean disableTypeInference_ ; + private boolean disableTypeInference_; /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -2775,6 +3117,7 @@ public Builder setEncodingBytes(
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disableTypeInference. */ @java.lang.Override @@ -2782,6 +3125,8 @@ public boolean getDisableTypeInference() { return disableTypeInference_; } /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -2789,6 +3134,7 @@ public boolean getDisableTypeInference() {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disableTypeInference to set. * @return This builder for chaining. */ @@ -2800,6 +3146,8 @@ public Builder setDisableTypeInference(boolean value) { return this; } /** + * + * *
          * Optional. Whether to disable the inference of data type for Json data.
          * If true, all columns will be registered as their primitive types
@@ -2807,6 +3155,7 @@ public Builder setDisableTypeInference(boolean value) {
          * 
* * bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisableTypeInference() { @@ -2815,6 +3164,7 @@ public Builder clearDisableTypeInference() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2827,41 +3177,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions) - private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions DEFAULT_INSTANCE; + private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions(); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstance() { + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2873,21 +3226,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getDefaultInstanceForType() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int triggerCase_ = 0; + @SuppressWarnings("serial") 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(10), TRIGGER_NOT_SET(0); private final int value; + private TriggerCase(int value) { this.value = value; } @@ -2903,30 +3260,35 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 10: return SCHEDULE; - case 0: return TRIGGER_NOT_SET; - default: return null; + case 10: + return SCHEDULE; + 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 ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** + * + * *
      * Required. Whether discovery is enabled.
      * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -2935,10 +3297,13 @@ public boolean getEnabled() { } public static final int INCLUDE_PATTERNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -2948,13 +3313,15 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList - getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList getIncludePatternsList() { return includePatterns_; } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -2964,12 +3331,15 @@ public boolean getEnabled() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -2979,6 +3349,7 @@ public int getIncludePatternsCount() {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -2986,6 +3357,8 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to include
      * during discovery if only a subset of the data should considered. For
@@ -2995,19 +3368,22 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString - getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } public static final int EXCLUDE_PATTERNS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3016,13 +3392,15 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList - getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList getExcludePatternsList() { return excludePatterns_; } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3031,12 +3409,15 @@ public java.lang.String getIncludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3045,6 +3426,7 @@ public int getExcludePatternsCount() {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -3052,6 +3434,8 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** + * + * *
      * Optional. The list of patterns to apply for selecting data to exclude
      * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -3060,22 +3444,27 @@ public java.lang.String getExcludePatterns(int index) {
      * 
* * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString - getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } public static final int CSV_OPTIONS_FIELD_NUMBER = 4; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csvOptions_; /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ @java.lang.Override @@ -3083,37 +3472,56 @@ public boolean hasCsvOptions() { return csvOptions_ != null; } /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions() { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } /** + * + * *
      * Optional. Configuration for CSV data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder + getCsvOptionsOrBuilder() { + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } public static final int JSON_OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions jsonOptions_; /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ @java.lang.Override @@ -3121,31 +3529,47 @@ public boolean hasJsonOptions() { return jsonOptions_ != null; } /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions() { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } /** + * + * *
      * Optional. Configuration for Json data.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder + getJsonOptionsOrBuilder() { + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } public static final int SCHEDULE_FIELD_NUMBER = 10; /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3158,12 +3582,15 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJ
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return triggerCase_ == 10; } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3176,6 +3603,7 @@ public boolean hasSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ public java.lang.String getSchedule() { @@ -3186,8 +3614,7 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -3196,6 +3623,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
      * running discovery periodically. Successive discovery runs must be
@@ -3208,18 +3637,17 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -3230,6 +3658,7 @@ public java.lang.String getSchedule() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3241,8 +3670,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -3271,8 +3699,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } { int dataSize = 0; @@ -3291,12 +3718,10 @@ public int getSerializedSize() { size += 1 * getExcludePatternsList().size(); } if (csvOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCsvOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCsvOptions()); } if (jsonOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getJsonOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getJsonOptions()); } if (triggerCase_ == 10) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, trigger_); @@ -3309,34 +3734,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec)) { return super.equals(obj); } - com.google.cloud.dataplex.v1.Zone.DiscoverySpec other = (com.google.cloud.dataplex.v1.Zone.DiscoverySpec) obj; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec other = + (com.google.cloud.dataplex.v1.Zone.DiscoverySpec) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getIncludePatternsList() - .equals(other.getIncludePatternsList())) return false; - if (!getExcludePatternsList() - .equals(other.getExcludePatternsList())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getIncludePatternsList().equals(other.getIncludePatternsList())) return false; + if (!getExcludePatternsList().equals(other.getExcludePatternsList())) return false; if (hasCsvOptions() != other.hasCsvOptions()) return false; if (hasCsvOptions()) { - if (!getCsvOptions() - .equals(other.getCsvOptions())) return false; + if (!getCsvOptions().equals(other.getCsvOptions())) return false; } if (hasJsonOptions() != other.hasJsonOptions()) return false; if (hasJsonOptions()) { - if (!getJsonOptions() - .equals(other.getJsonOptions())) return false; + if (!getJsonOptions().equals(other.getJsonOptions())) return false; } if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 10: - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; break; case 0: default: @@ -3353,8 +3773,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); if (getIncludePatternsCount() > 0) { hash = (37 * hash) + INCLUDE_PATTERNS_FIELD_NUMBER; hash = (53 * hash) + getIncludePatternsList().hashCode(); @@ -3385,89 +3804,93 @@ public int hashCode() { } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone.DiscoverySpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3477,48 +3900,48 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Settings to manage the metadata discovery and publishing in a zone.
      * 
* * Protobuf type {@code google.cloud.dataplex.v1.Zone.DiscoverySpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone.DiscoverySpec) com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.class, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Zone.DiscoverySpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; enabled_ = false; - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); csvOptions_ = null; if (csvOptionsBuilder_ != null) { csvOptionsBuilder_.dispose(); @@ -3535,9 +3958,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; } @java.lang.Override @@ -3556,8 +3979,11 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec build() { @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec buildPartial() { - com.google.cloud.dataplex.v1.Zone.DiscoverySpec result = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.dataplex.v1.Zone.DiscoverySpec result = + new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3577,14 +4003,12 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone.DiscoverySpec resul result.excludePatterns_ = excludePatterns_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.csvOptions_ = csvOptionsBuilder_ == null - ? csvOptions_ - : csvOptionsBuilder_.build(); + result.csvOptions_ = + csvOptionsBuilder_ == null ? csvOptions_ : csvOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.jsonOptions_ = jsonOptionsBuilder_ == null - ? jsonOptions_ - : jsonOptionsBuilder_.build(); + result.jsonOptions_ = + jsonOptionsBuilder_ == null ? jsonOptions_ : jsonOptionsBuilder_.build(); } } @@ -3597,38 +4021,41 @@ private void buildPartialOneofs(com.google.cloud.dataplex.v1.Zone.DiscoverySpec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.Zone.DiscoverySpec) { - return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec)other); + return mergeFrom((com.google.cloud.dataplex.v1.Zone.DiscoverySpec) other); } else { super.mergeFrom(other); return this; @@ -3636,7 +4063,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec other) { - if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) return this; + if (other == com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -3667,15 +4095,17 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone.DiscoverySpec other) mergeJsonOptions(other.getJsonOptions()); } switch (other.getTriggerCase()) { - case SCHEDULE: { - triggerCase_ = 10; - trigger_ = other.trigger_; - onChanged(); - break; - } - case TRIGGER_NOT_SET: { - break; - } + case SCHEDULE: + { + triggerCase_ = 10; + trigger_ = other.trigger_; + onChanged(); + break; + } + case TRIGGER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3703,49 +4133,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludePatternsIsMutable(); - includePatterns_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludePatternsIsMutable(); - excludePatterns_.add(s); - break; - } // case 26 - case 34: { - input.readMessage( - getCsvOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getJsonOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - triggerCase_ = 10; - trigger_ = s; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePatternsIsMutable(); + includePatterns_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludePatternsIsMutable(); + excludePatterns_.add(s); + break; + } // case 26 + case 34: + { + input.readMessage(getCsvOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getJsonOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + triggerCase_ = 10; + trigger_ = s; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3755,12 +4188,12 @@ public Builder mergeFrom( } // finally 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() { @@ -3772,13 +4205,16 @@ public Builder clearTrigger() { private int bitField0_; - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -3786,11 +4222,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -3802,11 +4241,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
        * Required. Whether discovery is enabled.
        * 
* * bool enabled = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -3818,6 +4260,7 @@ public Builder clearEnabled() { private com.google.protobuf.LazyStringArrayList includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludePatternsIsMutable() { if (!includePatterns_.isModifiable()) { includePatterns_ = new com.google.protobuf.LazyStringArrayList(includePatterns_); @@ -3825,6 +4268,8 @@ private void ensureIncludePatternsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3833,15 +4278,18 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the includePatterns. */ - public com.google.protobuf.ProtocolStringList - getIncludePatternsList() { + public com.google.protobuf.ProtocolStringList getIncludePatternsList() { includePatterns_.makeImmutable(); return includePatterns_; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3850,13 +4298,17 @@ private void ensureIncludePatternsIsMutable() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of includePatterns. */ public int getIncludePatternsCount() { return includePatterns_.size(); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3865,7 +4317,9 @@ public int getIncludePatternsCount() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The includePatterns at the given index. */ @@ -3873,6 +4327,8 @@ public java.lang.String getIncludePatterns(int index) { return includePatterns_.get(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3881,15 +4337,18 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the includePatterns at the given index. */ - public com.google.protobuf.ByteString - getIncludePatternsBytes(int index) { + public com.google.protobuf.ByteString getIncludePatternsBytes(int index) { return includePatterns_.getByteString(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3898,14 +4357,17 @@ public java.lang.String getIncludePatterns(int index) {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The includePatterns to set. * @return This builder for chaining. */ - public Builder setIncludePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludePatternsIsMutable(); includePatterns_.set(index, value); bitField0_ |= 0x00000002; @@ -3913,6 +4375,8 @@ public Builder setIncludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3921,13 +4385,16 @@ public Builder setIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludePatternsIsMutable(); includePatterns_.add(value); bitField0_ |= 0x00000002; @@ -3935,6 +4402,8 @@ public Builder addIncludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3943,20 +4412,22 @@ public Builder addIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The includePatterns to add. * @return This builder for chaining. */ - public Builder addAllIncludePatterns( - java.lang.Iterable values) { + public Builder addAllIncludePatterns(java.lang.Iterable values) { ensureIncludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePatterns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3965,17 +4436,21 @@ public Builder addAllIncludePatterns(
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearIncludePatterns() { - includePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + includePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to include
        * during discovery if only a subset of the data should considered. For
@@ -3984,13 +4459,16 @@ public Builder clearIncludePatterns() {
        * as patterns to match table names.
        * 
* - * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the includePatterns to add. * @return This builder for chaining. */ - public Builder addIncludePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludePatternsIsMutable(); includePatterns_.add(value); @@ -4001,6 +4479,7 @@ public Builder addIncludePatternsBytes( private com.google.protobuf.LazyStringArrayList excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureExcludePatternsIsMutable() { if (!excludePatterns_.isModifiable()) { excludePatterns_ = new com.google.protobuf.LazyStringArrayList(excludePatterns_); @@ -4008,6 +4487,8 @@ private void ensureExcludePatternsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4015,15 +4496,18 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the excludePatterns. */ - public com.google.protobuf.ProtocolStringList - getExcludePatternsList() { + public com.google.protobuf.ProtocolStringList getExcludePatternsList() { excludePatterns_.makeImmutable(); return excludePatterns_; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4031,13 +4515,17 @@ private void ensureExcludePatternsIsMutable() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of excludePatterns. */ public int getExcludePatternsCount() { return excludePatterns_.size(); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4045,7 +4533,9 @@ public int getExcludePatternsCount() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The excludePatterns at the given index. */ @@ -4053,6 +4543,8 @@ public java.lang.String getExcludePatterns(int index) { return excludePatterns_.get(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4060,15 +4552,18 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the excludePatterns at the given index. */ - public com.google.protobuf.ByteString - getExcludePatternsBytes(int index) { + public com.google.protobuf.ByteString getExcludePatternsBytes(int index) { return excludePatterns_.getByteString(index); } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4076,14 +4571,17 @@ public java.lang.String getExcludePatterns(int index) {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The excludePatterns to set. * @return This builder for chaining. */ - public Builder setExcludePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExcludePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExcludePatternsIsMutable(); excludePatterns_.set(index, value); bitField0_ |= 0x00000004; @@ -4091,6 +4589,8 @@ public Builder setExcludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4098,13 +4598,16 @@ public Builder setExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExcludePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExcludePatternsIsMutable(); excludePatterns_.add(value); bitField0_ |= 0x00000004; @@ -4112,6 +4615,8 @@ public Builder addExcludePatterns( return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4119,20 +4624,22 @@ public Builder addExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The excludePatterns to add. * @return This builder for chaining. */ - public Builder addAllExcludePatterns( - java.lang.Iterable values) { + public Builder addAllExcludePatterns(java.lang.Iterable values) { ensureExcludePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePatterns_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4140,17 +4647,21 @@ public Builder addAllExcludePatterns(
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearExcludePatterns() { - excludePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + excludePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of patterns to apply for selecting data to exclude
        * during discovery.  For Cloud Storage bucket assets, these are interpreted
@@ -4158,13 +4669,16 @@ public Builder clearExcludePatterns() {
        * these are interpreted as patterns to match table names.
        * 
* - * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the excludePatterns to add. * @return This builder for chaining. */ - public Builder addExcludePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureExcludePatternsIsMutable(); excludePatterns_.add(value); @@ -4175,41 +4689,61 @@ public Builder addExcludePatternsBytes( private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csvOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> csvOptionsBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> + csvOptionsBuilder_; /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the csvOptions field is set. */ public boolean hasCsvOptions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The csvOptions. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions getCsvOptions() { if (csvOptionsBuilder_ == null) { - return csvOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } else { return csvOptionsBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { + public Builder setCsvOptions( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4223,11 +4757,15 @@ public Builder setCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Csv return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCsvOptions( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder builderForValue) { @@ -4241,17 +4779,24 @@ public Builder setCsvOptions( return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { + public Builder mergeCsvOptions( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions value) { if (csvOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - csvOptions_ != null && - csvOptions_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && csvOptions_ != null + && csvOptions_ + != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions + .getDefaultInstance()) { getCsvOptionsBuilder().mergeFrom(value); } else { csvOptions_ = value; @@ -4264,11 +4809,15 @@ public Builder mergeCsvOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.C return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCsvOptions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4281,48 +4830,66 @@ public Builder clearCsvOptions() { return this; } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder getCsvOptionsBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder + getCsvOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getCsvOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder + getCsvOptionsOrBuilder() { if (csvOptionsBuilder_ != null) { return csvOptionsBuilder_.getMessageOrBuilder(); } else { - return csvOptions_ == null ? - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() : csvOptions_; + return csvOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.getDefaultInstance() + : csvOptions_; } } /** + * + * *
        * Optional. Configuration for CSV data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder> getCsvOptionsFieldBuilder() { if (csvOptionsBuilder_ == null) { - csvOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder>( - getCsvOptions(), - getParentForChildren(), - isClean()); + csvOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder>( + getCsvOptions(), getParentForChildren(), isClean()); csvOptions_ = null; } return csvOptionsBuilder_; @@ -4330,41 +4897,61 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder getCs private com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions jsonOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> jsonOptionsBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> + jsonOptionsBuilder_; /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the jsonOptions field is set. */ public boolean hasJsonOptions() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The jsonOptions. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions getJsonOptions() { if (jsonOptionsBuilder_ == null) { - return jsonOptions_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } else { return jsonOptionsBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { + public Builder setJsonOptions( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4378,11 +4965,15 @@ public Builder setJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Js return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setJsonOptions( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder builderForValue) { @@ -4396,17 +4987,24 @@ public Builder setJsonOptions( return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { + public Builder mergeJsonOptions( + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions value) { if (jsonOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - jsonOptions_ != null && - jsonOptions_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && jsonOptions_ != null + && jsonOptions_ + != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions + .getDefaultInstance()) { getJsonOptionsBuilder().mergeFrom(value); } else { jsonOptions_ = value; @@ -4419,11 +5017,15 @@ public Builder mergeJsonOptions(com.google.cloud.dataplex.v1.Zone.DiscoverySpec. return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearJsonOptions() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4436,54 +5038,74 @@ public Builder clearJsonOptions() { return this; } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder getJsonOptionsBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder + getJsonOptionsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getJsonOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder() { + public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder + getJsonOptionsOrBuilder() { if (jsonOptionsBuilder_ != null) { return jsonOptionsBuilder_.getMessageOrBuilder(); } else { - return jsonOptions_ == null ? - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() : jsonOptions_; + return jsonOptions_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.getDefaultInstance() + : jsonOptions_; } } /** + * + * *
        * Optional. Configuration for Json data.
        * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder> getJsonOptionsFieldBuilder() { if (jsonOptionsBuilder_ == null) { - jsonOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder>( - getJsonOptions(), - getParentForChildren(), - isClean()); + jsonOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder>( + getJsonOptions(), getParentForChildren(), isClean()); jsonOptions_ = null; } return jsonOptionsBuilder_; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4496,6 +5118,7 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptionsOrBuilder getJ
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -4503,6 +5126,8 @@ public boolean hasSchedule() { return triggerCase_ == 10; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4515,6 +5140,7 @@ public boolean hasSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schedule. */ @java.lang.Override @@ -4524,8 +5150,7 @@ public java.lang.String getSchedule() { ref = trigger_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (triggerCase_ == 10) { trigger_ = s; @@ -4536,6 +5161,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4548,19 +5175,18 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = ""; if (triggerCase_ == 10) { ref = trigger_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (triggerCase_ == 10) { trigger_ = b; } @@ -4570,6 +5196,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4582,18 +5210,22 @@ public java.lang.String getSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchedule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } triggerCase_ = 10; trigger_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4606,6 +5238,7 @@ public Builder setSchedule(
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -4617,6 +5250,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
        * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
        * running discovery periodically. Successive discovery runs must be
@@ -4629,18 +5264,21 @@ public Builder clearSchedule() {
        * 
* * string schedule = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); triggerCase_ = 10; trigger_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4653,12 +5291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone.DiscoverySpec) private static final com.google.cloud.dataplex.v1.Zone.DiscoverySpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone.DiscoverySpec(); } @@ -4667,27 +5305,28 @@ public static com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverySpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverySpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4702,19 +5341,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -4723,30 +5367,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; } } /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -4755,14 +5401,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ @java.lang.Override @@ -4771,29 +5421,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; } } /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -4802,15 +5452,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -4819,30 +5473,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -4853,11 +5507,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .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 @@ -4865,11 +5523,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .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 @@ -4877,11 +5539,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .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() { @@ -4891,11 +5556,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 time when the zone was last updated.
    * 
* - * .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 @@ -4903,11 +5572,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .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 @@ -4915,11 +5588,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .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() { @@ -4927,32 +5603,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataplex.v1.ResourcesProto + .internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -4960,20 +5638,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -4985,6 +5664,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -4992,17 +5673,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -5010,11 +5693,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } @@ -5022,14 +5705,18 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -5038,29 +5725,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; } } /** + * + * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -5071,64 +5758,93 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.dataplex.v1.State getState() { + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 9; private int type_ = 0; /** + * + * *
    * Required. Immutable. The type of the zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Immutable. The type of the zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.dataplex.v1.Zone.Type getType() { - com.google.cloud.dataplex.v1.Zone.Type result = com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.dataplex.v1.Zone.Type getType() { + com.google.cloud.dataplex.v1.Zone.Type result = + com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Zone.Type.UNRECOGNIZED : result; } public static final int DISCOVERY_SPEC_FIELD_NUMBER = 103; private com.google.cloud.dataplex.v1.Zone.DiscoverySpec discoverySpec_; /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ @java.lang.Override @@ -5136,40 +5852,58 @@ public boolean hasDiscoverySpec() { return discoverySpec_ != null; } /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec() { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } public static final int RESOURCE_SPEC_FIELD_NUMBER = 104; private com.google.cloud.dataplex.v1.Zone.ResourceSpec resourceSpec_; /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ @java.lang.Override @@ -5177,39 +5911,57 @@ public boolean hasResourceSpec() { return resourceSpec_ != null; } /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec() { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() + : resourceSpec_; } /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder() { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() + : resourceSpec_; } public static final int ASSET_STATUS_FIELD_NUMBER = 105; private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ @java.lang.Override @@ -5217,30 +5969,44 @@ public boolean hasAssetStatus() { return assetStatus_ != null; } /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5252,8 +6018,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5269,12 +6034,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } @@ -5312,45 +6073,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } 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()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (type_ != com.google.cloud.dataplex.v1.Zone.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, type_); } if (discoverySpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(103, getDiscoverySpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(103, getDiscoverySpec()); } if (resourceSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(104, getResourceSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(104, getResourceSpec()); } if (assetStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(105, getAssetStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, getAssetStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5360,49 +6114,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.Zone)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Zone other = (com.google.cloud.dataplex.v1.Zone) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; if (hasDiscoverySpec() != other.hasDiscoverySpec()) return false; if (hasDiscoverySpec()) { - if (!getDiscoverySpec() - .equals(other.getDiscoverySpec())) return false; + if (!getDiscoverySpec().equals(other.getDiscoverySpec())) return false; } if (hasResourceSpec() != other.hasResourceSpec()) return false; if (hasResourceSpec()) { - if (!getResourceSpec() - .equals(other.getResourceSpec())) return false; + if (!getResourceSpec().equals(other.getResourceSpec())) return false; } if (hasAssetStatus() != other.hasAssetStatus()) return false; if (hasAssetStatus()) { - if (!getAssetStatus() - .equals(other.getAssetStatus())) return false; + if (!getAssetStatus().equals(other.getAssetStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5456,99 +6200,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataplex.v1.Zone parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataplex.v1.Zone parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.dataplex.v1.Zone parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.Zone parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Zone parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataplex.v1.Zone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataplex.v1.Zone prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 zone represents a logical group of related assets within a lake. A zone can
    * be used to map to organizational structure or represent stages of data
@@ -5558,55 +6306,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataplex.v1.Zone}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Zone)
       com.google.cloud.dataplex.v1.ZoneOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Zone_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           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 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataplex.v1.Zone.class, com.google.cloud.dataplex.v1.Zone.Builder.class);
+              com.google.cloud.dataplex.v1.Zone.class,
+              com.google.cloud.dataplex.v1.Zone.Builder.class);
     }
 
     // Construct using com.google.cloud.dataplex.v1.Zone.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5647,9 +6392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataplex.v1.ResourcesProto.internal_static_google_cloud_dataplex_v1_Zone_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataplex.v1.ResourcesProto
+          .internal_static_google_cloud_dataplex_v1_Zone_descriptor;
     }
 
     @java.lang.Override
@@ -5669,7 +6414,9 @@ public com.google.cloud.dataplex.v1.Zone build() {
     @java.lang.Override
     public com.google.cloud.dataplex.v1.Zone buildPartial() {
       com.google.cloud.dataplex.v1.Zone result = new com.google.cloud.dataplex.v1.Zone(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -5686,14 +6433,10 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.labels_ = internalGetLabels();
@@ -5709,19 +6452,16 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.discoverySpec_ = discoverySpecBuilder_ == null
-            ? discoverySpec_
-            : discoverySpecBuilder_.build();
+        result.discoverySpec_ =
+            discoverySpecBuilder_ == null ? discoverySpec_ : discoverySpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.resourceSpec_ = resourceSpecBuilder_ == null
-            ? resourceSpec_
-            : resourceSpecBuilder_.build();
+        result.resourceSpec_ =
+            resourceSpecBuilder_ == null ? resourceSpec_ : resourceSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.assetStatus_ = assetStatusBuilder_ == null
-            ? assetStatus_
-            : assetStatusBuilder_.build();
+        result.assetStatus_ =
+            assetStatusBuilder_ == null ? assetStatus_ : assetStatusBuilder_.build();
       }
     }
 
@@ -5729,38 +6469,39 @@ private void buildPartial0(com.google.cloud.dataplex.v1.Zone result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataplex.v1.Zone) {
-        return mergeFrom((com.google.cloud.dataplex.v1.Zone)other);
+        return mergeFrom((com.google.cloud.dataplex.v1.Zone) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5790,8 +6531,7 @@ public Builder mergeFrom(com.google.cloud.dataplex.v1.Zone other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
@@ -5839,86 +6579,91 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 72: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 826: {
-              input.readMessage(
-                  getDiscoverySpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 826
-            case 834: {
-              input.readMessage(
-                  getResourceSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 834
-            case 842: {
-              input.readMessage(
-                  getAssetStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 842
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 72:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 826:
+              {
+                input.readMessage(getDiscoverySpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 826
+            case 834:
+              {
+                input.readMessage(getResourceSpecFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 834
+            case 842:
+              {
+                input.readMessage(getAssetStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 842
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5928,23 +6673,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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; @@ -5953,21 +6703,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 { @@ -5975,30 +6728,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -6008,18 +6772,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The relative resource name of the zone, of the form:
      * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6029,18 +6799,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -6049,20 +6821,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6070,28 +6843,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6101,17 +6881,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. User friendly display name.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -6121,19 +6905,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6142,21 +6928,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -6164,30 +6951,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -6197,18 +6991,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. System generated globally unique ID for the zone. This ID will
      * be different if the zone is deleted and re-created with the same name.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -6218,39 +7016,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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 time when the zone was created.
      * 
* - * .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) { @@ -6266,14 +7083,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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(); } else { @@ -6284,17 +7104,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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 (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -6307,11 +7131,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -6324,11 +7152,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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() { bitField0_ |= 0x00000008; @@ -6336,36 +7168,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .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 time when the zone was created.
      * 
* - * .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_; @@ -6373,39 +7217,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 time when the zone was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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 time when the zone was last updated.
      * 
* - * .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) { @@ -6421,14 +7284,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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(); } else { @@ -6439,17 +7305,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6462,11 +7332,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -6479,11 +7353,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000010; @@ -6491,56 +7369,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .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 time when the zone was last updated.
      * 
* - * .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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -6549,10 +7437,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
@@ -6560,20 +7451,21 @@ public int getLabelsCount() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @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(); } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
@@ -6585,6 +7477,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
@@ -6592,17 +7486,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
@@ -6610,91 +7506,95 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000020; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User defined labels for the zone.
      * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -6703,20 +7603,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6724,28 +7625,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -6755,17 +7663,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the zone.
      * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -6775,22 +7687,31 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -6801,24 +7722,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { - com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); + com.google.cloud.dataplex.v1.State result = + com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -6832,11 +7762,15 @@ public Builder setState(com.google.cloud.dataplex.v1.State value) { return this; } /** + * + * *
      * Output only. Current state of the zone.
      * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -6848,22 +7782,33 @@ public Builder clearState() { private int type_ = 0; /** + * + * *
      * Required. Immutable. The type of the zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. The type of the zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -6874,24 +7819,35 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The type of the zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.Zone.Type getType() { - com.google.cloud.dataplex.v1.Zone.Type result = com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); + com.google.cloud.dataplex.v1.Zone.Type result = + com.google.cloud.dataplex.v1.Zone.Type.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.Zone.Type.UNRECOGNIZED : result; } /** + * + * *
      * Required. Immutable. The type of the zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -6905,11 +7861,16 @@ public Builder setType(com.google.cloud.dataplex.v1.Zone.Type value) { return this; } /** + * + * *
      * Required. Immutable. The type of the zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -6921,42 +7882,61 @@ public Builder clearType() { private com.google.cloud.dataplex.v1.Zone.DiscoverySpec discoverySpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> discoverySpecBuilder_; + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> + discoverySpecBuilder_; /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ public boolean hasDiscoverySpec() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec() { if (discoverySpecBuilder_ == null) { - return discoverySpec_ == null ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } else { return discoverySpecBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { @@ -6972,12 +7952,16 @@ public Builder setDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDiscoverySpec( com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder builderForValue) { @@ -6991,18 +7975,23 @@ public Builder setDiscoverySpec( return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpec value) { if (discoverySpecBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - discoverySpec_ != null && - discoverySpec_ != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && discoverySpec_ != null + && discoverySpec_ + != com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance()) { getDiscoverySpecBuilder().mergeFrom(value); } else { discoverySpec_ = value; @@ -7015,12 +8004,16 @@ public Builder mergeDiscoverySpec(com.google.cloud.dataplex.v1.Zone.DiscoverySpe return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDiscoverySpec() { bitField0_ = (bitField0_ & ~0x00000200); @@ -7033,12 +8026,16 @@ public Builder clearDiscoverySpec() { return this; } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder getDiscoverySpecBuilder() { bitField0_ |= 0x00000200; @@ -7046,38 +8043,50 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder getDiscoverySpecB return getDiscoverySpecFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder() { if (discoverySpecBuilder_ != null) { return discoverySpecBuilder_.getMessageOrBuilder(); } else { - return discoverySpec_ == null ? - com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() : discoverySpec_; + return discoverySpec_ == null + ? com.google.cloud.dataplex.v1.Zone.DiscoverySpec.getDefaultInstance() + : discoverySpec_; } } /** + * + * *
      * Optional. Specification of the discovery feature applied to data in this
      * zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder> getDiscoverySpecFieldBuilder() { if (discoverySpecBuilder_ == null) { - discoverySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.DiscoverySpec, com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder>( - getDiscoverySpec(), - getParentForChildren(), - isClean()); + discoverySpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.DiscoverySpec, + com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder, + com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder>( + getDiscoverySpec(), getParentForChildren(), isClean()); discoverySpec_ = null; } return discoverySpecBuilder_; @@ -7085,42 +8094,61 @@ public com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpec private com.google.cloud.dataplex.v1.Zone.ResourceSpec resourceSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> resourceSpecBuilder_; + com.google.cloud.dataplex.v1.Zone.ResourceSpec, + com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> + resourceSpecBuilder_; /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ public boolean hasResourceSpec() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ public com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec() { if (resourceSpecBuilder_ == null) { - return resourceSpec_ == null ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() + : resourceSpec_; } else { return resourceSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec value) { if (resourceSpecBuilder_ == null) { @@ -7136,12 +8164,16 @@ public Builder setResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec va return this; } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceSpec( com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder builderForValue) { @@ -7155,18 +8187,23 @@ public Builder setResourceSpec( return this; } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec value) { if (resourceSpecBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - resourceSpec_ != null && - resourceSpec_ != com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && resourceSpec_ != null + && resourceSpec_ + != com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance()) { getResourceSpecBuilder().mergeFrom(value); } else { resourceSpec_ = value; @@ -7179,12 +8216,16 @@ public Builder mergeResourceSpec(com.google.cloud.dataplex.v1.Zone.ResourceSpec return this; } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceSpec() { bitField0_ = (bitField0_ & ~0x00000400); @@ -7197,12 +8238,16 @@ public Builder clearResourceSpec() { return this; } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder getResourceSpecBuilder() { bitField0_ |= 0x00000400; @@ -7210,38 +8255,50 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder getResourceSpecBui return getResourceSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder() { if (resourceSpecBuilder_ != null) { return resourceSpecBuilder_.getMessageOrBuilder(); } else { - return resourceSpec_ == null ? - com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() : resourceSpec_; + return resourceSpec_ == null + ? com.google.cloud.dataplex.v1.Zone.ResourceSpec.getDefaultInstance() + : resourceSpec_; } } /** + * + * *
      * Required. Specification of the resources that are referenced by the assets
      * within this zone.
      * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> + com.google.cloud.dataplex.v1.Zone.ResourceSpec, + com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder> getResourceSpecFieldBuilder() { if (resourceSpecBuilder_ == null) { - resourceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.Zone.ResourceSpec, com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder>( - getResourceSpec(), - getParentForChildren(), - isClean()); + resourceSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.Zone.ResourceSpec, + com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder, + com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder>( + getResourceSpec(), getParentForChildren(), isClean()); resourceSpec_ = null; } return resourceSpecBuilder_; @@ -7249,39 +8306,58 @@ public com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOr private com.google.cloud.dataplex.v1.AssetStatus assetStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> assetStatusBuilder_; + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + assetStatusBuilder_; /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ public boolean hasAssetStatus() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ public com.google.cloud.dataplex.v1.AssetStatus getAssetStatus() { if (assetStatusBuilder_ == null) { - return assetStatus_ == null ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } else { return assetStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { @@ -7297,11 +8373,15 @@ public Builder setAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAssetStatus( com.google.cloud.dataplex.v1.AssetStatus.Builder builderForValue) { @@ -7315,17 +8395,21 @@ public Builder setAssetStatus( return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) { if (assetStatusBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - assetStatus_ != null && - assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && assetStatus_ != null + && assetStatus_ != com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance()) { getAssetStatusBuilder().mergeFrom(value); } else { assetStatus_ = value; @@ -7338,11 +8422,15 @@ public Builder mergeAssetStatus(com.google.cloud.dataplex.v1.AssetStatus value) return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAssetStatus() { bitField0_ = (bitField0_ & ~0x00000800); @@ -7355,11 +8443,15 @@ public Builder clearAssetStatus() { return this; } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() { bitField0_ |= 0x00000800; @@ -7367,43 +8459,55 @@ public com.google.cloud.dataplex.v1.AssetStatus.Builder getAssetStatusBuilder() return getAssetStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder() { if (assetStatusBuilder_ != null) { return assetStatusBuilder_.getMessageOrBuilder(); } else { - return assetStatus_ == null ? - com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() : assetStatus_; + return assetStatus_ == null + ? com.google.cloud.dataplex.v1.AssetStatus.getDefaultInstance() + : assetStatus_; } } /** + * + * *
      * Output only. Aggregated status of the underlying assets of the zone.
      * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder> + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder> getAssetStatusFieldBuilder() { if (assetStatusBuilder_ == null) { - assetStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataplex.v1.AssetStatus, com.google.cloud.dataplex.v1.AssetStatus.Builder, com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( - getAssetStatus(), - getParentForChildren(), - isClean()); + assetStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataplex.v1.AssetStatus, + com.google.cloud.dataplex.v1.AssetStatus.Builder, + com.google.cloud.dataplex.v1.AssetStatusOrBuilder>( + getAssetStatus(), getParentForChildren(), isClean()); assetStatus_ = null; } return assetStatusBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7413,12 +8517,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Zone) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Zone) private static final com.google.cloud.dataplex.v1.Zone DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Zone(); } @@ -7427,27 +8531,27 @@ public static com.google.cloud.dataplex.v1.Zone getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zone parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zone parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7462,6 +8566,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataplex.v1.Zone getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneName.java diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java similarity index 66% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java index f34b46adc2cb..34cb3f552c15 100644 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ZoneOrBuilder.java @@ -1,131 +1,190 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataplex/v1/resources.proto package com.google.cloud.dataplex.v1; -public interface ZoneOrBuilder extends +public interface ZoneOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Zone) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The relative resource name of the zone, of the form:
    * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. User friendly display name.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. System generated globally unique ID for the zone. This ID will
    * be different if the zone is deleted and re-created with the same name.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .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 time when the zone was created.
    * 
* - * .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 time when the zone was created.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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 time when the zone was last updated.
    * 
* - * .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(); /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -134,30 +193,31 @@ public interface ZoneOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); /** + * + * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User defined labels for the zone.
    * 
@@ -165,162 +225,228 @@ boolean containsLabels( * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User defined labels for the zone.
    * 
* * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the zone.
    * 
* * string description = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the zone.
    * 
* - * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataplex.v1.State getState(); /** + * + * *
    * Required. Immutable. The type of the zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Immutable. The type of the zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.dataplex.v1.Zone.Type getType(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the discoverySpec field is set. */ boolean hasDiscoverySpec(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The discoverySpec. */ com.google.cloud.dataplex.v1.Zone.DiscoverySpec getDiscoverySpec(); /** + * + * *
    * Optional. Specification of the discovery feature applied to data in this
    * zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.dataplex.v1.Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder(); /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resourceSpec field is set. */ boolean hasResourceSpec(); /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resourceSpec. */ com.google.cloud.dataplex.v1.Zone.ResourceSpec getResourceSpec(); /** + * + * *
    * Required. Specification of the resources that are referenced by the assets
    * within this zone.
    * 
* - * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the assetStatus field is set. */ boolean hasAssetStatus(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The assetStatus. */ com.google.cloud.dataplex.v1.AssetStatus getAssetStatus(); /** + * + * *
    * Output only. Aggregated status of the underlying assets of the zone.
    * 
* - * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataplex.v1.AssetStatusOrBuilder getAssetStatusOrBuilder(); } diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_taxonomy.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/security.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto similarity index 100% rename from owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto rename to java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/AsyncCreateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentLakenameContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/createcontent/SyncCreateContentStringContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/AsyncDeleteContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentContentname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/deletecontent/SyncDeleteContentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/AsyncGetContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentContentname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getcontent/SyncGetContentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getiampolicy/SyncGetIamPolicyString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/AsyncListContentPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listcontent/SyncListContentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/AsyncUpdateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservice/updatecontent/SyncUpdateContentContentFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/contentservicesettings/createcontent/SyncCreateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/AsyncCancelJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobJobname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/canceljob/SyncCancelJobString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/AsyncCreateAssetLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetStringAssetString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createasset/SyncCreateAssetZonenameAssetString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/AsyncCreateEnvironmentLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentLakenameEnvironmentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createenvironment/SyncCreateEnvironmentStringEnvironmentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/AsyncCreateLakeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeLocationnameLakeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createlake/SyncCreateLakeStringLakeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/AsyncCreateTaskLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskLakenameTaskString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createtask/SyncCreateTaskStringTaskString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/AsyncCreateZoneLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneLakenameZoneString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/createzone/SyncCreateZoneStringZoneString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/AsyncDeleteAssetLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetAssetname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteasset/SyncDeleteAssetString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/AsyncDeleteEnvironmentLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentEnvironmentname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deleteenvironment/SyncDeleteEnvironmentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/AsyncDeleteLakeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletelake/SyncDeleteLakeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/AsyncDeleteTaskLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletetask/SyncDeleteTaskTaskname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/AsyncDeleteZoneLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/deletezone/SyncDeleteZoneZonename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/AsyncGetAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetAssetname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getasset/SyncGetAssetString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/AsyncGetEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentEnvironmentname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getenvironment/SyncGetEnvironmentString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/AsyncGetJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobJobname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getjob/SyncGetJobString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/AsyncGetLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlake/SyncGetLakeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/AsyncGetTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/gettask/SyncGetTaskTaskname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/AsyncGetZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/getzone/SyncGetZoneZonename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/AsyncListAssetActionsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsAssetname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassetactions/SyncListAssetActionsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssets.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/AsyncListAssetsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssets.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listassets/SyncListAssetsZonename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironments.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/AsyncListEnvironmentsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironments.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listenvironments/SyncListEnvironmentsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobs.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/AsyncListJobsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobs.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listjobs/SyncListJobsTaskname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/AsyncListLakeActionsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakeactions/SyncListLakeActionsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakes.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/AsyncListLakesPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakes.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesLocationname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlakes/SyncListLakesString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/AsyncListSessionsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsEnvironmentname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listsessions/SyncListSessionsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasks.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/AsyncListTasksPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasks.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listtasks/SyncListTasksString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/AsyncListZoneActionsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzoneactions/SyncListZoneActionsZonename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZones.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/AsyncListZonesPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZones.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesLakename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/listzones/SyncListZonesString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/AsyncRunTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/runtask/SyncRunTaskTaskname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/AsyncUpdateAssetLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAsset.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateasset/SyncUpdateAssetAssetFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/AsyncUpdateEnvironmentLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironment.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updateenvironment/SyncUpdateEnvironmentEnvironmentFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/AsyncUpdateLakeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatelake/SyncUpdateLakeLakeFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/AsyncUpdateTaskLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatetask/SyncUpdateTaskTaskFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/AsyncUpdateZoneLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZone.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservice/updatezone/SyncUpdateZoneZoneFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/dataplexservicesettings/getlake/SyncGetLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/AsyncCreateDataScanLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanLocationnameDatascanString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/createdatascan/SyncCreateDataScanStringDatascanString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/AsyncDeleteDataScanLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanDatascanname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/deletedatascan/SyncDeleteDataScanString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/AsyncGetDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanDatascanname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascan/SyncGetDataScanString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/AsyncGetDataScanJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJob.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobDatascanjobname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getdatascanjob/SyncGetDataScanJobString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobs.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/AsyncListDataScanJobsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobs.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsDatascanname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascanjobs/SyncListDataScanJobsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScans.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/AsyncListDataScansPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScans.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansLocationname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listdatascans/SyncListDataScansString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/AsyncRunDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanDatascanname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/rundatascan/SyncRunDataScanString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/AsyncUpdateDataScanLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservice/updatedatascan/SyncUpdateDataScanDatascanFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datascanservicesettings/getdatascan/SyncGetDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/AsyncCreateDataAttributeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeDatataxonomynameDataattributeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattribute/SyncCreateDataAttributeStringDataattributeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/AsyncCreateDataAttributeBindingLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingLocationnameDataattributebindingString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdataattributebinding/SyncCreateDataAttributeBindingStringDataattributebindingString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/AsyncCreateDataTaxonomyLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyLocationnameDatataxonomyString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/createdatataxonomy/SyncCreateDataTaxonomyStringDatataxonomyString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/AsyncDeleteDataAttributeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeDataattributename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattribute/SyncDeleteDataAttributeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/AsyncDeleteDataAttributeBindingLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingDataattributebindingname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedataattributebinding/SyncDeleteDataAttributeBindingString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/AsyncDeleteDataTaxonomyLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyDatataxonomyname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/deletedatataxonomy/SyncDeleteDataTaxonomyString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/AsyncGetDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeDataattributename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattribute/SyncGetDataAttributeString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/AsyncGetDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingDataattributebindingname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdataattributebinding/SyncGetDataAttributeBindingString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/AsyncGetDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyDatataxonomyname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getdatataxonomy/SyncGetDataTaxonomyString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindings.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/AsyncListDataAttributeBindingsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindings.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsLocationname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributebindings/SyncListDataAttributeBindingsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributes.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/AsyncListDataAttributesPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributes.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesDatataxonomyname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdataattributes/SyncListDataAttributesString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomies.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/AsyncListDataTaxonomiesPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomies.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesLocationname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listdatataxonomies/SyncListDataTaxonomiesString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/AsyncUpdateDataAttributeLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttribute.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattribute/SyncUpdateDataAttributeDataattributeFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/AsyncUpdateDataAttributeBindingLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBinding.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedataattributebinding/SyncUpdateDataAttributeBindingDataattributebindingFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/AsyncUpdateDataTaxonomyLRO.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservice/updatedatataxonomy/SyncUpdateDataTaxonomyDatataxonomyFieldmask.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/datataxonomyservicesettings/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/AsyncCreateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityStringEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createentity/SyncCreateEntityZonenameEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/AsyncCreatePartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionEntitynamePartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/createpartition/SyncCreatePartitionStringPartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/AsyncDeleteEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityEntityname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deleteentity/SyncDeleteEntityString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/AsyncDeletePartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionPartitionname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/deletepartition/SyncDeletePartitionString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/AsyncGetEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityEntityname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getentity/SyncGetEntityString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/AsyncGetPartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartition.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionPartitionname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/getpartition/SyncGetPartitionString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntities.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/AsyncListEntitiesPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntities.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listentities/SyncListEntitiesZonename.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/AsyncListPartitionsPaged.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitions.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsEntityname.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/listpartitions/SyncListPartitionsString.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/AsyncUpdateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservice/updateentity/SyncUpdateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/metadataservicesettings/createentity/SyncCreateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/contentservicestubsettings/createcontent/SyncCreateContent.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/dataplexservicestubsettings/getlake/SyncGetLake.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datascanservicestubsettings/getdatascan/SyncGetDataScan.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/datataxonomyservicestubsettings/getdatataxonomy/SyncGetDataTaxonomy.java diff --git a/owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java b/java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java similarity index 100% rename from owl-bot-staging/java-dataplex/v1/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java rename to java-dataplex/samples/snippets/generated/com/google/cloud/dataplex/v1/stub/metadataservicestubsettings/createentity/SyncCreateEntity.java diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java deleted file mode 100644 index 6a76490a6484..000000000000 --- a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java +++ /dev/null @@ -1,937 +0,0 @@ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * DataScanService manages DataScan resources which can be configured to run
- * various types of data scanning workload and generate enriched metadata (e.g.
- * Data Profile, Data Quality) for the data source.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/datascans.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataScanServiceGrpc { - - private DataScanServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataScanService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataScan", - requestType = com.google.cloud.dataplex.v1.CreateDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataScanMethod() { - io.grpc.MethodDescriptor getCreateDataScanMethod; - if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getCreateDataScanMethod = DataScanServiceGrpc.getCreateDataScanMethod) == null) { - DataScanServiceGrpc.getCreateDataScanMethod = getCreateDataScanMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataScanRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("CreateDataScan")) - .build(); - } - } - } - return getCreateDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataScan", - requestType = com.google.cloud.dataplex.v1.UpdateDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataScanMethod() { - io.grpc.MethodDescriptor getUpdateDataScanMethod; - if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getUpdateDataScanMethod = DataScanServiceGrpc.getUpdateDataScanMethod) == null) { - DataScanServiceGrpc.getUpdateDataScanMethod = getUpdateDataScanMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataScanRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("UpdateDataScan")) - .build(); - } - } - } - return getUpdateDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataScan", - requestType = com.google.cloud.dataplex.v1.DeleteDataScanRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataScanMethod() { - io.grpc.MethodDescriptor getDeleteDataScanMethod; - if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getDeleteDataScanMethod = DataScanServiceGrpc.getDeleteDataScanMethod) == null) { - DataScanServiceGrpc.getDeleteDataScanMethod = getDeleteDataScanMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataScanRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("DeleteDataScan")) - .build(); - } - } - } - return getDeleteDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataScan", - requestType = com.google.cloud.dataplex.v1.GetDataScanRequest.class, - responseType = com.google.cloud.dataplex.v1.DataScan.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataScanMethod() { - io.grpc.MethodDescriptor getGetDataScanMethod; - if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getGetDataScanMethod = DataScanServiceGrpc.getGetDataScanMethod) == null) { - DataScanServiceGrpc.getGetDataScanMethod = getGetDataScanMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataScanRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataScan.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("GetDataScan")) - .build(); - } - } - } - return getGetDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataScansMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataScans", - requestType = com.google.cloud.dataplex.v1.ListDataScansRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataScansResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataScansMethod() { - io.grpc.MethodDescriptor getListDataScansMethod; - if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getListDataScansMethod = DataScanServiceGrpc.getListDataScansMethod) == null) { - DataScanServiceGrpc.getListDataScansMethod = getListDataScansMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScans")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScansRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScansResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("ListDataScans")) - .build(); - } - } - } - return getListDataScansMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunDataScanMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunDataScan", - requestType = com.google.cloud.dataplex.v1.RunDataScanRequest.class, - responseType = com.google.cloud.dataplex.v1.RunDataScanResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunDataScanMethod() { - io.grpc.MethodDescriptor getRunDataScanMethod; - if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getRunDataScanMethod = DataScanServiceGrpc.getRunDataScanMethod) == null) { - DataScanServiceGrpc.getRunDataScanMethod = getRunDataScanMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunDataScan")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunDataScanRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunDataScanResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("RunDataScan")) - .build(); - } - } - } - return getRunDataScanMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataScanJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataScanJob", - requestType = com.google.cloud.dataplex.v1.GetDataScanJobRequest.class, - responseType = com.google.cloud.dataplex.v1.DataScanJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataScanJobMethod() { - io.grpc.MethodDescriptor getGetDataScanJobMethod; - if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getGetDataScanJobMethod = DataScanServiceGrpc.getGetDataScanJobMethod) == null) { - DataScanServiceGrpc.getGetDataScanJobMethod = getGetDataScanJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataScanJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataScanJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataScanJob.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("GetDataScanJob")) - .build(); - } - } - } - return getGetDataScanJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataScanJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataScanJobs", - requestType = com.google.cloud.dataplex.v1.ListDataScanJobsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataScanJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataScanJobsMethod() { - io.grpc.MethodDescriptor getListDataScanJobsMethod; - if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { - synchronized (DataScanServiceGrpc.class) { - if ((getListDataScanJobsMethod = DataScanServiceGrpc.getListDataScanJobsMethod) == null) { - DataScanServiceGrpc.getListDataScanJobsMethod = getListDataScanJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataScanJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataScanJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataScanServiceMethodDescriptorSupplier("ListDataScanJobs")) - .build(); - } - } - } - return getListDataScanJobsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataScanServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceStub(channel, callOptions); - } - }; - return DataScanServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataScanServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceBlockingStub(channel, callOptions); - } - }; - return DataScanServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataScanServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataScanServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceFutureStub(channel, callOptions); - } - }; - return DataScanServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a DataScan resource.
-     * 
- */ - default void createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataScanMethod(), responseObserver); - } - - /** - *
-     * Updates a DataScan resource.
-     * 
- */ - default void updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataScanMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataScan resource.
-     * 
- */ - default void deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataScanMethod(), responseObserver); - } - - /** - *
-     * Gets a DataScan resource.
-     * 
- */ - default void getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataScanMethod(), responseObserver); - } - - /** - *
-     * Lists DataScans.
-     * 
- */ - default void listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataScansMethod(), responseObserver); - } - - /** - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - default void runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunDataScanMethod(), responseObserver); - } - - /** - *
-     * Gets a DataScanJob resource.
-     * 
- */ - default void getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataScanJobMethod(), responseObserver); - } - - /** - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - default void listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataScanJobsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataScanService. - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static abstract class DataScanServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataScanServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataScanService. - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataScanServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a DataScan resource.
-     * 
- */ - public void createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataScan resource.
-     * 
- */ - public void updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataScan resource.
-     * 
- */ - public void deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a DataScan resource.
-     * 
- */ - public void getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataScans.
-     * 
- */ - public void listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataScansMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public void runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public void getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public void listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataScanService. - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataScanServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation createDataScan(com.google.cloud.dataplex.v1.CreateDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataScanMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataScan(com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataScanMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataScan resource.
-     * 
- */ - public com.google.longrunning.Operation deleteDataScan(com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataScanMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a DataScan resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataScan getDataScan(com.google.cloud.dataplex.v1.GetDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataScanMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataScans.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans(com.google.cloud.dataplex.v1.ListDataScansRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataScansMethod(), getCallOptions(), request); - } - - /** - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan(com.google.cloud.dataplex.v1.RunDataScanRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunDataScanMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob(com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataScanJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs(com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataScanJobsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataScanService. - *
-   * DataScanService manages DataScan resources which can be configured to run
-   * various types of data scanning workload and generate enriched metadata (e.g.
-   * Data Profile, Data Quality) for the data source.
-   * 
- */ - public static final class DataScanServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataScanServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataScanServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataScanServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataScan( - com.google.cloud.dataplex.v1.CreateDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataScanMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataScan( - com.google.cloud.dataplex.v1.UpdateDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataScanMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataScan( - com.google.cloud.dataplex.v1.DeleteDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataScanMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a DataScan resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataScan( - com.google.cloud.dataplex.v1.GetDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataScanMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataScans.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataScans( - com.google.cloud.dataplex.v1.ListDataScansRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataScansMethod(), getCallOptions()), request); - } - - /** - *
-     * Runs an on-demand execution of a DataScan
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runDataScan( - com.google.cloud.dataplex.v1.RunDataScanRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunDataScanMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a DataScanJob resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataScanJob( - com.google.cloud.dataplex.v1.GetDataScanJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataScanJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataScanJobs under the given DataScan.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataScanJobs( - com.google.cloud.dataplex.v1.ListDataScanJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataScanJobsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_DATA_SCAN = 0; - private static final int METHODID_UPDATE_DATA_SCAN = 1; - private static final int METHODID_DELETE_DATA_SCAN = 2; - private static final int METHODID_GET_DATA_SCAN = 3; - private static final int METHODID_LIST_DATA_SCANS = 4; - private static final int METHODID_RUN_DATA_SCAN = 5; - private static final int METHODID_GET_DATA_SCAN_JOB = 6; - private static final int METHODID_LIST_DATA_SCAN_JOBS = 7; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_DATA_SCAN: - serviceImpl.createDataScan((com.google.cloud.dataplex.v1.CreateDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_SCAN: - serviceImpl.updateDataScan((com.google.cloud.dataplex.v1.UpdateDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_SCAN: - serviceImpl.deleteDataScan((com.google.cloud.dataplex.v1.DeleteDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SCAN: - serviceImpl.getDataScan((com.google.cloud.dataplex.v1.GetDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_SCANS: - serviceImpl.listDataScans((com.google.cloud.dataplex.v1.ListDataScansRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_DATA_SCAN: - serviceImpl.runDataScan((com.google.cloud.dataplex.v1.RunDataScanRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SCAN_JOB: - serviceImpl.getDataScanJob((com.google.cloud.dataplex.v1.GetDataScanJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_SCAN_JOBS: - serviceImpl.listDataScanJobs((com.google.cloud.dataplex.v1.ListDataScanJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataScanRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATA_SCAN))) - .addMethod( - getUpdateDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataScanRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATA_SCAN))) - .addMethod( - getDeleteDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataScanRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DATA_SCAN))) - .addMethod( - getGetDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataScanRequest, - com.google.cloud.dataplex.v1.DataScan>( - service, METHODID_GET_DATA_SCAN))) - .addMethod( - getListDataScansMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataScansRequest, - com.google.cloud.dataplex.v1.ListDataScansResponse>( - service, METHODID_LIST_DATA_SCANS))) - .addMethod( - getRunDataScanMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.RunDataScanRequest, - com.google.cloud.dataplex.v1.RunDataScanResponse>( - service, METHODID_RUN_DATA_SCAN))) - .addMethod( - getGetDataScanJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataScanJobRequest, - com.google.cloud.dataplex.v1.DataScanJob>( - service, METHODID_GET_DATA_SCAN_JOB))) - .addMethod( - getListDataScanJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataScanJobsRequest, - com.google.cloud.dataplex.v1.ListDataScanJobsResponse>( - service, METHODID_LIST_DATA_SCAN_JOBS))) - .build(); - } - - private static abstract class DataScanServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataScanServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.DataScansProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataScanService"); - } - } - - private static final class DataScanServiceFileDescriptorSupplier - extends DataScanServiceBaseDescriptorSupplier { - DataScanServiceFileDescriptorSupplier() {} - } - - private static final class DataScanServiceMethodDescriptorSupplier - extends DataScanServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataScanServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataScanServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataScanServiceFileDescriptorSupplier()) - .addMethod(getCreateDataScanMethod()) - .addMethod(getUpdateDataScanMethod()) - .addMethod(getDeleteDataScanMethod()) - .addMethod(getGetDataScanMethod()) - .addMethod(getListDataScansMethod()) - .addMethod(getRunDataScanMethod()) - .addMethod(getGetDataScanJobMethod()) - .addMethod(getListDataScanJobsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java deleted file mode 100644 index 7b7ea74edacf..000000000000 --- a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyServiceGrpc.java +++ /dev/null @@ -1,1545 +0,0 @@ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * DataTaxonomyService enables attribute-based governance. The resources
- * currently offered include DataTaxonomy and DataAttribute.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/data_taxonomy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataTaxonomyServiceGrpc { - - private DataTaxonomyServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataTaxonomyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataTaxonomyMethod() { - io.grpc.MethodDescriptor getCreateDataTaxonomyMethod; - if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod) == null) { - DataTaxonomyServiceGrpc.getCreateDataTaxonomyMethod = getCreateDataTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataTaxonomy")) - .build(); - } - } - } - return getCreateDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod() { - io.grpc.MethodDescriptor getUpdateDataTaxonomyMethod; - if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataTaxonomyMethod = DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod) == null) { - DataTaxonomyServiceGrpc.getUpdateDataTaxonomyMethod = getUpdateDataTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataTaxonomy")) - .build(); - } - } - } - return getUpdateDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod() { - io.grpc.MethodDescriptor getDeleteDataTaxonomyMethod; - if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataTaxonomyMethod = DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod) == null) { - DataTaxonomyServiceGrpc.getDeleteDataTaxonomyMethod = getDeleteDataTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataTaxonomy")) - .build(); - } - } - } - return getDeleteDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataTaxonomies", - requestType = com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataTaxonomiesMethod() { - io.grpc.MethodDescriptor getListDataTaxonomiesMethod; - if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataTaxonomiesMethod = DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod) == null) { - DataTaxonomyServiceGrpc.getListDataTaxonomiesMethod = getListDataTaxonomiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataTaxonomies")) - .build(); - } - } - } - return getListDataTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataTaxonomy", - requestType = com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.class, - responseType = com.google.cloud.dataplex.v1.DataTaxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataTaxonomyMethod() { - io.grpc.MethodDescriptor getGetDataTaxonomyMethod; - if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataTaxonomyMethod = DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod) == null) { - DataTaxonomyServiceGrpc.getGetDataTaxonomyMethod = getGetDataTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataTaxonomy.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataTaxonomy")) - .build(); - } - } - } - return getGetDataTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod() { - io.grpc.MethodDescriptor getCreateDataAttributeBindingMethod; - if ((getCreateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod) == null) { - DataTaxonomyServiceGrpc.getCreateDataAttributeBindingMethod = getCreateDataAttributeBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttributeBinding")) - .build(); - } - } - } - return getCreateDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod() { - io.grpc.MethodDescriptor getUpdateDataAttributeBindingMethod; - if ((getUpdateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod) == null) { - DataTaxonomyServiceGrpc.getUpdateDataAttributeBindingMethod = getUpdateDataAttributeBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttributeBinding")) - .build(); - } - } - } - return getUpdateDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod() { - io.grpc.MethodDescriptor getDeleteDataAttributeBindingMethod; - if ((getDeleteDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod) == null) { - DataTaxonomyServiceGrpc.getDeleteDataAttributeBindingMethod = getDeleteDataAttributeBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttributeBinding")) - .build(); - } - } - } - return getDeleteDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataAttributeBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataAttributeBindings", - requestType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataAttributeBindingsMethod() { - io.grpc.MethodDescriptor getListDataAttributeBindingsMethod; - if ((getListDataAttributeBindingsMethod = DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataAttributeBindingsMethod = DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod) == null) { - DataTaxonomyServiceGrpc.getListDataAttributeBindingsMethod = getListDataAttributeBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributeBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributeBindings")) - .build(); - } - } - } - return getListDataAttributeBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataAttributeBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataAttributeBinding", - requestType = com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.class, - responseType = com.google.cloud.dataplex.v1.DataAttributeBinding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataAttributeBindingMethod() { - io.grpc.MethodDescriptor getGetDataAttributeBindingMethod; - if ((getGetDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataAttributeBindingMethod = DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod) == null) { - DataTaxonomyServiceGrpc.getGetDataAttributeBindingMethod = getGetDataAttributeBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttributeBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataAttributeBinding.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttributeBinding")) - .build(); - } - } - } - return getGetDataAttributeBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataAttribute", - requestType = com.google.cloud.dataplex.v1.CreateDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataAttributeMethod() { - io.grpc.MethodDescriptor getCreateDataAttributeMethod; - if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getCreateDataAttributeMethod = DataTaxonomyServiceGrpc.getCreateDataAttributeMethod) == null) { - DataTaxonomyServiceGrpc.getCreateDataAttributeMethod = getCreateDataAttributeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("CreateDataAttribute")) - .build(); - } - } - } - return getCreateDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataAttribute", - requestType = com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataAttributeMethod() { - io.grpc.MethodDescriptor getUpdateDataAttributeMethod; - if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getUpdateDataAttributeMethod = DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod) == null) { - DataTaxonomyServiceGrpc.getUpdateDataAttributeMethod = getUpdateDataAttributeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("UpdateDataAttribute")) - .build(); - } - } - } - return getUpdateDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataAttribute", - requestType = com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataAttributeMethod() { - io.grpc.MethodDescriptor getDeleteDataAttributeMethod; - if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getDeleteDataAttributeMethod = DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod) == null) { - DataTaxonomyServiceGrpc.getDeleteDataAttributeMethod = getDeleteDataAttributeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("DeleteDataAttribute")) - .build(); - } - } - } - return getDeleteDataAttributeMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataAttributesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataAttributes", - requestType = com.google.cloud.dataplex.v1.ListDataAttributesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListDataAttributesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataAttributesMethod() { - io.grpc.MethodDescriptor getListDataAttributesMethod; - if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getListDataAttributesMethod = DataTaxonomyServiceGrpc.getListDataAttributesMethod) == null) { - DataTaxonomyServiceGrpc.getListDataAttributesMethod = getListDataAttributesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataAttributes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListDataAttributesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("ListDataAttributes")) - .build(); - } - } - } - return getListDataAttributesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataAttributeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataAttribute", - requestType = com.google.cloud.dataplex.v1.GetDataAttributeRequest.class, - responseType = com.google.cloud.dataplex.v1.DataAttribute.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataAttributeMethod() { - io.grpc.MethodDescriptor getGetDataAttributeMethod; - if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - if ((getGetDataAttributeMethod = DataTaxonomyServiceGrpc.getGetDataAttributeMethod) == null) { - DataTaxonomyServiceGrpc.getGetDataAttributeMethod = getGetDataAttributeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataAttribute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetDataAttributeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DataAttribute.getDefaultInstance())) - .setSchemaDescriptor(new DataTaxonomyServiceMethodDescriptorSupplier("GetDataAttribute")) - .build(); - } - } - } - return getGetDataAttributeMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataTaxonomyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceStub(channel, callOptions); - } - }; - return DataTaxonomyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataTaxonomyServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceBlockingStub(channel, callOptions); - } - }; - return DataTaxonomyServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataTaxonomyServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataTaxonomyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceFutureStub(channel, callOptions); - } - }; - return DataTaxonomyServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - default void createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - default void updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - default void deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - default void listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataTaxonomiesMethod(), responseObserver); - } - - /** - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - default void getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - default void createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataAttributeBindingMethod(), responseObserver); - } - - /** - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - default void updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataAttributeBindingMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - default void deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataAttributeBindingMethod(), responseObserver); - } - - /** - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - default void listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataAttributeBindingsMethod(), responseObserver); - } - - /** - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - default void getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataAttributeBindingMethod(), responseObserver); - } - - /** - *
-     * Create a DataAttribute resource.
-     * 
- */ - default void createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataAttributeMethod(), responseObserver); - } - - /** - *
-     * Updates a DataAttribute resource.
-     * 
- */ - default void updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataAttributeMethod(), responseObserver); - } - - /** - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - default void deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataAttributeMethod(), responseObserver); - } - - /** - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - default void listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataAttributesMethod(), responseObserver); - } - - /** - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - default void getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataAttributeMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataTaxonomyService. - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static abstract class DataTaxonomyServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataTaxonomyServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataTaxonomyService. - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataTaxonomyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceStub(channel, callOptions); - } - - /** - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public void createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public void updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public void deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public void listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public void getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public void createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public void updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public void deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public void listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public void getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a DataAttribute resource.
-     * 
- */ - public void createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public void updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public void deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public void listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public void getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataTaxonomyService. - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataTaxonomyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public com.google.longrunning.Operation createDataTaxonomy(com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataTaxonomy(com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteDataTaxonomy(com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse listDataTaxonomies(com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataTaxonomiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataTaxonomy getDataTaxonomy(com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public com.google.longrunning.Operation createDataAttributeBinding(com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataAttributeBinding(com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteDataAttributeBinding(com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse listDataAttributeBindings(com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataAttributeBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataAttributeBinding getDataAttributeBinding(com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataAttributeBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a DataAttribute resource.
-     * 
- */ - public com.google.longrunning.Operation createDataAttribute(com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataAttributeMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public com.google.longrunning.Operation updateDataAttribute(com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataAttributeMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public com.google.longrunning.Operation deleteDataAttribute(com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataAttributeMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListDataAttributesResponse listDataAttributes(com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataAttributesMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.DataAttribute getDataAttribute(com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataAttributeMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataTaxonomyService. - *
-   * DataTaxonomyService enables attribute-based governance. The resources
-   * currently offered include DataTaxonomy and DataAttribute.
-   * 
- */ - public static final class DataTaxonomyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataTaxonomyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataTaxonomyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataTaxonomyServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Create a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataTaxonomy( - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataTaxonomy( - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy
-     * must be deleted before the DataTaxonomy can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataTaxonomy( - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataTaxonomy resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataTaxonomies( - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataTaxonomiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves a DataTaxonomy resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataTaxonomy( - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataAttributeBinding( - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataAttributeBinding( - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataAttributeBinding resource. All attributes within the
-     * DataAttributeBinding must be deleted before the DataAttributeBinding can be
-     * deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataAttributeBinding( - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataAttributeBinding resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataAttributeBindings( - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataAttributeBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves a DataAttributeBinding resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataAttributeBinding( - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataAttributeBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a DataAttribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataAttribute( - com.google.cloud.dataplex.v1.CreateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataAttributeMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataAttribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataAttribute( - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataAttributeMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a Data Attribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataAttribute( - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataAttributeMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Data Attribute resources in a DataTaxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataAttributes( - com.google.cloud.dataplex.v1.ListDataAttributesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataAttributesMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves a Data Attribute resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataAttribute( - com.google.cloud.dataplex.v1.GetDataAttributeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataAttributeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_DATA_TAXONOMY = 0; - private static final int METHODID_UPDATE_DATA_TAXONOMY = 1; - private static final int METHODID_DELETE_DATA_TAXONOMY = 2; - private static final int METHODID_LIST_DATA_TAXONOMIES = 3; - private static final int METHODID_GET_DATA_TAXONOMY = 4; - private static final int METHODID_CREATE_DATA_ATTRIBUTE_BINDING = 5; - private static final int METHODID_UPDATE_DATA_ATTRIBUTE_BINDING = 6; - private static final int METHODID_DELETE_DATA_ATTRIBUTE_BINDING = 7; - private static final int METHODID_LIST_DATA_ATTRIBUTE_BINDINGS = 8; - private static final int METHODID_GET_DATA_ATTRIBUTE_BINDING = 9; - private static final int METHODID_CREATE_DATA_ATTRIBUTE = 10; - private static final int METHODID_UPDATE_DATA_ATTRIBUTE = 11; - private static final int METHODID_DELETE_DATA_ATTRIBUTE = 12; - private static final int METHODID_LIST_DATA_ATTRIBUTES = 13; - private static final int METHODID_GET_DATA_ATTRIBUTE = 14; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_DATA_TAXONOMY: - serviceImpl.createDataTaxonomy((com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_TAXONOMY: - serviceImpl.updateDataTaxonomy((com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_TAXONOMY: - serviceImpl.deleteDataTaxonomy((com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_TAXONOMIES: - serviceImpl.listDataTaxonomies((com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_TAXONOMY: - serviceImpl.getDataTaxonomy((com.google.cloud.dataplex.v1.GetDataTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATA_ATTRIBUTE_BINDING: - serviceImpl.createDataAttributeBinding((com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_ATTRIBUTE_BINDING: - serviceImpl.updateDataAttributeBinding((com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_ATTRIBUTE_BINDING: - serviceImpl.deleteDataAttributeBinding((com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_ATTRIBUTE_BINDINGS: - serviceImpl.listDataAttributeBindings((com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_ATTRIBUTE_BINDING: - serviceImpl.getDataAttributeBinding((com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATA_ATTRIBUTE: - serviceImpl.createDataAttribute((com.google.cloud.dataplex.v1.CreateDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_ATTRIBUTE: - serviceImpl.updateDataAttribute((com.google.cloud.dataplex.v1.UpdateDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_ATTRIBUTE: - serviceImpl.deleteDataAttribute((com.google.cloud.dataplex.v1.DeleteDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_ATTRIBUTES: - serviceImpl.listDataAttributes((com.google.cloud.dataplex.v1.ListDataAttributesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_ATTRIBUTE: - serviceImpl.getDataAttribute((com.google.cloud.dataplex.v1.GetDataAttributeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataTaxonomyRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATA_TAXONOMY))) - .addMethod( - getUpdateDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataTaxonomyRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATA_TAXONOMY))) - .addMethod( - getDeleteDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataTaxonomyRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DATA_TAXONOMY))) - .addMethod( - getListDataTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataTaxonomiesRequest, - com.google.cloud.dataplex.v1.ListDataTaxonomiesResponse>( - service, METHODID_LIST_DATA_TAXONOMIES))) - .addMethod( - getGetDataTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataTaxonomyRequest, - com.google.cloud.dataplex.v1.DataTaxonomy>( - service, METHODID_GET_DATA_TAXONOMY))) - .addMethod( - getCreateDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getUpdateDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getDeleteDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataAttributeBindingRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getListDataAttributeBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataAttributeBindingsRequest, - com.google.cloud.dataplex.v1.ListDataAttributeBindingsResponse>( - service, METHODID_LIST_DATA_ATTRIBUTE_BINDINGS))) - .addMethod( - getGetDataAttributeBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataAttributeBindingRequest, - com.google.cloud.dataplex.v1.DataAttributeBinding>( - service, METHODID_GET_DATA_ATTRIBUTE_BINDING))) - .addMethod( - getCreateDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateDataAttributeRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATA_ATTRIBUTE))) - .addMethod( - getUpdateDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateDataAttributeRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATA_ATTRIBUTE))) - .addMethod( - getDeleteDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteDataAttributeRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DATA_ATTRIBUTE))) - .addMethod( - getListDataAttributesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListDataAttributesRequest, - com.google.cloud.dataplex.v1.ListDataAttributesResponse>( - service, METHODID_LIST_DATA_ATTRIBUTES))) - .addMethod( - getGetDataAttributeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetDataAttributeRequest, - com.google.cloud.dataplex.v1.DataAttribute>( - service, METHODID_GET_DATA_ATTRIBUTE))) - .build(); - } - - private static abstract class DataTaxonomyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataTaxonomyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.DataTaxonomyProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataTaxonomyService"); - } - } - - private static final class DataTaxonomyServiceFileDescriptorSupplier - extends DataTaxonomyServiceBaseDescriptorSupplier { - DataTaxonomyServiceFileDescriptorSupplier() {} - } - - private static final class DataTaxonomyServiceMethodDescriptorSupplier - extends DataTaxonomyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataTaxonomyServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataTaxonomyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataTaxonomyServiceFileDescriptorSupplier()) - .addMethod(getCreateDataTaxonomyMethod()) - .addMethod(getUpdateDataTaxonomyMethod()) - .addMethod(getDeleteDataTaxonomyMethod()) - .addMethod(getListDataTaxonomiesMethod()) - .addMethod(getGetDataTaxonomyMethod()) - .addMethod(getCreateDataAttributeBindingMethod()) - .addMethod(getUpdateDataAttributeBindingMethod()) - .addMethod(getDeleteDataAttributeBindingMethod()) - .addMethod(getListDataAttributeBindingsMethod()) - .addMethod(getGetDataAttributeBindingMethod()) - .addMethod(getCreateDataAttributeMethod()) - .addMethod(getUpdateDataAttributeMethod()) - .addMethod(getDeleteDataAttributeMethod()) - .addMethod(getListDataAttributesMethod()) - .addMethod(getGetDataAttributeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java deleted file mode 100644 index 554dd60ad6a0..000000000000 --- a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceGrpc.java +++ /dev/null @@ -1,3115 +0,0 @@ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Dataplex service provides data lakes as a service. The primary resources
- * offered by this service are Lakes, Zones and Assets which collectively allow
- * a data administrator to organize, manage, secure and catalog data across
- * their organization located across cloud projects in a variety of storage
- * systems including Cloud Storage and BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataplexServiceGrpc { - - private DataplexServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.DataplexService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateLake", - requestType = com.google.cloud.dataplex.v1.CreateLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateLakeMethod() { - io.grpc.MethodDescriptor getCreateLakeMethod; - if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateLakeMethod = DataplexServiceGrpc.getCreateLakeMethod) == null) { - DataplexServiceGrpc.getCreateLakeMethod = getCreateLakeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateLakeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateLake")) - .build(); - } - } - } - return getCreateLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateLake", - requestType = com.google.cloud.dataplex.v1.UpdateLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateLakeMethod() { - io.grpc.MethodDescriptor getUpdateLakeMethod; - if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateLakeMethod = DataplexServiceGrpc.getUpdateLakeMethod) == null) { - DataplexServiceGrpc.getUpdateLakeMethod = getUpdateLakeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateLakeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateLake")) - .build(); - } - } - } - return getUpdateLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteLake", - requestType = com.google.cloud.dataplex.v1.DeleteLakeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteLakeMethod() { - io.grpc.MethodDescriptor getDeleteLakeMethod; - if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteLakeMethod = DataplexServiceGrpc.getDeleteLakeMethod) == null) { - DataplexServiceGrpc.getDeleteLakeMethod = getDeleteLakeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteLakeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteLake")) - .build(); - } - } - } - return getDeleteLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor getListLakesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLakes", - requestType = com.google.cloud.dataplex.v1.ListLakesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListLakesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListLakesMethod() { - io.grpc.MethodDescriptor getListLakesMethod; - if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListLakesMethod = DataplexServiceGrpc.getListLakesMethod) == null) { - DataplexServiceGrpc.getListLakesMethod = getListLakesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakes")) - .build(); - } - } - } - return getListLakesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetLakeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetLake", - requestType = com.google.cloud.dataplex.v1.GetLakeRequest.class, - responseType = com.google.cloud.dataplex.v1.Lake.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetLakeMethod() { - io.grpc.MethodDescriptor getGetLakeMethod; - if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetLakeMethod = DataplexServiceGrpc.getGetLakeMethod) == null) { - DataplexServiceGrpc.getGetLakeMethod = getGetLakeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLake")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetLakeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Lake.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetLake")) - .build(); - } - } - } - return getGetLakeMethod; - } - - private static volatile io.grpc.MethodDescriptor getListLakeActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLakeActions", - requestType = com.google.cloud.dataplex.v1.ListLakeActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListLakeActionsMethod() { - io.grpc.MethodDescriptor getListLakeActionsMethod; - if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListLakeActionsMethod = DataplexServiceGrpc.getListLakeActionsMethod) == null) { - DataplexServiceGrpc.getListLakeActionsMethod = getListLakeActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLakeActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListLakeActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListLakeActions")) - .build(); - } - } - } - return getListLakeActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateZone", - requestType = com.google.cloud.dataplex.v1.CreateZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateZoneMethod() { - io.grpc.MethodDescriptor getCreateZoneMethod; - if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateZoneMethod = DataplexServiceGrpc.getCreateZoneMethod) == null) { - DataplexServiceGrpc.getCreateZoneMethod = getCreateZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateZone")) - .build(); - } - } - } - return getCreateZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateZone", - requestType = com.google.cloud.dataplex.v1.UpdateZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateZoneMethod() { - io.grpc.MethodDescriptor getUpdateZoneMethod; - if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateZoneMethod = DataplexServiceGrpc.getUpdateZoneMethod) == null) { - DataplexServiceGrpc.getUpdateZoneMethod = getUpdateZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateZone")) - .build(); - } - } - } - return getUpdateZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteZone", - requestType = com.google.cloud.dataplex.v1.DeleteZoneRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteZoneMethod() { - io.grpc.MethodDescriptor getDeleteZoneMethod; - if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteZoneMethod = DataplexServiceGrpc.getDeleteZoneMethod) == null) { - DataplexServiceGrpc.getDeleteZoneMethod = getDeleteZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteZone")) - .build(); - } - } - } - return getDeleteZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getListZonesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListZones", - requestType = com.google.cloud.dataplex.v1.ListZonesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListZonesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListZonesMethod() { - io.grpc.MethodDescriptor getListZonesMethod; - if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListZonesMethod = DataplexServiceGrpc.getListZonesMethod) == null) { - DataplexServiceGrpc.getListZonesMethod = getListZonesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZonesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZonesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZones")) - .build(); - } - } - } - return getListZonesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetZone", - requestType = com.google.cloud.dataplex.v1.GetZoneRequest.class, - responseType = com.google.cloud.dataplex.v1.Zone.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetZoneMethod() { - io.grpc.MethodDescriptor getGetZoneMethod; - if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetZoneMethod = DataplexServiceGrpc.getGetZoneMethod) == null) { - DataplexServiceGrpc.getGetZoneMethod = getGetZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Zone.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetZone")) - .build(); - } - } - } - return getGetZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getListZoneActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListZoneActions", - requestType = com.google.cloud.dataplex.v1.ListZoneActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListZoneActionsMethod() { - io.grpc.MethodDescriptor getListZoneActionsMethod; - if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListZoneActionsMethod = DataplexServiceGrpc.getListZoneActionsMethod) == null) { - DataplexServiceGrpc.getListZoneActionsMethod = getListZoneActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZoneActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListZoneActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListZoneActions")) - .build(); - } - } - } - return getListZoneActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAsset", - requestType = com.google.cloud.dataplex.v1.CreateAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAssetMethod() { - io.grpc.MethodDescriptor getCreateAssetMethod; - if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateAssetMethod = DataplexServiceGrpc.getCreateAssetMethod) == null) { - DataplexServiceGrpc.getCreateAssetMethod = getCreateAssetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateAssetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateAsset")) - .build(); - } - } - } - return getCreateAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAsset", - requestType = com.google.cloud.dataplex.v1.UpdateAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAssetMethod() { - io.grpc.MethodDescriptor getUpdateAssetMethod; - if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateAssetMethod = DataplexServiceGrpc.getUpdateAssetMethod) == null) { - DataplexServiceGrpc.getUpdateAssetMethod = getUpdateAssetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateAssetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateAsset")) - .build(); - } - } - } - return getUpdateAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAsset", - requestType = com.google.cloud.dataplex.v1.DeleteAssetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAssetMethod() { - io.grpc.MethodDescriptor getDeleteAssetMethod; - if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteAssetMethod = DataplexServiceGrpc.getDeleteAssetMethod) == null) { - DataplexServiceGrpc.getDeleteAssetMethod = getDeleteAssetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteAssetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteAsset")) - .build(); - } - } - } - return getDeleteAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.dataplex.v1.ListAssetsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAssetsMethod() { - io.grpc.MethodDescriptor getListAssetsMethod; - if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListAssetsMethod = DataplexServiceGrpc.getListAssetsMethod) == null) { - DataplexServiceGrpc.getListAssetsMethod = getListAssetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAssetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAsset", - requestType = com.google.cloud.dataplex.v1.GetAssetRequest.class, - responseType = com.google.cloud.dataplex.v1.Asset.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAssetMethod() { - io.grpc.MethodDescriptor getGetAssetMethod; - if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetAssetMethod = DataplexServiceGrpc.getGetAssetMethod) == null) { - DataplexServiceGrpc.getGetAssetMethod = getGetAssetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAsset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetAssetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Asset.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetAsset")) - .build(); - } - } - } - return getGetAssetMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAssetActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssetActions", - requestType = com.google.cloud.dataplex.v1.ListAssetActionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAssetActionsMethod() { - io.grpc.MethodDescriptor getListAssetActionsMethod; - if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListAssetActionsMethod = DataplexServiceGrpc.getListAssetActionsMethod) == null) { - DataplexServiceGrpc.getListAssetActionsMethod = getListAssetActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssetActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListAssetActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListAssetActions")) - .build(); - } - } - } - return getListAssetActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTask", - requestType = com.google.cloud.dataplex.v1.CreateTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTaskMethod() { - io.grpc.MethodDescriptor getCreateTaskMethod; - if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateTaskMethod = DataplexServiceGrpc.getCreateTaskMethod) == null) { - DataplexServiceGrpc.getCreateTaskMethod = getCreateTaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateTaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateTask")) - .build(); - } - } - } - return getCreateTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTask", - requestType = com.google.cloud.dataplex.v1.UpdateTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTaskMethod() { - io.grpc.MethodDescriptor getUpdateTaskMethod; - if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateTaskMethod = DataplexServiceGrpc.getUpdateTaskMethod) == null) { - DataplexServiceGrpc.getUpdateTaskMethod = getUpdateTaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateTaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateTask")) - .build(); - } - } - } - return getUpdateTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTask", - requestType = com.google.cloud.dataplex.v1.DeleteTaskRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTaskMethod() { - io.grpc.MethodDescriptor getDeleteTaskMethod; - if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteTaskMethod = DataplexServiceGrpc.getDeleteTaskMethod) == null) { - DataplexServiceGrpc.getDeleteTaskMethod = getDeleteTaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteTaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteTask")) - .build(); - } - } - } - return getDeleteTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTasks", - requestType = com.google.cloud.dataplex.v1.ListTasksRequest.class, - responseType = com.google.cloud.dataplex.v1.ListTasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTasksMethod() { - io.grpc.MethodDescriptor getListTasksMethod; - if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListTasksMethod = DataplexServiceGrpc.getListTasksMethod) == null) { - DataplexServiceGrpc.getListTasksMethod = getListTasksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListTasksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListTasksResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListTasks")) - .build(); - } - } - } - return getListTasksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTask", - requestType = com.google.cloud.dataplex.v1.GetTaskRequest.class, - responseType = com.google.cloud.dataplex.v1.Task.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTaskMethod() { - io.grpc.MethodDescriptor getGetTaskMethod; - if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetTaskMethod = DataplexServiceGrpc.getGetTaskMethod) == null) { - DataplexServiceGrpc.getGetTaskMethod = getGetTaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetTaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Task.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetTask")) - .build(); - } - } - } - return getGetTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.dataplex.v1.ListJobsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobsMethod() { - io.grpc.MethodDescriptor getListJobsMethod; - if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListJobsMethod = DataplexServiceGrpc.getListJobsMethod) == null) { - DataplexServiceGrpc.getListJobsMethod = getListJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunTask", - requestType = com.google.cloud.dataplex.v1.RunTaskRequest.class, - responseType = com.google.cloud.dataplex.v1.RunTaskResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunTaskMethod() { - io.grpc.MethodDescriptor getRunTaskMethod; - if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getRunTaskMethod = DataplexServiceGrpc.getRunTaskMethod) == null) { - DataplexServiceGrpc.getRunTaskMethod = getRunTaskMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunTaskRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.RunTaskResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("RunTask")) - .build(); - } - } - } - return getRunTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.dataplex.v1.GetJobRequest.class, - responseType = com.google.cloud.dataplex.v1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobMethod() { - io.grpc.MethodDescriptor getGetJobMethod; - if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetJobMethod = DataplexServiceGrpc.getGetJobMethod) == null) { - DataplexServiceGrpc.getGetJobMethod = getGetJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Job.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelJob", - requestType = com.google.cloud.dataplex.v1.CancelJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelJobMethod() { - io.grpc.MethodDescriptor getCancelJobMethod; - if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCancelJobMethod = DataplexServiceGrpc.getCancelJobMethod) == null) { - DataplexServiceGrpc.getCancelJobMethod = getCancelJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CancelJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CancelJob")) - .build(); - } - } - } - return getCancelJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = com.google.cloud.dataplex.v1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getCreateEnvironmentMethod = DataplexServiceGrpc.getCreateEnvironmentMethod) == null) { - DataplexServiceGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getUpdateEnvironmentMethod = DataplexServiceGrpc.getUpdateEnvironmentMethod) == null) { - DataplexServiceGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getDeleteEnvironmentMethod = DataplexServiceGrpc.getDeleteEnvironmentMethod) == null) { - DataplexServiceGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = com.google.cloud.dataplex.v1.ListEnvironmentsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { - io.grpc.MethodDescriptor getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListEnvironmentsMethod = DataplexServiceGrpc.getListEnvironmentsMethod) == null) { - DataplexServiceGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEnvironmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = com.google.cloud.dataplex.v1.GetEnvironmentRequest.class, - responseType = com.google.cloud.dataplex.v1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { - io.grpc.MethodDescriptor getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getGetEnvironmentMethod = DataplexServiceGrpc.getGetEnvironmentMethod) == null) { - DataplexServiceGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Environment.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSessionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSessions", - requestType = com.google.cloud.dataplex.v1.ListSessionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListSessionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSessionsMethod() { - io.grpc.MethodDescriptor getListSessionsMethod; - if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { - synchronized (DataplexServiceGrpc.class) { - if ((getListSessionsMethod = DataplexServiceGrpc.getListSessionsMethod) == null) { - DataplexServiceGrpc.getListSessionsMethod = getListSessionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListSessionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListSessionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataplexServiceMethodDescriptorSupplier("ListSessions")) - .build(); - } - } - } - return getListSessionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataplexServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceStub(channel, callOptions); - } - }; - return DataplexServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataplexServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceBlockingStub(channel, callOptions); - } - }; - return DataplexServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataplexServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataplexServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceFutureStub(channel, callOptions); - } - }; - return DataplexServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a lake resource.
-     * 
- */ - default void createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateLakeMethod(), responseObserver); - } - - /** - *
-     * Updates a lake resource.
-     * 
- */ - default void updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateLakeMethod(), responseObserver); - } - - /** - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - default void deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLakeMethod(), responseObserver); - } - - /** - *
-     * Lists lake resources in a project and location.
-     * 
- */ - default void listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakesMethod(), responseObserver); - } - - /** - *
-     * Retrieves a lake resource.
-     * 
- */ - default void getLake(com.google.cloud.dataplex.v1.GetLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLakeMethod(), responseObserver); - } - - /** - *
-     * Lists action resources in a lake.
-     * 
- */ - default void listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLakeActionsMethod(), responseObserver); - } - - /** - *
-     * Creates a zone resource within a lake.
-     * 
- */ - default void createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateZoneMethod(), responseObserver); - } - - /** - *
-     * Updates a zone resource.
-     * 
- */ - default void updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateZoneMethod(), responseObserver); - } - - /** - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - default void deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteZoneMethod(), responseObserver); - } - - /** - *
-     * Lists zone resources in a lake.
-     * 
- */ - default void listZones(com.google.cloud.dataplex.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); - } - - /** - *
-     * Retrieves a zone resource.
-     * 
- */ - default void getZone(com.google.cloud.dataplex.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); - } - - /** - *
-     * Lists action resources in a zone.
-     * 
- */ - default void listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZoneActionsMethod(), responseObserver); - } - - /** - *
-     * Creates an asset resource.
-     * 
- */ - default void createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAssetMethod(), responseObserver); - } - - /** - *
-     * Updates an asset resource.
-     * 
- */ - default void updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAssetMethod(), responseObserver); - } - - /** - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - default void deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAssetMethod(), responseObserver); - } - - /** - *
-     * Lists asset resources in a zone.
-     * 
- */ - default void listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - *
-     * Retrieves an asset resource.
-     * 
- */ - default void getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAssetMethod(), responseObserver); - } - - /** - *
-     * Lists action resources in an asset.
-     * 
- */ - default void listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetActionsMethod(), responseObserver); - } - - /** - *
-     * Creates a task resource within a lake.
-     * 
- */ - default void createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); - } - - /** - *
-     * Update the task resource.
-     * 
- */ - default void updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaskMethod(), responseObserver); - } - - /** - *
-     * Delete the task resource.
-     * 
- */ - default void deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); - } - - /** - *
-     * Lists tasks under the given lake.
-     * 
- */ - default void listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); - } - - /** - *
-     * Get task resource.
-     * 
- */ - default void getTask(com.google.cloud.dataplex.v1.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); - } - - /** - *
-     * Lists Jobs under the given task.
-     * 
- */ - default void listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - *
-     * Run an on demand execution of a Task.
-     * 
- */ - default void runTask(com.google.cloud.dataplex.v1.RunTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); - } - - /** - *
-     * Get job resource.
-     * 
- */ - default void getJob(com.google.cloud.dataplex.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - default void cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); - } - - /** - *
-     * Create an environment resource.
-     * 
- */ - default void createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); - } - - /** - *
-     * Update the environment resource.
-     * 
- */ - default void updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); - } - - /** - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - default void deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); - } - - /** - *
-     * Lists environments under the given lake.
-     * 
- */ - default void listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); - } - - /** - *
-     * Get environment resource.
-     * 
- */ - default void getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); - } - - /** - *
-     * Lists session resources in an environment.
-     * 
- */ - default void listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSessionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataplexService. - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static abstract class DataplexServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataplexServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataplexService. - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DataplexServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a lake resource.
-     * 
- */ - public void createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a lake resource.
-     * 
- */ - public void updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public void deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public void listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLakesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves a lake resource.
-     * 
- */ - public void getLake(com.google.cloud.dataplex.v1.GetLakeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetLakeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists action resources in a lake.
-     * 
- */ - public void listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public void createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a zone resource.
-     * 
- */ - public void updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public void deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists zone resources in a lake.
-     * 
- */ - public void listZones(com.google.cloud.dataplex.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves a zone resource.
-     * 
- */ - public void getZone(com.google.cloud.dataplex.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists action resources in a zone.
-     * 
- */ - public void listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an asset resource.
-     * 
- */ - public void createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an asset resource.
-     * 
- */ - public void updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public void deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists asset resources in a zone.
-     * 
- */ - public void listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves an asset resource.
-     * 
- */ - public void getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAssetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists action resources in an asset.
-     * 
- */ - public void listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a task resource within a lake.
-     * 
- */ - public void createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update the task resource.
-     * 
- */ - public void updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete the task resource.
-     * 
- */ - public void deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tasks under the given lake.
-     * 
- */ - public void listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get task resource.
-     * 
- */ - public void getTask(com.google.cloud.dataplex.v1.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Jobs under the given task.
-     * 
- */ - public void listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public void runTask(com.google.cloud.dataplex.v1.RunTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get job resource.
-     * 
- */ - public void getJob(com.google.cloud.dataplex.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public void cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create an environment resource.
-     * 
- */ - public void createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update the environment resource.
-     * 
- */ - public void updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public void deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists environments under the given lake.
-     * 
- */ - public void listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get environment resource.
-     * 
- */ - public void getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists session resources in an environment.
-     * 
- */ - public void listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataplexService. - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataplexServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a lake resource.
-     * 
- */ - public com.google.longrunning.Operation createLake(com.google.cloud.dataplex.v1.CreateLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateLakeMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a lake resource.
-     * 
- */ - public com.google.longrunning.Operation updateLake(com.google.cloud.dataplex.v1.UpdateLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateLakeMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteLake(com.google.cloud.dataplex.v1.DeleteLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteLakeMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListLakesResponse listLakes(com.google.cloud.dataplex.v1.ListLakesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLakesMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves a lake resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Lake getLake(com.google.cloud.dataplex.v1.GetLakeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetLakeMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists action resources in a lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listLakeActions(com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLakeActionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public com.google.longrunning.Operation createZone(com.google.cloud.dataplex.v1.CreateZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a zone resource.
-     * 
- */ - public com.google.longrunning.Operation updateZone(com.google.cloud.dataplex.v1.UpdateZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteZone(com.google.cloud.dataplex.v1.DeleteZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists zone resources in a lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListZonesResponse listZones(com.google.cloud.dataplex.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListZonesMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves a zone resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Zone getZone(com.google.cloud.dataplex.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists action resources in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listZoneActions(com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListZoneActionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an asset resource.
-     * 
- */ - public com.google.longrunning.Operation createAsset(com.google.cloud.dataplex.v1.CreateAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAssetMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an asset resource.
-     * 
- */ - public com.google.longrunning.Operation updateAsset(com.google.cloud.dataplex.v1.UpdateAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAssetMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public com.google.longrunning.Operation deleteAsset(com.google.cloud.dataplex.v1.DeleteAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAssetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists asset resources in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListAssetsResponse listAssets(com.google.cloud.dataplex.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves an asset resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Asset getAsset(com.google.cloud.dataplex.v1.GetAssetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAssetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists action resources in an asset.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListActionsResponse listAssetActions(com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetActionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a task resource within a lake.
-     * 
- */ - public com.google.longrunning.Operation createTask(com.google.cloud.dataplex.v1.CreateTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Update the task resource.
-     * 
- */ - public com.google.longrunning.Operation updateTask(com.google.cloud.dataplex.v1.UpdateTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete the task resource.
-     * 
- */ - public com.google.longrunning.Operation deleteTask(com.google.cloud.dataplex.v1.DeleteTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tasks under the given lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListTasksResponse listTasks(com.google.cloud.dataplex.v1.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTasksMethod(), getCallOptions(), request); - } - - /** - *
-     * Get task resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Task getTask(com.google.cloud.dataplex.v1.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Jobs under the given task.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListJobsResponse listJobs(com.google.cloud.dataplex.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public com.google.cloud.dataplex.v1.RunTaskResponse runTask(com.google.cloud.dataplex.v1.RunTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunTaskMethod(), getCallOptions(), request); - } - - /** - *
-     * Get job resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Job getJob(com.google.cloud.dataplex.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public com.google.protobuf.Empty cancelJob(com.google.cloud.dataplex.v1.CancelJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Create an environment resource.
-     * 
- */ - public com.google.longrunning.Operation createEnvironment(com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Update the environment resource.
-     * 
- */ - public com.google.longrunning.Operation updateEnvironment(com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists environments under the given lake.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListEnvironmentsResponse listEnvironments(com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Get environment resource.
-     * 
- */ - public com.google.cloud.dataplex.v1.Environment getEnvironment(com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists session resources in an environment.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListSessionsResponse listSessions(com.google.cloud.dataplex.v1.ListSessionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSessionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataplexService. - *
-   * Dataplex service provides data lakes as a service. The primary resources
-   * offered by this service are Lakes, Zones and Assets which collectively allow
-   * a data administrator to organize, manage, secure and catalog data across
-   * their organization located across cloud projects in a variety of storage
-   * systems including Cloud Storage and BigQuery.
-   * 
- */ - public static final class DataplexServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataplexServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataplexServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataplexServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createLake( - com.google.cloud.dataplex.v1.CreateLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateLakeMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateLake( - com.google.cloud.dataplex.v1.UpdateLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateLakeMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a lake resource. All zones within the lake must be deleted before
-     * the lake can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteLake( - com.google.cloud.dataplex.v1.DeleteLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteLakeMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists lake resources in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listLakes( - com.google.cloud.dataplex.v1.ListLakesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLakesMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves a lake resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getLake( - com.google.cloud.dataplex.v1.GetLakeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetLakeMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists action resources in a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listLakeActions( - com.google.cloud.dataplex.v1.ListLakeActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLakeActionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a zone resource within a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createZone( - com.google.cloud.dataplex.v1.CreateZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a zone resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateZone( - com.google.cloud.dataplex.v1.UpdateZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a zone resource. All assets within a zone must be deleted before
-     * the zone can be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteZone( - com.google.cloud.dataplex.v1.DeleteZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists zone resources in a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listZones( - com.google.cloud.dataplex.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves a zone resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getZone( - com.google.cloud.dataplex.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists action resources in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listZoneActions( - com.google.cloud.dataplex.v1.ListZoneActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListZoneActionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAsset( - com.google.cloud.dataplex.v1.CreateAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAssetMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAsset( - com.google.cloud.dataplex.v1.UpdateAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAssetMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an asset resource. The referenced storage resource is detached
-     * (default) or deleted based on the associated Lifecycle policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAsset( - com.google.cloud.dataplex.v1.DeleteAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAssetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists asset resources in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAssets( - com.google.cloud.dataplex.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves an asset resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAsset( - com.google.cloud.dataplex.v1.GetAssetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAssetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists action resources in an asset.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAssetActions( - com.google.cloud.dataplex.v1.ListAssetActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetActionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a task resource within a lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.dataplex.v1.CreateTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Update the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTask( - com.google.cloud.dataplex.v1.UpdateTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTask( - com.google.cloud.dataplex.v1.DeleteTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tasks under the given lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTasks( - com.google.cloud.dataplex.v1.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request); - } - - /** - *
-     * Get task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.dataplex.v1.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Jobs under the given task.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.dataplex.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Run an on demand execution of a Task.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runTask( - com.google.cloud.dataplex.v1.RunTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunTaskMethod(), getCallOptions()), request); - } - - /** - *
-     * Get job resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.dataplex.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancel jobs running for the task resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelJob( - com.google.cloud.dataplex.v1.CancelJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Create an environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEnvironment( - com.google.cloud.dataplex.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Update the environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEnvironment( - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete the environment resource. All the child resources must have been
-     * deleted before environment deletion can be initiated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists environments under the given lake.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEnvironments( - com.google.cloud.dataplex.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Get environment resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEnvironment( - com.google.cloud.dataplex.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists session resources in an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSessions( - com.google.cloud.dataplex.v1.ListSessionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_LAKE = 0; - private static final int METHODID_UPDATE_LAKE = 1; - private static final int METHODID_DELETE_LAKE = 2; - private static final int METHODID_LIST_LAKES = 3; - private static final int METHODID_GET_LAKE = 4; - private static final int METHODID_LIST_LAKE_ACTIONS = 5; - private static final int METHODID_CREATE_ZONE = 6; - private static final int METHODID_UPDATE_ZONE = 7; - private static final int METHODID_DELETE_ZONE = 8; - private static final int METHODID_LIST_ZONES = 9; - private static final int METHODID_GET_ZONE = 10; - private static final int METHODID_LIST_ZONE_ACTIONS = 11; - private static final int METHODID_CREATE_ASSET = 12; - private static final int METHODID_UPDATE_ASSET = 13; - private static final int METHODID_DELETE_ASSET = 14; - private static final int METHODID_LIST_ASSETS = 15; - private static final int METHODID_GET_ASSET = 16; - private static final int METHODID_LIST_ASSET_ACTIONS = 17; - private static final int METHODID_CREATE_TASK = 18; - private static final int METHODID_UPDATE_TASK = 19; - private static final int METHODID_DELETE_TASK = 20; - private static final int METHODID_LIST_TASKS = 21; - private static final int METHODID_GET_TASK = 22; - private static final int METHODID_LIST_JOBS = 23; - private static final int METHODID_RUN_TASK = 24; - private static final int METHODID_GET_JOB = 25; - private static final int METHODID_CANCEL_JOB = 26; - private static final int METHODID_CREATE_ENVIRONMENT = 27; - private static final int METHODID_UPDATE_ENVIRONMENT = 28; - private static final int METHODID_DELETE_ENVIRONMENT = 29; - private static final int METHODID_LIST_ENVIRONMENTS = 30; - private static final int METHODID_GET_ENVIRONMENT = 31; - private static final int METHODID_LIST_SESSIONS = 32; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_LAKE: - serviceImpl.createLake((com.google.cloud.dataplex.v1.CreateLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_LAKE: - serviceImpl.updateLake((com.google.cloud.dataplex.v1.UpdateLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_LAKE: - serviceImpl.deleteLake((com.google.cloud.dataplex.v1.DeleteLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_LAKES: - serviceImpl.listLakes((com.google.cloud.dataplex.v1.ListLakesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_LAKE: - serviceImpl.getLake((com.google.cloud.dataplex.v1.GetLakeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_LAKE_ACTIONS: - serviceImpl.listLakeActions((com.google.cloud.dataplex.v1.ListLakeActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ZONE: - serviceImpl.createZone((com.google.cloud.dataplex.v1.CreateZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ZONE: - serviceImpl.updateZone((com.google.cloud.dataplex.v1.UpdateZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ZONE: - serviceImpl.deleteZone((com.google.cloud.dataplex.v1.DeleteZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ZONES: - serviceImpl.listZones((com.google.cloud.dataplex.v1.ListZonesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ZONE: - serviceImpl.getZone((com.google.cloud.dataplex.v1.GetZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ZONE_ACTIONS: - serviceImpl.listZoneActions((com.google.cloud.dataplex.v1.ListZoneActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ASSET: - serviceImpl.createAsset((com.google.cloud.dataplex.v1.CreateAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ASSET: - serviceImpl.updateAsset((com.google.cloud.dataplex.v1.UpdateAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ASSET: - serviceImpl.deleteAsset((com.google.cloud.dataplex.v1.DeleteAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets((com.google.cloud.dataplex.v1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ASSET: - serviceImpl.getAsset((com.google.cloud.dataplex.v1.GetAssetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSET_ACTIONS: - serviceImpl.listAssetActions((com.google.cloud.dataplex.v1.ListAssetActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TASK: - serviceImpl.createTask((com.google.cloud.dataplex.v1.CreateTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TASK: - serviceImpl.updateTask((com.google.cloud.dataplex.v1.UpdateTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TASK: - serviceImpl.deleteTask((com.google.cloud.dataplex.v1.DeleteTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TASKS: - serviceImpl.listTasks((com.google.cloud.dataplex.v1.ListTasksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TASK: - serviceImpl.getTask((com.google.cloud.dataplex.v1.GetTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs((com.google.cloud.dataplex.v1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_TASK: - serviceImpl.runTask((com.google.cloud.dataplex.v1.RunTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob((com.google.cloud.dataplex.v1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_JOB: - serviceImpl.cancelJob((com.google.cloud.dataplex.v1.CancelJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment((com.google.cloud.dataplex.v1.CreateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment((com.google.cloud.dataplex.v1.UpdateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment((com.google.cloud.dataplex.v1.DeleteEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments((com.google.cloud.dataplex.v1.ListEnvironmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment((com.google.cloud.dataplex.v1.GetEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SESSIONS: - serviceImpl.listSessions((com.google.cloud.dataplex.v1.ListSessionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateLakeRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_LAKE))) - .addMethod( - getUpdateLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateLakeRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_LAKE))) - .addMethod( - getDeleteLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteLakeRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_LAKE))) - .addMethod( - getListLakesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListLakesRequest, - com.google.cloud.dataplex.v1.ListLakesResponse>( - service, METHODID_LIST_LAKES))) - .addMethod( - getGetLakeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetLakeRequest, - com.google.cloud.dataplex.v1.Lake>( - service, METHODID_GET_LAKE))) - .addMethod( - getListLakeActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListLakeActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_LAKE_ACTIONS))) - .addMethod( - getCreateZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateZoneRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ZONE))) - .addMethod( - getUpdateZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateZoneRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_ZONE))) - .addMethod( - getDeleteZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteZoneRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_ZONE))) - .addMethod( - getListZonesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListZonesRequest, - com.google.cloud.dataplex.v1.ListZonesResponse>( - service, METHODID_LIST_ZONES))) - .addMethod( - getGetZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetZoneRequest, - com.google.cloud.dataplex.v1.Zone>( - service, METHODID_GET_ZONE))) - .addMethod( - getListZoneActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListZoneActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_ZONE_ACTIONS))) - .addMethod( - getCreateAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateAssetRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ASSET))) - .addMethod( - getUpdateAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateAssetRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_ASSET))) - .addMethod( - getDeleteAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteAssetRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_ASSET))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListAssetsRequest, - com.google.cloud.dataplex.v1.ListAssetsResponse>( - service, METHODID_LIST_ASSETS))) - .addMethod( - getGetAssetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetAssetRequest, - com.google.cloud.dataplex.v1.Asset>( - service, METHODID_GET_ASSET))) - .addMethod( - getListAssetActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListAssetActionsRequest, - com.google.cloud.dataplex.v1.ListActionsResponse>( - service, METHODID_LIST_ASSET_ACTIONS))) - .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateTaskRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_TASK))) - .addMethod( - getUpdateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateTaskRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_TASK))) - .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteTaskRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_TASK))) - .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListTasksRequest, - com.google.cloud.dataplex.v1.ListTasksResponse>( - service, METHODID_LIST_TASKS))) - .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetTaskRequest, - com.google.cloud.dataplex.v1.Task>( - service, METHODID_GET_TASK))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListJobsRequest, - com.google.cloud.dataplex.v1.ListJobsResponse>( - service, METHODID_LIST_JOBS))) - .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.RunTaskRequest, - com.google.cloud.dataplex.v1.RunTaskResponse>( - service, METHODID_RUN_TASK))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetJobRequest, - com.google.cloud.dataplex.v1.Job>( - service, METHODID_GET_JOB))) - .addMethod( - getCancelJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CancelJobRequest, - com.google.protobuf.Empty>( - service, METHODID_CANCEL_JOB))) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListEnvironmentsRequest, - com.google.cloud.dataplex.v1.ListEnvironmentsResponse>( - service, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetEnvironmentRequest, - com.google.cloud.dataplex.v1.Environment>( - service, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListSessionsRequest, - com.google.cloud.dataplex.v1.ListSessionsResponse>( - service, METHODID_LIST_SESSIONS))) - .build(); - } - - private static abstract class DataplexServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataplexServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataplexService"); - } - } - - private static final class DataplexServiceFileDescriptorSupplier - extends DataplexServiceBaseDescriptorSupplier { - DataplexServiceFileDescriptorSupplier() {} - } - - private static final class DataplexServiceMethodDescriptorSupplier - extends DataplexServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DataplexServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataplexServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataplexServiceFileDescriptorSupplier()) - .addMethod(getCreateLakeMethod()) - .addMethod(getUpdateLakeMethod()) - .addMethod(getDeleteLakeMethod()) - .addMethod(getListLakesMethod()) - .addMethod(getGetLakeMethod()) - .addMethod(getListLakeActionsMethod()) - .addMethod(getCreateZoneMethod()) - .addMethod(getUpdateZoneMethod()) - .addMethod(getDeleteZoneMethod()) - .addMethod(getListZonesMethod()) - .addMethod(getGetZoneMethod()) - .addMethod(getListZoneActionsMethod()) - .addMethod(getCreateAssetMethod()) - .addMethod(getUpdateAssetMethod()) - .addMethod(getDeleteAssetMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getGetAssetMethod()) - .addMethod(getListAssetActionsMethod()) - .addMethod(getCreateTaskMethod()) - .addMethod(getUpdateTaskMethod()) - .addMethod(getDeleteTaskMethod()) - .addMethod(getListTasksMethod()) - .addMethod(getGetTaskMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getRunTaskMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCancelJobMethod()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListSessionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java b/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java deleted file mode 100644 index 4f2a59a629d3..000000000000 --- a/owl-bot-staging/java-dataplex/v1/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceGrpc.java +++ /dev/null @@ -1,1017 +0,0 @@ -package com.google.cloud.dataplex.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Metadata service manages metadata resources such as tables, filesets and
- * partitions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataplex/v1/metadata.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MetadataServiceGrpc { - - private MetadataServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.dataplex.v1.MetadataService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntity", - requestType = com.google.cloud.dataplex.v1.CreateEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEntityMethod() { - io.grpc.MethodDescriptor getCreateEntityMethod; - if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getCreateEntityMethod = MetadataServiceGrpc.getCreateEntityMethod) == null) { - MetadataServiceGrpc.getCreateEntityMethod = getCreateEntityMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreateEntityRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("CreateEntity")) - .build(); - } - } - } - return getCreateEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntity", - requestType = com.google.cloud.dataplex.v1.UpdateEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEntityMethod() { - io.grpc.MethodDescriptor getUpdateEntityMethod; - if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getUpdateEntityMethod = MetadataServiceGrpc.getUpdateEntityMethod) == null) { - MetadataServiceGrpc.getUpdateEntityMethod = getUpdateEntityMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.UpdateEntityRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("UpdateEntity")) - .build(); - } - } - } - return getUpdateEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntity", - requestType = com.google.cloud.dataplex.v1.DeleteEntityRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEntityMethod() { - io.grpc.MethodDescriptor getDeleteEntityMethod; - if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getDeleteEntityMethod = MetadataServiceGrpc.getDeleteEntityMethod) == null) { - MetadataServiceGrpc.getDeleteEntityMethod = getDeleteEntityMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeleteEntityRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("DeleteEntity")) - .build(); - } - } - } - return getDeleteEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEntityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntity", - requestType = com.google.cloud.dataplex.v1.GetEntityRequest.class, - responseType = com.google.cloud.dataplex.v1.Entity.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEntityMethod() { - io.grpc.MethodDescriptor getGetEntityMethod; - if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getGetEntityMethod = MetadataServiceGrpc.getGetEntityMethod) == null) { - MetadataServiceGrpc.getGetEntityMethod = getGetEntityMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetEntityRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Entity.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetEntity")) - .build(); - } - } - } - return getGetEntityMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEntitiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntities", - requestType = com.google.cloud.dataplex.v1.ListEntitiesRequest.class, - responseType = com.google.cloud.dataplex.v1.ListEntitiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEntitiesMethod() { - io.grpc.MethodDescriptor getListEntitiesMethod; - if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getListEntitiesMethod = MetadataServiceGrpc.getListEntitiesMethod) == null) { - MetadataServiceGrpc.getListEntitiesMethod = getListEntitiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntities")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListEntitiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("ListEntities")) - .build(); - } - } - } - return getListEntitiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePartition", - requestType = com.google.cloud.dataplex.v1.CreatePartitionRequest.class, - responseType = com.google.cloud.dataplex.v1.Partition.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePartitionMethod() { - io.grpc.MethodDescriptor getCreatePartitionMethod; - if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getCreatePartitionMethod = MetadataServiceGrpc.getCreatePartitionMethod) == null) { - MetadataServiceGrpc.getCreatePartitionMethod = getCreatePartitionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.CreatePartitionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("CreatePartition")) - .build(); - } - } - } - return getCreatePartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePartition", - requestType = com.google.cloud.dataplex.v1.DeletePartitionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePartitionMethod() { - io.grpc.MethodDescriptor getDeletePartitionMethod; - if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getDeletePartitionMethod = MetadataServiceGrpc.getDeletePartitionMethod) == null) { - MetadataServiceGrpc.getDeletePartitionMethod = getDeletePartitionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.DeletePartitionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("DeletePartition")) - .build(); - } - } - } - return getDeletePartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPartitionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPartition", - requestType = com.google.cloud.dataplex.v1.GetPartitionRequest.class, - responseType = com.google.cloud.dataplex.v1.Partition.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPartitionMethod() { - io.grpc.MethodDescriptor getGetPartitionMethod; - if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getGetPartitionMethod = MetadataServiceGrpc.getGetPartitionMethod) == null) { - MetadataServiceGrpc.getGetPartitionMethod = getGetPartitionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPartition")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.GetPartitionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.Partition.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("GetPartition")) - .build(); - } - } - } - return getGetPartitionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPartitionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPartitions", - requestType = com.google.cloud.dataplex.v1.ListPartitionsRequest.class, - responseType = com.google.cloud.dataplex.v1.ListPartitionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPartitionsMethod() { - io.grpc.MethodDescriptor getListPartitionsMethod; - if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { - synchronized (MetadataServiceGrpc.class) { - if ((getListPartitionsMethod = MetadataServiceGrpc.getListPartitionsMethod) == null) { - MetadataServiceGrpc.getListPartitionsMethod = getListPartitionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPartitions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListPartitionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataplex.v1.ListPartitionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MetadataServiceMethodDescriptorSupplier("ListPartitions")) - .build(); - } - } - } - return getListPartitionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static MetadataServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceStub(channel, callOptions); - } - }; - return MetadataServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MetadataServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceBlockingStub(channel, callOptions); - } - }; - return MetadataServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static MetadataServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetadataServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceFutureStub(channel, callOptions); - } - }; - return MetadataServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Create a metadata entity.
-     * 
- */ - default void createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntityMethod(), responseObserver); - } - - /** - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - default void updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntityMethod(), responseObserver); - } - - /** - *
-     * Delete a metadata entity.
-     * 
- */ - default void deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntityMethod(), responseObserver); - } - - /** - *
-     * Get a metadata entity.
-     * 
- */ - default void getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityMethod(), responseObserver); - } - - /** - *
-     * List metadata entities in a zone.
-     * 
- */ - default void listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntitiesMethod(), responseObserver); - } - - /** - *
-     * Create a metadata partition.
-     * 
- */ - default void createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePartitionMethod(), responseObserver); - } - - /** - *
-     * Delete a metadata partition.
-     * 
- */ - default void deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePartitionMethod(), responseObserver); - } - - /** - *
-     * Get a metadata partition of an entity.
-     * 
- */ - default void getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPartitionMethod(), responseObserver); - } - - /** - *
-     * List metadata partitions of an entity.
-     * 
- */ - default void listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPartitionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service MetadataService. - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static abstract class MetadataServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return MetadataServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service MetadataService. - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private MetadataServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceStub(channel, callOptions); - } - - /** - *
-     * Create a metadata entity.
-     * 
- */ - public void createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public void updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete a metadata entity.
-     * 
- */ - public void deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a metadata entity.
-     * 
- */ - public void getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntityMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List metadata entities in a zone.
-     * 
- */ - public void listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a metadata partition.
-     * 
- */ - public void createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete a metadata partition.
-     * 
- */ - public void deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public void getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List metadata partitions of an entity.
-     * 
- */ - public void listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service MetadataService. - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private MetadataServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Create a metadata entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity createEntity(com.google.cloud.dataplex.v1.CreateEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntityMethod(), getCallOptions(), request); - } - - /** - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity updateEntity(com.google.cloud.dataplex.v1.UpdateEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntityMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete a metadata entity.
-     * 
- */ - public com.google.protobuf.Empty deleteEntity(com.google.cloud.dataplex.v1.DeleteEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntityMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a metadata entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Entity getEntity(com.google.cloud.dataplex.v1.GetEntityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntityMethod(), getCallOptions(), request); - } - - /** - *
-     * List metadata entities in a zone.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListEntitiesResponse listEntities(com.google.cloud.dataplex.v1.ListEntitiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntitiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a metadata partition.
-     * 
- */ - public com.google.cloud.dataplex.v1.Partition createPartition(com.google.cloud.dataplex.v1.CreatePartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePartitionMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete a metadata partition.
-     * 
- */ - public com.google.protobuf.Empty deletePartition(com.google.cloud.dataplex.v1.DeletePartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePartitionMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.Partition getPartition(com.google.cloud.dataplex.v1.GetPartitionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPartitionMethod(), getCallOptions(), request); - } - - /** - *
-     * List metadata partitions of an entity.
-     * 
- */ - public com.google.cloud.dataplex.v1.ListPartitionsResponse listPartitions(com.google.cloud.dataplex.v1.ListPartitionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPartitionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service MetadataService. - *
-   * Metadata service manages metadata resources such as tables, filesets and
-   * partitions.
-   * 
- */ - public static final class MetadataServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private MetadataServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetadataServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetadataServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Create a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEntity( - com.google.cloud.dataplex.v1.CreateEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntityMethod(), getCallOptions()), request); - } - - /** - *
-     * Update a metadata entity. Only supports full resource update.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEntity( - com.google.cloud.dataplex.v1.UpdateEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEntity( - com.google.cloud.dataplex.v1.DeleteEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntityMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a metadata entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEntity( - com.google.cloud.dataplex.v1.GetEntityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntityMethod(), getCallOptions()), request); - } - - /** - *
-     * List metadata entities in a zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEntities( - com.google.cloud.dataplex.v1.ListEntitiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntitiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a metadata partition.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPartition( - com.google.cloud.dataplex.v1.CreatePartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete a metadata partition.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePartition( - com.google.cloud.dataplex.v1.DeletePartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePartitionMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a metadata partition of an entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPartition( - com.google.cloud.dataplex.v1.GetPartitionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPartitionMethod(), getCallOptions()), request); - } - - /** - *
-     * List metadata partitions of an entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPartitions( - com.google.cloud.dataplex.v1.ListPartitionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPartitionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENTITY = 0; - private static final int METHODID_UPDATE_ENTITY = 1; - private static final int METHODID_DELETE_ENTITY = 2; - private static final int METHODID_GET_ENTITY = 3; - private static final int METHODID_LIST_ENTITIES = 4; - private static final int METHODID_CREATE_PARTITION = 5; - private static final int METHODID_DELETE_PARTITION = 6; - private static final int METHODID_GET_PARTITION = 7; - private static final int METHODID_LIST_PARTITIONS = 8; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENTITY: - serviceImpl.createEntity((com.google.cloud.dataplex.v1.CreateEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENTITY: - serviceImpl.updateEntity((com.google.cloud.dataplex.v1.UpdateEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENTITY: - serviceImpl.deleteEntity((com.google.cloud.dataplex.v1.DeleteEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENTITY: - serviceImpl.getEntity((com.google.cloud.dataplex.v1.GetEntityRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENTITIES: - serviceImpl.listEntities((com.google.cloud.dataplex.v1.ListEntitiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PARTITION: - serviceImpl.createPartition((com.google.cloud.dataplex.v1.CreatePartitionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PARTITION: - serviceImpl.deletePartition((com.google.cloud.dataplex.v1.DeletePartitionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PARTITION: - serviceImpl.getPartition((com.google.cloud.dataplex.v1.GetPartitionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PARTITIONS: - serviceImpl.listPartitions((com.google.cloud.dataplex.v1.ListPartitionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreateEntityRequest, - com.google.cloud.dataplex.v1.Entity>( - service, METHODID_CREATE_ENTITY))) - .addMethod( - getUpdateEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.UpdateEntityRequest, - com.google.cloud.dataplex.v1.Entity>( - service, METHODID_UPDATE_ENTITY))) - .addMethod( - getDeleteEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeleteEntityRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ENTITY))) - .addMethod( - getGetEntityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetEntityRequest, - com.google.cloud.dataplex.v1.Entity>( - service, METHODID_GET_ENTITY))) - .addMethod( - getListEntitiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListEntitiesRequest, - com.google.cloud.dataplex.v1.ListEntitiesResponse>( - service, METHODID_LIST_ENTITIES))) - .addMethod( - getCreatePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.CreatePartitionRequest, - com.google.cloud.dataplex.v1.Partition>( - service, METHODID_CREATE_PARTITION))) - .addMethod( - getDeletePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.DeletePartitionRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_PARTITION))) - .addMethod( - getGetPartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.GetPartitionRequest, - com.google.cloud.dataplex.v1.Partition>( - service, METHODID_GET_PARTITION))) - .addMethod( - getListPartitionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataplex.v1.ListPartitionsRequest, - com.google.cloud.dataplex.v1.ListPartitionsResponse>( - service, METHODID_LIST_PARTITIONS))) - .build(); - } - - private static abstract class MetadataServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MetadataServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataplex.v1.MetadataProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MetadataService"); - } - } - - private static final class MetadataServiceFileDescriptorSupplier - extends MetadataServiceBaseDescriptorSupplier { - MetadataServiceFileDescriptorSupplier() {} - } - - private static final class MetadataServiceMethodDescriptorSupplier - extends MetadataServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - MetadataServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MetadataServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MetadataServiceFileDescriptorSupplier()) - .addMethod(getCreateEntityMethod()) - .addMethod(getUpdateEntityMethod()) - .addMethod(getDeleteEntityMethod()) - .addMethod(getGetEntityMethod()) - .addMethod(getListEntitiesMethod()) - .addMethod(getCreatePartitionMethod()) - .addMethod(getDeletePartitionMethod()) - .addMethod(getGetPartitionMethod()) - .addMethod(getListPartitionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java deleted file mode 100644 index c47fff68a6bf..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java +++ /dev/null @@ -1,289 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/analyze.proto - -package com.google.cloud.dataplex.v1; - -public final class AnalyzeProto { - private AnalyzeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Session_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/analyze.proto" + - "\022\030google.cloud.dataplex.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032(google/cloud/dataplex/v1/resourc" + - "es.proto\032\036google/protobuf/duration.proto" + - "\032\037google/protobuf/timestamp.proto\"\263\r\n\013En" + - "vironment\022:\n\004name\030\001 \001(\tB,\342A\001\003\372A%\n#datapl" + - "ex.googleapis.com/Environment\022\032\n\014display" + - "_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013" + - "create_time\030\004 \001(\0132\032.google.protobuf.Time" + - "stampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.googl" + - "e.protobuf.TimestampB\004\342A\001\003\022G\n\006labels\030\006 \003" + - "(\01321.google.cloud.dataplex.v1.Environmen" + - "t.LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\t" + - "B\004\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.dat" + - "aplex.v1.StateB\004\342A\001\003\022[\n\023infrastructure_s" + - "pec\030d \001(\01328.google.cloud.dataplex.v1.Env" + - "ironment.InfrastructureSpecB\004\342A\001\002\022M\n\014ses" + - "sion_spec\030e \001(\01321.google.cloud.dataplex." + - "v1.Environment.SessionSpecB\004\342A\001\001\022Q\n\016sess" + - "ion_status\030f \001(\01323.google.cloud.dataplex" + - ".v1.Environment.SessionStatusB\004\342A\001\003\022I\n\te" + - "ndpoints\030\310\001 \001(\0132/.google.cloud.dataplex." + - "v1.Environment.EndpointsB\004\342A\001\003\032\356\004\n\022Infra" + - "structureSpec\022b\n\007compute\0302 \001(\0132I.google." + - "cloud.dataplex.v1.Environment.Infrastruc" + - "tureSpec.ComputeResourcesB\004\342A\001\001H\000\022a\n\010os_" + - "image\030d \001(\0132G.google.cloud.dataplex.v1.E" + - "nvironment.InfrastructureSpec.OsImageRun" + - "timeB\004\342A\001\002H\001\032f\n\020ComputeResources\022\032\n\014disk" + - "_size_gb\030\001 \001(\005B\004\342A\001\001\022\030\n\nnode_count\030\002 \001(\005" + - "B\004\342A\001\001\022\034\n\016max_node_count\030\003 \001(\005B\004\342A\001\001\032\220\002\n" + - "\016OsImageRuntime\022\033\n\rimage_version\030\001 \001(\tB\004" + - "\342A\001\002\022\034\n\016java_libraries\030\002 \003(\tB\004\342A\001\001\022\035\n\017py" + - "thon_packages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030" + - "\004 \003(\0132W.google.cloud.dataplex.v1.Environ" + - "ment.InfrastructureSpec.OsImageRuntime.P" + - "ropertiesEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\013\n\tresou" + - "rcesB\t\n\007runtime\032l\n\013SessionSpec\022:\n\021max_id" + - "le_duration\030\001 \001(\0132\031.google.protobuf.Dura" + - "tionB\004\342A\001\001\022!\n\023enable_fast_startup\030\002 \001(\010B" + - "\004\342A\001\001\032%\n\rSessionStatus\022\024\n\006active\030\001 \001(\010B\004" + - "\342A\001\003\0327\n\tEndpoints\022\027\n\tnotebooks\030\001 \001(\tB\004\342A" + - "\001\003\022\021\n\003sql\030\002 \001(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y\352Av\n#datap" + - "lex.googleapis.com/Environment\022Oprojects" + - "/{project}/locations/{location}/lakes/{l" + - "ake}/environments/{environment}\"\260\007\n\007Cont" + - "ent\0226\n\004name\030\001 \001(\tB(\342A\001\003\372A!\n\037dataplex.goo" + - "gleapis.com/Content\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\022" + - "\n\004path\030\003 \001(\tB\004\342A\001\002\0225\n\013create_time\030\004 \001(\0132" + - "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + - "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" + - "mpB\004\342A\001\003\022C\n\006labels\030\006 \003(\0132-.google.cloud." + - "dataplex.v1.Content.LabelsEntryB\004\342A\001\001\022\031\n" + - "\013description\030\007 \001(\tB\004\342A\001\001\022\031\n\tdata_text\030\t " + - "\001(\tB\004\342A\001\002H\000\022A\n\nsql_script\030d \001(\0132+.google" + - ".cloud.dataplex.v1.Content.SqlScriptH\001\022>" + - "\n\010notebook\030e \001(\0132*.google.cloud.dataplex" + - ".v1.Content.NotebookH\001\032\222\001\n\tSqlScript\022M\n\006" + - "engine\030\001 \001(\01627.google.cloud.dataplex.v1." + - "Content.SqlScript.QueryEngineB\004\342A\001\002\"6\n\013Q" + - "ueryEngine\022\034\n\030QUERY_ENGINE_UNSPECIFIED\020\000" + - "\022\t\n\005SPARK\020\002\032\224\001\n\010Notebook\022P\n\013kernel_type\030" + - "\001 \001(\01625.google.cloud.dataplex.v1.Content" + - ".Notebook.KernelTypeB\004\342A\001\002\"6\n\nKernelType" + - "\022\033\n\027KERNEL_TYPE_UNSPECIFIED\020\000\022\013\n\007PYTHON3" + - "\020\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\t:\0028\001:l\352Ai\n\037dataplex.googleapis.com/" + - "Content\022Fprojects/{project}/locations/{l" + - "ocation}/lakes/{lake}/content/{content}B" + - "\006\n\004dataB\t\n\007content\"\321\002\n\007Session\0226\n\004name\030\001" + - " \001(\tB(\342A\001\003\372A!\n\037dataplex.googleapis.com/S" + - "ession\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\003\0225\n\013create_" + - "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" + - "\342A\001\003\0224\n\005state\030\004 \001(\0162\037.google.cloud.datap" + - "lex.v1.StateB\004\342A\001\003:\211\001\352A\205\001\n\037dataplex.goog" + - "leapis.com/Session\022bprojects/{project}/l" + - "ocations/{location}/lakes/{lake}/environ" + - "ments/{environment}/sessions/{session}Bh" + - "\n\034com.google.cloud.dataplex.v1B\014AnalyzeP" + - "rotoP\001Z8cloud.google.com/go/dataplex/api" + - "v1/dataplexpb;dataplexpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Environment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "InfrastructureSpec", "SessionSpec", "SessionStatus", "Endpoints", }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor, - new java.lang.String[] { "Compute", "OsImage", "Resources", "Runtime", }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_ComputeResources_descriptor, - new java.lang.String[] { "DiskSizeGb", "NodeCount", "MaxNodeCount", }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor, - new java.lang.String[] { "ImageVersion", "JavaLibraries", "PythonPackages", "Properties", }); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_InfrastructureSpec_OsImageRuntime_PropertiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_SessionSpec_descriptor, - new java.lang.String[] { "MaxIdleDuration", "EnableFastStartup", }); - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_SessionStatus_descriptor, - new java.lang.String[] { "Active", }); - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_Endpoints_descriptor, - new java.lang.String[] { "Notebooks", "Sql", }); - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Environment_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Content_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_Content_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_descriptor, - new java.lang.String[] { "Name", "Uid", "Path", "CreateTime", "UpdateTime", "Labels", "Description", "DataText", "SqlScript", "Notebook", "Data", "Content", }); - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Content_SqlScript_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_SqlScript_descriptor, - new java.lang.String[] { "Engine", }); - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Content_Notebook_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_Notebook_descriptor, - new java.lang.String[] { "KernelType", }); - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Content_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Content_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Session_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_Session_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Session_descriptor, - new java.lang.String[] { "Name", "UserId", "CreateTime", "State", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java deleted file mode 100644 index 7ad060f3d6f7..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CancelJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface CancelJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.CancelJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java deleted file mode 100644 index 6facb51365e7..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java +++ /dev/null @@ -1,214 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public final class ContentProto { - private ContentProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListContentResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetContentRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/content.proto" + - "\022\030google.cloud.dataplex.v1\032\034google/api/a" + - "nnotations.proto\032\027google/api/client.prot" + - "o\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032&google/cloud/data" + - "plex/v1/analyze.proto\032\036google/iam/v1/iam" + - "_policy.proto\032\032google/iam/v1/policy.prot" + - "o\032\033google/protobuf/empty.proto\032 google/p" + - "rotobuf/field_mask.proto\"\244\001\n\024CreateConte" + - "ntRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034data" + - "plex.googleapis.com/Lake\0228\n\007content\030\002 \001(" + - "\0132!.google.cloud.dataplex.v1.ContentB\004\342A" + - "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\244\001\n\024Upda" + - "teContentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + - "google.protobuf.FieldMaskB\004\342A\001\002\0228\n\007conte" + - "nt\030\002 \001(\0132!.google.cloud.dataplex.v1.Cont" + - "entB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"N" + - "\n\024DeleteContentRequest\0226\n\004name\030\001 \001(\tB(\342A" + - "\001\002\372A!\n\037dataplex.googleapis.com/Content\"\224" + - "\001\n\022ListContentRequest\0225\n\006parent\030\001 \001(\tB%\342" + - "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + - "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + - "\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"b\n\023ListCon" + - "tentResponse\0222\n\007content\030\001 \003(\0132!.google.c" + - "loud.dataplex.v1.Content\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"\332\001\n\021GetContentRequest\0226\n\004name\030" + - "\001 \001(\tB(\342A\001\002\372A!\n\037dataplex.googleapis.com/" + - "Content\022K\n\004view\030\002 \001(\01627.google.cloud.dat" + - "aplex.v1.GetContentRequest.ContentViewB\004" + - "\342A\001\001\"@\n\013ContentView\022\034\n\030CONTENT_VIEW_UNSP" + - "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\255\020\n\016Conte" + - "ntService\022\200\002\n\rCreateContent\022..google.clo" + - "ud.dataplex.v1.CreateContentRequest\032!.go" + - "ogle.cloud.dataplex.v1.Content\"\233\001\332A\016pare" + - "nt,content\202\323\344\223\002\203\001\"8/v1/{parent=projects/" + - "*/locations/*/lakes/*}/contentitems:\007con" + - "tentZ>\"3/v1/{parent=projects/*/locations" + - "/*/lakes/*}/content:\007content\022\227\002\n\rUpdateC" + - "ontent\022..google.cloud.dataplex.v1.Update" + - "ContentRequest\032!.google.cloud.dataplex.v" + - "1.Content\"\262\001\332A\023content,update_mask\202\323\344\223\002\225" + - "\0012A/v1/{content.name=projects/*/location" + - "s/*/lakes/*/contentitems/**}:\007contentZG2" + - "\n\005ru" + - "les\030\001 \003(\0132).google.cloud.dataplex.v1.Dat" + - "aQualityRuleB\004\342A\001\002\022\036\n\020sampling_percent\030\004" + - " \001(\002B\004\342A\001\001\022\030\n\nrow_filter\030\005 \001(\tB\004\342A\001\001\022Z\n\021" + - "post_scan_actions\030\006 \001(\01329.google.cloud.d" + - "ataplex.v1.DataQualitySpec.PostScanActio" + - "nsB\004\342A\001\001\032\251\001\n\017PostScanActions\022g\n\017bigquery" + - "_export\030\001 \001(\0132H.google.cloud.dataplex.v1" + - ".DataQualitySpec.PostScanActions.BigQuer" + - "yExportB\004\342A\001\001\032-\n\016BigQueryExport\022\033\n\rresul" + - "ts_table\030\001 \001(\tB\004\342A\001\001\"\331\006\n\021DataQualityResu" + - "lt\022\016\n\006passed\030\005 \001(\010\022\030\n\005score\030\t \001(\002B\004\342A\001\003H" + - "\000\210\001\001\022H\n\ndimensions\030\002 \003(\01324.google.cloud." + - "dataplex.v1.DataQualityDimensionResult\022H" + - "\n\007columns\030\n \003(\01321.google.cloud.dataplex." + - "v1.DataQualityColumnResultB\004\342A\001\003\022>\n\005rule" + - "s\030\003 \003(\0132/.google.cloud.dataplex.v1.DataQ" + - "ualityRuleResult\022\021\n\trow_count\030\004 \001(\003\022;\n\014s" + - "canned_data\030\007 \001(\0132%.google.cloud.dataple" + - "x.v1.ScannedData\022i\n\030post_scan_actions_re" + - "sult\030\010 \001(\0132A.google.cloud.dataplex.v1.Da" + - "taQualityResult.PostScanActionsResultB\004\342" + - "A\001\003\032\200\003\n\025PostScanActionsResult\022|\n\026bigquer" + - "y_export_result\030\001 \001(\0132V.google.cloud.dat" + - "aplex.v1.DataQualityResult.PostScanActio" + - "nsResult.BigQueryExportResultB\004\342A\001\003\032\350\001\n\024" + - "BigQueryExportResult\022q\n\005state\030\001 \001(\0162\\.go" + - "ogle.cloud.dataplex.v1.DataQualityResult" + - ".PostScanActionsResult.BigQueryExportRes" + - "ult.StateB\004\342A\001\003\022\025\n\007message\030\002 \001(\tB\004\342A\001\003\"F" + - "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEE" + - "DED\020\001\022\n\n\006FAILED\020\002\022\013\n\007SKIPPED\020\003B\010\n\006_score" + - "\"\323\001\n\025DataQualityRuleResult\0227\n\004rule\030\001 \001(\013" + - "2).google.cloud.dataplex.v1.DataQualityR" + - "ule\022\016\n\006passed\030\007 \001(\010\022\027\n\017evaluated_count\030\t" + - " \001(\003\022\024\n\014passed_count\030\010 \001(\003\022\022\n\nnull_count" + - "\030\005 \001(\003\022\022\n\npass_ratio\030\006 \001(\001\022\032\n\022failing_ro" + - "ws_query\030\n \001(\t\"\231\001\n\032DataQualityDimensionR" + - "esult\022G\n\tdimension\030\001 \001(\0132..google.cloud." + - "dataplex.v1.DataQualityDimensionB\004\342A\001\003\022\016" + - "\n\006passed\030\003 \001(\010\022\030\n\005score\030\004 \001(\002B\004\342A\001\003H\000\210\001\001" + - "B\010\n\006_score\"$\n\024DataQualityDimension\022\014\n\004na" + - "me\030\001 \001(\t\"\211\r\n\017DataQualityRule\022W\n\021range_ex" + - "pectation\030\001 \001(\0132:.google.cloud.dataplex." + - "v1.DataQualityRule.RangeExpectationH\000\022\\\n" + - "\024non_null_expectation\030\002 \001(\0132<.google.clo" + - "ud.dataplex.v1.DataQualityRule.NonNullEx" + - "pectationH\000\022S\n\017set_expectation\030\003 \001(\01328.g" + - "oogle.cloud.dataplex.v1.DataQualityRule." + - "SetExpectationH\000\022W\n\021regex_expectation\030\004 " + - "\001(\0132:.google.cloud.dataplex.v1.DataQuali" + - "tyRule.RegexExpectationH\000\022a\n\026uniqueness_" + - "expectation\030d \001(\0132?.google.cloud.dataple" + - "x.v1.DataQualityRule.UniquenessExpectati" + - "onH\000\022j\n\033statistic_range_expectation\030e \001(" + - "\0132C.google.cloud.dataplex.v1.DataQuality" + - "Rule.StatisticRangeExpectationH\000\022g\n\031row_" + - "condition_expectation\030\310\001 \001(\0132A.google.cl" + - "oud.dataplex.v1.DataQualityRule.RowCondi" + - "tionExpectationH\000\022k\n\033table_condition_exp" + - "ectation\030\311\001 \001(\0132C.google.cloud.dataplex." + - "v1.DataQualityRule.TableConditionExpecta" + - "tionH\000\022\025\n\006column\030\364\003 \001(\tB\004\342A\001\001\022\032\n\013ignore_" + - "null\030\365\003 \001(\010B\004\342A\001\001\022\030\n\tdimension\030\366\003 \001(\tB\004\342" + - "A\001\002\022\030\n\tthreshold\030\367\003 \001(\001B\004\342A\001\001\022\023\n\004name\030\370\003" + - " \001(\tB\004\342A\001\001\022\032\n\013description\030\371\003 \001(\tB\004\342A\001\001\032\210" + - "\001\n\020RangeExpectation\022\027\n\tmin_value\030\001 \001(\tB\004" + - "\342A\001\001\022\027\n\tmax_value\030\002 \001(\tB\004\342A\001\001\022 \n\022strict_" + - "min_enabled\030\003 \001(\010B\004\342A\001\001\022 \n\022strict_max_en" + - "abled\030\004 \001(\010B\004\342A\001\001\032\024\n\022NonNullExpectation\032" + - "&\n\016SetExpectation\022\024\n\006values\030\001 \003(\tB\004\342A\001\001\032" + - "\'\n\020RegexExpectation\022\023\n\005regex\030\001 \001(\tB\004\342A\001\001" + - "\032\027\n\025UniquenessExpectation\032\307\002\n\031StatisticR" + - "angeExpectation\022l\n\tstatistic\030\001 \001(\0162S.goo" + - "gle.cloud.dataplex.v1.DataQualityRule.St" + - "atisticRangeExpectation.ColumnStatisticB" + - "\004\342A\001\001\022\027\n\tmin_value\030\002 \001(\tB\004\342A\001\001\022\027\n\tmax_va" + - "lue\030\003 \001(\tB\004\342A\001\001\022 \n\022strict_min_enabled\030\004 " + - "\001(\010B\004\342A\001\001\022 \n\022strict_max_enabled\030\005 \001(\010B\004\342" + - "A\001\001\"F\n\017ColumnStatistic\022\027\n\023STATISTIC_UNDE" + - "FINED\020\000\022\010\n\004MEAN\020\001\022\007\n\003MIN\020\002\022\007\n\003MAX\020\003\0327\n\027R" + - "owConditionExpectation\022\034\n\016sql_expression" + - "\030\001 \001(\tB\004\342A\001\001\0329\n\031TableConditionExpectatio" + - "n\022\034\n\016sql_expression\030\001 \001(\tB\004\342A\001\001B\013\n\trule_" + - "type\"S\n\027DataQualityColumnResult\022\024\n\006colum" + - "n\030\001 \001(\tB\004\342A\001\003\022\030\n\005score\030\002 \001(\002B\004\342A\001\003H\000\210\001\001B" + - "\010\n\006_scoreB\304\001\n\034com.google.cloud.dataplex." + - "v1B\020DataQualityProtoP\001Z8cloud.google.com" + - "/go/dataplex/apiv1/dataplexpb;dataplexpb" + - "\352AU\n\035bigquery.googleapis.com/Table\0224proj" + - "ects/{project}/datasets/{dataset}/tables" + - "/{table}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor, - new java.lang.String[] { "Rules", "SamplingPercent", "RowFilter", "PostScanActions", }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualitySpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor, - new java.lang.String[] { "BigqueryExport", }); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualitySpec_PostScanActions_BigQueryExport_descriptor, - new java.lang.String[] { "ResultsTable", }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor, - new java.lang.String[] { "Passed", "Score", "Dimensions", "Columns", "Rules", "RowCount", "ScannedData", "PostScanActionsResult", "Score", }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor, - new java.lang.String[] { "BigqueryExportResult", }); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor, - new java.lang.String[] { "State", "Message", }); - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRuleResult_descriptor, - new java.lang.String[] { "Rule", "Passed", "EvaluatedCount", "PassedCount", "NullCount", "PassRatio", "FailingRowsQuery", }); - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityDimensionResult_descriptor, - new java.lang.String[] { "Dimension", "Passed", "Score", "Score", }); - internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataQualityDimension_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityDimension_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor, - new java.lang.String[] { "RangeExpectation", "NonNullExpectation", "SetExpectation", "RegexExpectation", "UniquenessExpectation", "StatisticRangeExpectation", "RowConditionExpectation", "TableConditionExpectation", "Column", "IgnoreNull", "Dimension", "Threshold", "Name", "Description", "RuleType", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RangeExpectation_descriptor, - new java.lang.String[] { "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_NonNullExpectation_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_SetExpectation_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RegexExpectation_descriptor, - new java.lang.String[] { "Regex", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_UniquenessExpectation_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_StatisticRangeExpectation_descriptor, - new java.lang.String[] { "Statistic", "MinValue", "MaxValue", "StrictMinEnabled", "StrictMaxEnabled", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_RowConditionExpectation_descriptor, - new java.lang.String[] { "SqlExpression", }); - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor = - internal_static_google_cloud_dataplex_v1_DataQualityRule_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityRule_TableConditionExpectation_descriptor, - new java.lang.String[] { "SqlExpression", }); - internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityColumnResult_descriptor, - new java.lang.String[] { "Column", "Score", "Score", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resourceDefinition); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java deleted file mode 100644 index 3c31e7ff616f..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java +++ /dev/null @@ -1,406 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/datascans.proto - -package com.google.cloud.dataplex.v1; - -public final class DataScansProto { - private DataScansProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/dataplex/v1/datascans.pro" + - "to\022\030google.cloud.dataplex.v1\032\034google/api" + - "/annotations.proto\032\027google/api/client.pr" + - "oto\032\037google/api/field_behavior.proto\032\031go" + - "ogle/api/resource.proto\032+google/cloud/da" + - "taplex/v1/data_profile.proto\032+google/clo" + - "ud/dataplex/v1/data_quality.proto\032)googl" + - "e/cloud/dataplex/v1/processing.proto\032(go" + - "ogle/cloud/dataplex/v1/resources.proto\032&" + - "google/cloud/dataplex/v1/service.proto\032#" + - "google/longrunning/operations.proto\032\033goo" + - "gle/protobuf/empty.proto\032 google/protobu" + - "f/field_mask.proto\032\037google/protobuf/time" + - "stamp.proto\"\311\001\n\025CreateDataScanRequest\022:\n" + - "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.google" + - "apis.com/Location\022;\n\tdata_scan\030\002 \001(\0132\".g" + - "oogle.cloud.dataplex.v1.DataScanB\004\342A\001\002\022\032" + - "\n\014data_scan_id\030\003 \001(\tB\004\342A\001\002\022\033\n\rvalidate_o" + - "nly\030\004 \001(\010B\004\342A\001\001\"\250\001\n\025UpdateDataScanReques" + - "t\022;\n\tdata_scan\030\001 \001(\0132\".google.cloud.data" + - "plex.v1.DataScanB\004\342A\001\002\0225\n\013update_mask\030\002 " + - "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\022\033\n" + - "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"P\n\025DeleteData" + - "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + - "plex.googleapis.com/DataScan\"\341\001\n\022GetData" + - "ScanRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n data" + - "plex.googleapis.com/DataScan\022M\n\004view\030\002 \001" + - "(\01629.google.cloud.dataplex.v1.GetDataSca" + - "nRequest.DataScanViewB\004\342A\001\001\"C\n\014DataScanV" + - "iew\022\036\n\032DATA_SCAN_VIEW_UNSPECIFIED\020\000\022\t\n\005B" + - "ASIC\020\001\022\010\n\004FULL\020\n\"\263\001\n\024ListDataScansReques" + - "t\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.go" + - "ogleapis.com/Location\022\027\n\tpage_size\030\002 \001(\005" + - "B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filt" + - "er\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}" + - "\n\025ListDataScansResponse\0226\n\ndata_scans\030\001 " + - "\003(\0132\".google.cloud.dataplex.v1.DataScan\022" + - "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + - "\003 \003(\t\"M\n\022RunDataScanRequest\0227\n\004name\030\001 \001(" + - "\tB)\342A\001\002\372A\"\n dataplex.googleapis.com/Data" + - "Scan\"I\n\023RunDataScanResponse\0222\n\003job\030\001 \001(\013" + - "2%.google.cloud.dataplex.v1.DataScanJob\"" + - "\364\001\n\025GetDataScanJobRequest\022:\n\004name\030\001 \001(\tB" + - ",\342A\001\002\372A%\n#dataplex.googleapis.com/DataSc" + - "anJob\022S\n\004view\030\002 \001(\0162?.google.cloud.datap" + - "lex.v1.GetDataScanJobRequest.DataScanJob" + - "ViewB\004\342A\001\001\"J\n\017DataScanJobView\022\"\n\036DATA_SC" + - "AN_JOB_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004" + - "FULL\020\n\"\235\001\n\027ListDataScanJobsRequest\0229\n\006pa" + - "rent\030\001 \001(\tB)\342A\001\002\372A\"\n dataplex.googleapis" + - ".com/DataScan\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + - "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + - "B\004\342A\001\001\"r\n\030ListDataScanJobsResponse\022=\n\016da" + - "ta_scan_jobs\030\001 \003(\0132%.google.cloud.datapl" + - "ex.v1.DataScanJob\022\027\n\017next_page_token\030\002 \001" + - "(\t\"\301\n\n\010DataScan\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003u" + - "id\030\002 \001(\tB\004\342A\001\003\022\031\n\013description\030\003 \001(\tB\004\342A\001" + - "\001\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\001\022D\n\006labels\030" + - "\005 \003(\0132..google.cloud.dataplex.v1.DataSca" + - "n.LabelsEntryB\004\342A\001\001\0224\n\005state\030\006 \001(\0162\037.goo" + - "gle.cloud.dataplex.v1.StateB\004\342A\001\003\0225\n\013cre" + - "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" + - "mpB\004\342A\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.p" + - "rotobuf.TimestampB\004\342A\001\003\0228\n\004data\030\t \001(\0132$." + - "google.cloud.dataplex.v1.DataSourceB\004\342A\001" + - "\002\022N\n\016execution_spec\030\n \001(\01320.google.cloud" + - ".dataplex.v1.DataScan.ExecutionSpecB\004\342A\001" + - "\001\022R\n\020execution_status\030\013 \001(\01322.google.clo" + - "ud.dataplex.v1.DataScan.ExecutionStatusB" + - "\004\342A\001\003\022:\n\004type\030\014 \001(\0162&.google.cloud.datap" + - "lex.v1.DataScanTypeB\004\342A\001\003\022F\n\021data_qualit" + - "y_spec\030d \001(\0132).google.cloud.dataplex.v1." + - "DataQualitySpecH\000\022F\n\021data_profile_spec\030e" + - " \001(\0132).google.cloud.dataplex.v1.DataProf" + - "ileSpecH\000\022Q\n\023data_quality_result\030\310\001 \001(\0132" + - "+.google.cloud.dataplex.v1.DataQualityRe" + - "sultB\004\342A\001\003H\001\022Q\n\023data_profile_result\030\311\001 \001" + - "(\0132+.google.cloud.dataplex.v1.DataProfil" + - "eResultB\004\342A\001\003H\001\032o\n\rExecutionSpec\0228\n\007trig" + - "ger\030\001 \001(\0132!.google.cloud.dataplex.v1.Tri" + - "ggerB\004\342A\001\001\022\025\n\005field\030d \001(\tB\004\342A\001\005H\000B\r\n\013inc" + - "remental\032\205\001\n\017ExecutionStatus\0229\n\025latest_j" + - "ob_start_time\030\004 \001(\0132\032.google.protobuf.Ti" + - "mestamp\0227\n\023latest_job_end_time\030\005 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\032-\n\013LabelsEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:c\352A`\n da" + - "taplex.googleapis.com/DataScan\022\332" + - "A\006parent\202\323\344\223\002/\022-/v1/{parent=projects/*/l" + - "ocations/*}/dataScans\022\257\001\n\013RunDataScan\022,." + - "google.cloud.dataplex.v1.RunDataScanRequ" + - "est\032-.google.cloud.dataplex.v1.RunDataSc" + - "anResponse\"C\332A\004name\202\323\344\223\0026\"1/v1/{name=pro" + - "jects/*/locations/*/dataScans/*}:run:\001*\022" + - "\255\001\n\016GetDataScanJob\022/.google.cloud.datapl" + - "ex.v1.GetDataScanJobRequest\032%.google.clo" + - "ud.dataplex.v1.DataScanJob\"C\332A\004name\202\323\344\223\002" + - "6\0224/v1/{name=projects/*/locations/*/data" + - "Scans/*/jobs/*}\022\300\001\n\020ListDataScanJobs\0221.g" + - "oogle.cloud.dataplex.v1.ListDataScanJobs" + - "Request\0322.google.cloud.dataplex.v1.ListD" + - "ataScanJobsResponse\"E\332A\006parent\202\323\344\223\0026\0224/v" + - "1/{parent=projects/*/locations/*/dataSca" + - "ns/*}/jobs\032K\312A\027dataplex.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latformBj\n\034com.google.cloud.dataplex.v1B" + - "\016DataScansProtoP\001Z8cloud.google.com/go/d" + - "ataplex/apiv1/dataplexpb;dataplexpbb\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(), - com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(), - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataScanRequest_descriptor, - new java.lang.String[] { "Parent", "DataScan", "DataScanId", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataScanRequest_descriptor, - new java.lang.String[] { "DataScan", "UpdateMask", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataScanRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataScanRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScansRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScansResponse_descriptor, - new java.lang.String[] { "DataScans", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunDataScanRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunDataScanResponse_descriptor, - new java.lang.String[] { "Job", }); - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataScanJobRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScanJobsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataScanJobsResponse_descriptor, - new java.lang.String[] { "DataScanJobs", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_DataScan_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_descriptor, - new java.lang.String[] { "Name", "Uid", "Description", "DisplayName", "Labels", "State", "CreateTime", "UpdateTime", "Data", "ExecutionSpec", "ExecutionStatus", "Type", "DataQualitySpec", "DataProfileSpec", "DataQualityResult", "DataProfileResult", "Spec", "Result", }); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor, - new java.lang.String[] { "Trigger", "Field", "Incremental", }); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor, - new java.lang.String[] { "LatestJobStartTime", "LatestJobEndTime", }); - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScan_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_DataScanJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanJob_descriptor, - new java.lang.String[] { "Name", "Uid", "StartTime", "EndTime", "State", "Message", "Type", "DataQualitySpec", "DataProfileSpec", "DataQualityResult", "DataProfileResult", "Spec", "Result", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.DataProfileProto.getDescriptor(); - com.google.cloud.dataplex.v1.DataQualityProto.getDescriptor(); - com.google.cloud.dataplex.v1.ProcessingProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java deleted file mode 100644 index d92b1365a950..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataTaxonomyProto.java +++ /dev/null @@ -1,577 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public final class DataTaxonomyProto { - private DataTaxonomyProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/dataplex/v1/data_taxonomy" + - ".proto\022\030google.cloud.dataplex.v1\032\034google" + - "/api/annotations.proto\032\027google/api/clien" + - "t.proto\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032\'google/clou" + - "d/dataplex/v1/security.proto\032&google/clo" + - "ud/dataplex/v1/service.proto\032#google/lon" + - "grunning/operations.proto\032\033google/protob" + - "uf/empty.proto\032 google/protobuf/field_ma" + - "sk.proto\032\037google/protobuf/timestamp.prot" + - "o\"\272\004\n\014DataTaxonomy\022;\n\004name\030\001 \001(\tB-\342A\001\003\372A" + - "&\n$dataplex.googleapis.com/DataTaxonomy\022" + - "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132" + - "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013upd" + - "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mpB\004\342A\001\003\022\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014d" + - "isplay_name\030\006 \001(\tB\004\342A\001\001\022H\n\006labels\030\010 \003(\0132" + - "2.google.cloud.dataplex.v1.DataTaxonomy." + - "LabelsEntryB\004\342A\001\001\022\035\n\017attribute_count\030\t \001" + - "(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\031\n\013class_count\030\013 " + - "\001(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001:t\352Aq\n$dataplex.googleap" + - "is.com/DataTaxonomy\022Iprojects/{project}/" + - "locations/{location}/dataTaxonomies/{dat" + - "a_taxonomy_id}\"\237\006\n\rDataAttribute\022<\n\004name" + - "\030\001 \001(\tB.\342A\001\003\372A\'\n%dataplex.googleapis.com" + - "/DataAttribute\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013cre" + - "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mpB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.p" + - "rotobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005" + - " \001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\022I" + - "\n\006labels\030\007 \003(\01323.google.cloud.dataplex.v" + - "1.DataAttribute.LabelsEntryB\004\342A\001\001\022A\n\tpar" + - "ent_id\030\010 \001(\tB.\342A\001\001\372A\'\n%dataplex.googleap" + - "is.com/DataAttribute\022\035\n\017attribute_count\030" + - "\t \001(\005B\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022P\n\024resource_ac" + - "cess_spec\030d \001(\0132,.google.cloud.dataplex." + - "v1.ResourceAccessSpecB\004\342A\001\001\022H\n\020data_acce" + - "ss_spec\030e \001(\0132(.google.cloud.dataplex.v1" + - ".DataAccessSpecB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\221\001\352A\215\001\n%dat" + - "aplex.googleapis.com/DataAttribute\022dproj" + - "ects/{project}/locations/{location}/data" + - "Taxonomies/{dataTaxonomy}/attributes/{da" + - "ta_attribute_id}\"\321\006\n\024DataAttributeBindin" + - "g\022C\n\004name\030\001 \001(\tB5\342A\001\003\372A.\n,dataplex.googl" + - "eapis.com/DataAttributeBinding\022\021\n\003uid\030\002 " + - "\001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "\031\n\013description\030\005 \001(\tB\004\342A\001\001\022\032\n\014display_na" + - "me\030\006 \001(\tB\004\342A\001\001\022P\n\006labels\030\007 \003(\0132:.google." + - "cloud.dataplex.v1.DataAttributeBinding.L" + - "abelsEntryB\004\342A\001\001\022\014\n\004etag\030\010 \001(\t\022\031\n\010resour" + - "ce\030d \001(\tB\005\342A\002\001\005H\000\022B\n\nattributes\030n \003(\tB.\342" + - "A\001\001\372A\'\n%dataplex.googleapis.com/DataAttr" + - "ibute\022H\n\005paths\030x \003(\01323.google.cloud.data" + - "plex.v1.DataAttributeBinding.PathB\004\342A\001\001\032" + - "^\n\004Path\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\nattribute" + - "s\030\002 \003(\tB.\342A\001\001\372A\'\n%dataplex.googleapis.co" + - "m/DataAttribute\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\215\001\352A\211\001\n,dataplex." + - "googleapis.com/DataAttributeBinding\022Ypro" + - "jects/{project}/locations/{location}/dat" + - "aAttributeBindings/{data_attribute_bindi" + - "ng_id}B\024\n\022resource_reference\"\331\001\n\031CreateD" + - "ataTaxonomyRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002" + - "\372A#\n!locations.googleapis.com/Location\022\036" + - "\n\020data_taxonomy_id\030\002 \001(\tB\004\342A\001\002\022C\n\rdata_t" + - "axonomy\030\003 \001(\0132&.google.cloud.dataplex.v1" + - ".DataTaxonomyB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + - "(\010B\004\342A\001\001\"\264\001\n\031UpdateDataTaxonomyRequest\0225" + - "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" + - "eldMaskB\004\342A\001\002\022C\n\rdata_taxonomy\030\002 \001(\0132&.g" + - "oogle.cloud.dataplex.v1.DataTaxonomyB\004\342A" + - "\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"U\n\026GetDa" + - "taTaxonomyRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&" + - "\n$dataplex.googleapis.com/DataTaxonomy\"\270" + - "\001\n\031ListDataTaxonomiesRequest\022:\n\006parent\030\001" + - " \001(\tB*\342A\001\002\372A#\n!locations.googleapis.com/" + - "Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npag" + - "e_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001" + - "\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"\225\001\n\032ListDataTa" + - "xonomiesResponse\022?\n\017data_taxonomies\030\001 \003(" + - "\0132&.google.cloud.dataplex.v1.DataTaxonom" + - "y\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachabl" + - "e_locations\030\003 \003(\t\"l\n\031DeleteDataTaxonomyR" + - "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex." + - "googleapis.com/DataTaxonomy\022\022\n\004etag\030\002 \001(" + - "\tB\004\342A\001\001\"\340\001\n\032CreateDataAttributeRequest\022=" + - "\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$dataplex.google" + - "apis.com/DataTaxonomy\022\037\n\021data_attribute_" + - "id\030\002 \001(\tB\004\342A\001\002\022E\n\016data_attribute\030\003 \001(\0132\'" + - ".google.cloud.dataplex.v1.DataAttributeB" + - "\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\267\001\n\032U" + - "pdateDataAttributeRequest\0225\n\013update_mask" + - "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" + - "\022E\n\016data_attribute\030\002 \001(\0132\'.google.cloud." + - "dataplex.v1.DataAttributeB\004\342A\001\002\022\033\n\rvalid" + - "ate_only\030\003 \001(\010B\004\342A\001\001\"W\n\027GetDataAttribute" + - "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex" + - ".googleapis.com/DataAttribute\"\273\001\n\031ListDa" + - "taAttributesRequest\022=\n\006parent\030\001 \001(\tB-\342A\001" + - "\002\372A&\n$dataplex.googleapis.com/DataTaxono" + - "my\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_toke" + - "n\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010o" + - "rder_by\030\005 \001(\tB\004\342A\001\001\"\226\001\n\032ListDataAttribut" + - "esResponse\022@\n\017data_attributes\030\001 \003(\0132\'.go" + - "ogle.cloud.dataplex.v1.DataAttribute\022\027\n\017" + - "next_page_token\030\002 \001(\t\022\035\n\025unreachable_loc" + - "ations\030\003 \003(\t\"n\n\032DeleteDataAttributeReque" + - "st\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dataplex.goog" + - "leapis.com/DataAttribute\022\022\n\004etag\030\002 \001(\tB\004" + - "\342A\001\001\"\373\001\n!CreateDataAttributeBindingReque" + - "st\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.g" + - "oogleapis.com/Location\022\'\n\031data_attribute" + - "_binding_id\030\002 \001(\tB\004\342A\001\002\022T\n\026data_attribut" + - "e_binding\030\003 \001(\0132..google.cloud.dataplex." + - "v1.DataAttributeBindingB\004\342A\001\002\022\033\n\rvalidat" + - "e_only\030\004 \001(\010B\004\342A\001\001\"\315\001\n!UpdateDataAttribu" + - "teBindingRequest\0225\n\013update_mask\030\001 \001(\0132\032." + - "google.protobuf.FieldMaskB\004\342A\001\002\022T\n\026data_" + - "attribute_binding\030\002 \001(\0132..google.cloud.d" + - "ataplex.v1.DataAttributeBindingB\004\342A\001\002\022\033\n" + - "\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"e\n\036GetDataAtt" + - "ributeBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002" + - "\372A.\n,dataplex.googleapis.com/DataAttribu" + - "teBinding\"\277\001\n ListDataAttributeBindingsR" + - "equest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locatio" + - "ns.googleapis.com/Location\022\027\n\tpage_size\030" + - "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + - "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + - "A\001\001\"\254\001\n!ListDataAttributeBindingsRespons" + - "e\022O\n\027data_attribute_bindings\030\001 \003(\0132..goo" + - "gle.cloud.dataplex.v1.DataAttributeBindi" + - "ng\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachab" + - "le_locations\030\003 \003(\t\"|\n!DeleteDataAttribut" + - "eBindingRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n," + - "dataplex.googleapis.com/DataAttributeBin" + - "ding\022\022\n\004etag\030\002 \001(\tB\004\342A\001\0022\213\035\n\023DataTaxonom" + - "yService\022\200\002\n\022CreateDataTaxonomy\0223.google" + - ".cloud.dataplex.v1.CreateDataTaxonomyReq" + - "uest\032\035.google.longrunning.Operation\"\225\001\312A" + - "!\n\014DataTaxonomy\022\021OperationMetadata\332A%par" + - "ent,data_taxonomy,data_taxonomy_id\202\323\344\223\002C" + - "\"2/v1/{parent=projects/*/locations/*}/da" + - "taTaxonomies:\rdata_taxonomy\022\202\002\n\022UpdateDa" + - "taTaxonomy\0223.google.cloud.dataplex.v1.Up" + - "dateDataTaxonomyRequest\032\035.google.longrun" + - "ning.Operation\"\227\001\312A!\n\014DataTaxonomy\022\021Oper" + - "ationMetadata\332A\031data_taxonomy,update_mas" + - "k\202\323\344\223\002Q2@/v1/{data_taxonomy.name=project" + - "s/*/locations/*/dataTaxonomies/*}:\rdata_" + - "taxonomy\022\330\001\n\022DeleteDataTaxonomy\0223.google" + - ".cloud.dataplex.v1.DeleteDataTaxonomyReq" + - "uest\032\035.google.longrunning.Operation\"n\312A*" + - "\n\025google.protobuf.Empty\022\021OperationMetada" + - "ta\332A\004name\202\323\344\223\0024*2/v1/{name=projects/*/lo" + - "cations/*/dataTaxonomies/*}\022\304\001\n\022ListData" + - "Taxonomies\0223.google.cloud.dataplex.v1.Li" + - "stDataTaxonomiesRequest\0324.google.cloud.d" + - "ataplex.v1.ListDataTaxonomiesResponse\"C\332" + - "A\006parent\202\323\344\223\0024\0222/v1/{parent=projects/*/l" + - "ocations/*}/dataTaxonomies\022\256\001\n\017GetDataTa" + - "xonomy\0220.google.cloud.dataplex.v1.GetDat" + - "aTaxonomyRequest\032&.google.cloud.dataplex" + - ".v1.DataTaxonomy\"A\332A\004name\202\323\344\223\0024\0222/v1/{na" + - "me=projects/*/locations/*/dataTaxonomies" + - "/*}\022\272\002\n\032CreateDataAttributeBinding\022;.goo" + - "gle.cloud.dataplex.v1.CreateDataAttribut" + - "eBindingRequest\032\035.google.longrunning.Ope" + - "ration\"\277\001\312A)\n\024DataAttributeBinding\022\021Oper" + - "ationMetadata\332A7parent,data_attribute_bi" + - "nding,data_attribute_binding_id\202\323\344\223\002S\"9/" + - "v1/{parent=projects/*/locations/*}/dataA" + - "ttributeBindings:\026data_attribute_binding" + - "\022\274\002\n\032UpdateDataAttributeBinding\022;.google" + - ".cloud.dataplex.v1.UpdateDataAttributeBi" + - "ndingRequest\032\035.google.longrunning.Operat" + - "ion\"\301\001\312A)\n\024DataAttributeBinding\022\021Operati" + - "onMetadata\332A\"data_attribute_binding,upda" + - "te_mask\202\323\344\223\002j2P/v1/{data_attribute_bindi" + - "ng.name=projects/*/locations/*/dataAttri" + - "buteBindings/*}:\026data_attribute_binding\022" + - "\357\001\n\032DeleteDataAttributeBinding\022;.google." + - "cloud.dataplex.v1.DeleteDataAttributeBin" + - "dingRequest\032\035.google.longrunning.Operati" + - "on\"u\312A*\n\025google.protobuf.Empty\022\021Operatio" + - "nMetadata\332A\004name\202\323\344\223\002;*9/v1/{name=projec" + - "ts/*/locations/*/dataAttributeBindings/*" + - "}\022\340\001\n\031ListDataAttributeBindings\022:.google" + - ".cloud.dataplex.v1.ListDataAttributeBind" + - "ingsRequest\032;.google.cloud.dataplex.v1.L" + - "istDataAttributeBindingsResponse\"J\332A\006par" + - "ent\202\323\344\223\002;\0229/v1/{parent=projects/*/locati" + - "ons/*}/dataAttributeBindings\022\315\001\n\027GetData" + - "AttributeBinding\0228.google.cloud.dataplex" + - ".v1.GetDataAttributeBindingRequest\032..goo" + - "gle.cloud.dataplex.v1.DataAttributeBindi" + - "ng\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/" + - "locations/*/dataAttributeBindings/*}\022\223\002\n" + - "\023CreateDataAttribute\0224.google.cloud.data" + - "plex.v1.CreateDataAttributeRequest\032\035.goo" + - "gle.longrunning.Operation\"\246\001\312A\"\n\rDataAtt" + - "ribute\022\021OperationMetadata\332A\'parent,data_" + - "attribute,data_attribute_id\202\323\344\223\002Q\"?/v1/{" + - "parent=projects/*/locations/*/dataTaxono" + - "mies/*}/attributes:\016data_attribute\022\225\002\n\023U" + - "pdateDataAttribute\0224.google.cloud.datapl" + - "ex.v1.UpdateDataAttributeRequest\032\035.googl" + - "e.longrunning.Operation\"\250\001\312A\"\n\rDataAttri" + - "bute\022\021OperationMetadata\332A\032data_attribute" + - ",update_mask\202\323\344\223\002`2N/v1/{data_attribute." + - "name=projects/*/locations/*/dataTaxonomi" + - "es/*/attributes/*}:\016data_attribute\022\347\001\n\023D" + - "eleteDataAttribute\0224.google.cloud.datapl" + - "ex.v1.DeleteDataAttributeRequest\032\035.googl" + - "e.longrunning.Operation\"{\312A*\n\025google.pro" + - "tobuf.Empty\022\021OperationMetadata\332A\004name\202\323\344" + - "\223\002A*?/v1/{name=projects/*/locations/*/da" + - "taTaxonomies/*/attributes/*}\022\321\001\n\022ListDat" + - "aAttributes\0223.google.cloud.dataplex.v1.L" + - "istDataAttributesRequest\0324.google.cloud." + - "dataplex.v1.ListDataAttributesResponse\"P" + - "\332A\006parent\202\323\344\223\002A\022?/v1/{parent=projects/*/" + - "locations/*/dataTaxonomies/*}/attributes" + - "\022\276\001\n\020GetDataAttribute\0221.google.cloud.dat" + - "aplex.v1.GetDataAttributeRequest\032\'.googl" + - "e.cloud.dataplex.v1.DataAttribute\"N\332A\004na" + - "me\202\323\344\223\002A\022?/v1/{name=projects/*/locations" + - "/*/dataTaxonomies/*/attributes/*}\032K\312A\027da" + - "taplex.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformBm\n\034com.go" + - "ogle.cloud.dataplex.v1B\021DataTaxonomyProt" + - "oP\001Z8cloud.google.com/go/dataplex/apiv1/" + - "dataplexpb;dataplexpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(), - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor, - new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "AttributeCount", "Etag", "ClassCount", }); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataTaxonomy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataTaxonomy_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor, - new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "ParentId", "AttributeCount", "Etag", "ResourceAccessSpec", "DataAccessSpec", }); - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttribute_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttribute_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor, - new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "Labels", "Etag", "Resource", "Attributes", "Paths", "ResourceReference", }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_Path_descriptor, - new java.lang.String[] { "Name", "Attributes", }); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAttributeBinding_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataTaxonomyRequest_descriptor, - new java.lang.String[] { "Parent", "DataTaxonomyId", "DataTaxonomy", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataTaxonomyRequest_descriptor, - new java.lang.String[] { "UpdateMask", "DataTaxonomy", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataTaxonomyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataTaxonomiesResponse_descriptor, - new java.lang.String[] { "DataTaxonomies", "NextPageToken", "UnreachableLocations", }); - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataTaxonomyRequest_descriptor, - new java.lang.String[] { "Name", "Etag", }); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataAttributeRequest_descriptor, - new java.lang.String[] { "Parent", "DataAttributeId", "DataAttribute", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeRequest_descriptor, - new java.lang.String[] { "UpdateMask", "DataAttribute", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataAttributeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributesResponse_descriptor, - new java.lang.String[] { "DataAttributes", "NextPageToken", "UnreachableLocations", }); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeRequest_descriptor, - new java.lang.String[] { "Name", "Etag", }); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateDataAttributeBindingRequest_descriptor, - new java.lang.String[] { "Parent", "DataAttributeBindingId", "DataAttributeBinding", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateDataAttributeBindingRequest_descriptor, - new java.lang.String[] { "UpdateMask", "DataAttributeBinding", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetDataAttributeBindingRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListDataAttributeBindingsResponse_descriptor, - new java.lang.String[] { "DataAttributeBindings", "NextPageToken", "UnreachableLocations", }); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteDataAttributeBindingRequest_descriptor, - new java.lang.String[] { "Name", "Etag", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.SecurityProto.getDescriptor(); - com.google.cloud.dataplex.v1.ServiceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java deleted file mode 100644 index 661b4f6b26cb..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteAssetRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteAssetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteAssetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java deleted file mode 100644 index 35a3f7dd3cd5..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteContentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteContentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteContentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java deleted file mode 100644 index 61b2004cefdb..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/datascans.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteDataScanRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteDataScanRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the dataScan:
-   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
-   * where `project` refers to a *project_id* or *project_number* and
-   * `location_id` refers to a GCP region.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the dataScan:
-   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
-   * where `project` refers to a *project_id* or *project_number* and
-   * `location_id` refers to a GCP region.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java deleted file mode 100644 index a53c3cb05a1a..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteEnvironmentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteEnvironmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteEnvironmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java deleted file mode 100644 index 8e2f2db372b4..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteLakeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteLakeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteLakeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 7a54db0b0138..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java deleted file mode 100644 index 9ede25d3c3d3..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteZoneRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface DeleteZoneRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DeleteZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java deleted file mode 100644 index 9be7acb512d3..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetAssetRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetAssetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetAssetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the asset:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java deleted file mode 100644 index 1151ff59772b..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetContentRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/content.proto - -package com.google.cloud.dataplex.v1; - -public interface GetContentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetContentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the content:
-   * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. Specify content view to make a partial request.
-   * 
- * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. Specify content view to make a partial request.
-   * 
- * - * .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.dataplex.v1.GetContentRequest.ContentView getView(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java deleted file mode 100644 index 7d8dd5933bde..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeBindingRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataAttributeBindingRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the DataAttributeBinding:
-   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the DataAttributeBinding:
-   * projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java deleted file mode 100644 index 3b25babf0980..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataAttributeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataAttributeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataAttributeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the dataAttribute:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the dataAttribute:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java deleted file mode 100644 index d2d749a9748f..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/data_taxonomy.proto - -package com.google.cloud.dataplex.v1; - -public interface GetDataTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetDataTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the DataTaxonomy:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the DataTaxonomy:
-   * projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java deleted file mode 100644 index 5c4b94aabac4..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEntityRequestOrBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public interface GetEntityRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEntityRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the entity:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the entity:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. Used to select the subset of entity information to return.
-   * Defaults to `BASIC`.
-   * 
- * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. Used to select the subset of entity information to return.
-   * Defaults to `BASIC`.
-   * 
- * - * .google.cloud.dataplex.v1.GetEntityRequest.EntityView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.dataplex.v1.GetEntityRequest.EntityView getView(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java deleted file mode 100644 index dec0fd19648a..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetEnvironmentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetEnvironmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetEnvironmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the environment:
-   * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java deleted file mode 100644 index 6bd29be73aa1..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java deleted file mode 100644 index 96153566f9c0..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetLakeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetLakeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetLakeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the lake:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java deleted file mode 100644 index 4203009f69d4..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the task:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java deleted file mode 100644 index 9b357d47fdd1..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetZoneRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public interface GetZoneRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.GetZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the zone:
-   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java deleted file mode 100644 index 6889d89c2a46..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java +++ /dev/null @@ -1,465 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/logs.proto - -package com.google.cloud.dataplex.v1; - -public final class LogsProto { - private LogsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/dataplex/v1/logs.proto\022\030g" + - "oogle.cloud.dataplex.v1\032\031google/api/reso" + - "urce.proto\032\036google/protobuf/duration.pro" + - "to\032\037google/protobuf/timestamp.proto\"\240\t\n\016" + - "DiscoveryEvent\022\017\n\007message\030\001 \001(\t\022\017\n\007lake_" + - "id\030\002 \001(\t\022\017\n\007zone_id\030\003 \001(\t\022\020\n\010asset_id\030\004 " + - "\001(\t\022\025\n\rdata_location\030\005 \001(\t\022@\n\004type\030\n \001(\016" + - "22.google.cloud.dataplex.v1.DiscoveryEve" + - "nt.EventType\022H\n\006config\030\024 \001(\01326.google.cl" + - "oud.dataplex.v1.DiscoveryEvent.ConfigDet" + - "ailsH\000\022H\n\006entity\030\025 \001(\01326.google.cloud.da" + - "taplex.v1.DiscoveryEvent.EntityDetailsH\000" + - "\022N\n\tpartition\030\026 \001(\01329.google.cloud.datap" + - "lex.v1.DiscoveryEvent.PartitionDetailsH\000" + - "\022H\n\006action\030\027 \001(\01326.google.cloud.dataplex" + - ".v1.DiscoveryEvent.ActionDetailsH\000\032\236\001\n\rC" + - "onfigDetails\022Z\n\nparameters\030\001 \003(\0132F.googl" + - "e.cloud.dataplex.v1.DiscoveryEvent.Confi" + - "gDetails.ParametersEntry\0321\n\017ParametersEn" + - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032b\n\rE" + - "ntityDetails\022\016\n\006entity\030\001 \001(\t\022A\n\004type\030\002 \001" + - "(\01623.google.cloud.dataplex.v1.DiscoveryE" + - "vent.EntityType\032\230\001\n\020PartitionDetails\022\021\n\t" + - "partition\030\001 \001(\t\022\016\n\006entity\030\002 \001(\t\022A\n\004type\030" + - "\003 \001(\01623.google.cloud.dataplex.v1.Discove" + - "ryEvent.EntityType\022\036\n\026sampled_data_locat" + - "ions\030\004 \003(\t\032\035\n\rActionDetails\022\014\n\004type\030\001 \001(" + - "\t\"\264\001\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006CONFIG\020\001\022\022\n\016ENTITY_CREATED\020\002\022\022\n\016E" + - "NTITY_UPDATED\020\003\022\022\n\016ENTITY_DELETED\020\004\022\025\n\021P" + - "ARTITION_CREATED\020\005\022\025\n\021PARTITION_UPDATED\020" + - "\006\022\025\n\021PARTITION_DELETED\020\007\"A\n\nEntityType\022\033" + - "\n\027ENTITY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\013" + - "\n\007FILESET\020\002B\t\n\007details\"\305\005\n\010JobEvent\022\017\n\007m" + - "essage\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t\022.\n\nstart_ti" + - "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + - "end_time\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mp\0227\n\005state\030\005 \001(\0162(.google.cloud.dataple" + - "x.v1.JobEvent.State\022\017\n\007retries\030\006 \001(\005\0225\n\004" + - "type\030\007 \001(\0162\'.google.cloud.dataplex.v1.Jo" + - "bEvent.Type\022;\n\007service\030\010 \001(\0162*.google.cl" + - "oud.dataplex.v1.JobEvent.Service\022\023\n\013serv" + - "ice_job\030\t \001(\t\022N\n\021execution_trigger\030\013 \001(\016" + - "23.google.cloud.dataplex.v1.JobEvent.Exe" + - "cutionTrigger\"5\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + - "D\020\000\022\t\n\005SPARK\020\001\022\014\n\010NOTEBOOK\020\002\"U\n\005State\022\025\n" + - "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006F" + - "AILED\020\002\022\r\n\tCANCELLED\020\003\022\013\n\007ABORTED\020\004\"0\n\007S" + - "ervice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAP" + - "ROC\020\001\"W\n\020ExecutionTrigger\022!\n\035EXECUTION_T" + - "RIGGER_UNSPECIFIED\020\000\022\017\n\013TASK_CONFIG\020\001\022\017\n" + - "\013RUN_REQUEST\020\002\"\275\005\n\014SessionEvent\022\017\n\007messa" + - "ge\030\001 \001(\t\022\017\n\007user_id\030\002 \001(\t\022\022\n\nsession_id\030" + - "\003 \001(\t\022>\n\004type\030\004 \001(\01620.google.cloud.datap" + - "lex.v1.SessionEvent.EventType\022C\n\005query\030\005" + - " \001(\01322.google.cloud.dataplex.v1.SessionE" + - "vent.QueryDetailH\000\022\027\n\017event_succeeded\030\006 " + - "\001(\010\022\034\n\024fast_startup_enabled\030\007 \001(\010\0226\n\023una" + - "ssigned_duration\030\010 \001(\0132\031.google.protobuf" + - ".Duration\032\243\002\n\013QueryDetail\022\020\n\010query_id\030\001 " + - "\001(\t\022\022\n\nquery_text\030\002 \001(\t\022I\n\006engine\030\003 \001(\0162" + - "9.google.cloud.dataplex.v1.SessionEvent." + - "QueryDetail.Engine\022+\n\010duration\030\004 \001(\0132\031.g" + - "oogle.protobuf.Duration\022\031\n\021result_size_b" + - "ytes\030\005 \001(\003\022\034\n\024data_processed_bytes\030\006 \001(\003" + - "\"=\n\006Engine\022\026\n\022ENGINE_UNSPECIFIED\020\000\022\r\n\tSP" + - "ARK_SQL\020\001\022\014\n\010BIGQUERY\020\002\"S\n\tEventType\022\032\n\026" + - "EVENT_TYPE_UNSPECIFIED\020\000\022\t\n\005START\020\001\022\010\n\004S" + - "TOP\020\002\022\t\n\005QUERY\020\003\022\n\n\006CREATE\020\004B\010\n\006detail\"\232" + - "\007\n\017GovernanceEvent\022\017\n\007message\030\001 \001(\t\022G\n\ne" + - "vent_type\030\002 \001(\01623.google.cloud.dataplex." + - "v1.GovernanceEvent.EventType\022E\n\006entity\030\003" + - " \001(\01320.google.cloud.dataplex.v1.Governan" + - "ceEvent.EntityH\000\210\001\001\032\322\001\n\006Entity\0223\n\006entity" + - "\030\001 \001(\tB#\372A \n\036dataplex.googleapis.com/Ent" + - "ity\022P\n\013entity_type\030\002 \001(\0162;.google.cloud." + - "dataplex.v1.GovernanceEvent.Entity.Entit" + - "yType\"A\n\nEntityType\022\033\n\027ENTITY_TYPE_UNSPE" + - "CIFIED\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002\"\205\004\n\tEve" + - "ntType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032RE" + - "SOURCE_IAM_POLICY_UPDATE\020\001\022\031\n\025BIGQUERY_T" + - "ABLE_CREATE\020\002\022\031\n\025BIGQUERY_TABLE_UPDATE\020\003" + - "\022\031\n\025BIGQUERY_TABLE_DELETE\020\004\022\036\n\032BIGQUERY_" + - "CONNECTION_CREATE\020\005\022\036\n\032BIGQUERY_CONNECTI" + - "ON_UPDATE\020\006\022\036\n\032BIGQUERY_CONNECTION_DELET" + - "E\020\007\022\034\n\030BIGQUERY_TAXONOMY_CREATE\020\n\022\036\n\032BIG" + - "QUERY_POLICY_TAG_CREATE\020\013\022\036\n\032BIGQUERY_PO" + - "LICY_TAG_DELETE\020\014\022&\n\"BIGQUERY_POLICY_TAG" + - "_SET_IAM_POLICY\020\r\022\030\n\024ACCESS_POLICY_UPDAT" + - "E\020\016\022%\n!GOVERNANCE_RULE_MATCHED_RESOURCES" + - "\020\017\022(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEE" + - "DS\020\020\022\032\n\026GOVERNANCE_RULE_ERRORS\020\021B\t\n\007_ent" + - "ity\"\363\022\n\rDataScanEvent\022\023\n\013data_source\030\001 \001" + - "(\t\022\016\n\006job_id\030\002 \001(\t\022/\n\013create_time\030\014 \001(\0132" + - "\032.google.protobuf.Timestamp\022.\n\nstart_tim" + - "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + - "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + - "p\022>\n\004type\030\005 \001(\01620.google.cloud.dataplex." + - "v1.DataScanEvent.ScanType\022<\n\005state\030\006 \001(\016" + - "2-.google.cloud.dataplex.v1.DataScanEven" + - "t.State\022\017\n\007message\030\007 \001(\t\022\024\n\014spec_version" + - "\030\010 \001(\t\022@\n\007trigger\030\t \001(\0162/.google.cloud.d" + - "ataplex.v1.DataScanEvent.Trigger\022<\n\005scop" + - "e\030\n \001(\0162-.google.cloud.dataplex.v1.DataS" + - "canEvent.Scope\022Q\n\014data_profile\030e \001(\01329.g" + - "oogle.cloud.dataplex.v1.DataScanEvent.Da" + - "taProfileResultH\000\022Q\n\014data_quality\030f \001(\0132" + - "9.google.cloud.dataplex.v1.DataScanEvent" + - ".DataQualityResultH\000\022b\n\024data_profile_con" + - "figs\030\311\001 \001(\0132A.google.cloud.dataplex.v1.D" + - "ataScanEvent.DataProfileAppliedConfigsH\001" + - "\022b\n\024data_quality_configs\030\312\001 \001(\0132A.google" + - ".cloud.dataplex.v1.DataScanEvent.DataQua" + - "lityAppliedConfigsH\001\022_\n\030post_scan_action" + - "s_result\030\013 \001(\0132=.google.cloud.dataplex.v" + - "1.DataScanEvent.PostScanActionsResult\032&\n" + - "\021DataProfileResult\022\021\n\trow_count\030\001 \001(\003\032\234\004" + - "\n\021DataQualityResult\022\021\n\trow_count\030\001 \001(\003\022\016" + - "\n\006passed\030\002 \001(\010\022h\n\020dimension_passed\030\003 \003(\013" + - "2N.google.cloud.dataplex.v1.DataScanEven" + - "t.DataQualityResult.DimensionPassedEntry" + - "\022\r\n\005score\030\004 \001(\002\022f\n\017dimension_score\030\005 \003(\013" + - "2M.google.cloud.dataplex.v1.DataScanEven" + - "t.DataQualityResult.DimensionScoreEntry\022" + - "`\n\014column_score\030\006 \003(\0132J.google.cloud.dat" + - "aplex.v1.DataScanEvent.DataQualityResult" + - ".ColumnScoreEntry\0326\n\024DimensionPassedEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\0325\n\023Dim" + - "ensionScoreEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\002:\0028\001\0322\n\020ColumnScoreEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\002:\0028\001\032p\n\031DataProfileAppli" + - "edConfigs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022r" + - "ow_filter_applied\030\002 \001(\010\022\035\n\025column_filter" + - "_applied\030\003 \001(\010\032Q\n\031DataQualityAppliedConf" + - "igs\022\030\n\020sampling_percent\030\001 \001(\002\022\032\n\022row_fil" + - "ter_applied\030\002 \001(\010\032\346\002\n\025PostScanActionsRes" + - "ult\022r\n\026bigquery_export_result\030\001 \001(\0132R.go" + - "ogle.cloud.dataplex.v1.DataScanEvent.Pos" + - "tScanActionsResult.BigQueryExportResult\032" + - "\330\001\n\024BigQueryExportResult\022g\n\005state\030\001 \001(\0162" + - "X.google.cloud.dataplex.v1.DataScanEvent" + - ".PostScanActionsResult.BigQueryExportRes" + - "ult.State\022\017\n\007message\030\002 \001(\t\"F\n\005State\022\025\n\021S" + - "TATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAI" + - "LED\020\002\022\013\n\007SKIPPED\020\003\"I\n\010ScanType\022\031\n\025SCAN_T" + - "YPE_UNSPECIFIED\020\000\022\020\n\014DATA_PROFILE\020\001\022\020\n\014D" + - "ATA_QUALITY\020\002\"b\n\005State\022\025\n\021STATE_UNSPECIF" + - "IED\020\000\022\013\n\007STARTED\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAI" + - "LED\020\003\022\r\n\tCANCELLED\020\004\022\013\n\007CREATED\020\005\"?\n\007Tri" + - "gger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\r\n\tON_DEMA" + - "ND\020\001\022\014\n\010SCHEDULE\020\002\"9\n\005Scope\022\025\n\021SCOPE_UNS" + - "PECIFIED\020\000\022\010\n\004FULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n" + - "\006resultB\020\n\016appliedConfigs\"\351\006\n\031DataQualit" + - "yScanRuleResult\022\016\n\006job_id\030\001 \001(\t\022\023\n\013data_" + - "source\030\002 \001(\t\022\016\n\006column\030\003 \001(\t\022\021\n\trule_nam" + - "e\030\004 \001(\t\022O\n\trule_type\030\005 \001(\0162<.google.clou" + - "d.dataplex.v1.DataQualityScanRuleResult." + - "RuleType\022Z\n\016evalution_type\030\006 \001(\0162B.googl" + - "e.cloud.dataplex.v1.DataQualityScanRuleR" + - "esult.EvaluationType\022\026\n\016rule_dimension\030\007" + - " \001(\t\022\031\n\021threshold_percent\030\010 \001(\001\022J\n\006resul" + - "t\030\t \001(\0162:.google.cloud.dataplex.v1.DataQ" + - "ualityScanRuleResult.Result\022\033\n\023evaluated" + - "_row_count\030\n \001(\003\022\030\n\020passed_row_count\030\013 \001" + - "(\003\022\026\n\016null_row_count\030\014 \001(\003\"\377\001\n\010RuleType\022" + - "\031\n\025RULE_TYPE_UNSPECIFIED\020\000\022\030\n\024NON_NULL_E" + - "XPECTATION\020\001\022\025\n\021RANGE_EXPECTATION\020\002\022\025\n\021R" + - "EGEX_EXPECTATION\020\003\022\035\n\031ROW_CONDITION_EXPE" + - "CTATION\020\004\022\023\n\017SET_EXPECTATION\020\005\022\037\n\033STATIS" + - "TIC_RANGE_EXPECTATION\020\006\022\037\n\033TABLE_CONDITI" + - "ON_EXPECTATION\020\007\022\032\n\026UNIQUENESS_EXPECTATI" + - "ON\020\010\"M\n\016EvaluationType\022\037\n\033EVALUATION_TYP" + - "E_UNSPECIFIED\020\000\022\013\n\007PER_ROW\020\001\022\r\n\tAGGREGAT" + - "E\020\002\"8\n\006Result\022\026\n\022RESULT_UNSPECIFIED\020\000\022\n\n" + - "\006PASSED\020\001\022\n\n\006FAILED\020\002Be\n\034com.google.clou" + - "d.dataplex.v1B\tLogsProtoP\001Z8cloud.google" + - ".com/go/dataplex/apiv1/dataplexpb;datapl" + - "expbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor, - new java.lang.String[] { "Message", "LakeId", "ZoneId", "AssetId", "DataLocation", "Type", "Config", "Entity", "Partition", "Action", "Details", }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor, - new java.lang.String[] { "Parameters", }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ConfigDetails_ParametersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_EntityDetails_descriptor, - new java.lang.String[] { "Entity", "Type", }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_PartitionDetails_descriptor, - new java.lang.String[] { "Partition", "Entity", "Type", "SampledDataLocations", }); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor = - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DiscoveryEvent_ActionDetails_descriptor, - new java.lang.String[] { "Type", }); - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_JobEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_JobEvent_descriptor, - new java.lang.String[] { "Message", "JobId", "StartTime", "EndTime", "State", "Retries", "Type", "Service", "ServiceJob", "ExecutionTrigger", }); - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_SessionEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor, - new java.lang.String[] { "Message", "UserId", "SessionId", "Type", "Query", "EventSucceeded", "FastStartupEnabled", "UnassignedDuration", "Detail", }); - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor = - internal_static_google_cloud_dataplex_v1_SessionEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_SessionEvent_QueryDetail_descriptor, - new java.lang.String[] { "QueryId", "QueryText", "Engine", "Duration", "ResultSizeBytes", "DataProcessedBytes", }); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor, - new java.lang.String[] { "Message", "EventType", "Entity", "Entity", }); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor = - internal_static_google_cloud_dataplex_v1_GovernanceEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GovernanceEvent_Entity_descriptor, - new java.lang.String[] { "Entity", "EntityType", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor, - new java.lang.String[] { "DataSource", "JobId", "CreateTime", "StartTime", "EndTime", "Type", "State", "Message", "SpecVersion", "Trigger", "Scope", "DataProfile", "DataQuality", "DataProfileConfigs", "DataQualityConfigs", "PostScanActionsResult", "Result", "AppliedConfigs", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor, - new java.lang.String[] { "RowCount", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor, - new java.lang.String[] { "RowCount", "Passed", "DimensionPassed", "Score", "DimensionScore", "ColumnScore", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor, - new java.lang.String[] { "SamplingPercent", "RowFilterApplied", "ColumnFilterApplied", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor, - new java.lang.String[] { "SamplingPercent", "RowFilterApplied", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor, - new java.lang.String[] { "BigqueryExportResult", }); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor = - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor, - new java.lang.String[] { "State", "Message", }); - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataQualityScanRuleResult_descriptor, - new java.lang.String[] { "JobId", "DataSource", "Column", "RuleName", "RuleType", "EvalutionType", "RuleDimension", "ThresholdPercent", "Result", "EvaluatedRowCount", "PassedRowCount", "NullRowCount", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java deleted file mode 100644 index 6084c3133dfe..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java +++ /dev/null @@ -1,496 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public final class MetadataProto { - private MetadataProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateEntityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEntitiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetEntityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetEntityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreatePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeletePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetPartitionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetPartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Entity_CompatibilityStatus_Compatibility_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Partition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Partition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_SchemaField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_SchemaField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Schema_PartitionField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Schema_PartitionField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageFormat_IcebergOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_StorageAccess_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_StorageAccess_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/dataplex/v1/metadata.prot" + - "o\022\030google.cloud.dataplex.v1\032\034google/api/" + - "annotations.proto\032\027google/api/client.pro" + - "to\032\037google/api/field_behavior.proto\032\031goo" + - "gle/api/resource.proto\032\033google/protobuf/" + - "empty.proto\032\037google/protobuf/timestamp.p" + - "roto\"\241\001\n\023CreateEntityRequest\0225\n\006parent\030\001" + - " \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Z" + - "one\0226\n\006entity\030\003 \001(\0132 .google.cloud.datap" + - "lex.v1.EntityB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001" + - "(\010B\004\342A\001\001\"j\n\023UpdateEntityRequest\0226\n\006entit" + - "y\030\002 \001(\0132 .google.cloud.dataplex.v1.Entit" + - "yB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"`\n\023" + - "DeleteEntityRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372" + - "A \n\036dataplex.googleapis.com/Entity\022\022\n\004et" + - "ag\030\002 \001(\tB\004\342A\001\002\"\250\002\n\023ListEntitiesRequest\0225" + - "\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.google" + - "apis.com/Zone\022L\n\004view\030\002 \001(\01628.google.clo" + - "ud.dataplex.v1.ListEntitiesRequest.Entit" + - "yViewB\004\342A\001\002\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" + - "page_token\030\004 \001(\tB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004" + - "\342A\001\001\"C\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPEC" + - "IFIED\020\000\022\n\n\006TABLES\020\001\022\014\n\010FILESETS\020\002\"c\n\024Lis" + - "tEntitiesResponse\0222\n\010entities\030\001 \003(\0132 .go" + - "ogle.cloud.dataplex.v1.Entity\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\340\001\n\020GetEntityRequest\0225\n\004n" + - "ame\030\001 \001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis." + - "com/Entity\022I\n\004view\030\002 \001(\01625.google.cloud." + - "dataplex.v1.GetEntityRequest.EntityViewB" + - "\004\342A\001\001\"J\n\nEntityView\022\033\n\027ENTITY_VIEW_UNSPE" + - "CIFIED\020\000\022\t\n\005BASIC\020\001\022\n\n\006SCHEMA\020\002\022\010\n\004FULL\020" + - "\004\"\231\001\n\025ListPartitionsRequest\0227\n\006parent\030\001 " + - "\001(\tB\'\342A\001\002\372A \n\036dataplex.googleapis.com/En" + - "tity\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_to" + - "ken\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"\254\001" + - "\n\026CreatePartitionRequest\0227\n\006parent\030\001 \001(\t" + - "B\'\342A\001\002\372A \n\036dataplex.googleapis.com/Entit" + - "y\022<\n\tpartition\030\003 \001(\0132#.google.cloud.data" + - "plex.v1.PartitionB\004\342A\001\002\022\033\n\rvalidate_only" + - "\030\004 \001(\010B\004\342A\001\001\"h\n\026DeletePartitionRequest\0228" + - "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!dataplex.googleap" + - "is.com/Partition\022\024\n\004etag\030\002 \001(\tB\006\030\001\342A\001\001\"j" + - "\n\026ListPartitionsResponse\0227\n\npartitions\030\001" + - " \003(\0132#.google.cloud.dataplex.v1.Partitio" + - "n\022\027\n\017next_page_token\030\002 \001(\t\"O\n\023GetPartiti" + - "onRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!datapl" + - "ex.googleapis.com/Partition\"\327\t\n\006Entity\0225" + - "\n\004name\030\001 \001(\tB\'\342A\001\003\372A \n\036dataplex.googleap" + - "is.com/Entity\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" + - "\001\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" + - "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\004\342" + - "A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022\020\n\002id\030\007 \001(\tB\004\342A\001\002\022\022\n\004" + - "etag\030\010 \001(\tB\004\342A\001\001\022:\n\004type\030\n \001(\0162%.google." + - "cloud.dataplex.v1.Entity.TypeB\005\342A\002\002\005\022\024\n\005" + - "asset\030\013 \001(\tB\005\342A\002\002\005\022\030\n\tdata_path\030\014 \001(\tB\005\342" + - "A\002\002\005\022\037\n\021data_path_pattern\030\r \001(\tB\004\342A\001\001\022\033\n" + - "\rcatalog_entry\030\016 \001(\tB\004\342A\001\003\022>\n\006system\030\017 \001" + - "(\0162\'.google.cloud.dataplex.v1.StorageSys" + - "temB\005\342A\002\002\005\022=\n\006format\030\020 \001(\0132\'.google.clou" + - "d.dataplex.v1.StorageFormatB\004\342A\001\002\022Q\n\rcom" + - "patibility\030\023 \001(\01324.google.cloud.dataplex" + - ".v1.Entity.CompatibilityStatusB\004\342A\001\003\022=\n\006" + - "access\030\025 \001(\0132\'.google.cloud.dataplex.v1." + - "StorageAccessB\004\342A\001\003\022\021\n\003uid\030\026 \001(\tB\004\342A\001\003\0226" + - "\n\006schema\0302 \001(\0132 .google.cloud.dataplex.v" + - "1.SchemaB\004\342A\001\002\032\224\002\n\023CompatibilityStatus\022`" + - "\n\016hive_metastore\030\001 \001(\0132B.google.cloud.da" + - "taplex.v1.Entity.CompatibilityStatus.Com" + - "patibilityB\004\342A\001\003\022Z\n\010bigquery\030\002 \001(\0132B.goo" + - "gle.cloud.dataplex.v1.Entity.Compatibili" + - "tyStatus.CompatibilityB\004\342A\001\003\032?\n\rCompatib" + - "ility\022\030\n\ncompatible\030\001 \001(\010B\004\342A\001\003\022\024\n\006reaso" + - "n\030\002 \001(\tB\004\342A\001\003\"4\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + - "D\020\000\022\t\n\005TABLE\020\001\022\013\n\007FILESET\020\002:x\352Au\n\036datapl" + - "ex.googleapis.com/Entity\022Sprojects/{proj" + - "ect}/locations/{location}/lakes/{lake}/z" + - "ones/{zone}/entities/{entity}\"\241\002\n\tPartit" + - "ion\0228\n\004name\030\001 \001(\tB*\342A\001\003\372A#\n!dataplex.goo" + - "gleapis.com/Partition\022\025\n\006values\030\002 \003(\tB\005\342" + - "A\002\002\005\022\027\n\010location\030\003 \001(\tB\005\342A\002\002\005\022\024\n\004etag\030\004 " + - "\001(\tB\006\030\001\342A\001\001:\223\001\352A\217\001\n!dataplex.googleapis." + - "com/Partition\022jprojects/{project}/locati" + - "ons/{location}/lakes/{lake}/zones/{zone}" + - "/entities/{entity}/partitions/{partition" + - "}\"\300\007\n\006Schema\022\032\n\014user_managed\030\001 \001(\010B\004\342A\001\002" + - "\022B\n\006fields\030\002 \003(\0132,.google.cloud.dataplex" + - ".v1.Schema.SchemaFieldB\004\342A\001\001\022O\n\020partitio" + - "n_fields\030\003 \003(\0132/.google.cloud.dataplex.v" + - "1.Schema.PartitionFieldB\004\342A\001\001\022N\n\017partiti" + - "on_style\030\004 \001(\0162/.google.cloud.dataplex.v" + - "1.Schema.PartitionStyleB\004\342A\001\001\032\366\001\n\013Schema" + - "Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description" + - "\030\002 \001(\tB\004\342A\001\001\0229\n\004type\030\003 \001(\0162%.google.clou" + - "d.dataplex.v1.Schema.TypeB\004\342A\001\002\0229\n\004mode\030" + - "\004 \001(\0162%.google.cloud.dataplex.v1.Schema." + - "ModeB\004\342A\001\002\022B\n\006fields\030\n \003(\0132,.google.clou" + - "d.dataplex.v1.Schema.SchemaFieldB\004\342A\001\001\032`" + - "\n\016PartitionField\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022:\n\004" + - "type\030\002 \001(\0162%.google.cloud.dataplex.v1.Sc" + - "hema.TypeB\005\342A\002\002\005\"\311\001\n\004Type\022\024\n\020TYPE_UNSPEC" + - "IFIED\020\000\022\013\n\007BOOLEAN\020\001\022\010\n\004BYTE\020\002\022\t\n\005INT16\020" + - "\003\022\t\n\005INT32\020\004\022\t\n\005INT64\020\005\022\t\n\005FLOAT\020\006\022\n\n\006DO" + - "UBLE\020\007\022\013\n\007DECIMAL\020\010\022\n\n\006STRING\020\t\022\n\n\006BINAR" + - "Y\020\n\022\r\n\tTIMESTAMP\020\013\022\010\n\004DATE\020\014\022\010\n\004TIME\020\r\022\n" + - "\n\006RECORD\020\016\022\010\n\004NULL\020d\"F\n\004Mode\022\024\n\020MODE_UNS" + - "PECIFIED\020\000\022\014\n\010REQUIRED\020\001\022\014\n\010NULLABLE\020\002\022\014" + - "\n\010REPEATED\020\003\"F\n\016PartitionStyle\022\037\n\033PARTIT" + - "ION_STYLE_UNSPECIFIED\020\000\022\023\n\017HIVE_COMPATIB" + - "LE\020\001\"\200\007\n\rStorageFormat\022D\n\006format\030\001 \001(\0162." + - ".google.cloud.dataplex.v1.StorageFormat." + - "FormatB\004\342A\001\003\022[\n\022compression_format\030\002 \001(\016" + - "29.google.cloud.dataplex.v1.StorageForma" + - "t.CompressionFormatB\004\342A\001\001\022\027\n\tmime_type\030\003" + - " \001(\tB\004\342A\001\002\022G\n\003csv\030\n \001(\01322.google.cloud.d" + - "ataplex.v1.StorageFormat.CsvOptionsB\004\342A\001" + - "\001H\000\022I\n\004json\030\013 \001(\01323.google.cloud.dataple" + - "x.v1.StorageFormat.JsonOptionsB\004\342A\001\001H\000\022O" + - "\n\007iceberg\030\014 \001(\01326.google.cloud.dataplex." + - "v1.StorageFormat.IcebergOptionsB\004\342A\001\001H\000\032" + - "m\n\nCsvOptions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\022\031\n" + - "\013header_rows\030\002 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\003 " + - "\001(\tB\004\342A\001\001\022\023\n\005quote\030\004 \001(\tB\004\342A\001\001\032%\n\013JsonOp" + - "tions\022\026\n\010encoding\030\001 \001(\tB\004\342A\001\001\0321\n\016Iceberg" + - "Options\022\037\n\021metadata_location\030\001 \001(\tB\004\342A\001\001" + - "\"\253\001\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\013\n\007P" + - "ARQUET\020\001\022\010\n\004AVRO\020\002\022\007\n\003ORC\020\003\022\007\n\003CSV\020d\022\010\n\004" + - "JSON\020e\022\n\n\005IMAGE\020\310\001\022\n\n\005AUDIO\020\311\001\022\n\n\005VIDEO\020" + - "\312\001\022\t\n\004TEXT\020\313\001\022\r\n\010TFRECORD\020\314\001\022\n\n\005OTHER\020\350\007" + - "\022\014\n\007UNKNOWN\020\351\007\"L\n\021CompressionFormat\022\"\n\036C" + - "OMPRESSION_FORMAT_UNSPECIFIED\020\000\022\010\n\004GZIP\020" + - "\002\022\t\n\005BZIP2\020\003B\t\n\007options\"\233\001\n\rStorageAcces" + - "s\022F\n\004read\030\025 \001(\01622.google.cloud.dataplex." + - "v1.StorageAccess.AccessModeB\004\342A\001\003\"B\n\nAcc" + - "essMode\022\033\n\027ACCESS_MODE_UNSPECIFIED\020\000\022\n\n\006" + - "DIRECT\020\001\022\013\n\007MANAGED\020\002*P\n\rStorageSystem\022\036" + - "\n\032STORAGE_SYSTEM_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + - "STORAGE\020\001\022\014\n\010BIGQUERY\020\0022\211\016\n\017MetadataServ" + - "ice\022\275\001\n\014CreateEntity\022-.google.cloud.data" + - "plex.v1.CreateEntityRequest\032 .google.clo" + - "ud.dataplex.v1.Entity\"\\\332A\rparent,entity\202" + - "\323\344\223\002F\"*\022\022\n\010schedule\030e \001(\0132*.google.cloud." + - "dataplex.v1.Trigger.ScheduleH\000\032\n\n\010OnDema" + - "nd\032\036\n\010Schedule\022\022\n\004cron\030\001 \001(\tB\004\342A\001\002B\006\n\004mo" + - "de\"k\n\nDataSource\0229\n\006entity\030d \001(\tB\'\342A\001\005\372A" + - " \n\036dataplex.googleapis.com/EntityH\000\022\030\n\010r" + - "esource\030e \001(\tB\004\342A\001\005H\000B\010\n\006source\"\257\001\n\013Scan" + - "nedData\022S\n\021incremental_field\030\001 \001(\01326.goo" + - "gle.cloud.dataplex.v1.ScannedData.Increm" + - "entalFieldH\000\032=\n\020IncrementalField\022\r\n\005fiel" + - "d\030\001 \001(\t\022\r\n\005start\030\002 \001(\t\022\013\n\003end\030\003 \001(\tB\014\n\nd" + - "ata_rangeBk\n\034com.google.cloud.dataplex.v" + - "1B\017ProcessingProtoP\001Z8cloud.google.com/g" + - "o/dataplex/apiv1/dataplexpb;dataplexpbb\006" + - "proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Trigger_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Trigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_descriptor, - new java.lang.String[] { "OnDemand", "Schedule", "Mode", }); - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor = - internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_OnDemand_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor = - internal_static_google_cloud_dataplex_v1_Trigger_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Trigger_Schedule_descriptor, - new java.lang.String[] { "Cron", }); - internal_static_google_cloud_dataplex_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataSource_descriptor, - new java.lang.String[] { "Entity", "Resource", "Source", }); - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_ScannedData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor, - new java.lang.String[] { "IncrementalField", "DataRange", }); - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor = - internal_static_google_cloud_dataplex_v1_ScannedData_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ScannedData_IncrementalField_descriptor, - new java.lang.String[] { "Field", "Start", "End", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java deleted file mode 100644 index abb439fec16c..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java +++ /dev/null @@ -1,582 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/resources.proto - -package com.google.cloud.dataplex.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/dataplex/v1/resources.pro" + - "to\022\030google.cloud.dataplex.v1\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\036google/protobuf/duration.proto" + - "\032\037google/protobuf/timestamp.proto\"\207\010\n\004La" + - "ke\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.goog" + - "leapis.com/Lake\022\032\n\014display_name\030\002 \001(\tB\004\342" + - "A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + - "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google.cl" + - "oud.dataplex.v1.Lake.LabelsEntryB\004\342A\001\001\022\031" + - "\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001(\016" + - "2\037.google.cloud.dataplex.v1.StateB\004\342A\001\003\022" + - "\035\n\017service_account\030\t \001(\tB\004\342A\001\003\022A\n\tmetast" + - "ore\030f \001(\0132(.google.cloud.dataplex.v1.Lak" + - "e.MetastoreB\004\342A\001\001\022A\n\014asset_status\030g \001(\0132" + - "%.google.cloud.dataplex.v1.AssetStatusB\004" + - "\342A\001\003\022N\n\020metastore_status\030h \001(\0132..google." + - "cloud.dataplex.v1.Lake.MetastoreStatusB\004" + - "\342A\001\003\032\"\n\tMetastore\022\025\n\007service\030\001 \001(\tB\004\342A\001\001" + - "\032\370\001\n\017MetastoreStatus\022C\n\005state\030\001 \001(\01624.go" + - "ogle.cloud.dataplex.v1.Lake.MetastoreSta" + - "tus.State\022\017\n\007message\030\002 \001(\t\022/\n\013update_tim" + - "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022\020\n\010e" + - "ndpoint\030\004 \001(\t\"L\n\005State\022\025\n\021STATE_UNSPECIF" + - "IED\020\000\022\010\n\004NONE\020\001\022\t\n\005READY\020\002\022\014\n\010UPDATING\020\003" + - "\022\t\n\005ERROR\020\004\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001:W\352AT\n\034dataplex.google" + - "apis.com/Lake\0224projects/{project}/locati" + - "ons/{location}/lakes/{lake}\"~\n\013AssetStat" + - "us\022/\n\013update_time\030\001 \001(\0132\032.google.protobu" + - "f.Timestamp\022\025\n\ractive_assets\030\002 \001(\005\022\'\n\037se" + - "curity_policy_applying_assets\030\003 \001(\005\"\211\014\n\004" + - "Zone\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.go" + - "ogleapis.com/Zone\022\032\n\014display_name\030\002 \001(\tB" + - "\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + - "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\0132*.google." + - "cloud.dataplex.v1.Zone.LabelsEntryB\004\342A\001\001" + - "\022\031\n\013description\030\007 \001(\tB\004\342A\001\001\0224\n\005state\030\010 \001" + - "(\0162\037.google.cloud.dataplex.v1.StateB\004\342A\001" + - "\003\0228\n\004type\030\t \001(\0162#.google.cloud.dataplex." + - "v1.Zone.TypeB\005\342A\002\002\005\022J\n\016discovery_spec\030g " + - "\001(\0132,.google.cloud.dataplex.v1.Zone.Disc" + - "overySpecB\004\342A\001\001\022H\n\rresource_spec\030h \001(\0132+" + - ".google.cloud.dataplex.v1.Zone.ResourceS" + - "pecB\004\342A\001\002\022A\n\014asset_status\030i \001(\0132%.google" + - ".cloud.dataplex.v1.AssetStatusB\004\342A\001\003\032\272\001\n" + - "\014ResourceSpec\022V\n\rlocation_type\030\001 \001(\01628.g" + - "oogle.cloud.dataplex.v1.Zone.ResourceSpe" + - "c.LocationTypeB\005\342A\002\002\005\"R\n\014LocationType\022\035\n" + - "\031LOCATION_TYPE_UNSPECIFIED\020\000\022\021\n\rSINGLE_R" + - "EGION\020\001\022\020\n\014MULTI_REGION\020\002\032\202\004\n\rDiscoveryS" + - "pec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\002\022\036\n\020include_pa" + - "tterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patterns\030\003" + - " \003(\tB\004\342A\001\001\022R\n\013csv_options\030\004 \001(\01327.google" + - ".cloud.dataplex.v1.Zone.DiscoverySpec.Cs" + - "vOptionsB\004\342A\001\001\022T\n\014json_options\030\005 \001(\01328.g" + - "oogle.cloud.dataplex.v1.Zone.DiscoverySp" + - "ec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule\030\n \001(\tB\004" + - "\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_rows\030\001 \001(" + - "\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001\022\026\n\010enco" + - "ding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type_inferen" + - "ce\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n\010encodin" + - "g\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_inference\030" + - "\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032-\n\013LabelsEntry\022\013\n" + - "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"2\n\004Type\022\024\n" + - "\020TYPE_UNSPECIFIED\020\000\022\007\n\003RAW\020\001\022\013\n\007CURATED\020" + - "\002:d\352Aa\n\034dataplex.googleapis.com/Zone\022Apr" + - "ojects/{project}/locations/{location}/la" + - "kes/{lake}/zones/{zone}\"\257\021\n\006Action\022;\n\010ca" + - "tegory\030\001 \001(\0162).google.cloud.dataplex.v1." + - "Action.Category\022\r\n\005issue\030\002 \001(\t\022/\n\013detect" + - "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + - "5\n\004name\030\005 \001(\tB\'\342A\001\003\372A \n\036dataplex.googlea" + - "pis.com/Action\0223\n\004lake\030\006 \001(\tB%\342A\001\003\372A\036\n\034d" + - "ataplex.googleapis.com/Lake\0223\n\004zone\030\007 \001(" + - "\tB%\342A\001\003\372A\036\n\034dataplex.googleapis.com/Zone" + - "\0225\n\005asset\030\010 \001(\tB&\342A\001\003\372A\037\n\035dataplex.googl" + - "eapis.com/Asset\022\026\n\016data_locations\030\t \003(\t\022" + - "Q\n\023invalid_data_format\030\n \001(\01322.google.cl" + - "oud.dataplex.v1.Action.InvalidDataFormat" + - "H\000\022[\n\030incompatible_data_schema\030\013 \001(\01327.g" + - "oogle.cloud.dataplex.v1.Action.Incompati" + - "bleDataSchemaH\000\022W\n\026invalid_data_partitio" + - "n\030\014 \001(\01325.google.cloud.dataplex.v1.Actio" + - "n.InvalidDataPartitionH\000\022D\n\014missing_data" + - "\030\r \001(\0132,.google.cloud.dataplex.v1.Action" + - ".MissingDataH\000\022L\n\020missing_resource\030\016 \001(\013" + - "20.google.cloud.dataplex.v1.Action.Missi" + - "ngResourceH\000\022V\n\025unauthorized_resource\030\017 " + - "\001(\01325.google.cloud.dataplex.v1.Action.Un" + - "authorizedResourceH\000\022b\n\034failed_security_" + - "policy_apply\030\025 \001(\0132:.google.cloud.datapl" + - "ex.v1.Action.FailedSecurityPolicyApplyH\000" + - "\022]\n\031invalid_data_organization\030\026 \001(\01328.go" + - "ogle.cloud.dataplex.v1.Action.InvalidDat" + - "aOrganizationH\000\032\021\n\017MissingResource\032\026\n\024Un" + - "authorizedResource\032*\n\031FailedSecurityPoli" + - "cyApply\022\r\n\005asset\030\001 \001(\t\032`\n\021InvalidDataFor" + - "mat\022\036\n\026sampled_data_locations\030\001 \003(\t\022\027\n\017e" + - "xpected_format\030\002 \001(\t\022\022\n\nnew_format\030\003 \001(\t" + - "\032\240\002\n\026IncompatibleDataSchema\022\r\n\005table\030\001 \001" + - "(\t\022\027\n\017existing_schema\030\002 \001(\t\022\022\n\nnew_schem" + - "a\030\003 \001(\t\022\036\n\026sampled_data_locations\030\004 \003(\t\022" + - "[\n\rschema_change\030\005 \001(\0162D.google.cloud.da" + - "taplex.v1.Action.IncompatibleDataSchema." + - "SchemaChange\"M\n\014SchemaChange\022\035\n\031SCHEMA_C" + - "HANGE_UNSPECIFIED\020\000\022\020\n\014INCOMPATIBLE\020\001\022\014\n" + - "\010MODIFIED\020\002\032\341\001\n\024InvalidDataPartition\022d\n\022" + - "expected_structure\030\001 \001(\0162H.google.cloud." + - "dataplex.v1.Action.InvalidDataPartition." + - "PartitionStructure\"c\n\022PartitionStructure" + - "\022#\n\037PARTITION_STRUCTURE_UNSPECIFIED\020\000\022\023\n" + - "\017CONSISTENT_KEYS\020\001\022\023\n\017HIVE_STYLE_KEYS\020\002\032" + - "\r\n\013MissingData\032\031\n\027InvalidDataOrganizatio" + - "n\"f\n\010Category\022\030\n\024CATEGORY_UNSPECIFIED\020\000\022" + - "\027\n\023RESOURCE_MANAGEMENT\020\001\022\023\n\017SECURITY_POL" + - "ICY\020\002\022\022\n\016DATA_DISCOVERY\020\003:\242\002\352A\236\002\n\036datapl" + - "ex.googleapis.com/Action\022Eprojects/{proj" + - "ect}/locations/{location}/lakes/{lake}/a" + - "ctions/{action}\022Rprojects/{project}/loca" + - "tions/{location}/lakes/{lake}/zones/{zon" + - "e}/actions/{action}\022aprojects/{project}/" + - "locations/{location}/lakes/{lake}/zones/" + - "{zone}/assets/{asset}/actions/{action}B\t" + - "\n\007details\"\277\025\n\005Asset\0224\n\004name\030\001 \001(\tB&\342A\001\003\372" + - "A\037\n\035dataplex.googleapis.com/Asset\022\032\n\014dis" + - "play_name\030\002 \001(\tB\004\342A\001\001\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003" + - "\0225\n\013create_time\030\004 \001(\0132\032.google.protobuf." + - "TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels" + - "\030\006 \003(\0132+.google.cloud.dataplex.v1.Asset." + - "LabelsEntryB\004\342A\001\001\022\031\n\013description\030\007 \001(\tB\004" + - "\342A\001\001\0224\n\005state\030\010 \001(\0162\037.google.cloud.datap" + - "lex.v1.StateB\004\342A\001\003\022I\n\rresource_spec\030d \001(" + - "\0132,.google.cloud.dataplex.v1.Asset.Resou" + - "rceSpecB\004\342A\001\002\022M\n\017resource_status\030e \001(\0132." + - ".google.cloud.dataplex.v1.Asset.Resource" + - "StatusB\004\342A\001\003\022M\n\017security_status\030g \001(\0132.." + - "google.cloud.dataplex.v1.Asset.SecurityS" + - "tatusB\004\342A\001\003\022K\n\016discovery_spec\030j \001(\0132-.go" + - "ogle.cloud.dataplex.v1.Asset.DiscoverySp" + - "ecB\004\342A\001\001\022O\n\020discovery_status\030k \001(\0132/.goo" + - "gle.cloud.dataplex.v1.Asset.DiscoverySta" + - "tusB\004\342A\001\003\032\333\001\n\016SecurityStatus\022C\n\005state\030\001 " + - "\001(\01624.google.cloud.dataplex.v1.Asset.Sec" + - "urityStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013up" + - "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + - "amp\"B\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005R" + - "EADY\020\001\022\014\n\010APPLYING\020\002\022\t\n\005ERROR\020\003\032\204\004\n\rDisc" + - "overySpec\022\025\n\007enabled\030\001 \001(\010B\004\342A\001\001\022\036\n\020incl" + - "ude_patterns\030\002 \003(\tB\004\342A\001\001\022\036\n\020exclude_patt" + - "erns\030\003 \003(\tB\004\342A\001\001\022S\n\013csv_options\030\004 \001(\01328." + - "google.cloud.dataplex.v1.Asset.Discovery" + - "Spec.CsvOptionsB\004\342A\001\001\022U\n\014json_options\030\005 " + - "\001(\01329.google.cloud.dataplex.v1.Asset.Dis" + - "coverySpec.JsonOptionsB\004\342A\001\001\022\030\n\010schedule" + - "\030\n \001(\tB\004\342A\001\001H\000\032~\n\nCsvOptions\022\031\n\013header_r" + - "ows\030\001 \001(\005B\004\342A\001\001\022\027\n\tdelimiter\030\002 \001(\tB\004\342A\001\001" + - "\022\026\n\010encoding\030\003 \001(\tB\004\342A\001\001\022$\n\026disable_type" + - "_inference\030\004 \001(\010B\004\342A\001\001\032K\n\013JsonOptions\022\026\n" + - "\010encoding\030\001 \001(\tB\004\342A\001\001\022$\n\026disable_type_in" + - "ference\030\002 \001(\010B\004\342A\001\001B\t\n\007trigger\032\317\002\n\014Resou" + - "rceSpec\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022F\n\004type\030\002 \001(" + - "\01621.google.cloud.dataplex.v1.Asset.Resou" + - "rceSpec.TypeB\005\342A\002\002\005\022W\n\020read_access_mode\030" + - "\005 \001(\01627.google.cloud.dataplex.v1.Asset.R" + - "esourceSpec.AccessModeB\004\342A\001\001\"F\n\004Type\022\024\n\020" + - "TYPE_UNSPECIFIED\020\000\022\022\n\016STORAGE_BUCKET\020\001\022\024" + - "\n\020BIGQUERY_DATASET\020\002\"B\n\nAccessMode\022\033\n\027AC" + - "CESS_MODE_UNSPECIFIED\020\000\022\n\n\006DIRECT\020\001\022\013\n\007M" + - "ANAGED\020\002\032\364\001\n\016ResourceStatus\022C\n\005state\030\001 \001" + - "(\01624.google.cloud.dataplex.v1.Asset.Reso" + - "urceStatus.State\022\017\n\007message\030\002 \001(\t\022/\n\013upd" + - "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mp\022%\n\027managed_access_identity\030\004 \001(\tB\004\342A\001" + - "\003\"4\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005REA" + - "DY\020\001\022\t\n\005ERROR\020\002\032\364\003\n\017DiscoveryStatus\022D\n\005s" + - "tate\030\001 \001(\01625.google.cloud.dataplex.v1.As" + - "set.DiscoveryStatus.State\022\017\n\007message\030\002 \001" + - "(\t\022/\n\013update_time\030\003 \001(\0132\032.google.protobu" + - "f.Timestamp\0221\n\rlast_run_time\030\004 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022D\n\005stats\030\006 \001(\01325." + - "google.cloud.dataplex.v1.Asset.Discovery" + - "Status.Stats\0224\n\021last_run_duration\030\007 \001(\0132" + - "\031.google.protobuf.Duration\032P\n\005Stats\022\022\n\nd" + - "ata_items\030\001 \001(\003\022\021\n\tdata_size\030\002 \001(\003\022\016\n\006ta" + - "bles\030\003 \001(\003\022\020\n\010filesets\030\004 \001(\003\"X\n\005State\022\025\n" + - "\021STATE_UNSPECIFIED\020\000\022\r\n\tSCHEDULED\020\001\022\017\n\013I" + - "N_PROGRESS\020\002\022\n\n\006PAUSED\020\003\022\014\n\010DISABLED\020\005\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001:t\352Aq\n\035dataplex.googleapis.com/Asse" + - "t\022Pprojects/{project}/locations/{locatio" + - "n}/lakes/{lake}/zones/{zone}/assets/{ass" + - "et}*[\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" + - "CTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010DELETING\020\003\022\023\n\017A" + - "CTION_REQUIRED\020\004Bj\n\034com.google.cloud.dat" + - "aplex.v1B\016ResourcesProtoP\001Z8cloud.google" + - ".com/go/dataplex/apiv1/dataplexpb;datapl" + - "expbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Lake_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Lake_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "ServiceAccount", "Metastore", "AssetStatus", "MetastoreStatus", }); - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Lake_Metastore_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_Metastore_descriptor, - new java.lang.String[] { "Service", }); - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_MetastoreStatus_descriptor, - new java.lang.String[] { "State", "Message", "UpdateTime", "Endpoint", }); - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Lake_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Lake_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_AssetStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_AssetStatus_descriptor, - new java.lang.String[] { "UpdateTime", "ActiveAssets", "SecurityPolicyApplyingAssets", }); - internal_static_google_cloud_dataplex_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_Zone_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "Type", "DiscoverySpec", "ResourceSpec", "AssetStatus", }); - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_ResourceSpec_descriptor, - new java.lang.String[] { "LocationType", }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor, - new java.lang.String[] { "Enabled", "IncludePatterns", "ExcludePatterns", "CsvOptions", "JsonOptions", "Schedule", "Trigger", }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_CsvOptions_descriptor, - new java.lang.String[] { "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", }); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_DiscoverySpec_JsonOptions_descriptor, - new java.lang.String[] { "Encoding", "DisableTypeInference", }); - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Zone_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Zone_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Action_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_descriptor, - new java.lang.String[] { "Category", "Issue", "DetectTime", "Name", "Lake", "Zone", "Asset", "DataLocations", "InvalidDataFormat", "IncompatibleDataSchema", "InvalidDataPartition", "MissingData", "MissingResource", "UnauthorizedResource", "FailedSecurityPolicyApply", "InvalidDataOrganization", "Details", }); - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor, - new java.lang.String[] { "Asset", }); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor, - new java.lang.String[] { "SampledDataLocations", "ExpectedFormat", "NewFormat", }); - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor, - new java.lang.String[] { "Table", "ExistingSchema", "NewSchema", "SampledDataLocations", "SchemaChange", }); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor, - new java.lang.String[] { "ExpectedStructure", }); - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor = - internal_static_google_cloud_dataplex_v1_Action_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataplex_v1_Asset_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_Asset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "Labels", "Description", "State", "ResourceSpec", "ResourceStatus", "SecurityStatus", "DiscoverySpec", "DiscoveryStatus", }); - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_SecurityStatus_descriptor, - new java.lang.String[] { "State", "Message", "UpdateTime", }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor, - new java.lang.String[] { "Enabled", "IncludePatterns", "ExcludePatterns", "CsvOptions", "JsonOptions", "Schedule", "Trigger", }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_CsvOptions_descriptor, - new java.lang.String[] { "HeaderRows", "Delimiter", "Encoding", "DisableTypeInference", }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoverySpec_JsonOptions_descriptor, - new java.lang.String[] { "Encoding", "DisableTypeInference", }); - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_ResourceSpec_descriptor, - new java.lang.String[] { "Name", "Type", "ReadAccessMode", }); - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_ResourceStatus_descriptor, - new java.lang.String[] { "State", "Message", "UpdateTime", "ManagedAccessIdentity", }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor, - new java.lang.String[] { "State", "Message", "UpdateTime", "LastRunTime", "Stats", "LastRunDuration", }); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_DiscoveryStatus_Stats_descriptor, - new java.lang.String[] { "DataItems", "DataSize", "Tables", "Filesets", }); - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Asset_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Asset_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java deleted file mode 100644 index 4d8a5d953cce..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SecurityProto.java +++ /dev/null @@ -1,72 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/security.proto - -package com.google.cloud.dataplex.v1; - -public final class SecurityProto { - private SecurityProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/dataplex/v1/security.prot" + - "o\022\030google.cloud.dataplex.v1\032\037google/api/" + - "field_behavior.proto\"X\n\022ResourceAccessSp" + - "ec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001\022\025\n\007writers\030\002 \003" + - "(\tB\004\342A\001\001\022\024\n\006owners\030\003 \003(\tB\004\342A\001\001\"\'\n\016DataAc" + - "cessSpec\022\025\n\007readers\030\001 \003(\tB\004\342A\001\001Bi\n\034com.g" + - "oogle.cloud.dataplex.v1B\rSecurityProtoP\001" + - "Z8cloud.google.com/go/dataplex/apiv1/dat" + - "aplexpb;dataplexpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ResourceAccessSpec_descriptor, - new java.lang.String[] { "Readers", "Writers", "Owners", }); - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_DataAccessSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DataAccessSpec_descriptor, - new java.lang.String[] { "Readers", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java deleted file mode 100644 index 32daf733f99d..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java +++ /dev/null @@ -1,880 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/service.proto - -package com.google.cloud.dataplex.v1; - -public final class ServiceProto { - private ServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/dataplex/v1/service.proto" + - "\022\030google.cloud.dataplex.v1\032\034google/api/a" + - "nnotations.proto\032\027google/api/client.prot" + - "o\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032&google/cloud/data" + - "plex/v1/analyze.proto\032(google/cloud/data" + - "plex/v1/resources.proto\032$google/cloud/da" + - "taplex/v1/tasks.proto\032#google/longrunnin" + - "g/operations.proto\032\033google/protobuf/empt" + - "y.proto\032 google/protobuf/field_mask.prot" + - "o\032\037google/protobuf/timestamp.proto\"\267\001\n\021C" + - "reateLakeRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A" + - "#\n!locations.googleapis.com/Location\022\025\n\007" + - "lake_id\030\002 \001(\tB\004\342A\001\002\0222\n\004lake\030\003 \001(\0132\036.goog" + - "le.cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalid" + - "ate_only\030\004 \001(\010B\004\342A\001\001\"\233\001\n\021UpdateLakeReque" + - "st\0225\n\013update_mask\030\001 \001(\0132\032.google.protobu" + - "f.FieldMaskB\004\342A\001\002\0222\n\004lake\030\002 \001(\0132\036.google" + - ".cloud.dataplex.v1.LakeB\004\342A\001\002\022\033\n\rvalidat" + - "e_only\030\003 \001(\010B\004\342A\001\001\"H\n\021DeleteLakeRequest\022" + - "3\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googlea" + - "pis.com/Lake\"\257\001\n\020ListLakesRequest\022:\n\006par" + - "ent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis" + - ".com/Location\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030" + - "\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\t" + - "B\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"z\n\021ListLa" + - "kesResponse\022-\n\005lakes\030\001 \003(\0132\036.google.clou" + - "d.dataplex.v1.Lake\022\027\n\017next_page_token\030\002 " + - "\001(\t\022\035\n\025unreachable_locations\030\003 \003(\t\"\202\001\n\026L" + - "istLakeActionsRequest\0225\n\006parent\030\001 \001(\tB%\342" + - "A\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\t" + - "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + - "\tB\004\342A\001\001\"a\n\023ListActionsResponse\0221\n\007action" + - "s\030\001 \003(\0132 .google.cloud.dataplex.v1.Actio" + - "n\022\027\n\017next_page_token\030\002 \001(\t\"E\n\016GetLakeReq" + - "uest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + - "ogleapis.com/Lake\"\262\001\n\021CreateZoneRequest\022" + - "5\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googl" + - "eapis.com/Lake\022\025\n\007zone_id\030\002 \001(\tB\004\342A\001\002\0222\n" + - "\004zone\030\003 \001(\0132\036.google.cloud.dataplex.v1.Z" + - "oneB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\233" + - "\001\n\021UpdateZoneRequest\0225\n\013update_mask\030\001 \001(" + - "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\0222\n\004z" + - "one\030\002 \001(\0132\036.google.cloud.dataplex.v1.Zon" + - "eB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"H\n\021" + - "DeleteZoneRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036" + - "\n\034dataplex.googleapis.com/Zone\"\252\001\n\020ListZ" + - "onesRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034da" + - "taplex.googleapis.com/Lake\022\027\n\tpage_size\030" + - "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n" + - "\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342" + - "A\001\001\"[\n\021ListZonesResponse\022-\n\005zones\030\001 \003(\0132" + - "\036.google.cloud.dataplex.v1.Zone\022\027\n\017next_" + - "page_token\030\002 \001(\t\"\202\001\n\026ListZoneActionsRequ" + - "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + - "oogleapis.com/Zone\022\027\n\tpage_size\030\002 \001(\005B\004\342" + - "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"E\n\016GetZone" + - "Request\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex" + - ".googleapis.com/Zone\"\266\001\n\022CreateAssetRequ" + - "est\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.g" + - "oogleapis.com/Zone\022\026\n\010asset_id\030\002 \001(\tB\004\342A" + - "\001\002\0224\n\005asset\030\003 \001(\0132\037.google.cloud.dataple" + - "x.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(\010B" + - "\004\342A\001\001\"\236\001\n\022UpdateAssetRequest\0225\n\013update_m" + - "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + - "A\001\002\0224\n\005asset\030\002 \001(\0132\037.google.cloud.datapl" + - "ex.v1.AssetB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + - "B\004\342A\001\001\"J\n\022DeleteAssetRequest\0224\n\004name\030\001 \001" + - "(\tB&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Ass" + - "et\"\253\001\n\021ListAssetsRequest\0225\n\006parent\030\001 \001(\t" + - "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Zone\022" + - "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + - " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010orde" + - "r_by\030\005 \001(\tB\004\342A\001\001\"^\n\022ListAssetsResponse\022/" + - "\n\006assets\030\001 \003(\0132\037.google.cloud.dataplex.v" + - "1.Asset\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\027Lis" + - "tAssetActionsRequest\0226\n\006parent\030\001 \001(\tB&\342A" + - "\001\002\372A\037\n\035dataplex.googleapis.com/Asset\022\027\n\t" + - "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + - "\tB\004\342A\001\001\"G\n\017GetAssetRequest\0224\n\004name\030\001 \001(\t" + - "B&\342A\001\002\372A\037\n\035dataplex.googleapis.com/Asset" + - "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" + - "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + - "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" + - "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" + - "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" + - "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"\262\001\n\021CreateTas" + - "kRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datap" + - "lex.googleapis.com/Lake\022\025\n\007task_id\030\002 \001(\t" + - "B\004\342A\001\002\0222\n\004task\030\003 \001(\0132\036.google.cloud.data" + - "plex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\004 \001(" + - "\010B\004\342A\001\001\"\233\001\n\021UpdateTaskRequest\0225\n\013update_" + - "mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004" + - "\342A\001\002\0222\n\004task\030\002 \001(\0132\036.google.cloud.datapl" + - "ex.v1.TaskB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010B" + - "\004\342A\001\001\"H\n\021DeleteTaskRequest\0223\n\004name\030\001 \001(\t" + - "B%\342A\001\002\372A\036\n\034dataplex.googleapis.com/Task\"" + - "\252\001\n\020ListTasksRequest\0225\n\006parent\030\001 \001(\tB%\342A" + - "\001\002\372A\036\n\034dataplex.googleapis.com/Lake\022\027\n\tp" + - "age_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\t" + - "B\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by" + - "\030\005 \001(\tB\004\342A\001\001\"z\n\021ListTasksResponse\022-\n\005tas" + - "ks\030\001 \003(\0132\036.google.cloud.dataplex.v1.Task" + - "\022\027\n\017next_page_token\030\002 \001(\t\022\035\n\025unreachable" + - "_locations\030\003 \003(\t\"E\n\016GetTaskRequest\0223\n\004na" + - "me\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.c" + - "om/Task\"C\n\rGetJobRequest\0222\n\004name\030\001 \001(\tB$" + - "\342A\001\002\372A\035\n\033dataplex.googleapis.com/Job\"\265\002\n" + - "\016RunTaskRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034" + - "dataplex.googleapis.com/Task\022J\n\006labels\030\003" + - " \003(\01324.google.cloud.dataplex.v1.RunTaskR" + - "equest.LabelsEntryB\004\342A\001\001\022F\n\004args\030\004 \003(\01322" + - ".google.cloud.dataplex.v1.RunTaskRequest" + - ".ArgsEntryB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+\n\tArgsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"=\n\017RunTaskR" + - "esponse\022*\n\003job\030\001 \001(\0132\035.google.cloud.data" + - "plex.v1.Job\"{\n\017ListJobsRequest\0225\n\006parent" + - "\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.googleapis.com" + - "/Task\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t" + - "oken\030\003 \001(\tB\004\342A\001\001\"X\n\020ListJobsResponse\022+\n\004" + - "jobs\030\001 \003(\0132\035.google.cloud.dataplex.v1.Jo" + - "b\022\027\n\017next_page_token\030\002 \001(\t\"F\n\020CancelJobR" + - "equest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033dataplex." + - "googleapis.com/Job\"\316\001\n\030CreateEnvironment" + - "Request\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034datapl" + - "ex.googleapis.com/Lake\022\034\n\016environment_id" + - "\030\002 \001(\tB\004\342A\001\002\022@\n\013environment\030\003 \001(\0132%.goog" + - "le.cloud.dataplex.v1.EnvironmentB\004\342A\001\002\022\033" + - "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\260\001\n\030UpdateEn" + - "vironmentRequest\0225\n\013update_mask\030\001 \001(\0132\032." + - "google.protobuf.FieldMaskB\004\342A\001\002\022@\n\013envir" + - "onment\030\002 \001(\0132%.google.cloud.dataplex.v1." + - "EnvironmentB\004\342A\001\002\022\033\n\rvalidate_only\030\003 \001(\010" + - "B\004\342A\001\001\"V\n\030DeleteEnvironmentRequest\022:\n\004na" + - "me\030\001 \001(\tB,\342A\001\002\372A%\n#dataplex.googleapis.c" + - "om/Environment\"\261\001\n\027ListEnvironmentsReque" + - "st\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\n\034dataplex.go" + - "ogleapis.com/Lake\022\027\n\tpage_size\030\002 \001(\005B\004\342A" + - "\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004" + - " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"p\n\030Li" + - "stEnvironmentsResponse\022;\n\014environments\030\001" + - " \003(\0132%.google.cloud.dataplex.v1.Environm" + - "ent\022\027\n\017next_page_token\030\002 \001(\t\"S\n\025GetEnvir" + - "onmentRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#da" + - "taplex.googleapis.com/Environment\"\234\001\n\023Li" + - "stSessionsRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372" + - "A%\n#dataplex.googleapis.com/Environment\022" + - "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003" + - " \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\"d\n\024List" + - "SessionsResponse\0223\n\010sessions\030\001 \003(\0132!.goo" + - "gle.cloud.dataplex.v1.Session\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t2\2542\n\017DataplexService\022\303\001\n\nC" + - "reateLake\022+.google.cloud.dataplex.v1.Cre" + - "ateLakeRequest\032\035.google.longrunning.Oper" + - "ation\"i\312A\031\n\004Lake\022\021OperationMetadata\332A\023pa" + - "rent,lake,lake_id\202\323\344\223\0021\")/v1/{parent=pro" + - "jects/*/locations/*}/lakes:\004lake\022\305\001\n\nUpd" + - "ateLake\022+.google.cloud.dataplex.v1.Updat" + - "eLakeRequest\032\035.google.longrunning.Operat" + - "ion\"k\312A\031\n\004Lake\022\021OperationMetadata\332A\020lake" + - ",update_mask\202\323\344\223\00262./v1/{lake.name=proje" + - "cts/*/locations/*/lakes/*}:\004lake\022\277\001\n\nDel" + - "eteLake\022+.google.cloud.dataplex.v1.Delet" + - "eLakeRequest\032\035.google.longrunning.Operat" + - "ion\"e\312A*\n\025google.protobuf.Empty\022\021Operati" + - "onMetadata\332A\004name\202\323\344\223\002+*)/v1/{name=proje" + - "cts/*/locations/*/lakes/*}\022\240\001\n\tListLakes" + - "\022*.google.cloud.dataplex.v1.ListLakesReq" + - "uest\032+.google.cloud.dataplex.v1.ListLake" + - "sResponse\":\332A\006parent\202\323\344\223\002+\022)/v1/{parent=" + - "projects/*/locations/*}/lakes\022\215\001\n\007GetLak" + - "e\022(.google.cloud.dataplex.v1.GetLakeRequ" + - "est\032\036.google.cloud.dataplex.v1.Lake\"8\332A\004" + - "name\202\323\344\223\002+\022)/v1/{name=projects/*/locatio" + - "ns/*/lakes/*}\022\270\001\n\017ListLakeActions\0220.goog" + - "le.cloud.dataplex.v1.ListLakeActionsRequ" + - "est\032-.google.cloud.dataplex.v1.ListActio" + - "nsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent" + - "=projects/*/locations/*/lakes/*}/actions" + - "\022\313\001\n\nCreateZone\022+.google.cloud.dataplex." + - "v1.CreateZoneRequest\032\035.google.longrunnin" + - "g.Operation\"q\312A\031\n\004Zone\022\021OperationMetadat" + - "a\332A\023parent,zone,zone_id\202\323\344\223\0029\"1/v1/{pare" + - "nt=projects/*/locations/*/lakes/*}/zones" + - ":\004zone\022\315\001\n\nUpdateZone\022+.google.cloud.dat" + - "aplex.v1.UpdateZoneRequest\032\035.google.long" + - "running.Operation\"s\312A\031\n\004Zone\022\021OperationM" + - "etadata\332A\020zone,update_mask\202\323\344\223\002>26/v1/{z" + - "one.name=projects/*/locations/*/lakes/*/" + - "zones/*}:\004zone\022\307\001\n\nDeleteZone\022+.google.c" + - "loud.dataplex.v1.DeleteZoneRequest\032\035.goo" + - "gle.longrunning.Operation\"m\312A*\n\025google.p" + - "rotobuf.Empty\022\021OperationMetadata\332A\004name\202" + - "\323\344\223\0023*1/v1/{name=projects/*/locations/*/" + - "lakes/*/zones/*}\022\250\001\n\tListZones\022*.google." + - "cloud.dataplex.v1.ListZonesRequest\032+.goo" + - "gle.cloud.dataplex.v1.ListZonesResponse\"" + - "B\332A\006parent\202\323\344\223\0023\0221/v1/{parent=projects/*" + - "/locations/*/lakes/*}/zones\022\225\001\n\007GetZone\022" + - "(.google.cloud.dataplex.v1.GetZoneReques" + - "t\032\036.google.cloud.dataplex.v1.Zone\"@\332A\004na" + - "me\202\323\344\223\0023\0221/v1/{name=projects/*/locations" + - "/*/lakes/*/zones/*}\022\300\001\n\017ListZoneActions\022" + - "0.google.cloud.dataplex.v1.ListZoneActio" + - "nsRequest\032-.google.cloud.dataplex.v1.Lis" + - "tActionsResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{" + - "parent=projects/*/locations/*/lakes/*/zo" + - "nes/*}/actions\022\332\001\n\013CreateAsset\022,.google." + - "cloud.dataplex.v1.CreateAssetRequest\032\035.g" + - "oogle.longrunning.Operation\"~\312A\032\n\005Asset\022" + - "\021OperationMetadata\332A\025parent,asset,asset_" + - "id\202\323\344\223\002C\":/v1/{parent=projects/*/locatio" + - "ns/*/lakes/*/zones/*}/assets:\005asset\022\335\001\n\013" + - "UpdateAsset\022,.google.cloud.dataplex.v1.U" + - "pdateAssetRequest\032\035.google.longrunning.O" + - "peration\"\200\001\312A\032\n\005Asset\022\021OperationMetadata" + - "\332A\021asset,update_mask\202\323\344\223\002I2@/v1/{asset.n" + - "ame=projects/*/locations/*/lakes/*/zones" + - "/*/assets/*}:\005asset\022\322\001\n\013DeleteAsset\022,.go" + - "ogle.cloud.dataplex.v1.DeleteAssetReques" + - "t\032\035.google.longrunning.Operation\"v\312A*\n\025g" + - "oogle.protobuf.Empty\022\021OperationMetadata\332" + - "A\004name\202\323\344\223\002<*:/v1/{name=projects/*/locat" + - "ions/*/lakes/*/zones/*/assets/*}\022\264\001\n\nLis" + - "tAssets\022+.google.cloud.dataplex.v1.ListA" + - "ssetsRequest\032,.google.cloud.dataplex.v1." + - "ListAssetsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1" + - "/{parent=projects/*/locations/*/lakes/*/" + - "zones/*}/assets\022\241\001\n\010GetAsset\022).google.cl" + - "oud.dataplex.v1.GetAssetRequest\032\037.google" + - ".cloud.dataplex.v1.Asset\"I\332A\004name\202\323\344\223\002<\022" + - ":/v1/{name=projects/*/locations/*/lakes/" + - "*/zones/*/assets/*}\022\313\001\n\020ListAssetActions" + - "\0221.google.cloud.dataplex.v1.ListAssetAct" + - "ionsRequest\032-.google.cloud.dataplex.v1.L" + - "istActionsResponse\"U\332A\006parent\202\323\344\223\002F\022D/v1" + - "/{parent=projects/*/locations/*/lakes/*/" + - "zones/*/assets/*}/actions\022\313\001\n\nCreateTask" + - "\022+.google.cloud.dataplex.v1.CreateTaskRe" + - "quest\032\035.google.longrunning.Operation\"q\312A" + - "\031\n\004Task\022\021OperationMetadata\332A\023parent,task" + - ",task_id\202\323\344\223\0029\"1/v1/{parent=projects/*/l" + - "ocations/*/lakes/*}/tasks:\004task\022\315\001\n\nUpda" + - "teTask\022+.google.cloud.dataplex.v1.Update" + - "TaskRequest\032\035.google.longrunning.Operati" + - "on\"s\312A\031\n\004Task\022\021OperationMetadata\332A\020task," + - "update_mask\202\323\344\223\002>26/v1/{task.name=projec" + - "ts/*/locations/*/lakes/*/tasks/*}:\004task\022" + - "\307\001\n\nDeleteTask\022+.google.cloud.dataplex.v" + - "1.DeleteTaskRequest\032\035.google.longrunning" + - ".Operation\"m\312A*\n\025google.protobuf.Empty\022\021" + - "OperationMetadata\332A\004name\202\323\344\223\0023*1/v1/{nam" + - "e=projects/*/locations/*/lakes/*/tasks/*" + - "}\022\250\001\n\tListTasks\022*.google.cloud.dataplex." + - "v1.ListTasksRequest\032+.google.cloud.datap" + - "lex.v1.ListTasksResponse\"B\332A\006parent\202\323\344\223\002" + - "3\0221/v1/{parent=projects/*/locations/*/la" + - "kes/*}/tasks\022\225\001\n\007GetTask\022(.google.cloud." + - "dataplex.v1.GetTaskRequest\032\036.google.clou" + - "d.dataplex.v1.Task\"@\332A\004name\202\323\344\223\0023\0221/v1/{" + - "name=projects/*/locations/*/lakes/*/task" + - "s/*}\022\254\001\n\010ListJobs\022).google.cloud.dataple" + - "x.v1.ListJobsRequest\032*.google.cloud.data" + - "plex.v1.ListJobsResponse\"I\332A\006parent\202\323\344\223\002" + - ":\0228/v1/{parent=projects/*/locations/*/la" + - "kes/*/tasks/*}/jobs\022\247\001\n\007RunTask\022(.google" + - ".cloud.dataplex.v1.RunTaskRequest\032).goog" + - "le.cloud.dataplex.v1.RunTaskResponse\"G\332A" + - "\004name\202\323\344\223\002:\"5/v1/{name=projects/*/locati" + - "ons/*/lakes/*/tasks/*}:run:\001*\022\231\001\n\006GetJob" + - "\022\'.google.cloud.dataplex.v1.GetJobReques" + - "t\032\035.google.cloud.dataplex.v1.Job\"G\332A\004nam" + - "e\202\323\344\223\002:\0228/v1/{name=projects/*/locations/" + - "*/lakes/*/tasks/*/jobs/*}\022\242\001\n\tCancelJob\022" + - "*.google.cloud.dataplex.v1.CancelJobRequ" + - "est\032\026.google.protobuf.Empty\"Q\332A\004name\202\323\344\223" + - "\002D\"?/v1/{name=projects/*/locations/*/lak" + - "es/*/tasks/*/jobs/*}:cancel:\001*\022\375\001\n\021Creat" + - "eEnvironment\0222.google.cloud.dataplex.v1." + - "CreateEnvironmentRequest\032\035.google.longru" + - "nning.Operation\"\224\001\312A \n\013Environment\022\021Oper" + - "ationMetadata\332A!parent,environment,envir" + - "onment_id\202\323\344\223\002G\"8/v1/{parent=projects/*/" + - "locations/*/lakes/*}/environments:\013envir" + - "onment\022\377\001\n\021UpdateEnvironment\0222.google.cl" + - "oud.dataplex.v1.UpdateEnvironmentRequest" + - "\032\035.google.longrunning.Operation\"\226\001\312A \n\013E" + - "nvironment\022\021OperationMetadata\332A\027environm" + - "ent,update_mask\202\323\344\223\002S2D/v1/{environment." + - "name=projects/*/locations/*/lakes/*/envi" + - "ronments/*}:\013environment\022\334\001\n\021DeleteEnvir" + - "onment\0222.google.cloud.dataplex.v1.Delete" + - "EnvironmentRequest\032\035.google.longrunning." + - "Operation\"t\312A*\n\025google.protobuf.Empty\022\021O" + - "perationMetadata\332A\004name\202\323\344\223\002:*8/v1/{name" + - "=projects/*/locations/*/lakes/*/environm" + - "ents/*}\022\304\001\n\020ListEnvironments\0221.google.cl" + - "oud.dataplex.v1.ListEnvironmentsRequest\032" + - "2.google.cloud.dataplex.v1.ListEnvironme" + - "ntsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren" + - "t=projects/*/locations/*/lakes/*}/enviro" + - "nments\022\261\001\n\016GetEnvironment\022/.google.cloud" + - ".dataplex.v1.GetEnvironmentRequest\032%.goo" + - "gle.cloud.dataplex.v1.Environment\"G\332A\004na" + - "me\202\323\344\223\002:\0228/v1/{name=projects/*/locations" + - "/*/lakes/*/environments/*}\022\303\001\n\014ListSessi" + - "ons\022-.google.cloud.dataplex.v1.ListSessi" + - "onsRequest\032..google.cloud.dataplex.v1.Li" + - "stSessionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1" + - "/{parent=projects/*/locations/*/lakes/*/" + - "environments/*}/sessions\032K\312A\027dataplex.go" + - "ogleapis.com\322A.https://www.googleapis.co" + - "m/auth/cloud-platformBh\n\034com.google.clou" + - "d.dataplex.v1B\014ServiceProtoP\001Z8cloud.goo" + - "gle.com/go/dataplex/apiv1/dataplexpb;dat" + - "aplexpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.cloud.dataplex.v1.TasksProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateLakeRequest_descriptor, - new java.lang.String[] { "Parent", "LakeId", "Lake", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateLakeRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Lake", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteLakeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataplex_v1_ListLakesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataplex_v1_ListLakesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakesResponse_descriptor, - new java.lang.String[] { "Lakes", "NextPageToken", "UnreachableLocations", }); - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListLakeActionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataplex_v1_ListActionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListActionsResponse_descriptor, - new java.lang.String[] { "Actions", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataplex_v1_GetLakeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetLakeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateZoneRequest_descriptor, - new java.lang.String[] { "Parent", "ZoneId", "Zone", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateZoneRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Zone", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteZoneRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataplex_v1_ListZonesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZonesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataplex_v1_ListZonesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZonesResponse_descriptor, - new java.lang.String[] { "Zones", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListZoneActionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataplex_v1_GetZoneRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetZoneRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateAssetRequest_descriptor, - new java.lang.String[] { "Parent", "AssetId", "Asset", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateAssetRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Asset", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteAssetRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetsResponse_descriptor, - new java.lang.String[] { "Assets", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListAssetActionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_dataplex_v1_GetAssetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetAssetRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_dataplex_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "TaskId", "Task", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateTaskRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Task", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_dataplex_v1_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_dataplex_v1_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", "UnreachableLocations", }); - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_dataplex_v1_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_dataplex_v1_GetJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "Labels", "Args", }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_RunTaskRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskRequest_ArgsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_dataplex_v1_RunTaskResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_RunTaskResponse_descriptor, - new java.lang.String[] { "Job", }); - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_dataplex_v1_ListJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListJobsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_dataplex_v1_ListJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_dataplex_v1_CancelJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CancelJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { "Parent", "EnvironmentId", "Environment", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Environment", "ValidateOnly", }); - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { "Environments", "NextPageToken", }); - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListSessionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_ListSessionsResponse_descriptor, - new java.lang.String[] { "Sessions", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.AnalyzeProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.cloud.dataplex.v1.TasksProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java deleted file mode 100644 index 090ceb761716..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/StorageAccessOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/metadata.proto - -package com.google.cloud.dataplex.v1; - -public interface StorageAccessOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.StorageAccess) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Describes the read access mechanism of the data. Not user
-   * settable.
-   * 
- * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The enum numeric value on the wire for read. - */ - int getReadValue(); - /** - *
-   * Output only. Describes the read access mechanism of the data. Not user
-   * settable.
-   * 
- * - * .google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The read. - */ - com.google.cloud.dataplex.v1.StorageAccess.AccessMode getRead(); -} diff --git a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java b/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java deleted file mode 100644 index 57b673394683..000000000000 --- a/owl-bot-staging/java-dataplex/v1/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java +++ /dev/null @@ -1,322 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataplex/v1/tasks.proto - -package com.google.cloud.dataplex.v1; - -public final class TasksProto { - private TasksProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n$google/cloud/dataplex/v1/tasks.proto\022\030" + - "google.cloud.dataplex.v1\032\037google/api/fie" + - "ld_behavior.proto\032\031google/api/resource.p" + - "roto\032(google/cloud/dataplex/v1/resources" + - ".proto\032\036google/protobuf/duration.proto\032\037" + - "google/protobuf/timestamp.proto\"\305\026\n\004Task" + - "\0223\n\004name\030\001 \001(\tB%\342A\001\003\372A\036\n\034dataplex.google" + - "apis.com/Task\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013crea" + - "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "pB\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.pr" + - "otobuf.TimestampB\004\342A\001\003\022\031\n\013description\030\005 " + - "\001(\tB\004\342A\001\001\022\032\n\014display_name\030\006 \001(\tB\004\342A\001\001\0224\n" + - "\005state\030\007 \001(\0162\037.google.cloud.dataplex.v1." + - "StateB\004\342A\001\003\022@\n\006labels\030\010 \003(\0132*.google.clo" + - "ud.dataplex.v1.Task.LabelsEntryB\004\342A\001\001\022F\n" + - "\014trigger_spec\030d \001(\0132*.google.cloud.datap" + - "lex.v1.Task.TriggerSpecB\004\342A\001\002\022J\n\016executi" + - "on_spec\030e \001(\0132,.google.cloud.dataplex.v1" + - ".Task.ExecutionSpecB\004\342A\001\002\022O\n\020execution_s" + - "tatus\030\311\001 \001(\0132..google.cloud.dataplex.v1." + - "Task.ExecutionStatusB\004\342A\001\003\022@\n\005spark\030\254\002 \001" + - "(\0132..google.cloud.dataplex.v1.Task.Spark" + - "TaskConfigH\000\022F\n\010notebook\030\256\002 \001(\01321.google" + - ".cloud.dataplex.v1.Task.NotebookTaskConf" + - "igH\000\032\243\006\n\022InfrastructureSpec\022X\n\005batch\0304 \001" + - "(\0132G.google.cloud.dataplex.v1.Task.Infra" + - "structureSpec.BatchComputeResourcesH\000\022b\n" + - "\017container_image\030e \001(\0132G.google.cloud.da" + - "taplex.v1.Task.InfrastructureSpec.Contai" + - "nerImageRuntimeH\001\022T\n\013vpc_network\030\226\001 \001(\0132" + - "<.google.cloud.dataplex.v1.Task.Infrastr" + - "uctureSpec.VpcNetworkH\002\032Y\n\025BatchComputeR" + - "esources\022\035\n\017executors_count\030\001 \001(\005B\004\342A\001\001\022" + - "!\n\023max_executors_count\030\002 \001(\005B\004\342A\001\001\032\212\002\n\025C" + - "ontainerImageRuntime\022\023\n\005image\030\001 \001(\tB\004\342A\001" + - "\001\022\027\n\tjava_jars\030\002 \003(\tB\004\342A\001\001\022\035\n\017python_pac" + - "kages\030\003 \003(\tB\004\342A\001\001\022q\n\nproperties\030\004 \003(\0132W." + - "google.cloud.dataplex.v1.Task.Infrastruc" + - "tureSpec.ContainerImageRuntime.Propertie" + - "sEntryB\004\342A\001\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032n\n\nVpcNetwork\022\027\n" + - "\007network\030\001 \001(\tB\004\342A\001\001H\000\022\033\n\013sub_network\030\002 " + - "\001(\tB\004\342A\001\001H\000\022\032\n\014network_tags\030\003 \003(\tB\004\342A\001\001B" + - "\016\n\014network_nameB\013\n\tresourcesB\t\n\007runtimeB" + - "\t\n\007network\032\235\002\n\013TriggerSpec\022D\n\004type\030\005 \001(\016" + - "2/.google.cloud.dataplex.v1.Task.Trigger" + - "Spec.TypeB\005\342A\002\002\005\0224\n\nstart_time\030\006 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\004\342A\001\001\022\026\n\010disabl" + - "ed\030\004 \001(\010B\004\342A\001\001\022\031\n\013max_retries\030\007 \001(\005B\004\342A\001" + - "\001\022\030\n\010schedule\030d \001(\tB\004\342A\001\001H\000\":\n\004Type\022\024\n\020T" + - "YPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tRECU" + - "RRING\020\002B\t\n\007trigger\032\232\002\n\rExecutionSpec\022J\n\004" + - "args\030\004 \003(\01326.google.cloud.dataplex.v1.Ta" + - "sk.ExecutionSpec.ArgsEntryB\004\342A\001\001\022\035\n\017serv" + - "ice_account\030\005 \001(\tB\004\342A\001\002\022\025\n\007project\030\007 \001(\t" + - "B\004\342A\001\001\022C\n\032max_job_execution_lifetime\030\010 \001" + - "(\0132\031.google.protobuf.DurationB\004\342A\001\001\022\025\n\007k" + - "ms_key\030\t \001(\tB\004\342A\001\001\032+\n\tArgsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\250\002\n\017SparkTaskCon" + - "fig\022\033\n\021main_jar_file_uri\030d \001(\tH\000\022\024\n\nmain" + - "_class\030e \001(\tH\000\022\034\n\022python_script_file\030f \001" + - "(\tH\000\022\031\n\017sql_script_file\030h \001(\tH\000\022\024\n\nsql_s" + - "cript\030i \001(\tH\000\022\027\n\tfile_uris\030\003 \003(\tB\004\342A\001\001\022\032" + - "\n\014archive_uris\030\004 \003(\tB\004\342A\001\001\022T\n\023infrastruc" + - "ture_spec\030\006 \001(\01321.google.cloud.dataplex." + - "v1.Task.InfrastructureSpecB\004\342A\001\001B\010\n\006driv" + - "er\032\267\001\n\022NotebookTaskConfig\022\026\n\010notebook\030\004 " + - "\001(\tB\004\342A\001\002\022T\n\023infrastructure_spec\030\003 \001(\01321" + - ".google.cloud.dataplex.v1.Task.Infrastru" + - "ctureSpecB\004\342A\001\001\022\027\n\tfile_uris\030\005 \003(\tB\004\342A\001\001" + - "\022\032\n\014archive_uris\030\006 \003(\tB\004\342A\001\001\032\201\001\n\017Executi" + - "onStatus\0225\n\013update_time\030\003 \001(\0132\032.google.p" + - "rotobuf.TimestampB\004\342A\001\003\0227\n\nlatest_job\030\t " + - "\001(\0132\035.google.cloud.dataplex.v1.JobB\004\342A\001\003" + - "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + - "\001(\t:\0028\001:d\352Aa\n\034dataplex.googleapis.com/Ta" + - "sk\022Aprojects/{project}/locations/{locati" + - "on}/lakes/{lake}/tasks/{task}B\010\n\006config\"" + - "\321\007\n\003Job\0222\n\004name\030\001 \001(\tB$\342A\001\003\372A\035\n\033dataplex" + - ".googleapis.com/Job\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0224" + - "\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Tim" + - "estampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0228\n\005state\030\005 \001(\0162" + - "#.google.cloud.dataplex.v1.Job.StateB\004\342A" + - "\001\003\022\031\n\013retry_count\030\006 \001(\rB\004\342A\001\003\022<\n\007service" + - "\030\007 \001(\0162%.google.cloud.dataplex.v1.Job.Se" + - "rviceB\004\342A\001\003\022\031\n\013service_job\030\010 \001(\tB\004\342A\001\003\022\025" + - "\n\007message\030\t \001(\tB\004\342A\001\003\022?\n\006labels\030\n \003(\0132)." + - "google.cloud.dataplex.v1.Job.LabelsEntry" + - "B\004\342A\001\003\022<\n\007trigger\030\013 \001(\0162%.google.cloud.d" + - "ataplex.v1.Job.TriggerB\004\342A\001\003\022J\n\016executio" + - "n_spec\030d \001(\0132,.google.cloud.dataplex.v1." + - "Task.ExecutionSpecB\004\342A\001\003\032-\n\013LabelsEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"0\n\007Servi" + - "ce\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\014\n\010DATAPROC\020" + - "\001\"r\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUN" + - "NING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n" + - "\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007ABORTED\020\006\"D\n" + - "\007Trigger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\017\n\013TAS" + - "K_CONFIG\020\001\022\017\n\013RUN_REQUEST\020\002:n\352Ak\n\033datapl" + - "ex.googleapis.com/Job\022Lprojects/{project" + - "}/locations/{location}/lakes/{lake}/task" + - "s/{task}/jobs/{job}Bf\n\034com.google.cloud." + - "dataplex.v1B\nTasksProtoP\001Z8cloud.google." + - "com/go/dataplex/apiv1/dataplexpb;dataple" + - "xpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_dataplex_v1_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_descriptor, - new java.lang.String[] { "Name", "Uid", "CreateTime", "UpdateTime", "Description", "DisplayName", "State", "Labels", "TriggerSpec", "ExecutionSpec", "ExecutionStatus", "Spark", "Notebook", "Config", }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor, - new java.lang.String[] { "Batch", "ContainerImage", "VpcNetwork", "Resources", "Runtime", "Network", }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_BatchComputeResources_descriptor, - new java.lang.String[] { "ExecutorsCount", "MaxExecutorsCount", }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor, - new java.lang.String[] { "Image", "JavaJars", "PythonPackages", "Properties", }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_ContainerImageRuntime_PropertiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor = - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_InfrastructureSpec_VpcNetwork_descriptor, - new java.lang.String[] { "Network", "SubNetwork", "NetworkTags", "NetworkName", }); - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_TriggerSpec_descriptor, - new java.lang.String[] { "Type", "StartTime", "Disabled", "MaxRetries", "Schedule", "Trigger", }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor, - new java.lang.String[] { "Args", "ServiceAccount", "Project", "MaxJobExecutionLifetime", "KmsKey", }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionSpec_ArgsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_SparkTaskConfig_descriptor, - new java.lang.String[] { "MainJarFileUri", "MainClass", "PythonScriptFile", "SqlScriptFile", "SqlScript", "FileUris", "ArchiveUris", "InfrastructureSpec", "Driver", }); - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_NotebookTaskConfig_descriptor, - new java.lang.String[] { "Notebook", "InfrastructureSpec", "FileUris", "ArchiveUris", }); - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_ExecutionStatus_descriptor, - new java.lang.String[] { "UpdateTime", "LatestJob", }); - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Task_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Task_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataplex_v1_Job_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataplex_v1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Job_descriptor, - new java.lang.String[] { "Name", "Uid", "StartTime", "EndTime", "State", "RetryCount", "Service", "ServiceJob", "Message", "Labels", "Trigger", "ExecutionSpec", }); - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor = - internal_static_google_cloud_dataplex_v1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataplex_v1_Job_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.dataplex.v1.ResourcesProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}